Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateSensorTypeCreating = "sensor.type.creating" StateCmdStartMonCmdWaiting = "cmd.monitor.start.waiting" StateEnvPreparing = "env.preparing" StateMonCreating = "monitor.creating" StateMonStarting = "monitor.starting" )
View Source
const ( ComSensorConstructor = "sensor.constructor" ComSensorCmdServer = "sensor.cmd.server" ComMonitorRunner = "monitor.runner" )
View Source
const ( CtxSensorType = "sensor.type" CtxCmdType = "cmd.type" )
Variables ¶
View Source
var ( ErrUnknownEvent = goerr.New("unknown event type") ErrUnexpectedEvent = goerr.New("unexpected event type") )
Event errors
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Name Type `json:"name"`
Data interface{} `json:"data,omitempty"`
}
func (*Message) UnmarshalJSON ¶
type StartMonitorFailedData ¶
type StartMonitorFailedData struct {
Component string `json:"component,omitempty"`
State string `json:"state,omitempty"`
Context map[string]string `json:"context,omitempty"`
Errors []string `json:"errors,omitempty"`
}
StartMonitorFailed contains additional context for the failure
Click to show internal directories.
Click to hide internal directories.