sentrytypes

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LossyJson

type LossyJson struct {
	basetypes.StringValue

	IgnoreKeys []string
}

func NewLossyJsonNull

func NewLossyJsonNull() LossyJson

func NewLossyJsonPointerValue

func NewLossyJsonPointerValue(value *string) LossyJson

func NewLossyJsonUnknown

func NewLossyJsonUnknown() LossyJson

func NewLossyJsonValue

func NewLossyJsonValue(value string) LossyJson

func (LossyJson) Equal

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

func (LossyJson) StringSemanticEquals

func (v LossyJson) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)

func (LossyJson) Type

func (v LossyJson) Type(_ context.Context) attr.Type

func (LossyJson) Unmarshal

func (v LossyJson) Unmarshal(target any) diag.Diagnostics

type LossyJsonType

type LossyJsonType struct {
	basetypes.StringType

	IgnoreKeys []string
}

func (LossyJsonType) Equal

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

func (LossyJsonType) String

func (t LossyJsonType) String() string

func (LossyJsonType) Validate

func (t LossyJsonType) Validate(ctx context.Context, in tftypes.Value, path path.Path) diag.Diagnostics

func (LossyJsonType) ValueFromString

func (LossyJsonType) ValueFromTerraform

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

func (LossyJsonType) ValueType

func (t LossyJsonType) ValueType(_ context.Context) attr.Value

type StringSet added in v0.14.2

type StringSet struct {
	basetypes.SetValue
}

func StringSetNull added in v0.14.2

func StringSetNull() StringSet

func StringSetPointerValue added in v0.14.2

func StringSetPointerValue(value *string) (StringSet, diag.Diagnostics)

func StringSetUnknown added in v0.14.2

func StringSetUnknown() StringSet

func (StringSet) Equal added in v0.14.2

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

func (StringSet) Type added in v0.14.2

func (v StringSet) Type(_ context.Context) attr.Type

func (StringSet) ValueString added in v0.14.2

func (v StringSet) ValueString(ctx context.Context) (string, diag.Diagnostics)

func (StringSet) ValueStringPointer added in v0.14.2

func (v StringSet) ValueStringPointer(ctx context.Context) (*string, diag.Diagnostics)

type StringSetType added in v0.14.2

type StringSetType struct {
	basetypes.SetType
}

func (StringSetType) Equal added in v0.14.2

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

func (StringSetType) String added in v0.14.2

func (t StringSetType) String() string

func (StringSetType) ValueFromSet added in v0.14.2

func (StringSetType) ValueFromTerraform added in v0.14.2

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

func (StringSetType) ValueType added in v0.14.2

func (t StringSetType) ValueType(_ context.Context) attr.Value

type TrimmedString added in v0.14.2

type TrimmedString struct {
	basetypes.StringValue
}

func TrimmedStringNull added in v0.14.2

func TrimmedStringNull() TrimmedString

func TrimmedStringPointerValue added in v0.14.2

func TrimmedStringPointerValue(value *string) TrimmedString

func TrimmedStringUnknown added in v0.14.2

func TrimmedStringUnknown() TrimmedString

func TrimmedStringValue added in v0.14.2

func TrimmedStringValue(value string) TrimmedString

func (TrimmedString) Equal added in v0.14.2

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

func (TrimmedString) StringSemanticEquals added in v0.14.2

func (v TrimmedString) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)

func (TrimmedString) Type added in v0.14.2

type TrimmedStringType added in v0.14.2

type TrimmedStringType struct {
	basetypes.StringType
}

func (TrimmedStringType) Equal added in v0.14.2

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

func (TrimmedStringType) String added in v0.14.2

func (t TrimmedStringType) String() string

func (TrimmedStringType) ValueFromString added in v0.14.2

func (TrimmedStringType) ValueFromTerraform added in v0.14.2

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

func (TrimmedStringType) ValueType added in v0.14.2

func (t TrimmedStringType) ValueType(_ context.Context) attr.Value

Jump to

Keyboard shortcuts

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