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 ObjectsInRequestPath ¶
func ObjectsInRequestPath(path []machinery.Targetable) (*machinery.GatewayClass, *machinery.Gateway, *machinery.Listener, *machinery.HTTPRoute, *machinery.HTTPRouteRule, error)
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
Click to show internal directories.
Click to hide internal directories.