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

Function NewCloudControllerServiceBrokerRepository

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

Source from the content-addressed store, hash-verified

32}
33
34func NewCloudControllerServiceBrokerRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerServiceBrokerRepository) {
35 repo.config = config
36 repo.gateway = gateway
37 return
38}
39
40func (repo CloudControllerServiceBrokerRepository) ListServiceBrokers(callback func(models.ServiceBroker) bool) error {
41 return repo.gateway.ListPaginatedResources(

Callers 3

createServiceBrokerRepoFunction · 0.85
NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by 1

createServiceBrokerRepoFunction · 0.68