Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DataCloudCreate = *DataCloudCmd DataCloudDestroy = *DataCloudCmd )
Set up pointers to support multiple distinct parents
View Source
var DataCloudCmd = &cobra.Command{ Use: "data-cloud", Short: "Deploy a Data Cloud pasture with blueprints", Long: "\nCreates a data-cloud landing zone in a FAST foundation " + "sandbox. Blueprints are deployed as features into the landing zone. " + "An example of how to use this pasture:\n\n\t" + "pasture create data-cloud --region us-central1 --pasture-size small", Args: cobra.NoArgs, Run: func(cmd *cobra.Command, args []string) { checkGoogleADCValidity() configPath := getConfigPath() setPersistentFlagsFromParent(cmd) varFile, varData := hydrateConfig(configPath) stages := fabric.InitializeFoundationStages( configPath, varData.Prefix, varFile, ) seed := fabric.NewSeedStage(configPath) seed.HydrateSeed(cmd.Use, varData.Prefix, configPath) seed.AddVarFile(varFile) stages = append(stages, seed) processStages(cmd, stages, varFile) }, }
DataCloudCmd represents the dataCloud command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.