MCPcopy Create free account
hub / github.com/cli/cli / ServerURL

Method ServerURL

pkg/cmd/codespace/common.go:69–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67//go:generate moq -fmt goimports -rm -skip-ensure -out mock_api.go . apiClient
68type apiClient interface {
69 ServerURL() string
70 GetUser(ctx context.Context) (*api.User, error)
71 GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error)
72 GetOrgMemberCodespace(ctx context.Context, orgName string, userName string, codespaceName string) (*api.Codespace, error)

Callers 2

CreateMethod · 0.65
ListMethod · 0.65

Implementers 2

apiClientMockpkg/cmd/codespace/mock_api.go
APIinternal/codespaces/api/api.go

Calls

no outgoing calls

Tested by

no test coverage detected