# Functions
ConcatFuncErrors returns a new function error with the text from all supplied function errors concatenated together.
FuncErrorFromDiags iterates over the given diagnostics and returns a new function error with the summary and detail text from all error diagnostics concatenated together.
NewArgumentFuncError returns a new function error with the given message and function argument.
NewArgumentsData creates an ArgumentsData.
NewFuncError returns a new function error with the given message.
NewResultData creates a ResultData.
# Structs
ArgumentsData is the zero-based positional argument data sent by Terraform for a single function call.
BoolParameter represents a function parameter that is a boolean.
BoolParameterValidatorRequest is a request for types.Bool schema validation.
BoolParameterValidatorResponse is a response to a BoolParameterValidatorRequest.
BoolReturn represents a function return that is a boolean.
Definition is a function definition.
DefinitionRequest represents a request for the Function to return its definition, such as its ordered parameters and result.
DefinitionResponse represents a response to a DefinitionRequest.
DefinitionValidateRequest represents a request for the Function to validate its definition.
DefinitionValidateResponse represents a response to a DefinitionValidateRequest.
DynamicParameter represents a function parameter that is a dynamic, rather than a static type.
DynamicParameterValidatorRequest is a request for types.Dynamic schema validation.
DynamicParameterValidatorResponse is a response to a DynamicParameterValidatorRequest.
DynamicReturn represents a function return that is a dynamic, rather than a static type.
Float32Parameter represents a function parameter that is a 32-bit floating point number.
Float32ParameterValidatorRequest is a request for types.Float32 schema validation.
Float32ParameterValidatorResponse is a response to a Float32ParameterValidatorRequest.
Float32Return represents a function return that is a 32-bit floating point number.
Float64Parameter represents a function parameter that is a 64-bit floating point number.
Float64ParameterValidatorRequest is a request for types.Float64 schema validation.
Float64ParameterValidatorResponse is a response to a Float64ParameterValidatorRequest.
Float64Return represents a function return that is a 64-bit floating point number.
FuncError is an error type specifically for function errors.
Int32Parameter represents a function parameter that is a 32-bit integer.
Int32ParameterValidatorRequest is a request for types.Int32 schema validation.
Int32ParameterValidatorResponse is a response to a Int32ParameterValidatorRequest.
Int32Return represents a function return that is a 32-bit integer number.
Int64Parameter represents a function parameter that is a 64-bit integer.
Int64ParameterValidatorRequest is a request for types.Int64 schema validation.
Int64ParameterValidatorResponse is a response to a Int64ParameterValidatorRequest.
Int64Return represents a function return that is a 64-bit integer number.
ListParameter represents a function parameter that is an ordered list of a single element type.
ListParameterValidatorRequest is a request for types.List schema validation.
ListParameterValidatorResponse is a response to a ListParameterValidatorRequest.
ListReturn represents a function return that is an ordered collection of a single element type.
MapParameter represents a function parameter that is a mapping of a single element type.
MapParameterValidatorRequest is a request for types.Map schema validation.
MapParameterValidatorResponse is a response to a MapParameterValidatorRequest.
MapReturn represents a function return that is an ordered collect of a single element type.
MetadataRequest represents a request for the Function to return metadata, such as its name.
MetadataResponse represents a response to a MetadataRequest.
NumberParameter represents a function parameter that is a 512-bit arbitrary precision number.
NumberParameterValidatorRequest is a request for types.Number schema validation.
NumberParameterValidatorResponse is a response to a NumberParameterValidatorRequest.
NumberReturn represents a function return that is a 512-bit arbitrary precision number.
ObjectParameter represents a function parameter that is a mapping of defined attribute names to values.
ObjectParameterValidatorRequest is a request for types.Object schema validation.
ObjectParameterValidatorResponse is a response to a ObjectParameterValidatorRequest.
ObjectReturn represents a function return that is mapping of defined attribute names to values.
ResultData is the response data sent to Terraform for a single function call.
RunRequest represents a request for the Function to call its implementation logic.
RunResponse represents a response to a RunRequest.
SetParameter represents a function parameter that is an unordered set of a single element type.
SetParameterValidatorRequest is a request for types.Set schema validation.
SetParameterValidatorResponse is a response to a SetParameterValidatorRequest.
SetReturn represents a function return that is an unordered collection of a single element type.
StringParameter represents a function parameter that is a string.
StringParameterValidatorRequest is a request for types.String schema validation.
StringParameterValidatorResponse is a response to a StringParameterValidatorRequest.
StringReturn represents a function return that is a string.
ValidateParameterRequest represents a request for the attr.Value to call its validation logic.
ValidateParameterResponse represents a response to a ValidateParameterRequest.
# Interfaces
BoolParameterValidator is a function validator for types.Bool parameters.
DynamicParameterValidator is a function validator for types.Dynamic parameters.
Float32ParameterValidator is a function validator for types.Float32 parameters.
Float64ParameterValidator is a function validator for types.Float64 parameters.
Function represents an instance of a function.
Int32ParameterValidator is a function validator for types.Int32 parameters.
Int64ParameterValidator is a function validator for types.Int64 parameters.
ListParameterValidator is a function validator for types.List parameters.
MapParameterValidator is a function validator for types.Map parameters.
NumberParameterValidator is a function validator for types.Number parameters.
ObjectParameterValidator is a function validator for types.Object parameters.
Parameter is the interface for defining function parameters.
ParameterWithBoolValidators is an optional interface on Parameter which enables Bool validation support.
ParameterWithDynamicValidators is an optional interface on Parameter which enables Dynamic validation support.
ParameterWithFloat32Validators is an optional interface on Parameter which enables Float32 validation support.
ParameterWithFloat64Validators is an optional interface on Parameter which enables Float64 validation support.
ParameterWithInt32Validators is an optional interface on Parameter which enables Int32 validation support.
ParameterWithInt64Validators is an optional interface on Parameter which enables Int64 validation support.
ParameterWithListValidators is an optional interface on Parameter which enables List validation support.
ParameterWithMapValidators is an optional interface on Parameter which enables Map validation support.
ParameterWithNumberValidators is an optional interface on Parameter which enables Number validation support.
ParameterWithObjectValidators is an optional interface on Parameter which enables Object validation support.
ParameterWithSetValidators is an optional interface on Parameter which enables Set validation support.
ParameterWithStringValidators is an optional interface on Parameter which enables String validation support.
Return is the interface for defining function return data.
SetParameterValidator is a function validator for types.Set parameters.
StringParameterValidator is a function validator for types.String parameters.
ValidateableParameter defines an interface for validating a parameter value.