helpers

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 gatewayv1.BackendRef, gvk schema.GroupVersionKind, grants []gatewayv1beta1.ReferenceGrant) bool

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

func IsGateway

func IsGateway(parent gatewayv1.ParentReference) bool

func IsSecret

func IsSecret(secret gatewayv1.SecretObjectReference) bool

func IsSecretReferenceAllowed

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

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

func NamespaceDerefOr

func NamespaceDerefOr(namespace *gatewayv1.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