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

Method FindByNameAndStack

cf/api/buildpacks.go:21–21  ·  view source on GitHub ↗
(name, stack string)

Source from the content-addressed store, hash-verified

19type BuildpackRepository interface {
20 FindByName(name string) (buildpack models.Buildpack, apiErr error)
21 FindByNameAndStack(name, stack string) (buildpack models.Buildpack, apiErr error)
22 FindByNameWithNilStack(name string) (buildpack models.Buildpack, apiErr error)
23 ListBuildpacks(func(models.Buildpack) bool) error
24 Create(name string, position *int, enabled *bool, locked *bool) (createdBuildpack models.Buildpack, apiErr error)

Callers 3

ExecuteMethod · 0.65
ExecuteMethod · 0.65
buildpacks_test.goFile · 0.65

Implementers 3

OldFakeBuildpackRepositorycf/api/apifakes/old_fake_buildpack_rep
FakeBuildpackRepositorycf/api/apifakes/fake_buildpack_reposit

Calls

no outgoing calls

Tested by

no test coverage detected