Documentation
¶
Index ¶
- func IsBackendReferenceAllowed(originatingNamespace string, be gatewayv1.BackendRef, ...) bool
- func IsGateway(parent gatewayv1.ParentReference) bool
- func IsSecret(secret gatewayv1.SecretObjectReference) bool
- func IsSecretReferenceAllowed(originatingNamespace string, sr gatewayv1.SecretObjectReference, ...) bool
- func IsService(be gatewayv1.BackendObjectReference) bool
- func NamespaceDerefOr(namespace *gatewayv1.Namespace, defaultNamespace string) string
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 IsService ¶
func IsService(be gatewayv1.BackendObjectReference) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.