Documentation
¶
Index ¶
- func NewResource() resource.Resource
- type ExceptionListModel
- type ExceptionListResource
- func (r *ExceptionListResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ExceptionListResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ExceptionListResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ExceptionListResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *ExceptionListResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ExceptionListResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ExceptionListResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ExceptionListResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
NewResource is a helper function to simplify the provider implementation.
Types ¶
type ExceptionListModel ¶
type ExceptionListModel struct {
ID types.String `tfsdk:"id"`
SpaceID types.String `tfsdk:"space_id"`
ListID types.String `tfsdk:"list_id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
Type types.String `tfsdk:"type"`
NamespaceType types.String `tfsdk:"namespace_type"`
OsTypes types.Set `tfsdk:"os_types"`
Tags types.Set `tfsdk:"tags"`
Meta jsontypes.Normalized `tfsdk:"meta"`
CreatedAt types.String `tfsdk:"created_at"`
CreatedBy types.String `tfsdk:"created_by"`
UpdatedAt types.String `tfsdk:"updated_at"`
UpdatedBy types.String `tfsdk:"updated_by"`
Immutable types.Bool `tfsdk:"immutable"`
TieBreakerID types.String `tfsdk:"tie_breaker_id"`
}
type ExceptionListResource ¶
type ExceptionListResource struct {
// contains filtered or unexported fields
}
func (*ExceptionListResource) Configure ¶
func (r *ExceptionListResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ExceptionListResource) Create ¶
func (r *ExceptionListResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ExceptionListResource) Delete ¶
func (r *ExceptionListResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ExceptionListResource) ImportState ¶
func (r *ExceptionListResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ExceptionListResource) Metadata ¶
func (r *ExceptionListResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the provider type name.
func (*ExceptionListResource) Read ¶
func (r *ExceptionListResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ExceptionListResource) Schema ¶
func (r *ExceptionListResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ExceptionListResource) Update ¶
func (r *ExceptionListResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.