customtypes

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPv46Address

type IPv46Address struct {
	basetypes.StringValue
}

func NewIPv46AddressNull

func NewIPv46AddressNull() IPv46Address

func NewIPv46AddressPointerValue

func NewIPv46AddressPointerValue(value *string) IPv46Address

func NewIPv46AddressUnknown

func NewIPv46AddressUnknown() IPv46Address

func NewIPv46AddressValue

func NewIPv46AddressValue(value string) IPv46Address

func (IPv46Address) Equal

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

func (IPv46Address) StringSemanticEquals

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

func (IPv46Address) Type

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

func (IPv46Address) ValueIPv46Address

func (v IPv46Address) ValueIPv46Address() (netip.Addr, diag.Diagnostics)

type IPv46AddressType

type IPv46AddressType struct {
	basetypes.StringType
}

func (IPv46AddressType) Equal

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

Equal returns true if the given type is equivalent.

func (IPv46AddressType) String

func (t IPv46AddressType) String() string

String returns a human readable string of the type name.

func (IPv46AddressType) Validate

func (IPv46AddressType) ValueFromString

ValueFromString returns a StringValuable type given a StringValue.

func (IPv46AddressType) ValueFromTerraform

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

ValueFromTerraform returns a Value given a tftypes.Value. This is meant to convert the tftypes.Value into a more convenient Go type for the provider to consume the data with.

func (IPv46AddressType) ValueType

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

ValueType returns the Value type.

Jump to

Keyboard shortcuts

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