Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BoolType = boolType{}
View Source
var BytesType = bytesType{}
View Source
var DateType = dateType{}
View Source
var Float32Type = float32Type{}
View Source
var Float64Type = float64Type{}
View Source
var Int32Type = int32Type{}
View Source
var Int64Type = int64Type{}
View Source
var ListType = listType{}
View Source
var MapType = mapType{}
View Source
var ObjectType = objectType{}
View Source
var ReferenceType = referenceType{}
View Source
var StringType = stringType{}
View Source
var StructType = structType{}
View Source
var TimeType = timeType{}
View Source
var TimestampType = timestampType{}
View Source
var UuidType = uuidType{}
Functions ¶
func Dereference ¶
func Dereference(val interface{}) interface{}
func GetAllResourcePropertyTypes ¶
func GetAllResourcePropertyTypes() []model.ResourceProperty_Type
func IsPrimitive ¶
func IsPrimitive(resourcePropertyType model.ResourceProperty_Type) bool
Types ¶
type PropertyType ¶
type PropertyType interface { Pointer(required bool) any String(val any) string IsEmpty(value any) bool Pack(value interface{}) (*structpb.Value, error) UnPack(value *structpb.Value) (interface{}, error) Default() any Equals(a, b interface{}) bool }
func ByResourcePropertyType ¶
func ByResourcePropertyType(resourcePropertyType model.ResourceProperty_Type) PropertyType
Click to show internal directories.
Click to hide internal directories.