provider

package
v0.97.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrameworkProvider added in v0.71.0

func NewFrameworkProvider(version string) func() provider.Provider

Types

type ProviderFramework added in v0.71.0

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

This is an implementation using the Provider framework Docs can be found here: https://developer.hashicorp.com/terraform/plugin/framework NOTE: All other resources and data sources for other products can be found in the providersdkv2 folder at the same level

func (*ProviderFramework) Configure added in v0.71.0

func (*ProviderFramework) DataSources added in v0.71.0

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

func (*ProviderFramework) Metadata added in v0.71.0

func (*ProviderFramework) Resources added in v0.71.0

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

func (*ProviderFramework) Schema added in v0.71.0

type ProviderFrameworkConfiguration added in v0.71.0

type ProviderFrameworkConfiguration struct {
	Client *clients.Client
}

type ProviderFrameworkModel added in v0.71.0

type ProviderFrameworkModel struct {
	ClientSecret     types.String `tfsdk:"client_secret"`
	ClientID         types.String `tfsdk:"client_id"`
	CredentialFile   types.String `tfsdk:"credential_file"`
	ProjectID        types.String `tfsdk:"project_id"`
	WorkloadIdentity types.List   `tfsdk:"workload_identity"`
}

type WorkloadIdentityFrameworkModel added in v0.79.0

type WorkloadIdentityFrameworkModel struct {
	TokenFile    types.String `tfsdk:"token_file"`
	Token        types.String `tfsdk:"token"`
	ResourceName types.String `tfsdk:"resource_name"`
}

Jump to

Keyboard shortcuts

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