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

Function NewCloudControllerRepository

cf/api/applications/applications.go:38–42  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

36}
37
38func NewCloudControllerRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerRepository) {
39 repo.config = config
40 repo.gateway = gateway
41 return
42}
43
44func (repo CloudControllerRepository) Create(params models.AppParams) (models.Application, error) {
45 appResource := resources.NewApplicationEntityFromAppParams(params)

Callers 3

NewRepositoryLocatorFunction · 0.92
createAppRepoFunction · 0.70

Calls

no outgoing calls

Tested by 1

createAppRepoFunction · 0.56