Documentation ¶
Index ¶
- Constants
- Variables
- type ClusterReconciler
- type MachineDeploymentReconciler
- func (r *MachineDeploymentReconciler) MachineSetToDeployments(o handler.MapObject) []ctrl.Request
- func (r *MachineDeploymentReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *MachineDeploymentReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
- type MachineHealthCheckReconciler
- type MachinePoolReconciler
- type MachineReconciler
- type MachineSetReconciler
Constants ¶
View Source
const ( // DeleteNodeAnnotation marks nodes that will be given priority for deletion // when a machineset scales down. This annotation is given top priority on all delete policies. DeleteNodeAnnotation = "cluster.k8s.io/delete-machine" )
Variables ¶
View Source
var (
ErrNodeNotFound = errors.New("cannot find node with matching ProviderID")
)
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type MachineDeploymentReconciler ¶
type MachineDeploymentReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
MachineDeploymentReconciler reconciles a MachineDeployment object
func (*MachineDeploymentReconciler) MachineSetToDeployments ¶
func (r *MachineDeploymentReconciler) MachineSetToDeployments(o handler.MapObject) []ctrl.Request
MachineSetTodeployments is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation for MachineDeployments that might adopt an orphaned MachineSet.
func (*MachineDeploymentReconciler) SetupWithManager ¶
func (r *MachineDeploymentReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type MachineHealthCheckReconciler ¶ added in v0.3.0
type MachineHealthCheckReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
MachineHealthCheckReconciler reconciles a MachineHealthCheck object
func (*MachineHealthCheckReconciler) SetupWithManager ¶ added in v0.3.0
func (r *MachineHealthCheckReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type MachinePoolReconciler ¶
type MachinePoolReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
MachinePoolReconciler reconciles a MachineSet object
func (*MachinePoolReconciler) SetupWithManager ¶
func (r *MachinePoolReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type MachineReconciler ¶
type MachineReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
MachineReconciler reconciles a Machine object
func (*MachineReconciler) SetupWithManager ¶
func (r *MachineReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type MachineSetReconciler ¶
type MachineSetReconciler struct { Client client.Client Log logr.Logger // contains filtered or unexported fields }
MachineSetReconciler reconciles a MachineSet object
func (*MachineSetReconciler) MachineToMachineSets ¶
func (r *MachineSetReconciler) MachineToMachineSets(o handler.MapObject) []ctrl.Request
MachineToMachineSets is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation for MachineSets that might adopt an orphaned Machine.
func (*MachineSetReconciler) SetupWithManager ¶
func (r *MachineSetReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
Source Files ¶
- cluster_controller.go
- cluster_controller_phases.go
- doc.go
- machine_controller.go
- machine_controller_noderef.go
- machine_controller_phases.go
- machine_helpers.go
- machinedeployment_controller.go
- machinedeployment_rolling.go
- machinedeployment_sync.go
- machinehealthcheck_controller.go
- machinepool_controller.go
- machineset_controller.go
- machineset_delete_policy.go
Click to show internal directories.
Click to hide internal directories.