customtypes

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalizedString

func LocalizedString(opts LocalizedStringOpts) schema.MapAttribute

Types

type LocalizedStringOpts

type LocalizedStringOpts struct {
	Optional bool
}

type LocalizedStringType added in v1.6.4

type LocalizedStringType struct {
	types.MapType
}

func NewLocalizedStringType added in v1.6.4

func NewLocalizedStringType() LocalizedStringType

func (LocalizedStringType) Equal added in v1.6.4

func (l LocalizedStringType) Equal(o attr.Type) bool

Equal returns true if `o` is also a MapType and has the same ElemType.

func (LocalizedStringType) ValueFromTerraform added in v1.6.4

func (l LocalizedStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

type LocalizedStringValue added in v1.6.2

type LocalizedStringValue struct {
	types.Map
}

func NewLocalizedStringNull added in v1.6.4

func NewLocalizedStringNull() LocalizedStringValue

func NewLocalizedStringValue added in v1.6.4

func NewLocalizedStringValue(v map[string]attr.Value) LocalizedStringValue

func (LocalizedStringValue) ValueLocalizedString added in v1.6.4

func (l LocalizedStringValue) ValueLocalizedString() platform.LocalizedString

func (LocalizedStringValue) ValueLocalizedStringRef added in v1.6.4

func (l LocalizedStringValue) ValueLocalizedStringRef() *platform.LocalizedString

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL