Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBootstrap ¶
func RunBootstrap(pools []*mcfgv1.MachineConfigPool, configs []*mcfgv1.MachineConfig, cconfig *mcfgv1.ControllerConfig) ([]*mcfgv1.MachineConfigPool, []*mcfgv1.MachineConfig, error)
RunBootstrap runs the render controller in bootstrap mode. For each pool, it matches the machineconfigs based on label selector and returns the generated machineconfigs and pool with CurrentMachineConfig status field set.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller defines the render controller.
func New ¶
func New( mcpInformer mcfginformersv1.MachineConfigPoolInformer, mcInformer mcfginformersv1.MachineConfigInformer, ccInformer mcfginformersv1.ControllerConfigInformer, kubeClient clientset.Interface, mcfgClient mcfgclientset.Interface, ) *Controller
New returns a new render controller.
func (*Controller) Run ¶
func (ctrl *Controller) Run(workers int, stopCh <-chan struct{})
Run executes the render controller.
Click to show internal directories.
Click to hide internal directories.