Documentation ¶
Index ¶
- func IsValidUUID(u string) bool
- func New(version string) func() provider.Provider
- func NewConsulExportedServiceResource() resource.Resource
- func NewConsulKeyResource() resource.Resource
- func NewConsulSingleIntentionResource() resource.Resource
- type ConsulExportedServiceResource
- func (r *ConsulExportedServiceResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ConsulExportedServiceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ConsulExportedServiceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ConsulExportedServiceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ConsulExportedServiceResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ConsulExportedServiceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ConsulExportedServiceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ConsulExportedServiceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ConsulExportedServiceResourceModel
- type ConsulKeyResource
- func (r *ConsulKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ConsulKeyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ConsulKeyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ConsulKeyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ConsulKeyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ConsulKeyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ConsulKeyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ConsulKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ConsulKeyResourceModel
- type ConsulSingleIntentionResource
- func (r *ConsulSingleIntentionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ConsulSingleIntentionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ConsulSingleIntentionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ConsulSingleIntentionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ConsulSingleIntentionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ConsulSingleIntentionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ConsulSingleIntentionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ConsulSingleIntentionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ConsulSingleIntentionResourceModel
- type UtilsProvider
- func (p *UtilsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *UtilsProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *UtilsProvider) Functions(ctx context.Context) []func() function.Function
- func (p *UtilsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *UtilsProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *UtilsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type UtilsProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidUUID ¶
func NewConsulKeyResource ¶ added in v1.0.8
func NewConsulSingleIntentionResource ¶ added in v1.0.5
Types ¶
type ConsulExportedServiceResource ¶
type ConsulExportedServiceResource struct {
// contains filtered or unexported fields
}
ConsulExportedServiceResource defines the resource implementation.
func (*ConsulExportedServiceResource) Configure ¶
func (r *ConsulExportedServiceResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ConsulExportedServiceResource) Create ¶
func (r *ConsulExportedServiceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ConsulExportedServiceResource) Delete ¶
func (r *ConsulExportedServiceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ConsulExportedServiceResource) ImportState ¶
func (r *ConsulExportedServiceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ConsulExportedServiceResource) Metadata ¶
func (r *ConsulExportedServiceResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ConsulExportedServiceResource) Read ¶
func (r *ConsulExportedServiceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ConsulExportedServiceResource) Schema ¶
func (r *ConsulExportedServiceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ConsulExportedServiceResource) Update ¶
func (r *ConsulExportedServiceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (r *ConsulKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ConsulKeyResource) Create ¶ added in v1.0.8
func (r *ConsulKeyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ConsulKeyResource) Delete ¶ added in v1.0.8
func (r *ConsulKeyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ConsulKeyResource) ImportState ¶ added in v1.0.8
func (r *ConsulKeyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ConsulKeyResource) Metadata ¶ added in v1.0.8
func (r *ConsulKeyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ConsulKeyResource) Read ¶ added in v1.0.8
func (r *ConsulKeyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ConsulKeyResource) Schema ¶ added in v1.0.8
func (r *ConsulKeyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ConsulKeyResource) Update ¶ added in v1.0.8
func (r *ConsulKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (r *ConsulSingleIntentionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ConsulSingleIntentionResource) Create ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ConsulSingleIntentionResource) Delete ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ConsulSingleIntentionResource) ImportState ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ConsulSingleIntentionResource) Metadata ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ConsulSingleIntentionResource) Read ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ConsulSingleIntentionResource) Schema ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ConsulSingleIntentionResource) Update ¶ added in v1.0.5
func (r *ConsulSingleIntentionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (p *UtilsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
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 (p *UtilsProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*UtilsProvider) Resources ¶
func (p *UtilsProvider) Resources(ctx context.Context) []func() resource.Resource
func (*UtilsProvider) Schema ¶
func (p *UtilsProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
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.
Click to show internal directories.
Click to hide internal directories.