github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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/resources" 10 "code.cloudfoundry.org/cli/types" 11 "github.com/cloudfoundry/bosh-cli/director/template" 12 ) 13 14 type PushPlan struct { 15 SpaceGUID string 16 OrgGUID string 17 18 Application resources.Application 19 20 NoStart bool 21 NoWait bool 22 Strategy constant.DeploymentStrategy 23 TaskTypeApplication bool 24 25 DockerImageCredentials v7action.DockerImageCredentials 26 27 Archive bool 28 BitsPath string 29 DropletPath string 30 AllResources []sharedaction.V3Resource 31 32 PackageGUID string 33 DropletGUID string 34 } 35 36 type FlagOverrides struct { 37 AppName string 38 Buildpacks []string 39 Stack string 40 Disk string 41 DropletPath string 42 DockerImage string 43 DockerPassword string 44 DockerUsername string 45 HealthCheckEndpoint string 46 HealthCheckTimeout int64 47 HealthCheckType constant.HealthCheckType 48 Instances types.NullInt 49 Memory string 50 NoStart bool 51 NoWait bool 52 ProvidedAppPath string 53 NoRoute bool 54 RandomRoute bool 55 StartCommand types.FilteredString 56 Strategy constant.DeploymentStrategy 57 ManifestPath string 58 PathsToVarsFiles []string 59 Vars []template.VarKV 60 NoManifest bool 61 Task bool 62 LogRateLimit string 63 } 64 65 func (state PushPlan) String() string { 66 return fmt.Sprintf( 67 "Application: %#v - Space GUID: %s, Org GUID: %s, Archive: %t, Bits Path: %s", 68 state.Application, 69 state.SpaceGUID, 70 state.OrgGUID, 71 state.Archive, 72 state.BitsPath, 73 ) 74 }