helpers

package
v1.13.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBackendReferenceAllowed

func IsBackendReferenceAllowed(originatingNamespace string, be gatewayv1beta1.BackendRef, gvk schema.GroupVersionKind, grants []gatewayv1alpha2.ReferenceGrant) bool

IsBackendReferenceAllowed returns true if the backend reference is allowed by the reference grant.

func IsSecretReferenceAllowed

func IsSecretReferenceAllowed(originatingNamespace string, sr gatewayv1beta1.SecretObjectReference, gvk schema.GroupVersionKind, grants []gatewayv1alpha2.ReferenceGrant) bool

IsSecretReferenceAllowed returns true if the secret reference is allowed by the reference grant.

func NamespaceDerefOr

func NamespaceDerefOr(namespace *gatewayv1beta1.Namespace, defaultNamespace string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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