Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineController ¶
type MachineController struct { Name string BeforeReconcile func(key string) AfterReconcile func(key string, err error) Informers *sharedinformers.SharedInformers // contains filtered or unexported fields }
MachineController implements the controller.MachineController interface
func NewMachineController ¶
func NewMachineController(config *rest.Config, si *sharedinformers.SharedInformers) *MachineController
NewController returns a new MachineController for responding to Machine events
func (*MachineController) GetName ¶
func (c *MachineController) GetName() string
func (*MachineController) LookupAndReconcile ¶
func (c *MachineController) LookupAndReconcile(key string) (err error)
func (*MachineController) Run ¶
func (c *MachineController) Run(stopCh <-chan struct{})
type MachineControllerImpl ¶
type MachineControllerImpl struct { builders.DefaultControllerFns // contains filtered or unexported fields }
+controller:group=cluster,version=v1alpha1,kind=Machine,resource=machines
func (*MachineControllerImpl) Get ¶
func (c *MachineControllerImpl) Get(namespace, name string) (*clusterv1.Machine, error)
func (*MachineControllerImpl) Init ¶
func (c *MachineControllerImpl) Init(arguments sharedinformers.ControllerInitArguments)
Init initializes the controller and is called by the generated code Register watches for additional resource types here.
Click to show internal directories.
Click to hide internal directories.