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

Function validateInstanceSteps

command/v7/push_command.go:594–602  ·  view source on GitHub ↗
(instanceSteps string)

Source from the content-addressed store, hash-verified

592}
593
594func validateInstanceSteps(instanceSteps string) bool {
595 for _, v := range strings.Split(instanceSteps, ",") {
596 _, err := strconv.ParseInt(v, 0, 64)
597 if err != nil {
598 return false
599 }
600 }
601 return true
602}
603
604func (cmd PushCommand) validBuildpacks() bool {
605 for _, buildpack := range cmd.Buildpacks {

Callers 5

ValidateFlagsMethod · 0.85
ValidateFlagsMethod · 0.85
ValidateFlagsMethod · 0.85
ValidateFlagsMethod · 0.85
ValidateFlagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected