Documentation ¶
Index ¶
- func New() provider.Provider
- func NewBoolFunction() function.Function
- func NewDynamicComputedTypeChangeResource() resource.Resource
- func NewDynamicFunction() function.Function
- func NewDynamicVariadicFunction() function.Function
- func NewFloat64Function() function.Function
- func NewFloat64PrecisionResource() resource.Resource
- func NewInt64Function() function.Function
- func NewListFunction() function.Function
- func NewMapFunction() function.Function
- func NewNumberFunction() function.Function
- func NewObjectFunction() function.Function
- func NewObjectWithDynamicFunction() function.Function
- func NewSchemaResource() resource.Resource
- func NewSetFunction() function.Function
- func NewStringFunction() function.Function
- func NewTimeoutsResource() resource.Resource
- func NewUserResource() resource.Resource
- func NewVariadicFunction() function.Function
- type BoolFunction
- type DynamicComputedTypeChangeResource
- func (r DynamicComputedTypeChangeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r DynamicComputedTypeChangeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r DynamicComputedTypeChangeResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r DynamicComputedTypeChangeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r DynamicComputedTypeChangeResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r DynamicComputedTypeChangeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DynamicComputedTypeChangeResourceModel
- type DynamicFunction
- type DynamicVariadicFunction
- func (f DynamicVariadicFunction) Definition(ctx context.Context, req function.DefinitionRequest, ...)
- func (f DynamicVariadicFunction) Metadata(ctx context.Context, req function.MetadataRequest, ...)
- func (f DynamicVariadicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
- type Float64Function
- type Float64PrecisionResource
- func (r Float64PrecisionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r Float64PrecisionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r Float64PrecisionResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r Float64PrecisionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r Float64PrecisionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r Float64PrecisionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type Float64PrecisionResourceModel
- type Int64Function
- type ListFunction
- type MapFunction
- type NumberFunction
- type ObjectFunction
- type ObjectWithDynamicFunction
- func (f ObjectWithDynamicFunction) Definition(ctx context.Context, req function.DefinitionRequest, ...)
- func (f ObjectWithDynamicFunction) Metadata(ctx context.Context, req function.MetadataRequest, ...)
- func (f ObjectWithDynamicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
- type SchemaResource
- func (r SchemaResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r SchemaResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r SchemaResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r SchemaResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r SchemaResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r SchemaResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SchemaResourceModel
- type SetFunction
- type StringFunction
- type TimeoutsResource
- func (r TimeoutsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r TimeoutsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r TimeoutsResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r TimeoutsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r TimeoutsResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r TimeoutsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TimeoutsResourceModel
- type VariadicFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoolFunction ¶
func NewDynamicFunction ¶
func NewFloat64Function ¶
func NewInt64Function ¶
func NewListFunction ¶
func NewMapFunction ¶
func NewNumberFunction ¶
func NewObjectFunction ¶
func NewSchemaResource ¶
func NewSetFunction ¶
func NewStringFunction ¶
func NewTimeoutsResource ¶
func NewUserResource ¶
func NewVariadicFunction ¶
Types ¶
type BoolFunction ¶
type BoolFunction struct{}
func (BoolFunction) Definition ¶
func (f BoolFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (BoolFunction) Metadata ¶
func (f BoolFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (BoolFunction) Run ¶
func (f BoolFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type DynamicComputedTypeChangeResource ¶
type DynamicComputedTypeChangeResource struct{}
DynamicComputedTypeChangeResource is for testing the ability of a computed dynamic attribute type to change on apply (update) when unknown Ref: https://github.com/hashicorp/terraform-plugin-framework/issues/969
func (DynamicComputedTypeChangeResource) Create ¶
func (r DynamicComputedTypeChangeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (DynamicComputedTypeChangeResource) Delete ¶
func (r DynamicComputedTypeChangeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (DynamicComputedTypeChangeResource) Metadata ¶
func (r DynamicComputedTypeChangeResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (DynamicComputedTypeChangeResource) Read ¶
func (r DynamicComputedTypeChangeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (DynamicComputedTypeChangeResource) Schema ¶
func (r DynamicComputedTypeChangeResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (DynamicComputedTypeChangeResource) Update ¶
func (r DynamicComputedTypeChangeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DynamicFunction ¶
type DynamicFunction struct{}
func (DynamicFunction) Definition ¶
func (f DynamicFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (DynamicFunction) Metadata ¶
func (f DynamicFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (DynamicFunction) Run ¶
func (f DynamicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type DynamicVariadicFunction ¶
type DynamicVariadicFunction struct{}
func (DynamicVariadicFunction) Definition ¶
func (f DynamicVariadicFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (DynamicVariadicFunction) Metadata ¶
func (f DynamicVariadicFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (DynamicVariadicFunction) Run ¶
func (f DynamicVariadicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type Float64Function ¶
type Float64Function struct{}
func (Float64Function) Definition ¶
func (f Float64Function) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (Float64Function) Metadata ¶
func (f Float64Function) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (Float64Function) Run ¶
func (f Float64Function) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type Float64PrecisionResource ¶
type Float64PrecisionResource struct{}
Float64PrecisionResource is for testing Float64/cty.Number quirks https://github.com/hashicorp/terraform-plugin-framework/issues/815
func (Float64PrecisionResource) Create ¶
func (r Float64PrecisionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (Float64PrecisionResource) Delete ¶
func (r Float64PrecisionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (Float64PrecisionResource) Metadata ¶
func (r Float64PrecisionResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (Float64PrecisionResource) Read ¶
func (r Float64PrecisionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (Float64PrecisionResource) Schema ¶
func (r Float64PrecisionResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (Float64PrecisionResource) Update ¶
func (r Float64PrecisionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type Int64Function ¶
type Int64Function struct{}
func (Int64Function) Definition ¶
func (f Int64Function) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (Int64Function) Metadata ¶
func (f Int64Function) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (Int64Function) Run ¶
func (f Int64Function) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ListFunction ¶
type ListFunction struct{}
func (ListFunction) Definition ¶
func (f ListFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (ListFunction) Metadata ¶
func (f ListFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ListFunction) Run ¶
func (f ListFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type MapFunction ¶
type MapFunction struct{}
func (MapFunction) Definition ¶
func (f MapFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (MapFunction) Metadata ¶
func (f MapFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (MapFunction) Run ¶
func (f MapFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type NumberFunction ¶
type NumberFunction struct{}
func (NumberFunction) Definition ¶
func (f NumberFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (NumberFunction) Metadata ¶
func (f NumberFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (NumberFunction) Run ¶
func (f NumberFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ObjectFunction ¶
type ObjectFunction struct{}
func (ObjectFunction) Definition ¶
func (f ObjectFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (ObjectFunction) Metadata ¶
func (f ObjectFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ObjectFunction) Run ¶
func (f ObjectFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type ObjectWithDynamicFunction ¶
type ObjectWithDynamicFunction struct{}
func (ObjectWithDynamicFunction) Definition ¶
func (f ObjectWithDynamicFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (ObjectWithDynamicFunction) Metadata ¶
func (f ObjectWithDynamicFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (ObjectWithDynamicFunction) Run ¶
func (f ObjectWithDynamicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type SchemaResource ¶
type SchemaResource struct{}
SchemaResource is for testing all schema types.
func (SchemaResource) Create ¶
func (r SchemaResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (SchemaResource) Delete ¶
func (r SchemaResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (SchemaResource) Metadata ¶
func (r SchemaResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (SchemaResource) Read ¶
func (r SchemaResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (SchemaResource) Schema ¶
func (r SchemaResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (SchemaResource) Update ¶
func (r SchemaResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SchemaResourceModel ¶
type SchemaResourceModel struct { BoolAttribute types.Bool `tfsdk:"bool_attribute"` DynamicAttribute types.Dynamic `tfsdk:"dynamic_attribute"` Float64Attribute types.Float64 `tfsdk:"float64_attribute"` Int64Attribute types.Int64 `tfsdk:"int64_attribute"` ListAttribute types.List `tfsdk:"list_attribute"` ListNestedAttribute types.List `tfsdk:"list_nested_attribute"` ListNestedBlock types.List `tfsdk:"list_nested_block"` MapAttribute types.Map `tfsdk:"map_attribute"` MapNestedAttribute types.Map `tfsdk:"map_nested_attribute"` NumberAttribute types.Number `tfsdk:"number_attribute"` ObjectAttribute types.Object `tfsdk:"object_attribute"` ObjectAttributeWithDynamic types.Object `tfsdk:"object_attribute_with_dynamic"` SetAttribute types.Set `tfsdk:"set_attribute"` SetNestedAttribute types.Set `tfsdk:"set_nested_attribute"` SetNestedBlock types.Set `tfsdk:"set_nested_block"` SingleNestedAttribute types.Object `tfsdk:"single_nested_attribute"` SingleNestedAttributeWithDynamic types.Object `tfsdk:"single_nested_attribute_with_dynamic"` SingleNestedBlock types.Object `tfsdk:"single_nested_block"` SingleNestedBlockWithDynamic types.Object `tfsdk:"single_nested_block_with_dynamic"` StringAttribute types.String `tfsdk:"string_attribute"` }
type SetFunction ¶
type SetFunction struct{}
func (SetFunction) Definition ¶
func (f SetFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (SetFunction) Metadata ¶
func (f SetFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (SetFunction) Run ¶
func (f SetFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type StringFunction ¶
type StringFunction struct{}
func (StringFunction) Definition ¶
func (f StringFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (StringFunction) Metadata ¶
func (f StringFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (StringFunction) Run ¶
func (f StringFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
type TimeoutsResource ¶
type TimeoutsResource struct{}
TimeoutsResource is for testing all schema types.
func (TimeoutsResource) Create ¶
func (r TimeoutsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (TimeoutsResource) Delete ¶
func (r TimeoutsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (TimeoutsResource) Metadata ¶
func (r TimeoutsResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (TimeoutsResource) Read ¶
func (r TimeoutsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (TimeoutsResource) Schema ¶
func (r TimeoutsResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (TimeoutsResource) Update ¶
func (r TimeoutsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TimeoutsResourceModel ¶
type VariadicFunction ¶
type VariadicFunction struct{}
func (VariadicFunction) Definition ¶
func (f VariadicFunction) Definition(ctx context.Context, req function.DefinitionRequest, resp *function.DefinitionResponse)
func (VariadicFunction) Metadata ¶
func (f VariadicFunction) Metadata(ctx context.Context, req function.MetadataRequest, resp *function.MetadataResponse)
func (VariadicFunction) Run ¶
func (f VariadicFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse)
Source Files ¶
- bool_function.go
- dynamic_computed_type_change_resource.go
- dynamic_function.go
- dynamic_variadic_function.go
- float64_function.go
- float64_precision_resource.go
- int64_function.go
- list_function.go
- map_function.go
- number_function.go
- object_function.go
- object_with_dynamic_function.go
- provider.go
- resource_user.go
- schema_resource.go
- set_function.go
- string_function.go
- timeouts_resource.go
- variadic_function.go
Click to show internal directories.
Click to hide internal directories.