lease

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 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(client clientset.Interface, nowFunc func() time.Time, 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