provider

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: MPL-2.0 Imports: 20 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 NewExampleFunction

func NewExampleFunction() function.Function

func NewSecretResource

func NewSecretResource() 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 ExampleFunction

type ExampleFunction struct{}

func (ExampleFunction) Definition

func (ExampleFunction) Metadata

func (ExampleFunction) Run

type PodmanProvider

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

Provider defines the provider implementation.

func (*PodmanProvider) Configure

func (*PodmanProvider) DataSources

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

func (*PodmanProvider) Functions

func (p *PodmanProvider) Functions(ctx context.Context) []func() function.Function

func (*PodmanProvider) Metadata

func (*PodmanProvider) Resources

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

func (*PodmanProvider) Schema

type PodmanProviderModel

type PodmanProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
}

ScaffoldingProviderModel describes the provider data model.

type SecretResource

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

SecretResource defines the resource implementation.

func (*SecretResource) Configure

func (*SecretResource) Create

func (*SecretResource) Delete

func (*SecretResource) ImportState

func (*SecretResource) Metadata

func (*SecretResource) Read

func (*SecretResource) Schema

func (*SecretResource) Update

type SecretResourceModel

type SecretResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Driver     types.String `tfsdk:"driver"`
	DriverOpts types.Map    `tfsdk:"driver_opts"`
	Labels     types.Map    `tfsdk:"labels"`
	Secret     types.String `tfsdk:"secret"`
}

SecretResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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