Documentation
¶
Index ¶
- type IPv46Address
- func (v IPv46Address) Equal(o attr.Value) bool
- func (v IPv46Address) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
- func (v IPv46Address) Type(_ context.Context) attr.Type
- func (v IPv46Address) ValidateAttribute(ctx context.Context, req xattr.ValidateAttributeRequest, ...)
- func (v IPv46Address) ValueIPv46Address() (netip.Addr, diag.Diagnostics)
- type IPv46AddressType
- func (t IPv46AddressType) Equal(o attr.Type) bool
- func (t IPv46AddressType) String() string
- func (t IPv46AddressType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t IPv46AddressType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t IPv46AddressType) ValueType(_ context.Context) attr.Value
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) StringSemanticEquals ¶
func (v IPv46Address) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
func (IPv46Address) ValidateAttribute ¶ added in v0.60.0
func (v IPv46Address) ValidateAttribute(ctx context.Context, req xattr.ValidateAttributeRequest, resp *xattr.ValidateAttributeResponse)
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) ValueFromString ¶
func (t IPv46AddressType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
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.
Click to show internal directories.
Click to hide internal directories.