Documentation
¶
Index ¶
- Variables
- func Execute()
- func ExportAllFormulasToDir(base, auth string, dirname string) error
- func ExportAllResourcesToDir(base, auth string, dirname string) error
- func ExportAllTransformationsToDir(base, auth string, dirname string) error
- func SetVersion(v string)
- type AllVDR
- type DeleteJobCheck
- type PingCheck
Constants ¶
This section is empty.
Variables ¶
var RootCmd = &cobra.Command{
Use: "cectl",
Short: "Cloud Elements control",
Long: `Cloud Elements control is a CLI that manages the platform`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ExportAllFormulasToDir ¶ added in v0.7.0
ExportAllFormulasToDir creates a directory given and exports all Formula JSON files
func ExportAllResourcesToDir ¶ added in v0.7.0
ExportAllResourcesToDir writes out all the resources to the speceified irectory
func ExportAllTransformationsToDir ¶ added in v0.7.0
ExportAllTransformationsToDir creates a directory given a dirname and iterates through all Elements with associated transformations and creates a single JSON file
Types ¶
type AllVDR ¶ added in v0.9.0
type AllVDR struct { ObjectDefinitions map[string]ce.CommonResource `json:"objectDefinitions"` Transformations interface{} `json:"transformations"` }
AllVDR is the combination of Resources and Transformations
func CombineVirtualDataResourcesForExport ¶ added in v0.9.0
CombineVirtualDataResourcesForExport creates a single JSON object comprising both the Resources and Transformations for the account. Two top level keys of the JSON object are: objectDefinitions for Resources and transformations for Transformations This is very slow.
type DeleteJobCheck ¶ added in v0.17.0
DeleteJobCheck is a struct to hold results of a multidelete