Documentation ¶
Index ¶
- func NewExampleDataSource() datasource.DataSource
- func NewExampleFunction() function.Function
- func NewExampleResource() resource.Resource
- type ExampleDataSource
- func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ExampleDataSourceModel
- type ExampleFunction
- type ExampleResource
- func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ExampleResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExampleDataSource ¶
func NewExampleDataSource() datasource.DataSource
func NewExampleFunction ¶
func NewExampleResource ¶
Types ¶
type ExampleDataSource ¶
type ExampleDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*ExampleDataSource) Configure ¶
func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ExampleDataSource) Metadata ¶
func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ExampleDataSource) Read ¶
func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ExampleDataSource) Schema ¶
func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ExampleDataSourceModel ¶
type ExampleDataSourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Id types.String `tfsdk:"id"` }
ExampleDataSourceModel describes the data source data model.
type ExampleFunction ¶
type ExampleFunction struct{}
func (ExampleFunction) Definition ¶
func (r ExampleFunction) Definition(_ context.Context, _ function.DefinitionRequest, resp *function.DefinitionResponse)
func (ExampleFunction) Metadata ¶
func (r ExampleFunction) Metadata(_ context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ExampleFunction) Run ¶
func (r ExampleFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ExampleResource ¶
type ExampleResource struct {
// contains filtered or unexported fields
}
ExampleResource defines the resource implementation.
func (*ExampleResource) Configure ¶
func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ExampleResource) Create ¶
func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ExampleResource) Delete ¶
func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ExampleResource) ImportState ¶
func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ExampleResource) Metadata ¶
func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ExampleResource) Read ¶
func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ExampleResource) Schema ¶
func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ExampleResource) Update ¶
func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.