Documentation
¶
Index ¶
- func New(version string) func() provider.Provider
- func NewExampleFunction() function.Function
- func NewObjectResource() resource.Resource
- func NewTypeDataSource() datasource.DataSource
- type COPProvider
- func (p *COPProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *COPProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *COPProvider) Functions(_ context.Context) []func() function.Function
- func (p *COPProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *COPProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *COPProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type COPProviderModel
- type ExampleFunction
- func (r ExampleFunction) Definition(_ context.Context, _ function.DefinitionRequest, ...)
- func (r ExampleFunction) Metadata(_ context.Context, _ function.MetadataRequest, resp *function.MetadataResponse)
- func (r ExampleFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
- type ObjectResource
- func (r *ObjectResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *ObjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ObjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ObjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ObjectResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *ObjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ObjectResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ObjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ObjectResourceModel
- type TypeDataSource
- func (d *TypeDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *TypeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *TypeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TypeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type TypeDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExampleFunction ¶
func NewObjectResource ¶
func NewTypeDataSource ¶
func NewTypeDataSource() datasource.DataSource
Types ¶
type COPProvider ¶
type COPProvider struct {
// contains filtered or unexported fields
}
COPProvider defines the provider implementation.
func (*COPProvider) Configure ¶
func (p *COPProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*COPProvider) DataSources ¶
func (p *COPProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*COPProvider) Functions ¶
func (p *COPProvider) Functions(_ context.Context) []func() function.Function
func (*COPProvider) Metadata ¶
func (p *COPProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*COPProvider) Resources ¶
func (p *COPProvider) Resources(_ context.Context) []func() resource.Resource
func (*COPProvider) Schema ¶
func (p *COPProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type COPProviderModel ¶
type COPProviderModel struct {
Username types.String `tfsdk:"username"`
Password types.String `tfsdk:"password"`
URL types.String `tfsdk:"url"`
AuthMethod types.String `tfsdk:"auth_method"`
Tenant types.String `tfsdk:"tenant"`
SecretsFile types.String `tfsdk:"secrets_file"`
}
COPProviderModel describes the provider 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, _ function.MetadataRequest, resp *function.MetadataResponse)
func (ExampleFunction) Run ¶
func (r ExampleFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ObjectResource ¶
type ObjectResource struct {
// contains filtered or unexported fields
}
ObjectResource defines the resource implementation.
func (*ObjectResource) Configure ¶
func (r *ObjectResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ObjectResource) Create ¶
func (r *ObjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ObjectResource) Delete ¶
func (r *ObjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ObjectResource) ImportState ¶
func (r *ObjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ObjectResource) Metadata ¶
func (r *ObjectResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ObjectResource) Read ¶
func (r *ObjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ObjectResource) Schema ¶
func (r *ObjectResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ObjectResource) Update ¶
func (r *ObjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ObjectResourceModel ¶
type ObjectResourceModel struct {
Typename types.String `tfsdk:"type_name"`
ObjectID types.String `tfsdk:"object_id"`
TenantID types.String `tfsdk:"layer_id"`
TenantType types.String `tfsdk:"layer_type"`
Data types.Dynamic `tfsdk:"data"`
ID types.String `tfsdk:"id"`
}
ObjectResourceModel describes the resource data model.
type TypeDataSource ¶
type TypeDataSource struct {
// contains filtered or unexported fields
}
TypeDataSource defines the data source implementation.
func (*TypeDataSource) Configure ¶
func (d *TypeDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*TypeDataSource) Metadata ¶
func (d *TypeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*TypeDataSource) Read ¶
func (d *TypeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*TypeDataSource) Schema ¶
func (d *TypeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.