coordinator

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingFQFN = errors.New("callableFn missing FQFN")
View Source
var ErrSequenceRunErr = errors.New("sequence resulted in a RunErr")

ErrSequenceRunErr is returned when the sequence returned due to a Runnable's RunErr

Functions

This section is empty.

Types

type Coordinator

type Coordinator struct {
	App appsource.AppSource
	// contains filtered or unexported fields
}

Coordinator is a type that is responsible for covnerting the directive into usable Vektor handles by coordinating Reactr jobs and meshing when needed.

func New

func New(appSource appsource.AppSource, options *options.Options) *Coordinator

New creates a coordinator

func (*Coordinator) GenerateRouter added in v0.2.3

func (c *Coordinator) GenerateRouter() *vk.Router

GenerateRouter generates a Vektor Router for the app

func (*Coordinator) SetSchedules added in v0.2.3

func (c *Coordinator) SetSchedules()

func (*Coordinator) Start added in v0.2.3

func (c *Coordinator) Start() error

Start allows the Coordinator to bootstrap

func (*Coordinator) SyncAppState added in v0.2.3

func (c *Coordinator) SyncAppState()

Jump to

Keyboard shortcuts

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