(buildpackGUID string)
| 126 | } |
| 127 | |
| 128 | func (repo CloudControllerBuildpackRepository) Delete(buildpackGUID string) (apiErr error) { |
| 129 | path := fmt.Sprintf("%s/%s", buildpacksPath, buildpackGUID) |
| 130 | apiErr = repo.gateway.DeleteResource(repo.config.APIEndpoint(), path) |
| 131 | return |
| 132 | } |
| 133 | |
| 134 | func (repo CloudControllerBuildpackRepository) Update(buildpack models.Buildpack) (updatedBuildpack models.Buildpack, apiErr error) { |
| 135 | path := fmt.Sprintf("%s/%s", buildpacksPath, buildpack.GUID) |
nothing calls this directly
no test coverage detected