Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewApplyResource() resource.Resource
- type ApplyResource
- func (r *ApplyResource) Configure(context.Context, resource.ConfigureRequest, *resource.ConfigureResponse)
- func (r *ApplyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApplyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplyResourceModel
- type TerraformProvider
- func (p *TerraformProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *TerraformProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *TerraformProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *TerraformProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *TerraformProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type TerraformProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplyResource ¶
Types ¶
type ApplyResource ¶
type ApplyResource struct{}
ApplyResource defines the resource implementation.
func (*ApplyResource) Configure ¶
func (r *ApplyResource) Configure(context.Context, resource.ConfigureRequest, *resource.ConfigureResponse)
func (*ApplyResource) Create ¶
func (r *ApplyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplyResource) Delete ¶
func (r *ApplyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplyResource) ImportState ¶
func (r *ApplyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplyResource) Metadata ¶
func (r *ApplyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApplyResource) Read ¶
func (r *ApplyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplyResource) Schema ¶
func (r *ApplyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplyResource) Update ¶
func (r *ApplyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplyResourceModel ¶
type ApplyResourceModel struct { WorkingDir types.String `tfsdk:"working_dir"` Args types.List `tfsdk:"args"` Id types.String `tfsdk:"id"` }
ApplyResourceModel describes the resource data model.
func (*ApplyResourceModel) ID ¶
func (m *ApplyResourceModel) ID() (string, error)
type TerraformProvider ¶
type TerraformProvider struct {
// contains filtered or unexported fields
}
TerraformProvider defines the provider implementation.
func (*TerraformProvider) Configure ¶
func (p *TerraformProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*TerraformProvider) DataSources ¶
func (p *TerraformProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*TerraformProvider) Metadata ¶
func (p *TerraformProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*TerraformProvider) Resources ¶
func (p *TerraformProvider) Resources(ctx context.Context) []func() resource.Resource
func (*TerraformProvider) Schema ¶
func (p *TerraformProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type TerraformProviderModel ¶
type TerraformProviderModel struct { }
TerraformProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.