Documentation ¶
Index ¶
- type AvailabilitySpec
- type AvailabilitySpecResource
- func (r *AvailabilitySpecResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *AvailabilitySpecResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AvailabilitySpecResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AvailabilitySpecResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AvailabilitySpecResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *AvailabilitySpecResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AvailabilitySpecResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AvailabilitySpecResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type Selector
- type SelectorResource
- func (r *SelectorResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *SelectorResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SelectorResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SelectorResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SelectorResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *SelectorResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SelectorResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SelectorResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilitySpec ¶
type AvailabilitySpecResource ¶
type AvailabilitySpecResource struct {
// contains filtered or unexported fields
}
AccessRuleResource is the data source implementation.
func (*AvailabilitySpecResource) Configure ¶
func (r *AvailabilitySpecResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*AvailabilitySpecResource) Create ¶
func (r *AvailabilitySpecResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AvailabilitySpecResource) Delete ¶
func (r *AvailabilitySpecResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AvailabilitySpecResource) ImportState ¶
func (r *AvailabilitySpecResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AvailabilitySpecResource) Metadata ¶
func (r *AvailabilitySpecResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the data source type name.
func (*AvailabilitySpecResource) Read ¶
func (r *AvailabilitySpecResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*AvailabilitySpecResource) Schema ¶
func (r *AvailabilitySpecResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
GetSchema defines the schema for the data source. schema is based off the governance api
func (*AvailabilitySpecResource) Update ¶
func (r *AvailabilitySpecResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type Selector ¶
type Selector struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ResourceType types.String `tfsdk:"resource_type"` BelongingTo eid.EID `tfsdk:"belonging_to"` When types.String `tfsdk:"when"` }
func (Selector) ToAPI ¶
func (s Selector) ToAPI() *configv1alpha1.Selector
type SelectorResource ¶
type SelectorResource struct {
// contains filtered or unexported fields
}
AccessRuleResource is the data source implementation.
func (*SelectorResource) Configure ¶
func (r *SelectorResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*SelectorResource) Create ¶
func (r *SelectorResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SelectorResource) Delete ¶
func (r *SelectorResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SelectorResource) ImportState ¶
func (r *SelectorResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SelectorResource) Metadata ¶
func (r *SelectorResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the data source type name.
func (*SelectorResource) Read ¶
func (r *SelectorResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*SelectorResource) Schema ¶
func (r *SelectorResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
GetSchema defines the schema for the data source. schema is based off the governance api
func (*SelectorResource) Update ¶
func (r *SelectorResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.