Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
Identifier Value ValueList
Index ¶
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)
- func (m *Identifier) GetHost() string
- func (m *Identifier) GetPlugin() string
- func (m *Identifier) GetPluginInstance() string
- func (m *Identifier) GetType() string
- func (m *Identifier) GetTypeInstance() string
- func (*Identifier) ProtoMessage()
- func (m *Identifier) Reset()
- func (m *Identifier) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetAbsolute() uint64
- func (m *Value) GetCounter() uint64
- func (m *Value) GetDerive() int64
- func (m *Value) GetGauge() float64
- func (m *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ValueList
- func (*ValueList) Descriptor() ([]byte, []int)
- func (m *ValueList) GetDsNames() []string
- func (m *ValueList) GetIdentifier() *Identifier
- func (m *ValueList) GetInterval() *google_protobuf.Duration
- func (m *ValueList) GetTime() *google_protobuf1.Timestamp
- func (m *ValueList) GetValues() []*Value
- func (*ValueList) ProtoMessage()
- func (m *ValueList) Reset()
- func (m *ValueList) String() string
- type Value_Absolute
- type Value_Counter
- type Value_Derive
- type Value_Gauge
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
type Identifier struct { Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` Plugin string `protobuf:"bytes,2,opt,name=plugin" json:"plugin,omitempty"` PluginInstance string `protobuf:"bytes,3,opt,name=plugin_instance,json=pluginInstance" json:"plugin_instance,omitempty"` Type string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` TypeInstance string `protobuf:"bytes,5,opt,name=type_instance,json=typeInstance" json:"type_instance,omitempty"` }
func (*Identifier) Descriptor ¶
func (*Identifier) Descriptor() ([]byte, []int)
func (*Identifier) GetHost ¶ added in v0.4.0
func (m *Identifier) GetHost() string
func (*Identifier) GetPlugin ¶ added in v0.4.0
func (m *Identifier) GetPlugin() string
func (*Identifier) GetPluginInstance ¶ added in v0.4.0
func (m *Identifier) GetPluginInstance() string
func (*Identifier) GetType ¶ added in v0.4.0
func (m *Identifier) GetType() string
func (*Identifier) GetTypeInstance ¶ added in v0.4.0
func (m *Identifier) GetTypeInstance() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) Reset ¶
func (m *Identifier) Reset()
func (*Identifier) String ¶
func (m *Identifier) String() string
type Value ¶
type Value struct { // Types that are valid to be assigned to Value: // *Value_Counter // *Value_Gauge // *Value_Derive // *Value_Absolute Value isValue_Value `protobuf_oneof:"value"` }
func (*Value) Descriptor ¶
func (*Value) GetAbsolute ¶
func (*Value) GetCounter ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
type ValueList ¶
type ValueList struct { Values []*Value `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"` Time *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=time" json:"time,omitempty"` Interval *google_protobuf.Duration `protobuf:"bytes,3,opt,name=interval" json:"interval,omitempty"` Identifier *Identifier `protobuf:"bytes,4,opt,name=identifier" json:"identifier,omitempty"` DsNames []string `protobuf:"bytes,5,rep,name=ds_names,json=dsNames" json:"ds_names,omitempty"` }
func (*ValueList) Descriptor ¶
func (*ValueList) GetDsNames ¶ added in v0.4.0
func (*ValueList) GetIdentifier ¶
func (m *ValueList) GetIdentifier() *Identifier
func (*ValueList) GetInterval ¶
func (m *ValueList) GetInterval() *google_protobuf.Duration
func (*ValueList) GetTime ¶
func (m *ValueList) GetTime() *google_protobuf1.Timestamp
func (*ValueList) ProtoMessage ¶
func (*ValueList) ProtoMessage()
type Value_Absolute ¶
type Value_Absolute struct {
Absolute uint64 `protobuf:"varint,4,opt,name=absolute,oneof"`
}
type Value_Counter ¶
type Value_Counter struct {
Counter uint64 `protobuf:"varint,1,opt,name=counter,oneof"`
}
type Value_Derive ¶
type Value_Derive struct {
Derive int64 `protobuf:"varint,3,opt,name=derive,oneof"`
}
type Value_Gauge ¶
type Value_Gauge struct {
Gauge float64 `protobuf:"fixed64,2,opt,name=gauge,oneof"`
}
Click to show internal directories.
Click to hide internal directories.