provider

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MPL-2.0 Imports: 31 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 NewApiKeyResource added in v0.0.12

func NewApiKeyResource() resource.Resource

func NewNamespaceResource

func NewNamespaceResource() resource.Resource

func NewNamespaceSearchAttributeResource

func NewNamespaceSearchAttributeResource() resource.Resource

func NewNamespacesDataSource added in v0.0.6

func NewNamespacesDataSource() datasource.DataSource

func NewRegionsDataSource

func NewRegionsDataSource() datasource.DataSource

NewCoffeesDataSource is a helper function to simplify the provider implementation.

func NewServiceAccountResource added in v0.0.12

func NewServiceAccountResource() resource.Resource

func NewUserResource added in v0.0.6

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