Documentation ¶
Index ¶
- func NewClusterGroupAssignmentResource() resource.Resource
- func NewClusterGroupResource() resource.Resource
- type ClusterGroupAssignmentModel
- type ClusterGroupAssignmentResource
- func (r *ClusterGroupAssignmentResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *ClusterGroupAssignmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ClusterGroupAssignmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ClusterGroupAssignmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ClusterGroupAssignmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ClusterGroupAssignmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ClusterGroupAssignmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ClusterGroupAssignmentResource) SyncState(ctx context.Context, tfState *tfsdk.State, server incus.InstanceServer, ...) diag.Diagnostics
- func (r *ClusterGroupAssignmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ClusterGroupModel
- type ClusterGroupResource
- func (r *ClusterGroupResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *ClusterGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ClusterGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ClusterGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ClusterGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ClusterGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ClusterGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ClusterGroupResource) SyncState(ctx context.Context, tfState *tfsdk.State, server incus.InstanceServer, ...) diag.Diagnostics
- func (r *ClusterGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterGroupResource ¶
Types ¶
type ClusterGroupAssignmentResource ¶
type ClusterGroupAssignmentResource struct {
// contains filtered or unexported fields
}
func (*ClusterGroupAssignmentResource) Configure ¶
func (r *ClusterGroupAssignmentResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ClusterGroupAssignmentResource) Create ¶
func (r *ClusterGroupAssignmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ClusterGroupAssignmentResource) Delete ¶
func (r *ClusterGroupAssignmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ClusterGroupAssignmentResource) ImportState ¶
func (r *ClusterGroupAssignmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ClusterGroupAssignmentResource) Metadata ¶
func (r *ClusterGroupAssignmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ClusterGroupAssignmentResource) Read ¶
func (r *ClusterGroupAssignmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ClusterGroupAssignmentResource) Schema ¶
func (r *ClusterGroupAssignmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ClusterGroupAssignmentResource) SyncState ¶
func (r *ClusterGroupAssignmentResource) SyncState(ctx context.Context, tfState *tfsdk.State, server incus.InstanceServer, m ClusterGroupAssignmentModel) diag.Diagnostics
SyncState fetches the server's current state for a cluster group and updates the provided model. It then applies this updated model as the new state in Terraform.
func (*ClusterGroupAssignmentResource) Update ¶
func (r *ClusterGroupAssignmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ClusterGroupModel ¶
type ClusterGroupResource ¶
type ClusterGroupResource struct {
// contains filtered or unexported fields
}
func (*ClusterGroupResource) Configure ¶
func (r *ClusterGroupResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ClusterGroupResource) Create ¶
func (r *ClusterGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ClusterGroupResource) Delete ¶
func (r *ClusterGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ClusterGroupResource) ImportState ¶
func (r *ClusterGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ClusterGroupResource) Metadata ¶
func (r *ClusterGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ClusterGroupResource) Read ¶
func (r *ClusterGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ClusterGroupResource) Schema ¶
func (r *ClusterGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ClusterGroupResource) SyncState ¶
func (r *ClusterGroupResource) SyncState(ctx context.Context, tfState *tfsdk.State, server incus.InstanceServer, m ClusterGroupModel) diag.Diagnostics
SyncState fetches the server's current state for a cluster group and updates the provided model. It then applies this updated model as the new state in Terraform.
func (*ClusterGroupResource) Update ¶
func (r *ClusterGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.