lease

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandaomRequeueTimout added in v0.0.23

func GetRandaomRequeueTimout() time.Duration

Types

type Lease

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

func New

func New(c client.Client, obj client.Object) Lease

Jump to

Keyboard shortcuts

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