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

Function NewCFAPI

integration/v7/selfcontained/fake/cf_api.go:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func NewCFAPI() *CFAPI {
27 server := ghttp.NewServer()
28 return &CFAPI{
29 server: server,
30 }
31}
32
33func (a *CFAPI) SetConfiguration(config CFAPIConfig) {
34 a.server.Reset()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected