edgeworkers

package
v6.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package edgeworkers contains implementation for Akamai Terraform sub-provider responsible for maintaining EdgeWorkers functions to dynamically manage web traffic

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrEdgeworkerActivation is returned when edgeworker activation fails
	ErrEdgeworkerActivation = errors.New("edgeworker activation")
	// ErrEdgeworkerNoCurrentActivation is returned when edgeworker activation fails
	ErrEdgeworkerNoCurrentActivation = errors.New("edgeworker is not active")
	// ErrEdgeworkerDeactivation is returned when edgeworker deactivation fails
	ErrEdgeworkerDeactivation = errors.New("edgeworker deactivation")
	// ErrEdgeworkerNoLatestDeactivation is returned when edgeworker deactivation fails
	ErrEdgeworkerNoLatestDeactivation = errors.New("edgeworker does not have any deactivations")
	// 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

This section is empty.

Types

type Subprovider

type Subprovider struct {
	// contains filtered or unexported fields
}

Subprovider gathers edgeworkers resources and data sources

func NewSubprovider

func NewSubprovider(opts ...option) *Subprovider

NewSubprovider returns a new edgeworkers subprovider

func (*Subprovider) Client

func (p *Subprovider) Client(meta meta.Meta) edgeworkers.Edgeworkers

Client returns the edgeworkers interface

func (*Subprovider) FrameworkDataSources

func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource

FrameworkDataSources returns the edgeworkers data sources implemented using terraform-plugin-framework

func (*Subprovider) FrameworkResources

func (p *Subprovider) FrameworkResources() []func() resource.Resource

FrameworkResources returns the edgeworkers resources implemented using terraform-plugin-framework

func (*Subprovider) SDKDataSources

func (p *Subprovider) SDKDataSources() map[string]*schema.Resource

SDKDataSources returns the edgeworkers data sources implemented using terraform-plugin-sdk

func (*Subprovider) SDKResources

func (p *Subprovider) SDKResources() map[string]*schema.Resource

SDKResources returns the edgeworkers resources implemented using terraform-plugin-sdk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL