MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / GetCurrentHost

Method GetCurrentHost

test/testutil/fakefactory.go:107–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 return f.CurrentSpace
106}
107func (f *MockFactory) GetCurrentHost() string {
108 return serverUrl
109}
110func (f *MockFactory) GetHttpClient() (*http.Client, error) {
111 return NewMockHttpClientWithTransport(f.api), nil
112}

Callers 2

TestLogin_ApiKeyFunction · 0.95
TestLogin_OpenIdConnectFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestLogin_ApiKeyFunction · 0.76
TestLogin_OpenIdConnectFunction · 0.76