Documentation ¶
Overview ¶
Package cloudlets contains implementation for Akamai Terraform sub-provider responsible for managing Cloudlets applications
Index ¶
- Constants
- Variables
- func EnforceMatchRulesChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
- func EnforcePolicyVersionChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
- func EnforceVersionChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
- func Provider() *schema.Provider
- func Subprovider(opts ...Option) akamai.Subprovider
- type Option
Constants ¶
View Source
const ProviderVersion string = "v0.0.1"
ProviderVersion update version string anytime provider adds new features
Variables ¶
View Source
var ( // ErrPolicyActivation is returned when policy activation fails ErrPolicyActivation = errors.New("policy activation") // ErrPolicyActivationTimeout is returned when policy activation fails due to a timeout ErrPolicyActivationTimeout = errors.New("policy activation timeout") // ErrPolicyActivationCanceled is returned on activation poll cancel ErrPolicyActivationCanceled = errors.New("operation canceled while waiting for policy activation status") // ErrPolicyActivationContextTerminated is returned on activation context termination ErrPolicyActivationContextTerminated = errors.New("policy activation context terminated") // ErrApplicationLoadBalancerActivation is returned when application load balancer activation fails ErrApplicationLoadBalancerActivation = errors.New("application load balancer activation") // ErrApplicationLoadBalancerActivationTimeout is returned when application load balancer activation fails due to a timeout ErrApplicationLoadBalancerActivationTimeout = errors.New("application load balancer activation timeout") // ErrApplicationLoadBalancerActivationOriginNotDefined is returned when load balancer activation fails due to origin not defined ErrApplicationLoadBalancerActivationOriginNotDefined = errors.New("not defined in property manager for this network") // ErrApplicationLoadBalancerActivationCanceled is returned on activation poll cancel ErrApplicationLoadBalancerActivationCanceled = errors.New("operation canceled while waiting for application load balancer activation status") // ErrApplicationLoadBalancerActivationContextTerminated is returned on activation context termination ErrApplicationLoadBalancerActivationContextTerminated = errors.New("application load balancer activation context terminated") )
View Source
var ( // ALBActivationPollMinimum is the minimum polling interval for activation creation ALBActivationPollMinimum = time.Second * 15 // ALBActivationPollInterval is the interval for polling an activation status on creation ALBActivationPollInterval = ALBActivationPollMinimum // ApplicationLoadBalancerActivationResourceTimeout is the default timeout for the resource operations ApplicationLoadBalancerActivationResourceTimeout = time.Minute * 20 // ApplicationLoadBalancerActivationRetryTimeout is the default timeout for the resource activation retries ApplicationLoadBalancerActivationRetryTimeout = time.Minute * 10 )
View Source
var ( // ActivationPollMinimum is the minimum polling interval for activation creation ActivationPollMinimum = time.Minute // ActivationPollInterval is the interval for polling an activation status on creation ActivationPollInterval = ActivationPollMinimum // PolicyActivationResourceTimeout is the default timeout for the resource operations PolicyActivationResourceTimeout = time.Minute * 90 // PolicyActivationRetryPollMinimum is the minimum polling interval for retrying policy activation PolicyActivationRetryPollMinimum = time.Second * 15 // PolicyActivationRetryTimeout is the default timeout for the policy activation retries PolicyActivationRetryTimeout = time.Minute * 10 // ErrNetworkName is used when the user inputs an invalid network name ErrNetworkName = errors.New("invalid network name") )
Functions ¶
func EnforceMatchRulesChange ¶
func EnforceMatchRulesChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
EnforceMatchRulesChange enforces that any changes to match_rules will re compute the warnings
func EnforcePolicyVersionChange ¶
func EnforcePolicyVersionChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
EnforcePolicyVersionChange enforces that change to any field will most likely result in creating a new version
func EnforceVersionChange ¶
func EnforceVersionChange(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error
EnforceVersionChange enforces that change to any field will most likely result in creating a new version
func Subprovider ¶
func Subprovider(opts ...Option) akamai.Subprovider
Subprovider returns a core sub provider
Types ¶
Source Files ¶
- cloudlets_errors.go
- data_akamai_cloudlets_api_prioritization_match_rule.go
- data_akamai_cloudlets_application_load_balancer.go
- data_akamai_cloudlets_application_load_balancer_match_rule.go
- data_akamai_cloudlets_audience_segmentation_match_rule.go
- data_akamai_cloudlets_edge_redirector_match_rule.go
- data_akamai_cloudlets_forward_rewrite_match_rule.go
- data_akamai_cloudlets_phased_release_match_rule.go
- data_akamai_cloudlets_policy.go
- data_akamai_cloudlets_request_control_match_rule.go
- data_akamai_cloudlets_visitor_prioritization_match_rule.go
- match_rules.go
- policy_version.go
- provider.go
- resource_akamai_cloudlets_application_load_balancer.go
- resource_akamai_cloudlets_application_load_balancer_activation.go
- resource_akamai_cloudlets_policy.go
- resource_akamai_cloudlets_policy_activation.go
Click to show internal directories.
Click to hide internal directories.