Documentation ¶
Index ¶
- Variables
- type LabelPair
- func (*LabelPair) Descriptor() ([]byte, []int)deprecated
- func (x *LabelPair) GetName() string
- func (x *LabelPair) GetValue() string
- func (m *LabelPair) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LabelPair) MarshalToVT(dAtA []byte) (int, error)
- func (m *LabelPair) MarshalVT() (dAtA []byte, err error)
- func (*LabelPair) ProtoMessage()
- func (x *LabelPair) ProtoReflect() protoreflect.Message
- func (x *LabelPair) Reset()
- func (m *LabelPair) SizeVT() (n int)
- func (x *LabelPair) String() string
- func (m *LabelPair) UnmarshalVT(dAtA []byte) error
- type Labels
- func (*Labels) Descriptor() ([]byte, []int)deprecated
- func (x *Labels) GetLabels() []*LabelPair
- func (m *Labels) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Labels) MarshalToVT(dAtA []byte) (int, error)
- func (m *Labels) MarshalVT() (dAtA []byte, err error)
- func (*Labels) ProtoMessage()
- func (x *Labels) ProtoReflect() protoreflect.Message
- func (x *Labels) Reset()
- func (m *Labels) SizeVT() (n int)
- func (x *Labels) String() string
- func (m *Labels) UnmarshalVT(dAtA []byte) error
- type Point
- func (*Point) Descriptor() ([]byte, []int)deprecated
- func (x *Point) GetTimestamp() int64
- func (x *Point) GetValue() float64
- func (m *Point) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Point) MarshalToVT(dAtA []byte) (int, error)
- func (m *Point) MarshalVT() (dAtA []byte, err error)
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (m *Point) SizeVT() (n int)
- func (x *Point) String() string
- func (m *Point) UnmarshalVT(dAtA []byte) error
- type ProfileType
- func (*ProfileType) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileType) GetID() string
- func (x *ProfileType) GetName() string
- func (x *ProfileType) GetPeriodType() string
- func (x *ProfileType) GetPeriodUnit() string
- func (x *ProfileType) GetSampleType() string
- func (x *ProfileType) GetSampleUnit() string
- func (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)
- func (m *ProfileType) MarshalVT() (dAtA []byte, err error)
- func (*ProfileType) ProtoMessage()
- func (x *ProfileType) ProtoReflect() protoreflect.Message
- func (x *ProfileType) Reset()
- func (m *ProfileType) SizeVT() (n int)
- func (x *ProfileType) String() string
- func (m *ProfileType) UnmarshalVT(dAtA []byte) error
- type Series
- func (*Series) Descriptor() ([]byte, []int)deprecated
- func (x *Series) GetLabels() []*LabelPair
- func (x *Series) GetPoints() []*Point
- func (m *Series) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Series) MarshalToVT(dAtA []byte) (int, error)
- func (m *Series) MarshalVT() (dAtA []byte, err error)
- func (*Series) ProtoMessage()
- func (x *Series) ProtoReflect() protoreflect.Message
- func (x *Series) Reset()
- func (m *Series) SizeVT() (n int)
- func (x *Series) String() string
- func (m *Series) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_types_v1_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LabelPair ¶
type LabelPair struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LabelPair) Descriptor
deprecated
func (*LabelPair) MarshalToSizedBufferVT ¶
func (*LabelPair) ProtoMessage ¶
func (*LabelPair) ProtoMessage()
func (*LabelPair) ProtoReflect ¶
func (x *LabelPair) ProtoReflect() protoreflect.Message
func (*LabelPair) UnmarshalVT ¶
type Labels ¶
type Labels struct { // LabelPair is the key value pairs to identify the corresponding profile Labels []*LabelPair `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Labels) Descriptor
deprecated
func (*Labels) MarshalToSizedBufferVT ¶
func (*Labels) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) ProtoReflect ¶
func (x *Labels) ProtoReflect() protoreflect.Message
func (*Labels) UnmarshalVT ¶
type Point ¶
type Point struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // Milliseconds unix timestamp Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) GetTimestamp ¶
func (*Point) MarshalToSizedBufferVT ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
func (*Point) UnmarshalVT ¶
type ProfileType ¶
type ProfileType struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` SampleType string `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` SampleUnit string `protobuf:"bytes,5,opt,name=sample_unit,json=sampleUnit,proto3" json:"sample_unit,omitempty"` PeriodType string `protobuf:"bytes,6,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"` PeriodUnit string `protobuf:"bytes,7,opt,name=period_unit,json=periodUnit,proto3" json:"period_unit,omitempty"` // contains filtered or unexported fields }
func (*ProfileType) Descriptor
deprecated
func (*ProfileType) Descriptor() ([]byte, []int)
Deprecated: Use ProfileType.ProtoReflect.Descriptor instead.
func (*ProfileType) GetID ¶
func (x *ProfileType) GetID() string
func (*ProfileType) GetName ¶
func (x *ProfileType) GetName() string
func (*ProfileType) GetPeriodType ¶
func (x *ProfileType) GetPeriodType() string
func (*ProfileType) GetPeriodUnit ¶
func (x *ProfileType) GetPeriodUnit() string
func (*ProfileType) GetSampleType ¶
func (x *ProfileType) GetSampleType() string
func (*ProfileType) GetSampleUnit ¶
func (x *ProfileType) GetSampleUnit() string
func (*ProfileType) MarshalToSizedBufferVT ¶
func (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileType) MarshalToVT ¶
func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileType) MarshalVT ¶
func (m *ProfileType) MarshalVT() (dAtA []byte, err error)
func (*ProfileType) ProtoMessage ¶
func (*ProfileType) ProtoMessage()
func (*ProfileType) ProtoReflect ¶
func (x *ProfileType) ProtoReflect() protoreflect.Message
func (*ProfileType) Reset ¶
func (x *ProfileType) Reset()
func (*ProfileType) SizeVT ¶
func (m *ProfileType) SizeVT() (n int)
func (*ProfileType) String ¶
func (x *ProfileType) String() string
func (*ProfileType) UnmarshalVT ¶
func (m *ProfileType) UnmarshalVT(dAtA []byte) error
type Series ¶
type Series struct { Labels []*LabelPair `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` Points []*Point `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*Series) Descriptor
deprecated
func (*Series) MarshalToSizedBufferVT ¶
func (*Series) ProtoMessage ¶
func (*Series) ProtoMessage()
func (*Series) ProtoReflect ¶
func (x *Series) ProtoReflect() protoreflect.Message
func (*Series) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.