provider

package
v0.0.0-...-c202bff Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 15 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 NewExampleDataSource

func NewExampleDataSource() datasource.DataSource

func NewExampleResource

func NewExampleResource() resource.Resource

Types

type ExampleDataSource

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

ExampleDataSource defines the data source implementation.

func (*ExampleDataSource) Configure

func (*ExampleDataSource) Metadata

func (*ExampleDataSource) Read

func (*ExampleDataSource) Schema

type ExampleDataSourceModel

type ExampleDataSourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	Id                    types.String `tfsdk:"id"`
}

ExampleDataSourceModel describes the data source data model.

type ExampleResource

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

ExampleResource defines the resource implementation.

func (*ExampleResource) Configure

func (*ExampleResource) Create

func (*ExampleResource) Delete

func (*ExampleResource) ImportState

func (*ExampleResource) Metadata

func (*ExampleResource) Read

func (*ExampleResource) Schema

func (*ExampleResource) Update

type ExampleResourceModel

type ExampleResourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	Defaulted             types.String `tfsdk:"defaulted"`
	Id                    types.String `tfsdk:"id"`
}

ExampleResourceModel describes the resource data model.

type ProxmoxVEKubeadmProvider

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

ProxmoxVEKubeadmProvider defines the provider implementation.

func (*ProxmoxVEKubeadmProvider) Configure

func (*ProxmoxVEKubeadmProvider) DataSources

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

func (*ProxmoxVEKubeadmProvider) Metadata

func (*ProxmoxVEKubeadmProvider) Resources

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

func (*ProxmoxVEKubeadmProvider) Schema

type ProxmoxVEKubeadmProviderModel

type ProxmoxVEKubeadmProviderModel struct {
	APIEndpoint   types.String `tfsdk:"api_endpoint"`
	SkipTLSVerify types.Bool   `tfsdk:"skip_tls_verify"`
	Nodes         types.List   `tfsdk:"nodes"`
	Auth          struct {
		API struct {
			Username types.String `tfsdk:"username"`
			Password types.String `tfsdk:"password"`
		} ` tfsdk:"api"`
		SSH struct {
			Username   types.String `tfsdk:"username"`
			Password   types.String `tfsdk:"password"`
			PrivateKey types.String `tfsdk:"private_key"`
		} `tfsdk:"ssh"`
	} `tfsdk:"auth"`
}

ProxmoxVEKubeadmProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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