Documentation ¶
Index ¶
- Constants
- type URL
- type URLType
- func (t URLType) Equal(o attr.Type) bool
- func (t URLType) String() string
- func (t URLType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t URLType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t URLType) ValueType(_ context.Context) attr.Value
- type URLValue
- func (v URLValue) Equal(o attr.Value) bool
- func (v URLValue) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
- func (v URLValue) Type(_ context.Context) attr.Type
- func (v URLValue) ValidateAttribute(_ context.Context, req xattr.ValidateAttributeRequest, ...)
- func (v URLValue) ValidateParameter(_ context.Context, req function.ValidateParameterRequest, ...)
- func (v URLValue) ValueURL() (string, diag.Diagnostics)
- type UUID
- type UUIDType
- func (t UUIDType) Equal(o attr.Type) bool
- func (t UUIDType) String() string
- func (t UUIDType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t UUIDType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t UUIDType) ValueType(_ context.Context) attr.Value
- type UUIDValue
- func (v UUIDValue) Equal(o attr.Value) bool
- func (v UUIDValue) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
- func (v UUIDValue) Type(_ context.Context) attr.Type
- func (v UUIDValue) ValidateAttribute(_ context.Context, req xattr.ValidateAttributeRequest, ...)
- func (v UUIDValue) ValidateParameter(_ context.Context, req function.ValidateParameterRequest, ...)
- func (v UUIDValue) ValueUUID() (string, diag.Diagnostics)
Constants ¶
View Source
const ( URLTypeErrorInvalidStringHeader = "Invalid absolute URL String Value" URLTypeErrorInvalidStringDetails = "A string value was provided that is not valid absolute URL string format.\n\nGiven Value: %s\nError: %s" )
View Source
const ( UUIDTypeErrorInvalidStringHeader = "Invalid UUID String Value" UUIDTypeErrorInvalidStringDetails = "A string value was provided that is not valid UUID string format.\n\nGiven Value: %s\nError: %s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URL ¶
type URL = URLValue
func NewURLNull ¶
func NewURLNull() URL
func NewURLPointerValue ¶
func NewURLPointerValueMust ¶
func NewURLPointerValueMust(value *string) (URL, diag.Diagnostics)
func NewURLUnknown ¶
func NewURLUnknown() URL
func NewURLValue ¶
func NewURLValueMust ¶
func NewURLValueMust(value string) (URL, diag.Diagnostics)
type URLType ¶
type URLType struct {
basetypes.StringType
}
func (URLType) ValueFromString ¶
func (t URLType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (URLType) ValueFromTerraform ¶
type URLValue ¶
type URLValue struct {
basetypes.StringValue
}
func (URLValue) StringSemanticEquals ¶
func (v URLValue) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
func (URLValue) ValidateAttribute ¶
func (v URLValue) ValidateAttribute(_ context.Context, req xattr.ValidateAttributeRequest, resp *xattr.ValidateAttributeResponse)
func (URLValue) ValidateParameter ¶
func (v URLValue) ValidateParameter(_ context.Context, req function.ValidateParameterRequest, resp *function.ValidateParameterResponse)
type UUID ¶
type UUID = UUIDValue
func NewUUIDNull ¶
func NewUUIDNull() UUID
func NewUUIDPointerValue ¶
func NewUUIDPointerValueMust ¶
func NewUUIDPointerValueMust(value *string) (UUID, diag.Diagnostics)
func NewUUIDUnknown ¶
func NewUUIDUnknown() UUID
func NewUUIDValue ¶
func NewUUIDValueMust ¶
func NewUUIDValueMust(value string) (UUID, diag.Diagnostics)
type UUIDType ¶
type UUIDType struct {
basetypes.StringType
}
func (UUIDType) ValueFromString ¶
func (t UUIDType) ValueFromString(_ context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (UUIDType) ValueFromTerraform ¶
type UUIDValue ¶
type UUIDValue struct {
basetypes.StringValue
}
func (UUIDValue) StringSemanticEquals ¶
func (v UUIDValue) StringSemanticEquals(_ context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
func (UUIDValue) ValidateAttribute ¶
func (v UUIDValue) ValidateAttribute(_ context.Context, req xattr.ValidateAttributeRequest, resp *xattr.ValidateAttributeResponse)
func (UUIDValue) ValidateParameter ¶
func (v UUIDValue) ValidateParameter(_ context.Context, req function.ValidateParameterRequest, resp *function.ValidateParameterResponse)
Click to show internal directories.
Click to hide internal directories.