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" // IngressClass menas accept ingresses with the annotation IngressClass = "openstack" // LabelNodeRoleMaster specifies that a node is a master // It's copied over to kubeadm until it's merged in core: https://github.com/kubernetes/kubernetes/pull/39112 LabelNodeRoleMaster = "node-role.kubernetes.io/master" )
Variables ¶
This section is empty.
Functions ¶
func IsValid ¶
func IsValid(ing *ext_v1beta1.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 ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller ...
func NewController ¶
func NewController(conf config.Config) *Controller
NewController creates a new OpenStack Ingress controller.
func (*Controller) Start ¶
func (c *Controller) Start()
Start starts the openstack ingress controller.
Click to show internal directories.
Click to hide internal directories.