scheduler_event

package
v0.16.1-beta Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskCreated            = "Scheduler.TaskCreated"
	TaskDeleted            = "Scheduler.TaskDeleted"
	TaskStarted            = "Scheduler.TaskStarted"
	TaskStopped            = "Scheduler.TaskStopped"
	TaskDisabled           = "Scheduler.TaskDisabled"
	MetricCollected        = "Scheduler.MetricsCollected"
	MetricCollectionFailed = "Scheduler.MetricCollectionFailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricCollectedEvent

type MetricCollectedEvent struct {
	TaskID  string
	Metrics []core.Metric
}

func (MetricCollectedEvent) Namespace

func (e MetricCollectedEvent) Namespace() string

type MetricCollectionFailedEvent

type MetricCollectionFailedEvent struct {
	TaskID string
	Errors []error
}

func (MetricCollectionFailedEvent) Namespace

func (e MetricCollectionFailedEvent) Namespace() string

type TaskCreatedEvent

type TaskCreatedEvent struct {
	TaskID        string
	StartOnCreate bool
	Source        string
}

func (TaskCreatedEvent) Namespace

func (e TaskCreatedEvent) Namespace() string

type TaskDeletedEvent

type TaskDeletedEvent struct {
	TaskID string
	Source string
}

func (TaskDeletedEvent) Namespace

func (e TaskDeletedEvent) Namespace() string

type TaskDisabledEvent

type TaskDisabledEvent struct {
	TaskID string
	Why    string
}

func (TaskDisabledEvent) Namespace

func (e TaskDisabledEvent) Namespace() string

type TaskStartedEvent

type TaskStartedEvent struct {
	TaskID string
	Source string
}

func (TaskStartedEvent) Namespace

func (e TaskStartedEvent) Namespace() string

type TaskStoppedEvent

type TaskStoppedEvent struct {
	TaskID string
	Source string
}

func (TaskStoppedEvent) Namespace

func (e TaskStoppedEvent) Namespace() string

Jump to

Keyboard shortcuts

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