provider

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidUUID

func IsValidUUID(u string) bool

func New

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

func NewConsulExportedServiceResource

func NewConsulExportedServiceResource() resource.Resource

func NewConsulKeyResource added in v1.0.8

func NewConsulKeyResource() resource.Resource

func NewConsulSingleIntentionResource added in v1.0.5

func NewConsulSingleIntentionResource() resource.Resource

Types

type ConsulExportedServiceResource

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

ConsulExportedServiceResource defines the resource implementation.

func (*ConsulExportedServiceResource) Configure

func (*ConsulExportedServiceResource) Create

func (*ConsulExportedServiceResource) Delete

func (*ConsulExportedServiceResource) ImportState

func (*ConsulExportedServiceResource) Metadata

func (*ConsulExportedServiceResource) Read

func (*ConsulExportedServiceResource) Schema

func (*ConsulExportedServiceResource) Update

type ConsulExportedServiceResourceModel

type ConsulExportedServiceResourceModel struct {
	PeerName        types.String `tfsdk:"peer_name"`
	ServiceToExport types.String `tfsdk:"service_to_export"`
	Id              types.String `tfsdk:"id"`
}

ConsulExportedServiceResourceModel describes the resource data model.

type ConsulKeyResource added in v1.0.8

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

ConsulKeyResource defines the resource implementation.

func (*ConsulKeyResource) Configure added in v1.0.8

func (*ConsulKeyResource) Create added in v1.0.8

func (*ConsulKeyResource) Delete added in v1.0.8

func (*ConsulKeyResource) ImportState added in v1.0.8

func (*ConsulKeyResource) Metadata added in v1.0.8

func (*ConsulKeyResource) Read added in v1.0.8

func (*ConsulKeyResource) Schema added in v1.0.8

func (*ConsulKeyResource) Update added in v1.0.8

type ConsulKeyResourceModel added in v1.0.8

type ConsulKeyResourceModel struct {
	Path   types.String `tfsdk:"path"`
	Value  types.String `tfsdk:"value"`
	Delete types.Bool   `tfsdk:"delete"`
	Id     types.String `tfsdk:"id"`
}

ConsulKeyResourceModel describes the resource data model.

type ConsulSingleIntentionResource added in v1.0.5

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

ConsulSingleIntentionResource defines the resource implementation.

func (*ConsulSingleIntentionResource) Configure added in v1.0.5

func (*ConsulSingleIntentionResource) Create added in v1.0.5

func (*ConsulSingleIntentionResource) Delete added in v1.0.5

func (*ConsulSingleIntentionResource) ImportState added in v1.0.5

func (*ConsulSingleIntentionResource) Metadata added in v1.0.5

func (*ConsulSingleIntentionResource) Read added in v1.0.5

func (*ConsulSingleIntentionResource) Schema added in v1.0.5

func (*ConsulSingleIntentionResource) Update added in v1.0.5

type ConsulSingleIntentionResourceModel added in v1.0.5

type ConsulSingleIntentionResourceModel struct {
	DestinationService types.String `tfsdk:"destination_service"`
	SourceService      types.String `tfsdk:"source_service"`
	SourcePeer         types.String `tfsdk:"source_peer"`
	Id                 types.String `tfsdk:"id"`
}

ConsulSingleIntentionResourceModel describes the resource data model.

type UtilsProvider

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

UtilsProvider defines the provider implementation.

func (*UtilsProvider) Configure

func (*UtilsProvider) DataSources

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

func (*UtilsProvider) Functions

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

func (*UtilsProvider) Metadata

func (*UtilsProvider) Resources

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

func (*UtilsProvider) Schema

type UtilsProviderModel

type UtilsProviderModel struct {
	ConsulClusterAddress types.String `tfsdk:"consul_cluster_address"`
	ConsulClusterScheme  types.String `tfsdk:"consul_cluster_scheme"`
	ConsulToken          types.String `tfsdk:"consul_token"`
	AclAuthMethod        types.String `tfsdk:"acl_auth_method"`
}

UtilsProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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