Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromGatewayIn ¶
func FromGatewayIn(namespace string) gatewayapi_alpha.ReferenceGrantFrom
func FromHTTPRouteIn ¶
func FromHTTPRouteIn(namespace string) gatewayapi_alpha.ReferenceGrantFrom
func IsReferencePermitted ¶
func IsReferencePermitted( ctx context.Context, client kube_client.Client, reference PolicyReference, ) (bool, error)
IsReferencePermitted returns whether the given reference is permitted with respect to ReferencePolicies.
Types ¶
type PolicyReference ¶
type PolicyReference struct {
// contains filtered or unexported fields
}
func PolicyReferenceBackend ¶
func PolicyReferenceBackend(from gatewayapi_alpha.ReferenceGrantFrom, to gatewayapi.BackendObjectReference) PolicyReference
func PolicyReferenceSecret ¶
func PolicyReferenceSecret(from gatewayapi_alpha.ReferenceGrantFrom, to gatewayapi.SecretObjectReference) PolicyReference
func (*PolicyReference) GroupKindReferredTo ¶
func (pr *PolicyReference) GroupKindReferredTo() kube_schema.GroupKind
func (*PolicyReference) NamespacedNameReferredTo ¶
func (pr *PolicyReference) NamespacedNameReferredTo() kube_types.NamespacedName
Click to show internal directories.
Click to hide internal directories.