Documentation
¶
Index ¶
- Variables
- type FileChunk
- func (*FileChunk) Descriptor() ([]byte, []int)deprecated
- func (x *FileChunk) GetData() []byte
- func (x *FileChunk) GetFileName() string
- func (x *FileChunk) GetSeq() int32
- func (x *FileChunk) GetState() FileChunk_State
- func (*FileChunk) ProtoMessage()
- func (x *FileChunk) ProtoReflect() protoreflect.Message
- func (x *FileChunk) Reset()
- func (x *FileChunk) String() string
- type FileChunk_State
- func (FileChunk_State) Descriptor() protoreflect.EnumDescriptor
- func (x FileChunk_State) Enum() *FileChunk_State
- func (FileChunk_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileChunk_State) Number() protoreflect.EnumNumber
- func (x FileChunk_State) String() string
- func (FileChunk_State) Type() protoreflect.EnumType
- type Node
- type NodeCmd
- func (*NodeCmd) Descriptor() ([]byte, []int)deprecated
- func (x *NodeCmd) GetCmd() string
- func (x *NodeCmd) GetDetail() string
- func (x *NodeCmd) GetId() string
- func (*NodeCmd) ProtoMessage()
- func (x *NodeCmd) ProtoReflect() protoreflect.Message
- func (x *NodeCmd) Reset()
- func (x *NodeCmd) String() string
- type NodeVersion
- func (*NodeVersion) Descriptor() ([]byte, []int)deprecated
- func (x *NodeVersion) GetApp() string
- func (x *NodeVersion) GetHw() string
- func (x *NodeVersion) GetOs() string
- func (*NodeVersion) ProtoMessage()
- func (x *NodeVersion) ProtoReflect() protoreflect.Message
- func (x *NodeVersion) Reset()
- func (x *NodeVersion) String() string
- type Point
- func (*Point) Descriptor() ([]byte, []int)deprecated
- func (x *Point) GetDuration() *duration.Duration
- func (x *Point) GetId() string
- func (x *Point) GetIndex() int32
- func (x *Point) GetMax() float32
- func (x *Point) GetMin() float32
- func (x *Point) GetText() string
- func (x *Point) GetTime() *timestamp.Timestamp
- func (x *Point) GetType() string
- func (x *Point) GetValue() float32
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) String() string
- type Points
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetDuration() *duration.Duration
- func (x *Sample) GetId() string
- func (x *Sample) GetTime() *timestamp.Timestamp
- func (x *Sample) GetType() string
- func (x *Sample) GetValue() float32
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (x *Sample) String() string
- type Samples
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FileChunk_State_name = map[int32]string{ 0: "NONE", 2: "DONE", 3: "ERROR", } FileChunk_State_value = map[string]int32{ "NONE": 0, "DONE": 2, "ERROR": 3, } )
Enum value maps for FileChunk_State.
View Source
var File_internal_pb_file_chunk_proto protoreflect.FileDescriptor
View Source
var File_internal_pb_node_proto protoreflect.FileDescriptor
View Source
var File_internal_pb_point_proto protoreflect.FileDescriptor
View Source
var File_internal_pb_sample_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileChunk ¶
type FileChunk struct {
State FileChunk_State `protobuf:"varint,1,opt,name=state,proto3,enum=pb.FileChunk_State" json:"state,omitempty"`
Seq int32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"`
// contains filtered or unexported fields
}
func (*FileChunk) Descriptor
deprecated
func (*FileChunk) GetFileName ¶
func (*FileChunk) GetState ¶
func (x *FileChunk) GetState() FileChunk_State
func (*FileChunk) ProtoMessage ¶
func (*FileChunk) ProtoMessage()
func (*FileChunk) ProtoReflect ¶
func (x *FileChunk) ProtoReflect() protoreflect.Message
type FileChunk_State ¶
type FileChunk_State int32
const ( FileChunk_NONE FileChunk_State = 0 FileChunk_DONE FileChunk_State = 2 FileChunk_ERROR FileChunk_State = 3 )
func (FileChunk_State) Descriptor ¶
func (FileChunk_State) Descriptor() protoreflect.EnumDescriptor
func (FileChunk_State) Enum ¶
func (x FileChunk_State) Enum() *FileChunk_State
func (FileChunk_State) EnumDescriptor
deprecated
func (FileChunk_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileChunk_State.Descriptor instead.
func (FileChunk_State) Number ¶
func (x FileChunk_State) Number() protoreflect.EnumNumber
func (FileChunk_State) String ¶
func (x FileChunk_State) String() string
func (FileChunk_State) Type ¶
func (FileChunk_State) Type() protoreflect.EnumType
type Node ¶ added in v0.0.22
type Node struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
added in
v0.0.22
func (*Node) ProtoMessage ¶ added in v0.0.22
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.0.22
func (x *Node) ProtoReflect() protoreflect.Message
type NodeCmd ¶ added in v0.0.12
type NodeCmd struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
// contains filtered or unexported fields
}
func (*NodeCmd) Descriptor
deprecated
added in
v0.0.12
func (*NodeCmd) ProtoMessage ¶ added in v0.0.12
func (*NodeCmd) ProtoMessage()
func (*NodeCmd) ProtoReflect ¶ added in v0.0.12
func (x *NodeCmd) ProtoReflect() protoreflect.Message
type NodeVersion ¶ added in v0.0.12
type NodeVersion struct {
Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
Hw string `protobuf:"bytes,3,opt,name=hw,proto3" json:"hw,omitempty"`
// contains filtered or unexported fields
}
func (*NodeVersion) Descriptor
deprecated
added in
v0.0.12
func (*NodeVersion) Descriptor() ([]byte, []int)
Deprecated: Use NodeVersion.ProtoReflect.Descriptor instead.
func (*NodeVersion) GetApp ¶ added in v0.0.12
func (x *NodeVersion) GetApp() string
func (*NodeVersion) GetHw ¶ added in v0.0.12
func (x *NodeVersion) GetHw() string
func (*NodeVersion) GetOs ¶ added in v0.0.12
func (x *NodeVersion) GetOs() string
func (*NodeVersion) ProtoMessage ¶ added in v0.0.12
func (*NodeVersion) ProtoMessage()
func (*NodeVersion) ProtoReflect ¶ added in v0.0.12
func (x *NodeVersion) ProtoReflect() protoreflect.Message
func (*NodeVersion) Reset ¶ added in v0.0.12
func (x *NodeVersion) Reset()
func (*NodeVersion) String ¶ added in v0.0.12
func (x *NodeVersion) String() string
type Point ¶ added in v0.0.11
type Point struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Value float32 `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"`
Time *timestamp.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
Index int32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"`
Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"`
Min float32 `protobuf:"fixed32,9,opt,name=min,proto3" json:"min,omitempty"`
Max float32 `protobuf:"fixed32,10,opt,name=max,proto3" json:"max,omitempty"`
// contains filtered or unexported fields
}
func (*Point) Descriptor
deprecated
added in
v0.0.11
func (*Point) GetDuration ¶ added in v0.0.11
func (*Point) ProtoMessage ¶ added in v0.0.11
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶ added in v0.0.11
func (x *Point) ProtoReflect() protoreflect.Message
type Points ¶ added in v0.0.11
type Points struct {
Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
// contains filtered or unexported fields
}
func (*Points) Descriptor
deprecated
added in
v0.0.11
func (*Points) ProtoMessage ¶ added in v0.0.11
func (*Points) ProtoMessage()
func (*Points) ProtoReflect ¶ added in v0.0.11
func (x *Points) ProtoReflect() protoreflect.Message
type Sample ¶
type Sample struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Value float32 `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"`
Time *timestamp.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
// contains filtered or unexported fields
}
func (*Sample) Descriptor
deprecated
func (*Sample) GetDuration ¶
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶
func (x *Sample) ProtoReflect() protoreflect.Message
type Samples ¶
type Samples struct {
Samples []*Sample `protobuf:"bytes,1,rep,name=samples,proto3" json:"samples,omitempty"`
// contains filtered or unexported fields
}
func (*Samples) Descriptor
deprecated
func (*Samples) GetSamples ¶
func (*Samples) ProtoMessage ¶
func (*Samples) ProtoMessage()
func (*Samples) ProtoReflect ¶
func (x *Samples) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.