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

Function NewCloudControllerServiceBindingRepository

cf/api/service_bindings.go:27–31  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

25}
26
27func NewCloudControllerServiceBindingRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerServiceBindingRepository) {
28 repo.config = config
29 repo.gateway = gateway
30 return
31}
32
33func (repo CloudControllerServiceBindingRepository) Create(instanceGUID, appGUID string, paramsMap map[string]interface{}) error {
34 path := "/v2/service_bindings"

Callers 2

NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected