conditionsets

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConditionSetDataSource

func NewConditionSetDataSource() datasource.DataSource

func NewResourceSetResource

func NewResourceSetResource() resource.Resource

func NewUserSetResource

func NewUserSetResource() resource.Resource

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 (*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 (*ConditionSetDataSource) Metadata

func (*ConditionSetDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ConditionSetDataSource) Schema

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 (*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 (*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 (*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 (*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.

Jump to

Keyboard shortcuts

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