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

Function NewCloudControllerStackRepository

cf/api/stacks/stacks.go:29–33  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

27}
28
29func NewCloudControllerStackRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerStackRepository) {
30 repo.config = config
31 repo.gateway = gateway
32 return
33}
34
35func (repo CloudControllerStackRepository) FindByGUID(guid string) (models.Stack, error) {
36 stackRequest := resources.StackResource{}

Callers 2

NewRepositoryLocatorFunction · 0.92
stacks_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected