MCPcopy
hub / github.com/cloudfoundry/cli / StartMockServerWithMinimumCLIVersion

Function StartMockServerWithMinimumCLIVersion

integration/helpers/fake_server.go:30–32  ·  view source on GitHub ↗

StartMockServerWithMinimumCLIVersion starts a server with the default V2 and V3 API versions and the given minimum CLI version.

(minCLIVersion string)

Source from the content-addressed store, hash-verified

28// StartMockServerWithMinimumCLIVersion starts a server with the default V2 and V3
29// API versions and the given minimum CLI version.
30func StartMockServerWithMinimumCLIVersion(minCLIVersion string) *Server {
31 return startServerWithVersions(DefaultV2Version, DefaultV3Version, &minCLIVersion, DefaultAuthorizationPath)
32}
33
34// StartMockServerWithAPIVersions starts a server with the given V2 and V3
35// API versions

Callers 1

Calls 1

startServerWithVersionsFunction · 0.85

Tested by

no test coverage detected