Documentation ¶
Overview ¶
Package edgeworkers contains implementation for Akamai Terraform sub-provider responsible for maintaining EdgeWorkers functions to dynamically manage web traffic
Index ¶
Constants ¶
View Source
const ProviderVersion string = "v0.0.1"
ProviderVersion update version string anytime provider adds new features
Variables ¶
View Source
var ( // ErrEdgeworkerActivation is returned when edgeworker activation fails ErrEdgeworkerActivation = errors.New("edgeworker activation") // ErrEdgeworkerDeactivation is returned when edgeworker deactivation fails ErrEdgeworkerDeactivation = errors.New("edgeworker deactivation") // ErrEdgeworkerActivationFailure is returned when edgeworker activation fails due to a timeout ErrEdgeworkerActivationFailure = errors.New("edgeworker activation failure") // ErrEdgeworkerDeactivationFailure is returned when edgeworker deactivation fails due to a timeout ErrEdgeworkerDeactivationFailure = errors.New("edgeworker deactivation failure") // ErrEdgeworkerActivationTimeout is returned when edgeworker activation fails due to a timeout ErrEdgeworkerActivationTimeout = errors.New("edgeworker activation timeout") // ErrEdgeworkerDeactivationTimeout is returned when edgeworker deactivation fails due to a timeout ErrEdgeworkerDeactivationTimeout = errors.New("edgeworker deactivation timeout") // ErrEdgeworkerActivationCancelled is returned on activation poll cancel ErrEdgeworkerActivationCancelled = errors.New("operation cancelled while waiting for edgeworker activation status") // ErrEdgeworkerDeactivationCancelled is returned on deactivation poll cancel ErrEdgeworkerDeactivationCancelled = errors.New("operation cancelled while waiting for edgeworker deactivation status") // ErrEdgeworkerActivationContextTerminated is returned on activation context termination ErrEdgeworkerActivationContextTerminated = errors.New("edgeworker activation context terminated") // ErrEdgeworkerDeactivationContextTerminated is returned on deactivation context termination ErrEdgeworkerDeactivationContextTerminated = errors.New("edgeworker deactivation context terminated") )
Functions ¶
func Subprovider ¶
func Subprovider(opts ...Option) akamai.Subprovider
Subprovider returns a core sub provider
Types ¶
type Option ¶
type Option func(p *provider)
Option is a edgeworkers provider option
func WithClient ¶
func WithClient(c edgeworkers.Edgeworkers) Option
WithClient sets the client interface function, used for mocking and testing
Source Files ¶
- bundle_hash.go
- data_akamai_edgekv_group_items.go
- data_akamai_edgekv_groups.go
- data_akamai_edgeworker.go
- data_akamai_edgeworker_activation.go
- data_akamai_edgeworkers_property_rules.go
- data_akamai_edgeworkers_resource_tier.go
- edgeworkers_errors.go
- provider.go
- resource_akamai_edgekv.go
- resource_akamai_edgekv_group_items.go
- resource_akamai_edgeworker.go
- resource_akamai_edgeworkers_activation.go
Click to show internal directories.
Click to hide internal directories.