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 LoadBalancerVersion ¶ added in v1.11.0
type LoadBalancerVersion struct { cloudlets.LoadBalancerVersion OriginDescription string }
LoadBalancerVersion ...
type TFPolicyActivationData ¶
TFPolicyActivationData represents data used in policy activation resource templates
type TFPolicyActivationsData ¶ added in v1.12.0
type TFPolicyActivationsData struct { Staging *TFPolicyActivationData Production *TFPolicyActivationData IsV3 bool }
TFPolicyActivationsData represents data used in policy all activation resource templates
type TFPolicyData ¶
type TFPolicyData struct { Name string CloudletCode string OriginDescription string Description string GroupID int64 MatchRuleFormat cloudlets.MatchRuleFormat MatchRules any PolicyActivations TFPolicyActivationsData LoadBalancers []LoadBalancerVersion LoadBalancerActivations []cloudlets.LoadBalancerActivation Section string IsV3 bool }
TFPolicyData represents the data used in policy templates
Click to show internal directories.
Click to hide internal directories.