MCPcopy Index your code
hub / github.com/cloudfoundry/cli / SetupBuildpackWithStack

Function SetupBuildpackWithStack

integration/helpers/buildpack.go:58–65  ·  view source on GitHub ↗

SetupBuildpackWithStack makes and uploads a buildpack for the given stack.

(buildpackName, stack string)

Source from the content-addressed store, hash-verified

56
57// SetupBuildpackWithStack makes and uploads a buildpack for the given stack.
58func SetupBuildpackWithStack(buildpackName, stack string) {
59 BuildpackWithStack(func(buildpackPath string) {
60 session := CF("create-buildpack", buildpackName, buildpackPath, "99")
61 Eventually(session).Should(Say("OK"))
62 Eventually(session).Should(Say("OK"))
63 Eventually(session).Should(Exit(0))
64 }, stack)
65}
66
67// SetupBuildpackWithoutStack makes and uploads a buildpack without a stack.
68func SetupBuildpackWithoutStack(buildpackName string) {

Callers 2

Calls 2

BuildpackWithStackFunction · 0.85
CFFunction · 0.85

Tested by

no test coverage detected