Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "lease"
ControllerName is the name of the controller.
Variables ¶
This section is empty.
Functions ¶
func ObjectName ¶
ObjectName returns the name of the Lease object based on the node name.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client LeaseDurationSeconds int32 Namespace string Clock clock.Clock }
Reconciler creates a lease in the kube-system namespace of the shoot.
func (*Reconciler) AddToManager ¶
AddToManager adds the lease controller with the default Options to the manager.
Click to show internal directories.
Click to hide internal directories.