MCPcopy Create free account
hub / github.com/cloudfoundry/cli / ShouldStagePackage

Function ShouldStagePackage

actor/v7pushaction/sequence.go:19–21  ·  view source on GitHub ↗
(plan PushPlan)

Source from the content-addressed store, hash-verified

17}
18
19func ShouldStagePackage(plan PushPlan) bool {
20 return !plan.NoStart && plan.DropletPath == ""
21}
22
23func ShouldCreateDeployment(plan PushPlan) bool {
24 return plan.Strategy != ""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected