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

Function BuildpackWithoutStack

integration/helpers/buildpack.go:53–55  ·  view source on GitHub ↗

BuildpackWithoutStack makes a simple buildpack without a stack (using MakeBuildpackArchive) and yields it to the given function, removing the zip at the end.

(f func(buildpackArchive string))

Source from the content-addressed store, hash-verified

51// MakeBuildpackArchive) and yields it to the given function, removing the zip
52// at the end.
53func BuildpackWithoutStack(f func(buildpackArchive string)) {
54 BuildpackWithStack(f, "")
55}
56
57// SetupBuildpackWithStack makes and uploads a buildpack for the given stack.
58func SetupBuildpackWithStack(buildpackName, stack string) {

Calls 1

BuildpackWithStackFunction · 0.85

Tested by

no test coverage detected