provider

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MPL-2.0 Imports: 24 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 NewInvokeDataSource

func NewInvokeDataSource() datasource.DataSource

func NewInvokeResource

func NewInvokeResource() resource.Resource

Types

type AzureAksCommandClient

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

type AzureAksCommandProvider

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

AzureAksCommandProvider defines the provider implementation.

func (*AzureAksCommandProvider) Configure

func (*AzureAksCommandProvider) DataSources

func (p *AzureAksCommandProvider) DataSources(_ context.Context) []func() datasource.DataSource

func (*AzureAksCommandProvider) Metadata

func (*AzureAksCommandProvider) Resources

func (p *AzureAksCommandProvider) Resources(_ context.Context) []func() resource.Resource

func (*AzureAksCommandProvider) Schema

type AzureAksCommandProviderModel

type AzureAksCommandProviderModel struct {
	SubscriptionId            types.String `tfsdk:"subscription_id"`
	ClientId                  types.String `tfsdk:"client_id"`
	TenantId                  types.String `tfsdk:"tenant_id"`
	Environment               types.String `tfsdk:"environment"`
	ClientCertificatePath     types.String `tfsdk:"client_certificate_path"`
	ClientCertificatePassword types.String `tfsdk:"client_certificate_password"`
	ClientSecret              types.String `tfsdk:"client_secret"`
	OidcRequestToken          types.String `tfsdk:"oidc_request_token"`
	OidcRequestUrl            types.String `tfsdk:"oidc_request_url"`
	OidcToken                 types.String `tfsdk:"oidc_token"`
	OidcTokenFilePath         types.String `tfsdk:"oidc_token_file_path"`
	UseOidc                   types.Bool   `tfsdk:"use_oidc"`
	UseMsi                    types.Bool   `tfsdk:"use_msi"`
	MsiEndpoint               types.String `tfsdk:"msi_endpoint"`
	PartnerId                 types.String `tfsdk:"partner_id"`
	DisableTerraformPartnerId types.Bool   `tfsdk:"disable_terraform_partner_id"`
}

AzureAksCommandProviderModel describes the provider data model.

type InvokeDataSource

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

InvokeDataSource defines the data source implementation.

func (*InvokeDataSource) Configure

func (*InvokeDataSource) Metadata

func (*InvokeDataSource) Read

func (*InvokeDataSource) Schema

type InvokeModel

type InvokeModel struct {
	Id                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	ResourceGroupName  types.String `tfsdk:"resource_group_name"`
	Command            types.String `tfsdk:"command"`
	Context            types.String `tfsdk:"context"`
	Triggers           types.Map    `tfsdk:"triggers"`
	ExitCode           types.Int64  `tfsdk:"exit_code"`
	Output             types.String `tfsdk:"output"`
	ProvisioningState  types.String `tfsdk:"provisioning_state"`
	ProvisioningReason types.String `tfsdk:"provisioning_reason"`
	StartedAt          types.Int64  `tfsdk:"started_at"`
	FinishedAt         types.Int64  `tfsdk:"finished_at"`
}

InvokeModel describes the resource data model.

type InvokeResource

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

InvokeResource defines the resource implementation.

func (*InvokeResource) Configure

func (*InvokeResource) Create

func (*InvokeResource) Delete

func (*InvokeResource) Metadata

func (*InvokeResource) Read

func (*InvokeResource) Schema

func (*InvokeResource) Update

Jump to

Keyboard shortcuts

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