github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/v7pushaction/push_plan.go (about) 1 package v7pushaction 2 3 import ( 4 "fmt" 5 6 "code.cloudfoundry.org/cli/actor/sharedaction" 7 "code.cloudfoundry.org/cli/actor/v7action" 8 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant" 9 "code.cloudfoundry.org/cli/types" 10 "github.com/cloudfoundry/bosh-cli/director/template" 11 ) 12 13 type PushPlan struct { 14 SpaceGUID string 15 OrgGUID string 16 17 Application v7action.Application 18 19 NoStart bool 20 NoWait bool 21 Strategy constant.DeploymentStrategy 22 TaskTypeApplication bool 23 24 DockerImageCredentials v7action.DockerImageCredentials 25 26 Archive bool 27 BitsPath string 28 DropletPath string 29 AllResources []sharedaction.V3Resource 30 31 PackageGUID string 32 DropletGUID string 33 } 34 35 type FlagOverrides struct { 36 AppName string 37 Buildpacks []string 38 Stack string 39 Disk string 40 DropletPath string 41 DockerImage string 42 DockerPassword string 43 DockerUsername string 44 HealthCheckEndpoint string 45 HealthCheckTimeout int64 46 HealthCheckType constant.HealthCheckType 47 Instances types.NullInt 48 Memory string 49 NoStart bool 50 NoWait bool 51 ProvidedAppPath string 52 NoRoute bool 53 RandomRoute bool 54 StartCommand types.FilteredString 55 Strategy constant.DeploymentStrategy 56 ManifestPath string 57 PathsToVarsFiles []string 58 Vars []template.VarKV 59 NoManifest bool 60 Task bool 61 } 62 63 func (state PushPlan) String() string { 64 return fmt.Sprintf( 65 "Application: %#v - Space GUID: %s, Org GUID: %s, Archive: %t, Bits Path: %s", 66 state.Application, 67 state.SpaceGUID, 68 state.OrgGUID, 69 state.Archive, 70 state.BitsPath, 71 ) 72 }