Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Handler // contains filtered or unexported fields }
Controller holds information about the traget and control cluster.
func NewController ¶
func NewController(handler Handler, logger *log.Entry) *Controller
NewController creates a new instance of Controller which in turn is capable of replicating Ingress resources.
func (*Controller) Start ¶
func (c *Controller) Start(worker int, stopCh <-chan struct{}) error
Start starts the control loop.
type Handler ¶
type Handler interface { Sync(key string) error GetInformerSyncs() []cache.InformerSynced GetWorkQueue() workqueue.RateLimitingInterface }
Handler is an interface which this generic controller uses for
Click to show internal directories.
Click to hide internal directories.