Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the controller implementation for Foo resources
func NewController ¶
func NewController(name string, informer cache.SharedIndexInformer, workqueue workqueue.RateLimitingInterface, handler Handler) *Controller
NewController returns a new sample controller
func (*Controller) Enqueue ¶
func (c *Controller) Enqueue(namespace, name string)
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
type ControllerManager ¶
type ControllerManager struct {
// contains filtered or unexported fields
}
func (*ControllerManager) AddHandler ¶
func (g *ControllerManager) AddHandler(ctx context.Context, gvk schema.GroupVersionKind, informer cache.SharedIndexInformer, name string, handler Handler)
func (*ControllerManager) Enqueue ¶
func (g *ControllerManager) Enqueue(gvk schema.GroupVersionKind, namespace, name string)
func (*ControllerManager) Start ¶
func (g *ControllerManager) Start(ctx context.Context, defaultThreadiness int, threadiness map[schema.GroupVersionKind]int) error
Click to show internal directories.
Click to hide internal directories.