Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultClassName = "contour"
DefaultClassName is the default IngressClass name that Contour will match Ingress/HTTPProxy resources against if no specific IngressClass name is configured.
Variables ¶
This section is empty.
Functions ¶
func MatchesHTTPProxy ¶
func MatchesHTTPProxy(obj *contour_v1.HTTPProxy, ingressClassNames []string) bool
MatchesHTTPProxy returns true if the passed in HTTPProxy annotations or Spec.IngressClassName match the passed in ingress class name. Annotations take precedence over spec field if both are set.
func MatchesIngress ¶
func MatchesIngress(obj *networking_v1.Ingress, ingressClassNames []string) bool
MatchesIngress returns true if the passed in Ingress annotations or Spec.IngressClassName match the passed in ingress class name. Annotations take precedence over spec field if both are set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.