types

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation func(ctx context.Context, state *QScheduler, events scheduler.EventSink)

Operation is the type for functions that examine and mutate a state.

type QScheduler

type QScheduler struct {
	// TODO: Drop this entry from the struct.
	SchedulerID string
	Scheduler   *scheduler.Scheduler
	Reconciler  *reconciler.State
}

QScheduler encapsulates the state of a scheduler.

func NewQScheduler

func NewQScheduler(id string, t time.Time, c *scheduler.Config) *QScheduler

NewQScheduler returns a new QSchedulerState instance.

Jump to

Keyboard shortcuts

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