policymachinery

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamespacedNameFromLocator

func NamespacedNameFromLocator(locator string) (k8stypes.NamespacedName, error)

NamespacedNameFromLocator returns a k8s namespaced name from a Policy Machinery object locator

func NewErrInvalidPath

func NewErrInvalidPath(message string) error

func ObjectsInRequestPath

ObjectsInRequestPath returns the objects in a data plane path converted to their respective types The last returned value is an error that indicates if the path is valid if present.

Types

type ErrInvalidPath

type ErrInvalidPath struct {
	// contains filtered or unexported fields
}

func (ErrInvalidPath) Error

func (e ErrInvalidPath) Error() string

Jump to

Keyboard shortcuts

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