Documentation
¶
Index ¶
Constants ¶
View Source
const CONTROLLER = "haproxy.org/ingress-controller"
Variables ¶
This section is empty.
Functions ¶
func UpdatePublishService ¶ added in v1.7.11
func UpdatePublishService(ingresses []*Ingress, api *kubernetes.Clientset, publishServiceAddresses []string)
Types ¶
type Ingress ¶ added in v1.7.1
type Ingress struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.7.1
New returns an Ingress instance to handle the k8s ingress resource given in params. If the k8s ingress resource is not assigned to the controller (no matching IngressClass) then New will return nil
func (*Ingress) HandleAnnotations ¶ added in v1.7.1
func (i *Ingress) HandleAnnotations(k store.K8s, cfg *configuration.ControllerCfg)
HandleAnnotations processes ingress annotations to create HAProxy Rules and constructs corresponding list of RuleIDs. If Ingress Annotations are at the ConfigMap scope, HAProxy Rules will be applied globally without the need to map Rule IDs to specific ingress traffic.
func (*Ingress) Update ¶ added in v1.7.1
func (i *Ingress) Update(k store.K8s, cfg *configuration.ControllerCfg, api api.HAProxyClient) (reload bool)
Update processes a Kubernetes ingress resource and configures HAProxy accordingly by creating corresponding backend, route and HTTP rules.
func (*Ingress) UpdateStatus ¶ added in v1.7.11
func (i *Ingress) UpdateStatus(client *kubernetes.Clientset, addresses []string) (err error)
type UpdateStatus ¶ added in v1.7.1
func NewStatusIngressUpdater ¶ added in v1.7.11
func NewStatusIngressUpdater(client *kubernetes.Clientset, k store.K8s, class string, emptyClass bool) UpdateStatus
Click to show internal directories.
Click to hide internal directories.