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

Function ShouldCreateDockerPackage

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

Source from the content-addressed store, hash-verified

9}
10
11func ShouldCreateDockerPackage(plan PushPlan) bool {
12 return plan.DropletPath == "" && plan.DockerImageCredentials.Path != ""
13}
14
15func ShouldCreateDroplet(plan PushPlan) bool {
16 return plan.DropletPath != ""

Calls

no outgoing calls

Tested by

no test coverage detected