service

package
v0.0.0-...-f2cd14d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2016 License: GPL-3.0 Imports: 9 Imported by: 0

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

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 NewPopulatedHeartbeat(r randyService, easy bool) *Heartbeat

func (*Heartbeat) Equal

func (this *Heartbeat) Equal(that interface{}) bool

func (*Heartbeat) GetCreationDatetime

func (m *Heartbeat) GetCreationDatetime() string

func (*Heartbeat) GetCurrentDatetime

func (m *Heartbeat) GetCurrentDatetime() string

func (*Heartbeat) GetDescription

func (m *Heartbeat) GetDescription() string

func (*Heartbeat) GetId

func (m *Heartbeat) GetId() string

func (*Heartbeat) GetMachine

func (m *Heartbeat) GetMachine() string

func (*Heartbeat) GetName

func (m *Heartbeat) GetName() string

func (*Heartbeat) GetStatus

func (m *Heartbeat) GetStatus() Heartbeat_Status

func (*Heartbeat) GoString

func (this *Heartbeat) GoString() string

func (*Heartbeat) Marshal

func (m *Heartbeat) Marshal() (data []byte, err error)

func (*Heartbeat) MarshalTo

func (m *Heartbeat) MarshalTo(data []byte) (n int, err error)

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) Reset

func (m *Heartbeat) Reset()

func (*Heartbeat) Size

func (m *Heartbeat) Size() (n int)

func (*Heartbeat) String

func (this *Heartbeat) String() string

func (*Heartbeat) Unmarshal

func (m *Heartbeat) Unmarshal(data []byte) error

func (*Heartbeat) VerboseEqual

func (this *Heartbeat) VerboseEqual(that interface{}) error

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 (Heartbeat_Status) String

func (x Heartbeat_Status) String() string

func (*Heartbeat_Status) UnmarshalJSON

func (x *Heartbeat_Status) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL