scheduler

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Namespace          string
	AppID              string
	Actors             actors.Interface
	Channels           *channels.Channels
	WFEngine           wfengine.Interface
	Addresses          []string
	Security           security.Handler
	Healthz            healthz.Healthz
	SchedulerReminders bool
}

type Scheduler added in v1.15.0

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

Scheduler manages the connection to the cluster of schedulers.

func New

func New(opts Options) *Scheduler

func (*Scheduler) Addresses added in v1.15.0

func (s *Scheduler) Addresses() []string

func (*Scheduler) All added in v1.15.0

func (*Scheduler) Next added in v1.15.0

func (*Scheduler) Run added in v1.15.0

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

func (*Scheduler) StartApp added in v1.15.0

func (s *Scheduler) StartApp(ctx context.Context)

func (*Scheduler) StopApp added in v1.15.0

func (s *Scheduler) StopApp(ctx context.Context)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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