Documentation ¶
Index ¶
- func CreateFrameworkProvider(version string) provider.ProviderWithMetaSchema
- func GetIntFromEnv(key string, defaultValue int64, diags *diag.Diagnostics) int64
- type FrameworkProvider
- func (fp *FrameworkProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *FrameworkProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *FrameworkProvider) MetaSchema(ctx context.Context, req provider.MetaSchemaRequest, ...)
- func (p *FrameworkProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *FrameworkProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *FrameworkProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type FrameworkProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFrameworkProvider ¶
func CreateFrameworkProvider(version string) provider.ProviderWithMetaSchema
func GetIntFromEnv ¶
func GetIntFromEnv( key string, defaultValue int64, diags *diag.Diagnostics, ) int64
Types ¶
type FrameworkProvider ¶
func (*FrameworkProvider) Configure ¶
func (fp *FrameworkProvider) Configure( ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse, )
func (*FrameworkProvider) DataSources ¶
func (p *FrameworkProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*FrameworkProvider) MetaSchema ¶
func (p *FrameworkProvider) MetaSchema( ctx context.Context, req provider.MetaSchemaRequest, resp *provider.MetaSchemaResponse, )
func (*FrameworkProvider) Metadata ¶
func (p *FrameworkProvider) Metadata( ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse, )
func (*FrameworkProvider) Resources ¶
func (p *FrameworkProvider) Resources(ctx context.Context) []func() resource.Resource
func (*FrameworkProvider) Schema ¶
func (p *FrameworkProvider) Schema( ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse, )
type FrameworkProviderConfig ¶
type FrameworkProviderConfig struct { BaseURL types.String `tfsdk:"endpoint"` ClientID types.String `tfsdk:"client_id"` ClientSecret types.String `tfsdk:"client_secret"` Token types.String `tfsdk:"token"` AuthToken types.String `tfsdk:"auth_token"` RequestTimeout types.Int64 `tfsdk:"request_timeout"` PageSize types.Int64 `tfsdk:"response_max_page_size"` MaxRetries types.Int64 `tfsdk:"max_retries"` MaxRetryWaitSeconds types.Int64 `tfsdk:"max_retry_wait_seconds"` }
Click to show internal directories.
Click to hide internal directories.