Documentation
¶
Index ¶
- func APIToDynamicSiblingDiscriminator(ctx context.Context, attributePath path.Path, source any, selector string, ...) (types.Dynamic, diag.Diagnostics)
- func AtLeastOneOfAttributes(names ...string) validator.Object
- func AttributeToInterface(ctx context.Context, path path.Path, source attr.Value) (dest interface{}, diags diag.Diagnostics)
- func DeprecatedSiblingDiscriminatorValue(rule, selector string, variants []JSONSchemaVariant, warning string) validator.Dynamic
- func DynamicSiblingDiscriminatorToAPI(ctx context.Context, attributePath path.Path, source types.Dynamic, ...) (any, diag.Diagnostics)
- func DynamicSiblingDiscriminatorUpdateToAPI(ctx context.Context, attributePath path.Path, source types.Dynamic, ...) (any, diag.Diagnostics)
- func DynamicToInterface(ctx context.Context, path path.Path, source types.Dynamic) (interface{}, diag.Diagnostics)
- func DynamicToStringMap(ctx context.Context, path path.Path, source types.Dynamic) (map[string]interface{}, diag.Diagnostics)
- func DynamicToStringMapSlice(ctx context.Context, path path.Path, source types.Dynamic) ([]map[string]interface{}, diag.Diagnostics)
- func ElementsToInterfaces(ctx context.Context, path path.Path, elements []attr.Value) (dest []interface{}, diags diag.Diagnostics)
- func ElementsToStringMap(ctx context.Context, path path.Path, attrs map[string]attr.Value) (dest map[string]interface{}, diags diag.Diagnostics)
- func ExactlyOneOfAttributes(names ...string) validator.Object
- func GroupStructuralUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, ...) (any, diag.Diagnostics)
- func ListToStringMapSlice(ctx context.Context, path path.Path, elements []attr.Value) (dest []map[string]interface{}, diags diag.Diagnostics)
- func ListValueToString(ctx context.Context, path path.Path, list types.List, delim string) (string, diag.Diagnostics)
- func SchemaAttributeToInterface(ctx context.Context, path path.Path, source attr.Value) (dest interface{}, diags diag.Diagnostics)
- func TimeToStringType(ctx context.Context, path path.Path, source *time.Time, dest *types.String) error
- func ToDynamic(ctx context.Context, path path.Path, source any, plan attr.Value) (dest types.Dynamic, diags diag.Diagnostics)
- func ToList(ctx context.Context, path path.Path, source any, plan types.List) (types.List, diag.Diagnostics)
- func ToMap(ctx context.Context, path path.Path, source any, plan types.Map) (types.Map, diag.Diagnostics)
- func ToObject(ctx context.Context, path path.Path, source any, plan types.Object) (types.Object, diag.Diagnostics)
- func UngroupStructuralUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, ...) (any, diag.Diagnostics)
- func UnwrapDiscriminatedUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, ...) (any, diag.Diagnostics)
- func UnwrapSiblingDiscriminator(_ context.Context, attributePath path.Path, source any, discriminator string, ...) (any, diag.Diagnostics)
- func WrapDiscriminatedUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, ...) (any, diag.Diagnostics)
- func WrapSiblingDiscriminator(_ context.Context, attributePath path.Path, source any, discriminator string, ...) (any, diag.Diagnostics)
- type JSONSchemaVariant
- type Logger
- type SortedElementString
- type SortedElementStringType
- func (t SortedElementStringType) Equal(o attr.Type) bool
- func (t SortedElementStringType) String() string
- func (t SortedElementStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t SortedElementStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t SortedElementStringType) ValueType(ctx context.Context) attr.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIToDynamicSiblingDiscriminator ¶ added in v0.1.936
func AtLeastOneOfAttributes ¶ added in v0.1.867
func AttributeToInterface ¶
func DeprecatedSiblingDiscriminatorValue ¶ added in v0.1.936
func DeprecatedSiblingDiscriminatorValue(rule, selector string, variants []JSONSchemaVariant, warning string) validator.Dynamic
func DynamicSiblingDiscriminatorToAPI ¶ added in v0.1.936
func DynamicSiblingDiscriminatorUpdateToAPI ¶ added in v0.1.936
func DynamicToInterface ¶ added in v0.1.391
func DynamicToStringMap ¶
func DynamicToStringMapSlice ¶
func ElementsToInterfaces ¶ added in v0.1.867
func ElementsToStringMap ¶
func ExactlyOneOfAttributes ¶ added in v0.1.867
func GroupStructuralUnionAtPath ¶ added in v0.1.867
func GroupStructuralUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, variants []JSONSchemaVariant) (any, diag.Diagnostics)
func ListToStringMapSlice ¶
func ListValueToString ¶
func SchemaAttributeToInterface ¶ added in v0.1.867
func TimeToStringType ¶
func UngroupStructuralUnionAtPath ¶ added in v0.1.867
func UngroupStructuralUnionAtPath(ctx context.Context, attributePath path.Path, source any, names []string, variants []JSONSchemaVariant) (any, diag.Diagnostics)
func UnwrapDiscriminatedUnionAtPath ¶ added in v0.1.867
func UnwrapSiblingDiscriminator ¶ added in v0.1.936
func UnwrapSiblingDiscriminator(_ context.Context, attributePath path.Path, source any, discriminator string, variants []JSONSchemaVariant) (any, diag.Diagnostics)
func WrapDiscriminatedUnionAtPath ¶ added in v0.1.867
func WrapSiblingDiscriminator ¶ added in v0.1.936
func WrapSiblingDiscriminator(_ context.Context, attributePath path.Path, source any, discriminator string, variants []JSONSchemaVariant) (any, diag.Diagnostics)
Types ¶
type JSONSchemaVariant ¶ added in v0.1.867
type SortedElementString ¶ added in v0.1.184
type SortedElementString struct {
basetypes.StringValue
}
func SortedElementStringValue ¶ added in v0.1.184
func SortedElementStringValue(value string) SortedElementString
func (SortedElementString) StringSemanticEquals ¶ added in v0.1.184
func (v SortedElementString) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
type SortedElementStringType ¶ added in v0.1.184
type SortedElementStringType struct {
basetypes.StringType
}
func (SortedElementStringType) Equal ¶ added in v0.1.184
func (t SortedElementStringType) Equal(o attr.Type) bool
func (SortedElementStringType) String ¶ added in v0.1.184
func (t SortedElementStringType) String() string
func (SortedElementStringType) ValueFromString ¶ added in v0.1.184
func (t SortedElementStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (SortedElementStringType) ValueFromTerraform ¶ added in v0.1.184
Click to show internal directories.
Click to hide internal directories.