Documentation ¶
Overview ¶
Package service is a generated protocol buffer package.
It is generated from these files:
service/service.proto
It has these top-level messages:
Heartbeat
Index ¶
- Variables
- type Heartbeat
- func (this *Heartbeat) Equal(that interface{}) bool
- func (m *Heartbeat) GetCreationDatetime() string
- func (m *Heartbeat) GetCurrentDatetime() string
- func (m *Heartbeat) GetDescription() string
- func (m *Heartbeat) GetId() string
- func (m *Heartbeat) GetMachine() string
- func (m *Heartbeat) GetName() string
- func (m *Heartbeat) GetStatus() Heartbeat_Status
- func (this *Heartbeat) GoString() string
- func (m *Heartbeat) Marshal() (data []byte, err error)
- func (m *Heartbeat) MarshalTo(data []byte) (n int, err error)
- func (*Heartbeat) ProtoMessage()
- func (m *Heartbeat) Reset()
- func (m *Heartbeat) Size() (n int)
- func (this *Heartbeat) String() string
- func (m *Heartbeat) Unmarshal(data []byte) error
- func (this *Heartbeat) VerboseEqual(that interface{}) error
- type Heartbeat_Status
Constants ¶
This section is empty.
Variables ¶
View Source
var Heartbeat_Status_name = map[int32]string{
0: "STOPPED",
1: "STARTING",
2: "RUNNING",
3: "ERROR",
4: "STOPPING",
}
View Source
var Heartbeat_Status_value = map[string]int32{
"STOPPED": 0,
"STARTING": 1,
"RUNNING": 2,
"ERROR": 3,
"STOPPING": 4,
}
Functions ¶
This section is empty.
Types ¶
type Heartbeat ¶
type Heartbeat struct { Name string `protobuf:"bytes,1,req,name=name" json:"name"` Id string `protobuf:"bytes,2,opt,name=id" json:"id"` Machine string `protobuf:"bytes,3,opt,name=machine" json:"machine"` Status Heartbeat_Status `protobuf:"varint,4,opt,name=status,enum=proto.service.Heartbeat_Status" json:"status"` CurrentDatetime string `protobuf:"bytes,5,opt,name=current_datetime" json:"current_datetime"` CreationDatetime string `protobuf:"bytes,6,opt,name=creation_datetime" json:"creation_datetime"` Description string `protobuf:"bytes,7,opt,name=description" json:"description"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedHeartbeat ¶
func (*Heartbeat) GetCreationDatetime ¶
func (*Heartbeat) GetCurrentDatetime ¶
func (*Heartbeat) GetDescription ¶
func (*Heartbeat) GetMachine ¶
func (*Heartbeat) GetStatus ¶
func (m *Heartbeat) GetStatus() Heartbeat_Status
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) VerboseEqual ¶
type Heartbeat_Status ¶
type Heartbeat_Status int32
const ( STOPPED Heartbeat_Status = 0 STARTING Heartbeat_Status = 1 RUNNING Heartbeat_Status = 2 ERROR Heartbeat_Status = 3 STOPPING Heartbeat_Status = 4 )
func (Heartbeat_Status) Enum ¶
func (x Heartbeat_Status) Enum() *Heartbeat_Status
func (Heartbeat_Status) String ¶
func (x Heartbeat_Status) String() string
func (*Heartbeat_Status) UnmarshalJSON ¶
func (x *Heartbeat_Status) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.