cps

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cps contains implementation for Akamai Terraform sub-provider responsible for maintaining certificates

Index

Constants

View Source
const ProviderVersion string = "v0.0.1"

ProviderVersion update version string anytime provider adds new features

Variables

View Source
var (
	// ErrWarningsCannotBeApproved is returned when some warnings cannot be auto approved
	ErrWarningsCannotBeApproved = errors.New("warnings cannot be approved")
)
View Source
var (
	// PollForChangeStatusInterval defines retry interval for getting status of a pending change
	PollForChangeStatusInterval = 10 * time.Second
)

Functions

func Provider

func Provider() *schema.Provider

Provider returns the Akamai terraform.Resource provider.

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 cps provider option

func WithClient

func WithClient(c cps.CPS) Option

WithClient sets the client interface function, used for mocking and testing

Directories

Path Synopsis
Package tools contains set of specific functions used by CPS sub-provider
Package tools contains set of specific functions used by CPS sub-provider

Jump to

Keyboard shortcuts

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