Documentation ¶
Index ¶
- func NewConditionSetDataSource() datasource.DataSource
- func NewResourceSetResource() resource.Resource
- func NewUserSetResource() resource.Resource
- type ConditionSetClient
- func (c *ConditionSetClient) Create(ctx context.Context, conditionSetType models.ConditionSetType, ...) error
- func (c *ConditionSetClient) Delete(ctx context.Context, key string) error
- func (c *ConditionSetClient) Read(ctx context.Context, data ConditionSetModel) (ConditionSetModel, error)
- func (c *ConditionSetClient) Update(ctx context.Context, conditionSetPlan *ConditionSetModel) error
- type ConditionSetDataSource
- func (d *ConditionSetDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, ...)
- func (d *ConditionSetDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *ConditionSetDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *ConditionSetDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ConditionSetModel
- type ResourceSetResource
- func (c *ResourceSetResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (c *ResourceSetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (c *ResourceSetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (c *ResourceSetResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (c *ResourceSetResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (c *ResourceSetResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (c *ResourceSetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UserSetResource
- func (c *UserSetResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (c *UserSetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (c *UserSetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (c *UserSetResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (c *UserSetResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (c *UserSetResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (c *UserSetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConditionSetDataSource ¶
func NewConditionSetDataSource() datasource.DataSource
func NewResourceSetResource ¶
func NewUserSetResource ¶
Types ¶
type ConditionSetClient ¶
type ConditionSetClient struct {
// contains filtered or unexported fields
}
func (*ConditionSetClient) Create ¶
func (c *ConditionSetClient) Create(ctx context.Context, conditionSetType models.ConditionSetType, conditionSetPlan *ConditionSetModel) error
func (*ConditionSetClient) Delete ¶
func (c *ConditionSetClient) Delete(ctx context.Context, key string) error
func (*ConditionSetClient) Read ¶
func (c *ConditionSetClient) Read(ctx context.Context, data ConditionSetModel) (ConditionSetModel, error)
func (*ConditionSetClient) Update ¶
func (c *ConditionSetClient) Update(ctx context.Context, conditionSetPlan *ConditionSetModel) error
type ConditionSetDataSource ¶
type ConditionSetDataSource struct {
// contains filtered or unexported fields
}
func (*ConditionSetDataSource) Configure ¶
func (d *ConditionSetDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*ConditionSetDataSource) Metadata ¶
func (d *ConditionSetDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ConditionSetDataSource) Read ¶
func (d *ConditionSetDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*ConditionSetDataSource) Schema ¶
func (d *ConditionSetDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type ConditionSetModel ¶
type ConditionSetModel struct { Id types.String `tfsdk:"id"` OrganizationId types.String `tfsdk:"organization_id"` ProjectId types.String `tfsdk:"project_id"` EnvironmentId types.String `tfsdk:"environment_id"` Key types.String `tfsdk:"key"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Conditions types.String `tfsdk:"conditions"` Resource types.String `tfsdk:"resource"` }
type ResourceSetResource ¶
type ResourceSetResource struct {
// contains filtered or unexported fields
}
func (*ResourceSetResource) Configure ¶
func (c *ResourceSetResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ResourceSetResource) Create ¶
func (c *ResourceSetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ResourceSetResource) Delete ¶
func (c *ResourceSetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*ResourceSetResource) Metadata ¶
func (c *ResourceSetResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ResourceSetResource) Read ¶
func (c *ResourceSetResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*ResourceSetResource) Schema ¶
func (c *ResourceSetResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ResourceSetResource) Update ¶
func (c *ResourceSetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type UserSetResource ¶
type UserSetResource struct {
// contains filtered or unexported fields
}
func (*UserSetResource) Configure ¶
func (c *UserSetResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*UserSetResource) Create ¶
func (c *UserSetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*UserSetResource) Delete ¶
func (c *UserSetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*UserSetResource) Metadata ¶
func (c *UserSetResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*UserSetResource) Read ¶
func (c *UserSetResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*UserSetResource) Schema ¶
func (c *UserSetResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*UserSetResource) Update ¶
func (c *UserSetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
Click to show internal directories.
Click to hide internal directories.