Documentation ¶
Overview ¶
Package cloudwrapper contains code for exporting CloudWrapper configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFetchingConfiguration is returned when problem occurred during fetching configuration ErrFetchingConfiguration = errors.New("problem with fetching configuration") // ErrContainMultiCDNSettings is returned when configuration contains Multi CDN Setting ErrContainMultiCDNSettings = errors.New("configuration contains Multi CDN Settings") // ErrExportingCloudWrapper is returned when there is an issue related to export of CloudWrapper ErrExportingCloudWrapper = errors.New("error exporting CloudWrapper") // ErrSavingFiles is returned when an issue with processing templates occurs ErrSavingFiles = errors.New("saving terraform project files") )
Functions ¶
func CmdCreateCloudWrapper ¶
func CmdCreateCloudWrapper(c *cli.Context) error
CmdCreateCloudWrapper is an entrypoint to export-cloudwrapper command
Types ¶
type TFCWConfiguration ¶
type TFCWConfiguration struct { ConfigurationResourceName string ID int64 ContractID string Name string PropertyIDs []string Comments string Status string NotificationEmails []string RetainIdleObjects bool CapacityAlertsThreshold *int Locations []Location IsActive bool }
TFCWConfiguration represents the data used for export CloudWrapper configuration
type TFCloudWrapperData ¶
type TFCloudWrapperData struct { Configuration TFCWConfiguration Section string }
TFCloudWrapperData represents the data used in CloudWrapper
Click to show internal directories.
Click to hide internal directories.