Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidResource = errors.New("invalid resource name") ErrUnsupportedPrefix = errors.New("unsupported resource name prefix") ErrInvalidContainerID = errors.New("invalid container id") ErrInvalidObjectID = errors.New("invalid object id") ErrInvalidNamespace = fmt.Errorf("namespace must match regexp: %s", ape.NamespaceNameRegexp.String()) )
Functions ¶
func ValidateResourceName ¶
ValidateResourceName validates resource name components - container and object id, namespace. Also validates matching resource name to templates of policy engine's native scheme.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.