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