coordinator

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AtmoMetricsURI = "/meta/metrics"
	AtmoHealthURI  = "/health"
)

Variables

This section is empty.

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 converting 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) SetSchedules added in v0.2.3

func (c *Coordinator) SetSchedules()

func (*Coordinator) SetupHandlers added in v0.3.1

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

SetupHandlers configures all of the app's handlers and generates a Vektor Router for the app.

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()

type MetricsResponse added in v0.3.2

type MetricsResponse struct {
	Scheduler rt.ScalerMetrics `json:"scheduler"`
}

type Values added in v0.4.4

type Values struct {
	TraceID   string
	Now       time.Time
	RequestID string
}

Values represent state for each request.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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