provider

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

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

type FrameworkProvider struct {
	ProviderVersion string
	Meta            *config.Config
}

func (*FrameworkProvider) Configure

func (*FrameworkProvider) DataSources

func (p *FrameworkProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*FrameworkProvider) MetaSchema

func (*FrameworkProvider) Metadata

func (*FrameworkProvider) Resources

func (p *FrameworkProvider) Resources(ctx context.Context) []func() resource.Resource

func (*FrameworkProvider) Schema

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"`
}

Jump to

Keyboard shortcuts

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