Help us shape the future of Go! Take the 2026 Go Developer Survey

ape

package
v0.46.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

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

func ValidateResourceName(name string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL