Documentation ¶
Index ¶
- func NewResource() resource.Resource
- type TenantResource
- func (r *TenantResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TenantResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (*TenantResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
Types ¶
type TenantResource ¶
type TenantResource struct {
// contains filtered or unexported fields
}
TenantResource defines the resource implementation.
func (*TenantResource) Configure ¶
func (r *TenantResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TenantResource) Create ¶
func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TenantResource) Delete ¶
func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TenantResource) ImportState ¶
func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TenantResource) Metadata ¶
func (r *TenantResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TenantResource) Read ¶
func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TenantResource) Schema ¶
func (*TenantResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema implements resource.Resource
func (*TenantResource) Update ¶
func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.