provider

package
v0.0.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewMetricsEndpointResource

func NewMetricsEndpointResource() resource.Resource

func NewNamespaceResource

func NewNamespaceResource() resource.Resource

func NewNamespaceSearchAttributeResource

func NewNamespaceSearchAttributeResource() resource.Resource

func NewNamespacesDataSource

func NewNamespacesDataSource() datasource.DataSource

func NewRegionsDataSource

func NewRegionsDataSource() datasource.DataSource

NewRegionsDataSource is a helper function to simplify the provider implementation.

func NewUserResource

func NewUserResource() resource.Resource

Types

type TerraformCloudProvider

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

TerraformCloudProvider defines the provider implementation.

func (*TerraformCloudProvider) Configure

func (*TerraformCloudProvider) DataSources

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

func (*TerraformCloudProvider) Metadata

func (*TerraformCloudProvider) Resources

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

func (*TerraformCloudProvider) Schema

type TerraformCloudProviderModel

type TerraformCloudProviderModel struct {
	APIKey        types.String `tfsdk:"api_key"`
	Endpoint      types.String `tfsdk:"endpoint"`
	AllowInsecure types.Bool   `tfsdk:"allow_insecure"`
}

TerraformCloudProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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