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

Function NewCloudControllerBuildpackRepository

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

Source from the content-addressed store, hash-verified

32}
33
34func NewCloudControllerBuildpackRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerBuildpackRepository) {
35 repo.config = config
36 repo.gateway = gateway
37 return
38}
39
40func (repo CloudControllerBuildpackRepository) ListBuildpacks(cb func(models.Buildpack) bool) error {
41 return repo.gateway.ListPaginatedResources(

Callers 2

NewRepositoryLocatorFunction · 0.85
buildpacks_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected