Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ControllerName name of the controler ControllerName = "ingresses" // UserAgentName name of the user agent UserAgentName = "federation-ingresses-controller" )
Variables ¶
This section is empty.
Functions ¶
func BuildGlobalLbStatusAnnotation ¶
func BuildGlobalLbStatusAnnotation(globalLbStat map[string][]v1.LoadBalancerStatus) string
BuildGlobalLbStatusAnnotation marshalls the load balancer status
func StartFederatedIngressController ¶
func StartFederatedIngressController(config *restclient.Config, options *opt.FederatedIngressControllerOptions, stopChan <-chan struct{})
StartFederatedIngressController starts a new federated ingress controller
Types ¶
type IngressController ¶
type IngressController struct { sync.Mutex // Lock used for leader election // contains filtered or unexported fields }
IngressController ingress controller at federation level
func NewIngressController ¶
func NewIngressController(client federationclientset.Interface) *IngressController
NewIngressController returns a new ingress controller
func (*IngressController) Run ¶
func (ic *IngressController) Run(stopChan <-chan struct{})
Run the ingress controller
Click to show internal directories.
Click to hide internal directories.