imaging

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package imaging contains implementation for Akamai Terraform sub-provider responsible for managing images and videos

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

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

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

PolicyOutputImage is a top level schema func

func PolicyOutputVideo

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

PolicyOutputVideo is a top level schema func

Types

type Subprovider

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

Subprovider gathers imaging resources and data sources

func NewSubprovider

func NewSubprovider(opts ...option) *Subprovider

NewSubprovider returns a core sub provider

func (*Subprovider) Client

func (p *Subprovider) Client(meta meta.Meta) imaging.Imaging

Client returns the Imaging interface

func (*Subprovider) DataSources

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

DataSources returns terraform data sources for imaging

func (*Subprovider) Resources

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

Resources returns terraform resources for imaging

Directories

Path Synopsis
Package imagewriter contains set of functions used to manage image
Package imagewriter contains set of functions used to manage image
Package videowriter contains set of functions used to manage video
Package videowriter contains set of functions used to manage video

Jump to

Keyboard shortcuts

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