Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewExampleDataSource() datasource.DataSource
- 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 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
- type ScaffoldingProvider
- func (p *ScaffoldingProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ScaffoldingProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *ScaffoldingProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *ScaffoldingProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *ScaffoldingProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ScaffoldingProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExampleDataSource ¶
func NewExampleDataSource() datasource.DataSource
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 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)
type ExampleResourceModel ¶
type ExampleResourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Id types.String `tfsdk:"id"` }
ExampleResourceModel describes the resource data model.
type ScaffoldingProvider ¶
type ScaffoldingProvider struct {
// contains filtered or unexported fields
}
ScaffoldingProvider defines the provider implementation.
func (*ScaffoldingProvider) Configure ¶
func (p *ScaffoldingProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ScaffoldingProvider) DataSources ¶
func (p *ScaffoldingProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ScaffoldingProvider) Metadata ¶
func (p *ScaffoldingProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ScaffoldingProvider) Resources ¶
func (p *ScaffoldingProvider) Resources(ctx context.Context) []func() resource.Resource
func (*ScaffoldingProvider) Schema ¶
func (p *ScaffoldingProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.