provider

package
v0.0.0-...-6f25cd0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigDataSource

func NewConfigDataSource() datasource.DataSource

func NewLabelDataSource

func NewLabelDataSource() datasource.DataSource

func NewProvider

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

func NewTagsDataSource

func NewTagsDataSource() datasource.DataSource

Types

type ConfigDataSource

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

ConfigDataSource defines the data source implementation.

func (*ConfigDataSource) Configure

func (*ConfigDataSource) Metadata

func (*ConfigDataSource) Read

func (*ConfigDataSource) Schema

type ConfigDataSourceModel

type ConfigDataSourceModel struct {
	Delimiter         types.String `tfsdk:"delimiter"`
	Enabled           types.Bool   `tfsdk:"enabled"`
	Properties        types.Map    `tfsdk:"properties"`
	PropertyOrder     types.List   `tfsdk:"property_order"`
	ReplaceCharsRegex types.String `tfsdk:"replace_chars_regex"`
	TagsKeyCase       types.String `tfsdk:"tags_key_case"`
	TagsValueCase     types.String `tfsdk:"tags_value_case"`
	Values            types.Map    `tfsdk:"values"`
	Id                types.String `tfsdk:"id"`
}

ConfigDataSourceModel describes the data source data model.

type ContextProvider

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

ContextProvider defines the provider implementation.

func (*ContextProvider) Configure

func (*ContextProvider) DataSources

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

func (*ContextProvider) Metadata

func (*ContextProvider) Resources

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

func (*ContextProvider) Schema

type LabelDataSource

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

LabelDataSource defines the data source implementation.

func (*LabelDataSource) ConfigValidators

func (d *LabelDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*LabelDataSource) Configure

func (*LabelDataSource) Metadata

func (*LabelDataSource) Read

func (*LabelDataSource) Schema

type TagsDataSource

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

TagsDataSource defines the data source implementation.

func (*TagsDataSource) Configure

func (*TagsDataSource) Metadata

func (*TagsDataSource) Read

func (*TagsDataSource) Schema

type TagsDataSourceModel

type TagsDataSourceModel struct {
	Id            types.String `tfsdk:"id"`
	Values        types.Map    `tfsdk:"values"`
	Tags          types.Map    `tfsdk:"tags"`
	TagsKeyCase   types.String `tfsdk:"tags_key_case"`
	TagsValueCase types.String `tfsdk:"tags_value_case"`
	TagsAsList    types.List   `tfsdk:"tags_as_list"`
}

TagsDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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