Documentation ¶
Index ¶
- func NewQueryResource() resource.Resource
- type QueryResource
- func (d *QueryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (d *QueryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (d *QueryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (d *QueryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (d *QueryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (d *QueryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (d *QueryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type QueryResourceData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueryResource ¶
Types ¶
type QueryResource ¶
type QueryResource struct {
// contains filtered or unexported fields
}
func (*QueryResource) Configure ¶
func (d *QueryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*QueryResource) Create ¶
func (d *QueryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements resource.Resource.
func (*QueryResource) Delete ¶
func (d *QueryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*QueryResource) Metadata ¶
func (d *QueryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*QueryResource) Read ¶
func (d *QueryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*QueryResource) Schema ¶
func (d *QueryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*QueryResource) Update ¶
func (d *QueryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type QueryResourceData ¶
type QueryResourceData struct { SourceRelations types.List `tfsdk:"source_relation_fqns"` SinkRelation types.String `tfsdk:"sink_relation_fqn"` Sql types.String `tfsdk:"sql"` QueryID types.String `tfsdk:"query_id"` Name types.String `tfsdk:"query_name"` Version types.Int64 `tfsdk:"query_version"` State types.String `tfsdk:"state"` Owner types.String `tfsdk:"owner"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.