Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2024 Changes in this version + func CheckAgainstCrossNamespaceBackendReferences(input Input) (bool, error) + func CheckBackend(input Input) (bool, error) + func CheckBackendIsExistingService(input Input) (bool, error) + func CheckGatewayAllowedForNamespace(input Input, parentRef gatewayv1.ParentReference) (bool, error) + func CheckGatewayMatchingHostnames(input Input, parentRef gatewayv1.ParentReference) (bool, error) + func CheckGatewayMatchingPorts(input Input, parentRef gatewayv1.ParentReference) (bool, error) + func CheckGatewayMatchingSection(input Input, parentRef gatewayv1.ParentReference) (bool, error) + func CheckGatewayRouteKindAllowed(input Input, parentRef gatewayv1.ParentReference) (bool, error) + type CheckGatewayFunc func(input Input, ref gatewayv1.ParentReference) (bool, error) + type CheckRuleFunc func(input Input) (bool, error) + type GenericRule interface + GetBackendRefs func() []gatewayv1.BackendRef + type HTTPRouteInput struct + Client client.Client + Ctx context.Context + Grants *gatewayv1beta1.ReferenceGrantList + HTTPRoute *gatewayv1.HTTPRoute + func (h *HTTPRouteInput) GetClient() client.Client + func (h *HTTPRouteInput) GetContext() context.Context + func (h *HTTPRouteInput) GetGVK() schema.GroupVersionKind + func (h *HTTPRouteInput) GetGateway(parent gatewayv1.ParentReference) (*gatewayv1.Gateway, error) + func (h *HTTPRouteInput) GetGrants() []gatewayv1beta1.ReferenceGrant + func (h *HTTPRouteInput) GetHostnames() []gatewayv1.Hostname + func (h *HTTPRouteInput) GetNamespace() string + func (h *HTTPRouteInput) GetRules() []GenericRule + func (h *HTTPRouteInput) SetAllParentCondition(condition metav1.Condition) + func (h *HTTPRouteInput) SetParentCondition(ref gatewayv1.ParentReference, condition metav1.Condition) + type HTTPRouteRule struct + Rule gatewayv1.HTTPRouteRule + func (t *HTTPRouteRule) GetBackendRefs() []gatewayv1.BackendRef + type Input interface + GetClient func() client.Client + GetContext func() context.Context + GetGVK func() schema.GroupVersionKind + GetGateway func(parent gatewayv1.ParentReference) (*gatewayv1.Gateway, error) + GetGrants func() []gatewayv1beta1.ReferenceGrant + GetHostnames func() []gatewayv1.Hostname + GetNamespace func() string + GetRules func() []GenericRule + SetAllParentCondition func(condition metav1.Condition) + SetParentCondition func(ref gatewayv1.ParentReference, condition metav1.Condition) + type TCPRouteInput struct + Client client.Client + Ctx context.Context + Grants *gatewayv1beta1.ReferenceGrantList + TCPRoute *gatewayv1alpha2.TCPRoute + func (h *TCPRouteInput) GetClient() client.Client + func (h *TCPRouteInput) GetContext() context.Context + func (h *TCPRouteInput) GetGVK() schema.GroupVersionKind + func (h *TCPRouteInput) GetGateway(parent gatewayv1.ParentReference) (*gatewayv1.Gateway, error) + func (h *TCPRouteInput) GetGrants() []gatewayv1beta1.ReferenceGrant + func (h *TCPRouteInput) GetHostnames() []gatewayv1.Hostname + func (h *TCPRouteInput) GetNamespace() string + func (h *TCPRouteInput) GetRules() []GenericRule + func (h *TCPRouteInput) SetAllParentCondition(condition metav1.Condition) + func (h *TCPRouteInput) SetParentCondition(ref gatewayv1.ParentReference, condition metav1.Condition) + type TCPRouteRule struct + Rule gatewayv1alpha2.TCPRouteRule + func (t *TCPRouteRule) GetBackendRefs() []gatewayv1.BackendRef + type TLSRouteInput struct + Client client.Client + Ctx context.Context + Grants *gatewayv1beta1.ReferenceGrantList + TLSRoute *gatewayv1alpha2.TLSRoute + func (h *TLSRouteInput) GetClient() client.Client + func (h *TLSRouteInput) GetContext() context.Context + func (h *TLSRouteInput) GetGVK() schema.GroupVersionKind + func (h *TLSRouteInput) GetGateway(parent gatewayv1.ParentReference) (*gatewayv1.Gateway, error) + func (h *TLSRouteInput) GetGrants() []gatewayv1beta1.ReferenceGrant + func (h *TLSRouteInput) GetHostnames() []gatewayv1.Hostname + func (h *TLSRouteInput) GetNamespace() string + func (h *TLSRouteInput) GetRules() []GenericRule + func (h *TLSRouteInput) SetAllParentCondition(condition metav1.Condition) + func (h *TLSRouteInput) SetParentCondition(ref gatewayv1.ParentReference, condition metav1.Condition) + type TLSRouteRule struct + Rule gatewayv1alpha2.TLSRouteRule + func (t *TLSRouteRule) GetBackendRefs() []gatewayv1.BackendRef + type UDPRouteInput struct + Client client.Client + Ctx context.Context + Grants *gatewayv1beta1.ReferenceGrantList + UDPRoute *gatewayv1alpha2.UDPRoute + func (h *UDPRouteInput) GetClient() client.Client + func (h *UDPRouteInput) GetContext() context.Context + func (h *UDPRouteInput) GetGVK() schema.GroupVersionKind + func (h *UDPRouteInput) GetGateway(parent gatewayv1.ParentReference) (*gatewayv1.Gateway, error) + func (h *UDPRouteInput) GetGrants() []gatewayv1beta1.ReferenceGrant + func (h *UDPRouteInput) GetHostnames() []gatewayv1.Hostname + func (h *UDPRouteInput) GetNamespace() string + func (h *UDPRouteInput) GetRules() []GenericRule + func (h *UDPRouteInput) SetAllParentCondition(condition metav1.Condition) + func (h *UDPRouteInput) SetParentCondition(ref gatewayv1.ParentReference, condition metav1.Condition) + type UDPRouteRule struct + Rule gatewayv1alpha2.UDPRouteRule + func (t *UDPRouteRule) GetBackendRefs() []gatewayv1.BackendRef