Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnounceTaskPIDEvent ¶ added in v0.17.80
type AnnounceTaskPIDEvent struct { TaskId string `json:"taskId"` PID int32 `json:"pid"` // contains filtered or unexported fields }
func NewAnnounceTaskPIDEvent ¶ added in v0.17.80
func NewAnnounceTaskPIDEvent(id string, pid int32) (tm *AnnounceTaskPIDEvent)
func (*AnnounceTaskPIDEvent) GetName ¶ added in v0.17.80
func (tmb *AnnounceTaskPIDEvent) GetName() string
func (*AnnounceTaskPIDEvent) GetTaskId ¶ added in v0.17.80
func (tmb *AnnounceTaskPIDEvent) GetTaskId() string
func (*AnnounceTaskPIDEvent) GetTaskPID ¶ added in v0.17.80
func (tmb *AnnounceTaskPIDEvent) GetTaskPID() int
func (*AnnounceTaskPIDEvent) GetTimestamp ¶ added in v0.17.80
func (e *AnnounceTaskPIDEvent) GetTimestamp() string
type BasicTaskTerminated ¶ added in v0.12.0
type BasicTaskTerminated struct { DeviceEventBase ExitCode int `json:"exitCode"` Stdout string `json:"stdout"` Stderr string `json:"stderr"` VoluntaryTermination bool `json:"voluntaryTermination"` FinalMesosState mesos.TaskState `json:"finalMesosState"` }
func (*BasicTaskTerminated) GetName ¶ added in v0.12.0
func (e *BasicTaskTerminated) GetName() string
func (*BasicTaskTerminated) GetTimestamp ¶ added in v0.17.80
func (e *BasicTaskTerminated) GetTimestamp() string
type DeviceEvent ¶
type DeviceEvent interface { Event GetOrigin() DeviceEventOrigin GetType() pb.DeviceEventType }
func NewDeviceEvent ¶
func NewDeviceEvent(origin DeviceEventOrigin, t pb.DeviceEventType) (de DeviceEvent)
type DeviceEventBase ¶
type DeviceEventBase struct { Type pb.DeviceEventType `json:"type"` Origin DeviceEventOrigin `json:"origin"` // contains filtered or unexported fields }
func (*DeviceEventBase) GetOrigin ¶
func (b *DeviceEventBase) GetOrigin() DeviceEventOrigin
func (*DeviceEventBase) GetTimestamp ¶ added in v0.17.80
func (e *DeviceEventBase) GetTimestamp() string
func (*DeviceEventBase) GetType ¶
func (b *DeviceEventBase) GetType() pb.DeviceEventType
type DeviceEventOrigin ¶
type DeviceEventOrigin struct { // FIXME: replace these Mesos-tainted string wrappers with plain strings AgentId mesos.AgentID `json:"agentId"` ExecutorId mesos.ExecutorID `json:"executorId"` TaskId mesos.TaskID `json:"taskId"` }
type EndOfStream ¶ added in v0.12.0
type EndOfStream struct {
DeviceEventBase
}
func (*EndOfStream) GetName ¶ added in v0.12.0
func (e *EndOfStream) GetName() string
func (*EndOfStream) GetTimestamp ¶ added in v0.17.80
func (e *EndOfStream) GetTimestamp() string
type EnvironmentEvent ¶ added in v0.19.80
type EnvironmentEvent struct { EnvironmentID string Run uint32 State string Error error Message string // contains filtered or unexported fields }
func (*EnvironmentEvent) GetError ¶ added in v0.19.80
func (e *EnvironmentEvent) GetError() string
func (*EnvironmentEvent) GetMessage ¶ added in v0.19.80
func (e *EnvironmentEvent) GetMessage() string
func (*EnvironmentEvent) GetName ¶ added in v0.19.80
func (e *EnvironmentEvent) GetName() string
func (*EnvironmentEvent) GetRun ¶ added in v0.19.80
func (e *EnvironmentEvent) GetRun() uint32
func (*EnvironmentEvent) GetState ¶ added in v0.19.80
func (e *EnvironmentEvent) GetState() string
func (*EnvironmentEvent) GetTimestamp ¶ added in v0.19.80
func (e *EnvironmentEvent) GetTimestamp() string
type RoleEvent ¶ added in v0.19.80
type RoleEvent struct { Name string Status string State string RolePath string // contains filtered or unexported fields }
func (*RoleEvent) GetRolePath ¶ added in v0.19.80
func (*RoleEvent) GetTimestamp ¶ added in v0.19.80
func (e *RoleEvent) GetTimestamp() string
type TaskEvent ¶ added in v0.19.80
type TaskEvent struct { Name string TaskID string Status string State string Hostname string ClassName string // contains filtered or unexported fields }
func (*TaskEvent) GetClassName ¶ added in v0.19.80
func (*TaskEvent) GetHostname ¶ added in v0.19.80
func (*TaskEvent) GetTimestamp ¶ added in v0.19.80
func (e *TaskEvent) GetTimestamp() string
type TasksReleasedEvent ¶ added in v0.17.80
type TasksReleasedEvent struct { EnvironmentId uid.ID `json:"environmentId"` TaskIdsReleased []string `json:"taskIdsReleased"` TaskReleaseErrors map[string]error `json:"taskReleaseErrors"` // contains filtered or unexported fields }
func NewTasksReleasedEvent ¶ added in v0.17.80
func (*TasksReleasedEvent) GetEnvironmentId ¶ added in v0.17.80
func (tr *TasksReleasedEvent) GetEnvironmentId() uid.ID
func (*TasksReleasedEvent) GetName ¶ added in v0.17.80
func (tr *TasksReleasedEvent) GetName() string
func (*TasksReleasedEvent) GetTaskIds ¶ added in v0.17.80
func (tr *TasksReleasedEvent) GetTaskIds() []string
func (*TasksReleasedEvent) GetTaskReleaseErrors ¶ added in v0.17.80
func (tr *TasksReleasedEvent) GetTaskReleaseErrors() map[string]error
func (*TasksReleasedEvent) GetTimestamp ¶ added in v0.17.80
func (e *TasksReleasedEvent) GetTimestamp() string
type TasksStateChangedEvent ¶ added in v0.17.81
type TasksStateChangedEvent struct { EnvironmentId uid.ID `json:"environmentId"` TaskIdsStateChanged []string `json:"taskIdsStatesChanged"` TaskStateChangedErr error `json:"taskStateChangedErr"` // contains filtered or unexported fields }
func NewTasksStateChangedEvent ¶ added in v0.17.81
func NewTasksStateChangedEvent(envId uid.ID, taskIdsChangeState []string, taskStateChangedErr error) (tr *TasksStateChangedEvent)
func (*TasksStateChangedEvent) GetEnvironmentId ¶ added in v0.17.81
func (tr *TasksStateChangedEvent) GetEnvironmentId() uid.ID
func (*TasksStateChangedEvent) GetName ¶ added in v0.17.81
func (tr *TasksStateChangedEvent) GetName() string
func (*TasksStateChangedEvent) GetTaskIds ¶ added in v0.17.81
func (tr *TasksStateChangedEvent) GetTaskIds() []string
func (*TasksStateChangedEvent) GetTasksStateChangedError ¶ added in v0.17.81
func (tr *TasksStateChangedEvent) GetTasksStateChangedError() error
func (*TasksStateChangedEvent) GetTimestamp ¶ added in v0.17.81
func (e *TasksStateChangedEvent) GetTimestamp() string
Click to show internal directories.
Click to hide internal directories.