Documentation ¶
Index ¶
- Variables
- func BooleanExpression(resource *model.Resource, propertyPathMap map[string]bool, ...) error
- func Expression(resource *model.Resource, pathMap map[string]bool, exp *model.Expression) error
- func Filters(propertyPathMap map[string]bool, filters map[string]interface{}) error
- func PairExpression(resource *model.Resource, pathMap map[string]bool, equal *model.PairExpression) error
- func RecordListParams(resource *model.Resource, propertyPathMap map[string]bool, ...) error
- func Records(resource abs.ResourceLike, list []*model.Record, isUpdate bool) error
- func ValidateResource(resource *model.Resource) error
- func ValidateResourceProperties(resource *model.Resource, path string, depth int, ...) []*model.ErrorField
- func Value(resource abs.ResourceLike, property *model.ResourceProperty, recordId string, ...) []*model.ErrorField
Constants ¶
This section is empty.
Variables ¶
View Source
var NamePattern, _ = regexp.Compile("^[$a-zA-Z][$a-zA-Z0-9_-]*$")
Functions ¶
func BooleanExpression ¶ added in v1.3.95
func Expression ¶ added in v1.3.95
func PairExpression ¶ added in v1.3.95
func RecordListParams ¶ added in v1.3.95
func ValidateResource ¶
func ValidateResourceProperties ¶
func ValidateResourceProperties(resource *model.Resource, path string, depth int, properties []*model.ResourceProperty, wrapped bool) []*model.ErrorField
func Value ¶ added in v1.2.21
func Value(resource abs.ResourceLike, property *model.ResourceProperty, recordId string, propertyPath string, value *structpb.Value) []*model.ErrorField
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.