Documentation ¶
Index ¶
- type ResourceWrapper
- func (rw *ResourceWrapper) ConfigValidators(ctx context.Context) []resource.ConfigValidator
- func (rw *ResourceWrapper) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (rw *ResourceWrapper) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (rw *ResourceWrapper) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (rw *ResourceWrapper) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (rw *ResourceWrapper) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (rw *ResourceWrapper) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (rw *ResourceWrapper) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (rw *ResourceWrapper) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (rw *ResourceWrapper) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (rw *ResourceWrapper) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceWrapper ¶
type ResourceWrapper struct {
// contains filtered or unexported fields
}
func NewResourceWrapper ¶
func NewResourceWrapper(resource resource.Resource, resourceJSON jsonschema.ResourceJSON) *ResourceWrapper
func (*ResourceWrapper) ConfigValidators ¶
func (rw *ResourceWrapper) ConfigValidators(ctx context.Context) []resource.ConfigValidator
func (*ResourceWrapper) Configure ¶
func (rw *ResourceWrapper) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ResourceWrapper) Create ¶
func (rw *ResourceWrapper) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ResourceWrapper) Delete ¶
func (rw *ResourceWrapper) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ResourceWrapper) ImportState ¶
func (rw *ResourceWrapper) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ResourceWrapper) Metadata ¶
func (rw *ResourceWrapper) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ResourceWrapper) ModifyPlan ¶
func (rw *ResourceWrapper) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*ResourceWrapper) Read ¶
func (rw *ResourceWrapper) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ResourceWrapper) Schema ¶
func (rw *ResourceWrapper) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ResourceWrapper) Update ¶
func (rw *ResourceWrapper) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*ResourceWrapper) UpgradeState ¶
func (rw *ResourceWrapper) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
Click to show internal directories.
Click to hide internal directories.