Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultClassName = "sesame"
DefaultClassName is the default IngressClass name that Sesame will match Ingress/HTTPProxy resources against if no specific IngressClass name is configured.
Variables ¶
This section is empty.
Functions ¶
func MatchesHTTPProxy ¶
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, ingressClassName 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.