Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IngressKey picks a specific "class" for the Ingress. // The controller only processes Ingresses with this annotation either // unset, or set to either the configured value or the empty string. IngressKey = "kubernetes.io/ingress.class" )
Variables ¶
View Source
var ( // DefaultClass defines the default class used in the wls ingress controller DefaultClass = "wls" // IngressClass sets the runtime ingress class to use // An empty string means accept all ingresses without // annotation and the ones configured with class wls IngressClass = "wls" )
Functions ¶
func IsValid ¶
func IsValid(ing *networking.Ingress) bool
IsValid returns true if the given Ingress either doesn't specify the ingress.class annotation, or it's set to the configured in the ingress controller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.