job

package
v0.0.0-...-6cdb919 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// LockName is the name of the lock resource
	LockName string `yaml:"lockName"`

	// LockNS is the namespace of the lock resource
	LockNS string `yaml:"lockNS"`

	// LeaseDuration is the duration that non-leader candidates will
	// wait to force acquire leadership
	LeaseDuration int `yaml:"leaseDuration"`

	// RenewDeadline is the duration that the acting master will retry
	// refreshing leadership before giving up
	RenewDeadline int `yaml:"renewDeadline"`

	// RetryPeriod is the duration the LeaderElector clients should wait
	// between tries of actions
	RetryPeriod int `yaml:"retryPeriod"`
}

Jump to

Keyboard shortcuts

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