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

Function ShouldCreateBitsPackage

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

Source from the content-addressed store, hash-verified

5)
6
7func ShouldCreateBitsPackage(plan PushPlan) bool {
8 return plan.DropletPath == "" && plan.DockerImageCredentials.Path == ""
9}
10
11func ShouldCreateDockerPackage(plan PushPlan) bool {
12 return plan.DropletPath == "" && plan.DockerImageCredentials.Path != ""

Calls

no outgoing calls

Tested by

no test coverage detected