lease

package
v1.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 11 Imported by: 0

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(nowFunc func() time.Time, clientMap clientmap.ClientMap, leaseDurationSeconds int32, namespace string) Controller

NewLeaseController constructs and returns a controller.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL