Documentation ¶
Index ¶
- Variables
- func Records(resource abs.ResourceLike, list []*model.Record, isUpdate bool) errors.ServiceError
- func ValidateResource(resource *model.Resource) errors.ServiceError
- 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 Records ¶
func Records(resource abs.ResourceLike, list []*model.Record, isUpdate bool) errors.ServiceError
func ValidateResource ¶
func ValidateResource(resource *model.Resource) errors.ServiceError
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.