Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Property ¶
type Property struct { DataType DataType `json:"dataType"` ValueType ValueType `json:"valueType"` DisplayName string `json:"displayName"` SettingValidation }
func (*Property) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Property.
func (*Property) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingValidation ¶
type SettingValidation struct { Required bool `json:"required,omitempty"` Maximum *float64 `json:"maximum,omitempty"` Minimum *float64 `json:"minimum,omitempty"` MaxLength *int64 `json:"maxLength,omitempty"` MinLength *int64 `json:"minLength,omitempty"` Format *string `json:"format,omitempty"` Pattern *string `json:"pattern,omitempty"` Enum []string `json:"enum,omitempty"` Default *string `json:"default,omitempty"` UniqueItems bool `json:"uniqueItems,omitempty"` }
func (*SettingValidation) DeepCopy ¶
func (in *SettingValidation) DeepCopy() *SettingValidation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingValidation.
func (*SettingValidation) DeepCopyInto ¶
func (in *SettingValidation) DeepCopyInto(out *SettingValidation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TypeConversionError ¶
type TypeConversionError struct {
// contains filtered or unexported fields
}
func NewTypeConversionErrorf ¶
func NewTypeConversionErrorf(v string, t string) TypeConversionError
func (TypeConversionError) Error ¶
func (t TypeConversionError) Error() string
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func NewValidationErrorf ¶
func NewValidationErrorf(msg string, value ...any) ValidationError
func (ValidationError) Error ¶
func (v ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.