Documentation ¶
Index ¶
- Constants
- func CreateCdnResourceSchema() schema.Schema
- func CreateOriginResourceSchema() schema.Schema
- func CreateSslResourceSchema() schema.Schema
- func New(version string) func() provider.Provider
- func NewCdnDataSource() datasource.DataSource
- func NewCdnResource() resource.Resource
- func NewCdnsDataSource() datasource.DataSource
- func NewClient(endpoint string, token string, timeout time.Duration) (cdn77.ClientWithResponsesInterface, error)
- func NewObjectStoragesDataSource() datasource.DataSource
- func NewOriginDataSource() datasource.DataSource
- func NewOriginResource() resource.Resource
- func NewOriginsDataSource() datasource.DataSource
- func NewSslDataSource() datasource.DataSource
- func NewSslResource() resource.Resource
- func NewSslsDataSource() datasource.DataSource
- type Cdn77Provider
- func (p *Cdn77Provider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (*Cdn77Provider) DataSources(context.Context) []func() datasource.DataSource
- func (p *Cdn77Provider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (*Cdn77Provider) Resources(context.Context) []func() resource.Resource
- func (*Cdn77Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type Cdn77ProviderModel
- type CdnDataReader
- type CdnDataSource
- func (d *CdnDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*CdnDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *CdnDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*CdnDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type CdnModel
- type CdnModelCache
- type CdnModelGeoProtection
- type CdnModelHeaders
- type CdnModelHotlinkProtection
- type CdnModelHttpsRedirect
- type CdnModelIpProtection
- type CdnModelQueryString
- type CdnModelSecureToken
- type CdnModelSsl
- type CdnModelStream
- type CdnResource
- func (*CdnResource) ConfigValidators(context.Context) []resource.ConfigValidator
- func (r *CdnResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *CdnResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CdnResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (*CdnResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (*CdnResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *CdnResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (*CdnResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CdnResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CdnSummaryModel
- type CdnSwitchableAttrsConfigValidator
- func (v CdnSwitchableAttrsConfigValidator) Description(ctx context.Context) string
- func (CdnSwitchableAttrsConfigValidator) MarkdownDescription(_ context.Context) string
- func (v CdnSwitchableAttrsConfigValidator) Validate(ctx context.Context, config tfsdk.Config) diag.Diagnostics
- func (v CdnSwitchableAttrsConfigValidator) ValidateDataSource(ctx context.Context, req datasource.ValidateConfigRequest, ...)
- func (v CdnSwitchableAttrsConfigValidator) ValidateResource(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type CdnsDataSource
- func (d *CdnsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*CdnsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *CdnsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*CdnsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type CdnsModel
- type ObjectStorageModel
- type ObjectStoragesDataSource
- func (d *ObjectStoragesDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*ObjectStoragesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *ObjectStoragesDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*ObjectStoragesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ObjectStoragesModel
- type OriginConfigValidator
- func (v OriginConfigValidator) Description(ctx context.Context) string
- func (OriginConfigValidator) MarkdownDescription(_ context.Context) string
- func (v OriginConfigValidator) Validate(ctx context.Context, config tfsdk.Config) diag.Diagnostics
- func (v OriginConfigValidator) ValidateDataSource(ctx context.Context, req datasource.ValidateConfigRequest, ...)
- func (v OriginConfigValidator) ValidateResource(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type OriginDataReader
- type OriginDataSource
- func (d *OriginDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*OriginDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *OriginDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*OriginDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type OriginModel
- type OriginResource
- func (*OriginResource) ConfigValidators(_ context.Context) []resource.ConfigValidator
- func (r *OriginResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *OriginResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *OriginResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (*OriginResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (*OriginResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *OriginResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (*OriginResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *OriginResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type OriginsDataSource
- func (d *OriginsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*OriginsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *OriginsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*OriginsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type OriginsModel
- type SslDataReader
- type SslDataSource
- func (d *SslDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*SslDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *SslDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*SslDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type SslModel
- type SslResource
- func (r *SslResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *SslResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SslResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (*SslResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (*SslResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *SslResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (*SslResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SslResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SslsDataSource
- func (d *SslsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*SslsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *SslsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
- func (*SslsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type SslsModel
- type StateProvider
Constants ¶
View Source
const ( OriginTypeAws = "aws" OriginTypeObjectStorage = "object-storage" OriginTypeUrl = "url" )
Variables ¶
This section is empty.
Functions ¶
func CreateCdnResourceSchema ¶
func CreateSslResourceSchema ¶
func NewCdnDataSource ¶
func NewCdnDataSource() datasource.DataSource
func NewCdnResource ¶
func NewCdnsDataSource ¶
func NewCdnsDataSource() datasource.DataSource
func NewObjectStoragesDataSource ¶
func NewObjectStoragesDataSource() datasource.DataSource
func NewOriginDataSource ¶
func NewOriginDataSource() datasource.DataSource
func NewOriginResource ¶
func NewOriginsDataSource ¶
func NewOriginsDataSource() datasource.DataSource
func NewSslDataSource ¶
func NewSslDataSource() datasource.DataSource
func NewSslResource ¶
func NewSslsDataSource ¶
func NewSslsDataSource() datasource.DataSource
Types ¶
type Cdn77Provider ¶
type Cdn77Provider struct {
// contains filtered or unexported fields
}
func (*Cdn77Provider) Configure ¶
func (p *Cdn77Provider) Configure( ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse, )
func (*Cdn77Provider) DataSources ¶
func (*Cdn77Provider) DataSources(context.Context) []func() datasource.DataSource
func (*Cdn77Provider) Metadata ¶
func (p *Cdn77Provider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*Cdn77Provider) Resources ¶
func (*Cdn77Provider) Resources(context.Context) []func() resource.Resource
func (*Cdn77Provider) Schema ¶
func (*Cdn77Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type Cdn77ProviderModel ¶
type CdnDataReader ¶
type CdnDataReader struct {
// contains filtered or unexported fields
}
func NewCdnDataSourceReader ¶
func NewCdnDataSourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *CdnDataReader
func NewCdnResourceReader ¶
func NewCdnResourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *CdnDataReader
func (*CdnDataReader) Read ¶
func (d *CdnDataReader) Read(provider StateProvider, diags *diag.Diagnostics, state *tfsdk.State)
type CdnDataSource ¶
type CdnDataSource struct {
// contains filtered or unexported fields
}
func (*CdnDataSource) Configure ¶
func (d *CdnDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*CdnDataSource) Metadata ¶
func (*CdnDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CdnDataSource) Read ¶
func (d *CdnDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CdnDataSource) Schema ¶
func (*CdnDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CdnModel ¶
type CdnModel struct { Id types.Int64 `tfsdk:"id"` Cnames types.Set `tfsdk:"cnames"` CreationTime types.String `tfsdk:"creation_time"` Label types.String `tfsdk:"label"` Note types.String `tfsdk:"note"` OriginId types.String `tfsdk:"origin_id"` OriginProtectionEnabled types.Bool `tfsdk:"origin_protection_enabled"` Url types.String `tfsdk:"url"` Cache *CdnModelCache `tfsdk:"cache"` SecureToken *CdnModelSecureToken `tfsdk:"secure_token"` QueryString *CdnModelQueryString `tfsdk:"query_string"` Headers *CdnModelHeaders `tfsdk:"headers"` HttpsRedirect *CdnModelHttpsRedirect `tfsdk:"https_redirect"` Mp4PseudoStreamingEnabled types.Bool `tfsdk:"mp4_pseudo_streaming_enabled"` WafEnabled types.Bool `tfsdk:"waf_enabled"` Ssl *CdnModelSsl `tfsdk:"ssl"` Stream *CdnModelStream `tfsdk:"stream"` HotlinkProtection *CdnModelHotlinkProtection `tfsdk:"hotlink_protection"` IpProtection *CdnModelIpProtection `tfsdk:"ip_protection"` GeoProtection *CdnModelGeoProtection `tfsdk:"geo_protection"` RateLimitEnabled types.Bool `tfsdk:"rate_limit_enabled"` OriginHeaders types.Map `tfsdk:"origin_headers"` }
type CdnModelCache ¶
type CdnModelGeoProtection ¶
type CdnModelHeaders ¶
type CdnModelHeaders struct { CorsEnabled types.Bool `tfsdk:"cors_enabled"` CorsTimingEnabled types.Bool `tfsdk:"cors_timing_enabled"` CorsWildcardEnabled types.Bool `tfsdk:"cors_wildcard_enabled"` HostHeaderForwardingEnabled types.Bool `tfsdk:"host_header_forwarding_enabled"` ContentDispositionType types.String `tfsdk:"content_disposition_type"` }
type CdnModelHttpsRedirect ¶
type CdnModelIpProtection ¶
type CdnModelQueryString ¶
type CdnModelSecureToken ¶
type CdnModelSsl ¶
type CdnModelStream ¶
type CdnResource ¶
type CdnResource struct {
// contains filtered or unexported fields
}
func (*CdnResource) ConfigValidators ¶
func (*CdnResource) ConfigValidators(context.Context) []resource.ConfigValidator
func (*CdnResource) Configure ¶
func (r *CdnResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CdnResource) Create ¶
func (r *CdnResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CdnResource) Delete ¶
func (r *CdnResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CdnResource) ImportState ¶ added in v1.1.0
func (*CdnResource) ImportState( ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse, )
func (*CdnResource) Metadata ¶
func (*CdnResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CdnResource) Read ¶
func (r *CdnResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CdnResource) Schema ¶
func (*CdnResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CdnResource) Update ¶
func (r *CdnResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CdnSummaryModel ¶
type CdnSummaryModel struct { Id types.Int64 `tfsdk:"id"` Cnames types.Set `tfsdk:"cnames"` CreationTime types.String `tfsdk:"creation_time"` Label types.String `tfsdk:"label"` Note types.String `tfsdk:"note"` OriginId types.String `tfsdk:"origin_id"` Url types.String `tfsdk:"url"` Mp4PseudoStreamingEnabled types.Bool `tfsdk:"mp4_pseudo_streaming_enabled"` }
type CdnSwitchableAttrsConfigValidator ¶
type CdnSwitchableAttrsConfigValidator struct{}
func NewCdnNullableListsConfigValidator ¶
func NewCdnNullableListsConfigValidator() *CdnSwitchableAttrsConfigValidator
func (CdnSwitchableAttrsConfigValidator) Description ¶
func (v CdnSwitchableAttrsConfigValidator) Description(ctx context.Context) string
func (CdnSwitchableAttrsConfigValidator) MarkdownDescription ¶
func (CdnSwitchableAttrsConfigValidator) MarkdownDescription(_ context.Context) string
func (CdnSwitchableAttrsConfigValidator) Validate ¶
func (v CdnSwitchableAttrsConfigValidator) Validate(ctx context.Context, config tfsdk.Config) diag.Diagnostics
func (CdnSwitchableAttrsConfigValidator) ValidateDataSource ¶
func (v CdnSwitchableAttrsConfigValidator) ValidateDataSource( ctx context.Context, req datasource.ValidateConfigRequest, resp *datasource.ValidateConfigResponse, )
func (CdnSwitchableAttrsConfigValidator) ValidateResource ¶
func (v CdnSwitchableAttrsConfigValidator) ValidateResource( ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse, )
type CdnsDataSource ¶
type CdnsDataSource struct {
// contains filtered or unexported fields
}
func (*CdnsDataSource) Configure ¶
func (d *CdnsDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*CdnsDataSource) Metadata ¶
func (*CdnsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CdnsDataSource) Read ¶
func (d *CdnsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CdnsDataSource) Schema ¶
func (*CdnsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CdnsModel ¶
type CdnsModel struct {
Cdns []CdnSummaryModel `tfsdk:"cdns"`
}
type ObjectStorageModel ¶
type ObjectStoragesDataSource ¶
type ObjectStoragesDataSource struct {
// contains filtered or unexported fields
}
func (*ObjectStoragesDataSource) Configure ¶
func (d *ObjectStoragesDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*ObjectStoragesDataSource) Metadata ¶
func (*ObjectStoragesDataSource) Metadata( _ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse, )
func (*ObjectStoragesDataSource) Read ¶
func (d *ObjectStoragesDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ObjectStoragesDataSource) Schema ¶
func (*ObjectStoragesDataSource) Schema( _ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse, )
type ObjectStoragesModel ¶
type ObjectStoragesModel struct {
Clusters []ObjectStorageModel `tfsdk:"clusters"`
}
type OriginConfigValidator ¶
type OriginConfigValidator struct{}
func NewOriginTypeConfigValidator ¶
func NewOriginTypeConfigValidator() *OriginConfigValidator
func (OriginConfigValidator) Description ¶
func (v OriginConfigValidator) Description(ctx context.Context) string
func (OriginConfigValidator) MarkdownDescription ¶
func (OriginConfigValidator) MarkdownDescription(_ context.Context) string
func (OriginConfigValidator) Validate ¶
func (v OriginConfigValidator) Validate(ctx context.Context, config tfsdk.Config) diag.Diagnostics
func (OriginConfigValidator) ValidateDataSource ¶
func (v OriginConfigValidator) ValidateDataSource( ctx context.Context, req datasource.ValidateConfigRequest, resp *datasource.ValidateConfigResponse, )
func (OriginConfigValidator) ValidateResource ¶
func (v OriginConfigValidator) ValidateResource( ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse, )
type OriginDataReader ¶
type OriginDataReader struct {
// contains filtered or unexported fields
}
func NewOriginDataSourceReader ¶
func NewOriginDataSourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *OriginDataReader
func NewOriginResourceReader ¶
func NewOriginResourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *OriginDataReader
func (*OriginDataReader) Read ¶
func (d *OriginDataReader) Read(provider StateProvider, diags *diag.Diagnostics, state *tfsdk.State)
type OriginDataSource ¶
type OriginDataSource struct {
// contains filtered or unexported fields
}
func (*OriginDataSource) Configure ¶
func (d *OriginDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*OriginDataSource) Metadata ¶
func (*OriginDataSource) Metadata( _ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse, )
func (*OriginDataSource) Read ¶
func (d *OriginDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OriginDataSource) Schema ¶
func (*OriginDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OriginModel ¶
type OriginModel struct { Id types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` Label types.String `tfsdk:"label"` Note types.String `tfsdk:"note"` AwsAccessKeyId types.String `tfsdk:"aws_access_key_id"` AwsAccessKeySecret types.String `tfsdk:"aws_access_key_secret"` AwsRegion types.String `tfsdk:"aws_region"` Acl types.String `tfsdk:"acl"` ClusterId types.String `tfsdk:"cluster_id"` AccessKeyId types.String `tfsdk:"access_key_id"` AccessKeySecret types.String `tfsdk:"access_key_secret"` BucketName types.String `tfsdk:"bucket_name"` Scheme types.String `tfsdk:"scheme"` Host types.String `tfsdk:"host"` Port types.Int64 `tfsdk:"port"` BaseDir types.String `tfsdk:"base_dir"` }
type OriginResource ¶
type OriginResource struct {
// contains filtered or unexported fields
}
func (*OriginResource) ConfigValidators ¶
func (*OriginResource) ConfigValidators(_ context.Context) []resource.ConfigValidator
func (*OriginResource) Configure ¶
func (r *OriginResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*OriginResource) Create ¶
func (r *OriginResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*OriginResource) Delete ¶
func (r *OriginResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*OriginResource) ImportState ¶ added in v1.1.0
func (*OriginResource) ImportState( ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse, )
func (*OriginResource) Metadata ¶
func (*OriginResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*OriginResource) Read ¶
func (r *OriginResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*OriginResource) Schema ¶
func (*OriginResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*OriginResource) Update ¶
func (r *OriginResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type OriginsDataSource ¶
type OriginsDataSource struct {
// contains filtered or unexported fields
}
func (*OriginsDataSource) Configure ¶
func (d *OriginsDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*OriginsDataSource) Metadata ¶
func (*OriginsDataSource) Metadata( _ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse, )
func (*OriginsDataSource) Read ¶
func (d *OriginsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
func (*OriginsDataSource) Schema ¶
func (*OriginsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type OriginsModel ¶
type OriginsModel struct {
Origins []OriginModel `tfsdk:"origins"`
}
type SslDataReader ¶
type SslDataReader struct {
// contains filtered or unexported fields
}
func NewSslDataSourceReader ¶
func NewSslDataSourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *SslDataReader
func NewSslResourceReader ¶
func NewSslResourceReader(ctx context.Context, client cdn77.ClientWithResponsesInterface) *SslDataReader
func (*SslDataReader) Read ¶
func (d *SslDataReader) Read(provider StateProvider, diags *diag.Diagnostics, state *tfsdk.State)
type SslDataSource ¶
type SslDataSource struct {
// contains filtered or unexported fields
}
func (*SslDataSource) Configure ¶
func (d *SslDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*SslDataSource) Metadata ¶
func (*SslDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SslDataSource) Read ¶
func (d *SslDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SslDataSource) Schema ¶
func (*SslDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SslResource ¶
type SslResource struct {
// contains filtered or unexported fields
}
func (*SslResource) Configure ¶
func (r *SslResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SslResource) Create ¶
func (r *SslResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SslResource) Delete ¶
func (r *SslResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SslResource) ImportState ¶ added in v1.1.0
func (*SslResource) ImportState( ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse, )
func (*SslResource) Metadata ¶
func (*SslResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SslResource) Read ¶
func (r *SslResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SslResource) Schema ¶
func (*SslResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SslResource) Update ¶
func (r *SslResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SslsDataSource ¶
type SslsDataSource struct {
// contains filtered or unexported fields
}
func (*SslsDataSource) Configure ¶
func (d *SslsDataSource) Configure( _ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse, )
func (*SslsDataSource) Metadata ¶
func (*SslsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SslsDataSource) Read ¶
func (d *SslsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SslsDataSource) Schema ¶
func (*SslsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type StateProvider ¶
type StateProvider interface {
Get(ctx context.Context, target any) diag.Diagnostics
}
Source Files ¶
- cdn_data_reader.go
- cdn_data_source.go
- cdn_resource.go
- cdn_resource_schema.go
- cdn_switchable_attrs_config_validator.go
- cdns_data_source.go
- object_storages_data_source.go
- origin_config_validator.go
- origin_data_reader.go
- origin_data_source.go
- origin_resource.go
- origin_resource_schema.go
- origins_data_source.go
- provider.go
- ssl_data_reader.go
- ssl_data_source.go
- ssl_resource.go
- ssl_resource_schema.go
- ssls_data_source.go
Click to show internal directories.
Click to hide internal directories.