Documentation ¶
Overview ¶
Package imaging contains implementation for Akamai Terraform sub-provider responsible for managing images and videos
Index ¶
- Constants
- Variables
- func PolicyOutputImage(depth int) map[string]*schema.Schema
- func PolicyOutputVideo(depth int) map[string]*schema.Schema
- type Subprovider
- func (p *Subprovider) Client(meta meta.Meta) imaging.Imaging
- func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource
- func (p *Subprovider) FrameworkResources() []func() resource.Resource
- func (p *Subprovider) SDKDataSources() map[string]*schema.Resource
- func (p *Subprovider) SDKResources() map[string]*schema.Resource
Constants ¶
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 ¶
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 ¶
PolicyOutputImage 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 new imaging subprovider
func (*Subprovider) Client ¶
func (p *Subprovider) Client(meta meta.Meta) imaging.Imaging
Client returns the Imaging interface
func (*Subprovider) FrameworkDataSources ¶
func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource
FrameworkDataSources returns the imaging data sources implemented using terraform-plugin-framework
func (*Subprovider) FrameworkResources ¶
func (p *Subprovider) FrameworkResources() []func() resource.Resource
FrameworkResources returns the imaging resources implemented using terraform-plugin-framework
func (*Subprovider) SDKDataSources ¶
func (p *Subprovider) SDKDataSources() map[string]*schema.Resource
SDKDataSources returns the imaging data sources implemented using terraform-plugin-sdk
func (*Subprovider) SDKResources ¶
func (p *Subprovider) SDKResources() map[string]*schema.Resource
SDKResources returns the imaging resources implemented using terraform-plugin-sdk
Source Files ¶
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 |