Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventRecorderComponent = "sc-ingress-controller" QueueRetries = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ShowVersion bool Namespace string LeaderElectionCfg *config.LeaderElectionConfiguration KubeClient *kubernetes.Clientset ResyncPeriod time.Duration IngressClass string CertManagerPrefix string }
Configuration contains all the settings required by an Ingress controller
type IngressController ¶
type IngressController struct {
// contains filtered or unexported fields
}
IngressController represents an Ingress Controller
func NewIngressController ¶
func NewIngressController(config *Configuration, scClient *serverscom.Client, kubeClient *kubernetes.Clientset) *IngressController
NewIngressController creates a new ingress controller
func (*IngressController) Run ¶
func (ic *IngressController) Run(stopCh chan struct{})
Run runs informers and workers to process queue
func (*IngressController) Stop ¶
func (ic *IngressController) Stop()
Stop gracefully stops controller
Click to show internal directories.
Click to hide internal directories.