lease

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 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