Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
Sync(string, ...metav1.OwnerReference) error
}
Controller manages creating and renewing the lease for this Gardenlet.
func NewLeaseController ¶
func NewLeaseController(client clientset.Interface, nowFunc func() time.Time, leaseDurationSeconds int32, namespace string) Controller
NewLeaseController constructs and returns a controller.
Click to show internal directories.
Click to hide internal directories.