Documentation ¶
Index ¶
- Variables
- func MapFromList(l *MetricsList) map[string]interface{}
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (this *Metric) Equal(that interface{}) bool
- func (m *Metric) GetKey() string
- func (m *Metric) GetValString() string
- func (m *Metric) GetValUint64() uint64
- func (m *Metric) GetValue() isMetric_Value
- func (this *Metric) GoString() string
- func (m *Metric) Marshal() (dAtA []byte, err error)
- func (m *Metric) MarshalTo(dAtA []byte) (int, error)
- func (m *Metric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metric) ProtoMessage()
- func (m *Metric) Reset()
- func (m *Metric) Size() (n int)
- func (this *Metric) String() string
- func (m *Metric) Unmarshal(dAtA []byte) error
- func (m *Metric) XXX_DiscardUnknown()
- func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metric) XXX_Merge(src proto.Message)
- func (*Metric) XXX_OneofWrappers() []interface{}
- func (m *Metric) XXX_Size() int
- func (m *Metric) XXX_Unmarshal(b []byte) error
- type Metric_ValString
- func (this *Metric_ValString) Equal(that interface{}) bool
- func (this *Metric_ValString) GoString() string
- func (m *Metric_ValString) MarshalTo(dAtA []byte) (int, error)
- func (m *Metric_ValString) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Metric_ValString) Size() (n int)
- func (this *Metric_ValString) String() string
- type Metric_ValUint64
- func (this *Metric_ValUint64) Equal(that interface{}) bool
- func (this *Metric_ValUint64) GoString() string
- func (m *Metric_ValUint64) MarshalTo(dAtA []byte) (int, error)
- func (m *Metric_ValUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Metric_ValUint64) Size() (n int)
- func (this *Metric_ValUint64) String() string
- type MetricsList
- func (*MetricsList) Descriptor() ([]byte, []int)
- func (this *MetricsList) Equal(that interface{}) bool
- func (m *MetricsList) GetMetrics() []Metric
- func (this *MetricsList) GoString() string
- func (m *MetricsList) Marshal() (dAtA []byte, err error)
- func (m *MetricsList) MarshalTo(dAtA []byte) (int, error)
- func (m *MetricsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetricsList) ProtoMessage()
- func (m *MetricsList) Reset()
- func (m *MetricsList) Size() (n int)
- func (this *MetricsList) String() string
- func (m *MetricsList) Unmarshal(dAtA []byte) error
- func (m *MetricsList) XXX_DiscardUnknown()
- func (m *MetricsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsList) XXX_Merge(src proto.Message)
- func (m *MetricsList) XXX_Size() int
- func (m *MetricsList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MapFromList ¶
func MapFromList(l *MetricsList) map[string]interface{}
MapFromList returns a map with the values from the list
Types ¶
type Metric ¶
type Metric struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` // Types that are valid to be assigned to Value: // // *Metric_ValUint64 // *Metric_ValString Value isMetric_Value `protobuf_oneof:"Value"` }
func (*Metric) Descriptor ¶
func (*Metric) GetValString ¶
func (*Metric) GetValUint64 ¶
func (*Metric) MarshalToSizedBuffer ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) XXX_DiscardUnknown ¶
func (m *Metric) XXX_DiscardUnknown()
func (*Metric) XXX_Marshal ¶
func (*Metric) XXX_OneofWrappers ¶
func (*Metric) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Metric) XXX_Unmarshal ¶
type Metric_ValString ¶
type Metric_ValString struct {
ValString string `protobuf:"bytes,3,opt,name=ValString,proto3,oneof" json:"ValString,omitempty"`
}
func (*Metric_ValString) Equal ¶
func (this *Metric_ValString) Equal(that interface{}) bool
func (*Metric_ValString) GoString ¶
func (this *Metric_ValString) GoString() string
func (*Metric_ValString) MarshalToSizedBuffer ¶
func (m *Metric_ValString) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Metric_ValString) Size ¶
func (m *Metric_ValString) Size() (n int)
func (*Metric_ValString) String ¶
func (this *Metric_ValString) String() string
type Metric_ValUint64 ¶
type Metric_ValUint64 struct {
ValUint64 uint64 `protobuf:"varint,2,opt,name=ValUint64,proto3,oneof" json:"ValUint64,omitempty"`
}
func (*Metric_ValUint64) Equal ¶
func (this *Metric_ValUint64) Equal(that interface{}) bool
func (*Metric_ValUint64) GoString ¶
func (this *Metric_ValUint64) GoString() string
func (*Metric_ValUint64) MarshalToSizedBuffer ¶
func (m *Metric_ValUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Metric_ValUint64) Size ¶
func (m *Metric_ValUint64) Size() (n int)
func (*Metric_ValUint64) String ¶
func (this *Metric_ValUint64) String() string
type MetricsList ¶
type MetricsList struct {
Metrics []Metric `protobuf:"bytes,1,rep,name=Metrics,proto3" json:"Metrics"`
}
func ListFromMap ¶
func ListFromMap(metricsMap map[string]interface{}) *MetricsList
ListFromMap returns a list of values from the provided map
func (*MetricsList) Descriptor ¶
func (*MetricsList) Descriptor() ([]byte, []int)
func (*MetricsList) Equal ¶
func (this *MetricsList) Equal(that interface{}) bool
func (*MetricsList) GetMetrics ¶
func (m *MetricsList) GetMetrics() []Metric
func (*MetricsList) GoString ¶
func (this *MetricsList) GoString() string
func (*MetricsList) Marshal ¶
func (m *MetricsList) Marshal() (dAtA []byte, err error)
func (*MetricsList) MarshalToSizedBuffer ¶
func (m *MetricsList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetricsList) ProtoMessage ¶
func (*MetricsList) ProtoMessage()
func (*MetricsList) Reset ¶
func (m *MetricsList) Reset()
func (*MetricsList) Size ¶
func (m *MetricsList) Size() (n int)
func (*MetricsList) String ¶
func (this *MetricsList) String() string
func (*MetricsList) Unmarshal ¶
func (m *MetricsList) Unmarshal(dAtA []byte) error
func (*MetricsList) XXX_DiscardUnknown ¶
func (m *MetricsList) XXX_DiscardUnknown()
func (*MetricsList) XXX_Marshal ¶
func (m *MetricsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsList) XXX_Merge ¶
func (m *MetricsList) XXX_Merge(src proto.Message)
func (*MetricsList) XXX_Size ¶
func (m *MetricsList) XXX_Size() int
func (*MetricsList) XXX_Unmarshal ¶
func (m *MetricsList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.