Documentation ¶
Overview ¶
Package cloudlets contains code for exporting cloudlets configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFetchingPolicy is returned when fetching policy fails ErrFetchingPolicy = errors.New("unable to fetch policy with given name") // ErrFetchingVersion is returned when fetching policy version fails ErrFetchingVersion = errors.New("unable to fetch latest policy version") // ErrCloudletTypeNotSupported is returned when a provided cloudlet type is not yet supported ErrCloudletTypeNotSupported = errors.New("cloudlet type not supported") )
Functions ¶
func CmdCreatePolicy ¶
func CmdCreatePolicy(c *cli.Context) error
CmdCreatePolicy is an entrypoint to create-policy command
Types ¶
type TFPolicyActivationData ¶
TFPolicyActivationData represents data used in policy activation resource templates
type TFPolicyData ¶
type TFPolicyData struct { Name string CloudletCode string Description string GroupID int64 MatchRuleFormat cloudlets.MatchRuleFormat MatchRules cloudlets.MatchRules PolicyActivations map[string]TFPolicyActivationData LoadBalancers []cloudlets.LoadBalancerVersion LoadBalancerActivations []cloudlets.LoadBalancerActivation Section string }
TFPolicyData represents the data used in policy templates
Click to show internal directories.
Click to hide internal directories.