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 responsible for performing actions dependent upon a cluster phase.
func NewController ¶
func NewController( platformClient platformversionedclient.PlatformV1Interface, clusterInformer platformv1informer.ClusterInformer, configuration clusterconfig.ClusterControllerConfiguration, finalizerToken platformv1.FinalizerName) *Controller
NewController creates a new Controller object.
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{}) error
Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers.
Click to show internal directories.
Click to hide internal directories.