scheduler

package
v0.6.0-devel Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v0.3.0

type Option func(*options)

Option configures the reconciler.

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func New

func New(queues *queue.Manager, cache *cache.Cache, cl client.Client, recorder record.EventRecorder, opts ...Option) *Scheduler

func (*Scheduler) NeedLeaderElection added in v0.3.0

func (s *Scheduler) NeedLeaderElection() bool

NeedLeaderElection Implements LeaderElectionRunnable interface to make scheduler run in leader election mode

func (*Scheduler) Start

func (s *Scheduler) Start(ctx context.Context) error

Start implements the Runnable interface to run scheduler as a controller.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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