# Functions
DeduplicateConditions removes duplicate conditions based on the condition type.
NewDefaultGatewayConditions returns the default Conditions that must be present in the status of a Gateway.
NewDefaultListenerConditions returns the default Conditions that must be present in the status of a Listener.
NewDefaultRouteConditions returns the default conditions that must be present in the status of an HTTPRoute.
NewGatewayAccepted returns a Condition that indicates the Gateway is accepted.
NewGatewayAcceptedListenersNotValid returns a Condition that indicates the Gateway is accepted, but has at least one listener that is invalid.
NewGatewayClassInvalidParameters returns a Condition that indicates that the GatewayClass has invalid parameters.
NewGatewayConflict returns Conditions that indicate the Gateway has a conflict with another Gateway.
NewGatewayConflictNotProgrammed returns a custom Programmed Condition that indicates the Gateway has a conflict with another Gateway.
NewGatewayInvalid returns Conditions that indicate the Gateway is not accepted and programmed because it is semantically or syntactically invalid.
NewGatewayNotAcceptedListenersNotValid returns Conditions that indicate the Gateway is not accepted, because all listeners are invalid.
NewGatewayNotProgrammedInvalid returns a Condition that indicates the Gateway is not programmed because it is semantically or syntactically invalid.
NewGatewayProgrammed returns a Condition that indicates the Gateway is programmed.
NewGatewayUnsupportedValue returns Conditions that indicate that a field of the Gateway has an unsupported value.
NewListenerAccepted returns a Condition that indicates that the Listener is accepted.
NewListenerInvalidCertificateRef returns Conditions that indicate that a CertificateRef of a Listener is invalid.
NewListenerInvalidRouteKinds returns Conditions that indicate that an invalid or unsupported Route kind is specified by the Listener.
NewListenerNoConflicts returns a Condition that indicates that there are no conflicts in a Listener.
NewListenerNotProgrammedInvalid returns a Condition that indicates the Listener is not programmed because it is semantically or syntactically invalid.
NewListenerProgrammed returns a Condition that indicates the Listener is programmed.
NewListenerProtocolConflict returns Conditions that indicate multiple Listeners are specified with the same Listener port number, but have conflicting protocol specifications.
NewListenerRefNotPermitted returns Conditions that indicates that the Listener references a TLS secret that is not permitted by a ReferenceGrant.
NewListenerResolvedRefs returns a Condition that indicates that all references in a Listener are resolved.
NewListenerUnsupportedProtocol returns Conditions that indicate that the protocol of a Listener is unsupported.
NewListenerUnsupportedValue returns Conditions that indicate that a field of a Listener has an unsupported value.
NewNginxGatewayInvalid returns a Condition that indicates that the NginxGateway config is invalid.
NewNginxGatewayValid returns a Condition that indicates that the NginxGateway config is valid.
NewRouteAccepted returns a Condition that indicates that the HTTPRoute is accepted.
NewRouteBackendRefInvalidKind returns a Condition that indicates that the Route has a backendRef with an invalid kind.
NewRouteBackendRefRefBackendNotFound returns a Condition that indicates that the Route has a backendRef that points to non-existing backend.
NewRouteBackendRefRefNotPermitted returns a Condition that indicates that the Route has a backendRef that is not permitted.
NewRouteBackendRefUnsupportedValue returns a Condition that indicates that the Route has a backendRef with an unsupported value.
NewRouteGatewayNotProgrammed returns a Condition that indicates that the Gateway it references is not programmed, which does not guarantee that the HTTPRoute has been configured.
NewRouteInvalidGateway returns a Condition that indicates that the Route is not Accepted because the Gateway it references is invalid.
NewRouteInvalidListener returns a Condition that indicates that the HTTPRoute is not accepted because of an invalid listener.
NewRouteNoMatchingListenerHostname returns a Condition that indicates that the hostname of the listener does not match the hostnames of the HTTPRoute.
NewRouteNoMatchingParent returns a Condition that indicates that the Route is not Accepted because it specifies a Port and/or SectionName that does not match any Listeners in the Gateway.
NewRouteNotAllowedByListeners returns a Condition that indicates that the HTTPRoute is not allowed by any listener.
NewRouteResolvedRefs returns a Condition that indicates that all the references on the Route are resolved.
NewRouteUnsupportedValue returns a Condition that indicates that the HTTPRoute includes an unsupported value.
NewTODO returns a Condition that can be used as a placeholder for a condition that is not yet implemented.
# Constants
GatewayMessageFailedNginxReload is a message used with GatewayConditionProgrammed (false) when nginx fails to reload.
GatewayMessageGatewayConflict is a message that describes GatewayReasonGatewayConflict.
GatewayReasonGatewayConflict indicates there are multiple Gateway resources to choose from, and we ignored the resource in question and picked another Gateway as the winner.
GatewayReasonUnsupportedValue is used with GatewayConditionAccepted (false) when a value of a field in a Gateway is invalid or not supported.
ListenerMessageFailedNginxReload is a message used with ListenerConditionProgrammed (false) when nginx fails to reload.
ListenerReasonUnsupportedValue is used with the "Accepted" condition when a value of a field in a Listener is invalid or not supported.
RouteMessageFailedNginxReload is a message used with RouteReasonGatewayNotProgrammed when nginx fails to reload.
RouteReasonBackendRefUnsupportedValue is used with the "ResolvedRefs" condition when one of the Route rules has a backendRef with an unsupported value.
RouteReasonGatewayNotProgrammed is used when the associated Gateway is not programmed.
RouteReasonInvalidGateway is used with the "Accepted" (false) condition when the Gateway the Route references is invalid.
RouteReasonInvalidListener is used with the "Accepted" condition when the Route references an invalid listener.