imaging

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const MaxPolicyDepth = 7

MaxPolicyDepth is the maximum supported depth of the nested transformations, before we reach hard limit of the Terraform provider for the gRPC communication for exchanging schema information, which is 64MB

View Source
const ProviderVersion string = "v0.0.1"

ProviderVersion update version string anytime provider adds new features

Variables

View Source
var PolicyDepth = MaxPolicyDepth

PolicyDepth is variable to allow changing it for the unit tests, to achieve faster execution for tests, which do not need all supported levels

Functions

func PolicyOutputImage added in v2.1.0

func PolicyOutputImage(depth int) map[string]*schema.Schema

PolicyOutputImage is a top level schema func

func PolicyOutputVideo added in v2.1.0

func PolicyOutputVideo(depth int) map[string]*schema.Schema

PolicyOutputVideo is a top level schema func

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 an imaging provider option

func WithClient

func WithClient(i imaging.Imaging) Option

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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