Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventScopeSystem = EventScope("system") EventScopeRun = EventScope("run") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventScope ¶ added in v0.5.2
type EventScope string
type LogPayload ¶
type LogPayload struct { OpID string `json:"op_id"` Data string `json:"data"` Stream int `json:"stream"` }
func (LogPayload) Scope ¶ added in v0.5.2
func (LogPayload) Scope() EventScope
func (LogPayload) Type ¶
func (LogPayload) Type() EventType
type OpPayload ¶
type OpPayload struct { OpID string `json:"op_id"` OpName string `json:"op_name"` Pipeline pipeline.Path `json:"pipeline"` Internal bool `json:"internal"` Inputs []string `json:"inputs"` Started *time.Time `json:"started"` Completed *time.Time `json:"completed"` Cached bool `json:"cached"` Error string `json:"error"` }
func (OpPayload) Scope ¶ added in v0.5.2
func (OpPayload) Scope() EventScope
type Payload ¶
type Payload interface { Type() EventType Scope() EventScope }
Click to show internal directories.
Click to hide internal directories.