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

Function NewCloudControllerQuotaRepository

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

Source from the content-addressed store, hash-verified

32}
33
34func NewCloudControllerQuotaRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerQuotaRepository) {
35 repo.config = config
36 repo.gateway = gateway
37 return
38}
39
40func (repo CloudControllerQuotaRepository) findAllWithPath(path string) ([]models.QuotaFields, error) {
41 var quotas []models.QuotaFields

Callers 2

NewRepositoryLocatorFunction · 0.92
quotas_test.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected