types

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnorderedListOfStringType = UnorderedList{basetypes.ListType{ElemType: basetypes.StringType{}}}

Functions

This section is empty.

Types

type UnorderedList

type UnorderedList struct {
	basetypes.ListType
}

UnorderedList is a type representing a list of values where the order of the elements is not significant.

func NewUnorderedList

func NewUnorderedList(elemType attr.Type) UnorderedList

func (UnorderedList) Equal

func (t UnorderedList) Equal(o attr.Type) bool

func (UnorderedList) String

func (UnorderedList) String() string

func (UnorderedList) ValueFromList

func (UnorderedList) ValueFromTerraform

func (t UnorderedList) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (UnorderedList) ValueType

func (t UnorderedList) ValueType(ctx context.Context) attr.Value

type UnorderedListValue

type UnorderedListValue struct {
	basetypes.ListValue
}

func NewUnorderedListValue

func NewUnorderedListValue(elemType attr.Type, elements []attr.Value) (UnorderedListValue, diag.Diagnostics)

func NewUnorderedListValueFrom

func NewUnorderedListValueFrom(ctx context.Context, elemType attr.Type, elements any) (UnorderedListValue, diag.Diagnostics)

func NewUnorderedListValueNull

func NewUnorderedListValueNull(elemType attr.Type) UnorderedListValue

func NewUnorderedListValueUnknown

func NewUnorderedListValueUnknown(elemType attr.Type) UnorderedListValue

func (UnorderedListValue) Equal

func (v UnorderedListValue) Equal(o attr.Value) bool

func (UnorderedListValue) ListSemanticEquals

func (v UnorderedListValue) ListSemanticEquals(ctx context.Context, newValuable basetypes.ListValuable) (bool, diag.Diagnostics)

func (UnorderedListValue) Type

Jump to

Keyboard shortcuts

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