lease

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueInterval = 2 * defaultLeaseInterval
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Lease

type Lease interface {
	AcquireLease(ctx context.Context, holderIdentity string) error
}

func New

func New(c client.Client, leaseNSN types.NamespacedName) Lease

Jump to

Keyboard shortcuts

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