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 knows how to reconcile kubelet upgrades to match the in-cluster states with the desired states.
func New ¶
func New( k8sClientsets kubernetes.Interface, k8sInformers k8sinformers.SharedInformerFactory, clusteropClientsets clusteropclientsetsv1alpha1.Interface, clusteropInformers clusteropinformers.SharedInformerFactory, ) *Controller
New returns a new instance of the controller.
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(stop <-chan struct{}) error
Reconcile will continuously work towards reconciling the states of all the KubeletUpgrade objects. It starts the informers and sync their caches. It will block until stop is closed.
Click to show internal directories.
Click to hide internal directories.