Documentation ¶
Index ¶
- type Event
- func (sue *Event) AgentID() *pbmesos.AgentID
- func (sue *Event) Healthy() bool
- func (sue *Event) MesosTaskID() *pbmesos.TaskID
- func (sue *Event) MesosTaskStatus() *pbmesos.TaskStatus
- func (sue *Event) Message() string
- func (sue *Event) Offset() uint64
- func (sue *Event) PodEvent() *pbpod.PodEvent
- func (sue *Event) Reason() string
- func (sue *Event) State() pbtask.TaskState
- func (sue *Event) StatusMsg() string
- func (sue *Event) TaskID() string
- func (sue *Event) Timestamp() *float64
- func (sue *Event) V0() *pbeventstream.Event
- func (sue *Event) V1() *v1pbevent.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event provides a common interface to v0 and v1 event.
func (*Event) MesosTaskID ¶
MesosTaskID returns mesos task ID.
func (*Event) MesosTaskStatus ¶
func (sue *Event) MesosTaskStatus() *pbmesos.TaskStatus
MesosTaskStatus returns mesos task status for v0 event only.
func (*Event) TaskID ¶
TaskID returns task ID of the event. It is the peloton task id for v0 event and pod id for v1 event.
Click to show internal directories.
Click to hide internal directories.