Versions in this module Expand all Collapse all v1 v1.6.2 Mar 11, 2025 v1.6.1 Feb 6, 2025 v1.6.0 Jan 15, 2025 Changes in this version + const CAKey + const FilterExtensionRef + const FilterRequestHeaderModifier + const FilterRequestMirror + const FilterRequestRedirect + const FilterResponseHeaderModifier + const FilterURLRewrite + func ConvertGRPCMatches(grpcMatches []v1.GRPCRouteMatch) []v1.HTTPRouteMatch + func GetAllowedRouteLabelSelector(l v1.Listener) *metav1.LabelSelector + func GetMoreSpecificHostname(hostname1, hostname2 string) string + type BackendRef struct + BackendTLSPolicy *BackendTLSPolicy + ServicePort v1.ServicePort + SvcNsName types.NamespacedName + Valid bool + Weight int32 + func (b BackendRef) ServicePortReference() string + type BackendTLSPolicy struct + CaCertRef types.NamespacedName + Conditions []conditions.Condition + Gateway types.NamespacedName + Ignored bool + IsReferenced bool + Source *v1alpha3.BackendTLSPolicy + Valid bool + type CaCertConfigMap struct + CACert []byte + Source *apiv1.ConfigMap + type ClusterState struct + BackendTLSPolicies map[types.NamespacedName]*v1alpha3.BackendTLSPolicy + CRDMetadata map[types.NamespacedName]*metav1.PartialObjectMetadata + ConfigMaps map[types.NamespacedName]*v1.ConfigMap + GRPCRoutes map[types.NamespacedName]*gatewayv1.GRPCRoute + GatewayClasses map[types.NamespacedName]*gatewayv1.GatewayClass + Gateways map[types.NamespacedName]*gatewayv1.Gateway + HTTPRoutes map[types.NamespacedName]*gatewayv1.HTTPRoute + NGFPolicies map[PolicyKey]policies.Policy + Namespaces map[types.NamespacedName]*v1.Namespace + NginxProxies map[types.NamespacedName]*ngfAPI.NginxProxy + ReferenceGrants map[types.NamespacedName]*v1beta1.ReferenceGrant + Secrets map[types.NamespacedName]*v1.Secret + Services map[types.NamespacedName]*v1.Service + SnippetsFilters map[types.NamespacedName]*ngfAPI.SnippetsFilter + TLSRoutes map[types.NamespacedName]*v1alpha2.TLSRoute + type ExtensionRefFilter struct + SnippetsFilter *SnippetsFilter + Valid bool + type Filter struct + ExtensionRef *v1.LocalObjectReference + FilterType FilterType + RequestHeaderModifier *v1.HTTPHeaderFilter + RequestMirror *v1.HTTPRequestMirrorFilter + RequestRedirect *v1.HTTPRequestRedirectFilter + ResolvedExtensionRef *ExtensionRefFilter + ResponseHeaderModifier *v1.HTTPHeaderFilter + RouteType RouteType + URLRewrite *v1.HTTPURLRewriteFilter + type FilterType string + type Gateway struct + Conditions []conditions.Condition + Listeners []*Listener + Policies []*Policy + Source *v1.Gateway + Valid bool + type GatewayClass struct + Conditions []conditions.Condition + Source *v1.GatewayClass + Valid bool + type Graph struct + BackendTLSPolicies map[types.NamespacedName]*BackendTLSPolicy + Gateway *Gateway + GatewayClass *GatewayClass + GlobalSettings *policies.GlobalSettings + IgnoredGatewayClasses map[types.NamespacedName]*gatewayv1.GatewayClass + IgnoredGateways map[types.NamespacedName]*gatewayv1.Gateway + L4Routes map[L4RouteKey]*L4Route + NGFPolicies map[PolicyKey]*Policy + NginxProxy *NginxProxy + PlusSecrets map[types.NamespacedName][]PlusSecretFile + ReferencedCaCertConfigMaps map[types.NamespacedName]*CaCertConfigMap + ReferencedNamespaces map[types.NamespacedName]*v1.Namespace + ReferencedSecrets map[types.NamespacedName]*Secret + ReferencedServices map[types.NamespacedName]*ReferencedService + Routes map[RouteKey]*L7Route + SnippetsFilters map[types.NamespacedName]*SnippetsFilter + func BuildGraph(state ClusterState, controllerName string, gcName string, ...) *Graph + func (g *Graph) IsNGFPolicyRelevant(policy policies.Policy, gvk schema.GroupVersionKind, ...) bool + func (g *Graph) IsReferenced(resourceType ngftypes.ObjectType, nsname types.NamespacedName) bool + type L4Route struct + Attachable bool + Conditions []conditions.Condition + ParentRefs []ParentRef + Source client.Object + Spec L4RouteSpec + Valid bool + type L4RouteKey struct + NamespacedName types.NamespacedName + func CreateRouteKeyL4(obj client.Object) L4RouteKey + type L4RouteSpec struct + BackendRef BackendRef + Hostnames []v1.Hostname + type L7Route struct + Attachable bool + Conditions []conditions.Condition + ParentRefs []ParentRef + Policies []*Policy + RouteType RouteType + Source client.Object + Spec L7RouteSpec + Valid bool + type L7RouteSpec struct + Hostnames []v1.Hostname + Rules []RouteRule + type Listener struct + AllowedRouteLabelSelector labels.Selector + Attachable bool + Conditions []conditions.Condition + L4Routes map[L4RouteKey]*L4Route + Name string + ResolvedSecret *types.NamespacedName + Routes map[RouteKey]*L7Route + Source v1.Listener + SupportedKinds []v1.RouteGroupKind + Valid bool + type NginxProxy struct + ErrMsgs field.ErrorList + Source *ngfAPI.NginxProxy + Valid bool + type ParentRef struct + Attachment *ParentRefAttachmentStatus + Gateway types.NamespacedName + Idx int + Port *v1.PortNumber + SectionName *v1.SectionName + type ParentRefAttachmentStatus struct + AcceptedHostnames map[string][]string + Attached bool + FailedCondition conditions.Condition + ListenerPort v1.PortNumber + type PlusSecretFile struct + Content []byte + FieldName string + Type SecretFileType + type Policy struct + Ancestors []PolicyAncestor + Conditions []conditions.Condition + Source policies.Policy + TargetRefs []PolicyTargetRef + Valid bool + type PolicyAncestor struct + Ancestor v1.ParentReference + Conditions []conditions.Condition + type PolicyKey struct + GVK schema.GroupVersionKind + NsName types.NamespacedName + type PolicyTargetRef struct + Group v1.Group + Kind v1.Kind + Nsname types.NamespacedName + type ProtectedPorts map[int32]string + type ReferencedService struct + Policies []*Policy + type RouteBackendRef struct + Filters []any + type RouteKey struct + NamespacedName types.NamespacedName + RouteType RouteType + func CreateRouteKey(obj client.Object) RouteKey + type RouteRule struct + BackendRefs []BackendRef + Filters RouteRuleFilters + Matches []v1.HTTPRouteMatch + RouteBackendRefs []RouteBackendRef + ValidMatches bool + type RouteRuleFilters struct + Filters []Filter + Valid bool + type RouteType string + const RouteTypeGRPC + const RouteTypeHTTP + type Secret struct + Source *apiv1.Secret + type SecretFileType int + const PlusReportCACertificate + const PlusReportClientSSLCertificate + const PlusReportClientSSLKey + const PlusReportJWTToken + type SnippetsFilter struct + Conditions []conditions.Condition + Referenced bool + Snippets map[ngfAPI.NginxContext]string + Source *ngfAPI.SnippetsFilter + Valid bool