proto

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2015 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Key              *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
	Value            *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Attribute) GetKey

func (this *Attribute) GetKey() string

func (*Attribute) GetValue

func (this *Attribute) GetValue() string

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) Reset

func (this *Attribute) Reset()

func (*Attribute) String

func (this *Attribute) String() string

type Event

type Event struct {
	Time             *int64       `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
	State            *string      `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	Service          *string      `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
	Host             *string      `protobuf:"bytes,4,opt,name=host" json:"host,omitempty"`
	Description      *string      `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Tags             []string     `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
	Ttl              *float32     `protobuf:"fixed32,8,opt,name=ttl" json:"ttl,omitempty"`
	Attributes       []*Attribute `protobuf:"bytes,9,rep,name=attributes" json:"attributes,omitempty"`
	MetricSint64     *int64       `protobuf:"zigzag64,13,opt,name=metric_sint64" json:"metric_sint64,omitempty"`
	MetricD          *float64     `protobuf:"fixed64,14,opt,name=metric_d" json:"metric_d,omitempty"`
	MetricF          *float32     `protobuf:"fixed32,15,opt,name=metric_f" json:"metric_f,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*Event) GetAttributes

func (this *Event) GetAttributes() []*Attribute

func (*Event) GetDescription

func (this *Event) GetDescription() string

func (*Event) GetHost

func (this *Event) GetHost() string

func (*Event) GetMetricD

func (this *Event) GetMetricD() float64

func (*Event) GetMetricF

func (this *Event) GetMetricF() float32

func (*Event) GetMetricSint64

func (this *Event) GetMetricSint64() int64

func (*Event) GetService

func (this *Event) GetService() string

func (*Event) GetState

func (this *Event) GetState() string

func (*Event) GetTags

func (this *Event) GetTags() []string

func (*Event) GetTime

func (this *Event) GetTime() int64

func (*Event) GetTtl

func (this *Event) GetTtl() float32

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (this *Event) Reset()

func (*Event) String

func (this *Event) String() string

type Msg

type Msg struct {
	Ok               *bool    `protobuf:"varint,2,opt,name=ok" json:"ok,omitempty"`
	Error            *string  `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	States           []*State `protobuf:"bytes,4,rep,name=states" json:"states,omitempty"`
	Query            *Query   `protobuf:"bytes,5,opt,name=query" json:"query,omitempty"`
	Events           []*Event `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Msg) GetError

func (this *Msg) GetError() string

func (*Msg) GetEvents

func (this *Msg) GetEvents() []*Event

func (*Msg) GetOk

func (this *Msg) GetOk() bool

func (*Msg) GetQuery

func (this *Msg) GetQuery() *Query

func (*Msg) GetStates

func (this *Msg) GetStates() []*State

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (this *Msg) Reset()

func (*Msg) String

func (this *Msg) String() string

type Query

type Query struct {
	String_          *string `protobuf:"bytes,1,opt,name=string" json:"string,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Query) GetString_

func (this *Query) GetString_() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (this *Query) Reset()

func (*Query) String

func (this *Query) String() string

type State

type State struct {
	Time             *int64   `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
	State            *string  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	Service          *string  `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
	Host             *string  `protobuf:"bytes,4,opt,name=host" json:"host,omitempty"`
	Description      *string  `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Once             *bool    `protobuf:"varint,6,opt,name=once" json:"once,omitempty"`
	Tags             []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
	Ttl              *float32 `protobuf:"fixed32,8,opt,name=ttl" json:"ttl,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*State) GetDescription

func (this *State) GetDescription() string

func (*State) GetHost

func (this *State) GetHost() string

func (*State) GetOnce

func (this *State) GetOnce() bool

func (*State) GetService

func (this *State) GetService() string

func (*State) GetState

func (this *State) GetState() string

func (*State) GetTags

func (this *State) GetTags() []string

func (*State) GetTime

func (this *State) GetTime() int64

func (*State) GetTtl

func (this *State) GetTtl() float32

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (this *State) Reset()

func (*State) String

func (this *State) String() string

Jump to

Keyboard shortcuts

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