Documentation ¶
Index ¶
- Variables
- func DecodeJson(m *JsonMap) map[string]interface{}
- func DecodeTags(tags map[string]*TagValue) map[string]interface{}
- func EncodeTags(tags map[string]interface{}) (map[string]*TagValue, error)
- type CommandType
- func (CommandType) Descriptor() protoreflect.EnumDescriptor
- func (x CommandType) Enum() *CommandType
- func (CommandType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandType) Number() protoreflect.EnumNumber
- func (x CommandType) String() string
- func (CommandType) Type() protoreflect.EnumType
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetConfigTypeId() string
- func (x *Config) GetData() *JsonMap
- func (x *Config) GetId() string
- func (x *Config) GetName() string
- func (x *Config) GetTags() map[string]*TagValue
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type CreateEdgeTerminatorCommand
- func (*CreateEdgeTerminatorCommand) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEdgeTerminatorCommand) GetCommandType() int32
- func (x *CreateEdgeTerminatorCommand) GetTerminatorData() []byte
- func (*CreateEdgeTerminatorCommand) ProtoMessage()
- func (x *CreateEdgeTerminatorCommand) ProtoReflect() protoreflect.Message
- func (x *CreateEdgeTerminatorCommand) Reset()
- func (x *CreateEdgeTerminatorCommand) String() string
- type JsonMap
- type JsonValue
- func (*JsonValue) Descriptor() ([]byte, []int)deprecated
- func (x *JsonValue) GetBoolValue() bool
- func (x *JsonValue) GetFpValue() float64
- func (x *JsonValue) GetMapValue() *JsonMap
- func (x *JsonValue) GetNilValue() bool
- func (x *JsonValue) GetStringValue() string
- func (m *JsonValue) GetValue() isJsonValue_Value
- func (*JsonValue) ProtoMessage()
- func (x *JsonValue) ProtoReflect() protoreflect.Message
- func (x *JsonValue) Reset()
- func (x *JsonValue) String() string
- type JsonValue_BoolValue
- type JsonValue_FpValue
- type JsonValue_MapValue
- type JsonValue_NilValue
- type JsonValue_StringValue
- type TagValue
- func (*TagValue) Descriptor() ([]byte, []int)deprecated
- func (x *TagValue) GetBoolValue() bool
- func (x *TagValue) GetFpValue() float64
- func (x *TagValue) GetNilValue() bool
- func (x *TagValue) GetStringValue() string
- func (m *TagValue) GetValue() isTagValue_Value
- func (*TagValue) ProtoMessage()
- func (x *TagValue) ProtoReflect() protoreflect.Message
- func (x *TagValue) Reset()
- func (x *TagValue) String() string
- type TagValue_BoolValue
- type TagValue_FpValue
- type TagValue_NilValue
- type TagValue_StringValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommandType_name = map[int32]string{ 0: "Zero", 1000: "CreateEdgeTerminatorType", } CommandType_value = map[string]int32{ "Zero": 0, "CreateEdgeTerminatorType": 1000, } )
Enum value maps for CommandType.
View Source
var File_edge_cmd_proto protoreflect.FileDescriptor
Functions ¶
func DecodeJson ¶
func DecodeTags ¶
Types ¶
type CommandType ¶
type CommandType int32
const ( CommandType_Zero CommandType = 0 CommandType_CreateEdgeTerminatorType CommandType = 1000 )
func (CommandType) Descriptor ¶
func (CommandType) Descriptor() protoreflect.EnumDescriptor
func (CommandType) Enum ¶
func (x CommandType) Enum() *CommandType
func (CommandType) EnumDescriptor
deprecated
func (CommandType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandType.Descriptor instead.
func (CommandType) Number ¶
func (x CommandType) Number() protoreflect.EnumNumber
func (CommandType) String ¶
func (x CommandType) String() string
func (CommandType) Type ¶
func (CommandType) Type() protoreflect.EnumType
type Config ¶
type Config 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"` ConfigTypeId string `protobuf:"bytes,3,opt,name=configTypeId,proto3" json:"configTypeId,omitempty"` Data *JsonMap `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Tags map[string]*TagValue `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetConfigTypeId ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CreateEdgeTerminatorCommand ¶
type CreateEdgeTerminatorCommand struct { TerminatorData []byte `protobuf:"bytes,1,opt,name=terminatorData,proto3" json:"terminatorData,omitempty"` // contains filtered or unexported fields }
func (*CreateEdgeTerminatorCommand) Descriptor
deprecated
func (*CreateEdgeTerminatorCommand) Descriptor() ([]byte, []int)
Deprecated: Use CreateEdgeTerminatorCommand.ProtoReflect.Descriptor instead.
func (*CreateEdgeTerminatorCommand) GetCommandType ¶
func (x *CreateEdgeTerminatorCommand) GetCommandType() int32
func (*CreateEdgeTerminatorCommand) GetTerminatorData ¶
func (x *CreateEdgeTerminatorCommand) GetTerminatorData() []byte
func (*CreateEdgeTerminatorCommand) ProtoMessage ¶
func (*CreateEdgeTerminatorCommand) ProtoMessage()
func (*CreateEdgeTerminatorCommand) ProtoReflect ¶
func (x *CreateEdgeTerminatorCommand) ProtoReflect() protoreflect.Message
func (*CreateEdgeTerminatorCommand) Reset ¶
func (x *CreateEdgeTerminatorCommand) Reset()
func (*CreateEdgeTerminatorCommand) String ¶
func (x *CreateEdgeTerminatorCommand) String() string
type JsonMap ¶
type JsonMap struct { Value map[string]*JsonValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func EncodeJson ¶
func (*JsonMap) Descriptor
deprecated
func (*JsonMap) ProtoMessage ¶
func (*JsonMap) ProtoMessage()
func (*JsonMap) ProtoReflect ¶
func (x *JsonMap) ProtoReflect() protoreflect.Message
type JsonValue ¶
type JsonValue struct { // Types that are assignable to Value: // *JsonValue_BoolValue // *JsonValue_StringValue // *JsonValue_FpValue // *JsonValue_NilValue // *JsonValue_MapValue Value isJsonValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*JsonValue) Descriptor
deprecated
func (*JsonValue) GetBoolValue ¶
func (*JsonValue) GetFpValue ¶
func (*JsonValue) GetMapValue ¶
func (*JsonValue) GetNilValue ¶
func (*JsonValue) GetStringValue ¶
func (*JsonValue) ProtoMessage ¶
func (*JsonValue) ProtoMessage()
func (*JsonValue) ProtoReflect ¶
func (x *JsonValue) ProtoReflect() protoreflect.Message
type JsonValue_BoolValue ¶
type JsonValue_BoolValue struct {
BoolValue bool `protobuf:"varint,1,opt,name=boolValue,proto3,oneof"`
}
type JsonValue_FpValue ¶
type JsonValue_FpValue struct {
FpValue float64 `protobuf:"fixed64,3,opt,name=fpValue,proto3,oneof"`
}
type JsonValue_MapValue ¶
type JsonValue_MapValue struct {
MapValue *JsonMap `protobuf:"bytes,5,opt,name=mapValue,proto3,oneof"`
}
type JsonValue_NilValue ¶
type JsonValue_NilValue struct {
NilValue bool `protobuf:"varint,4,opt,name=nilValue,proto3,oneof"`
}
type JsonValue_StringValue ¶
type JsonValue_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3,oneof"`
}
type TagValue ¶
type TagValue struct { // Types that are assignable to Value: // *TagValue_BoolValue // *TagValue_StringValue // *TagValue_FpValue // *TagValue_NilValue Value isTagValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*TagValue) Descriptor
deprecated
func (*TagValue) GetBoolValue ¶
func (*TagValue) GetFpValue ¶
func (*TagValue) GetNilValue ¶
func (*TagValue) GetStringValue ¶
func (*TagValue) ProtoMessage ¶
func (*TagValue) ProtoMessage()
func (*TagValue) ProtoReflect ¶
func (x *TagValue) ProtoReflect() protoreflect.Message
type TagValue_BoolValue ¶
type TagValue_BoolValue struct {
BoolValue bool `protobuf:"varint,1,opt,name=boolValue,proto3,oneof"`
}
type TagValue_FpValue ¶
type TagValue_FpValue struct {
FpValue float64 `protobuf:"fixed64,3,opt,name=fpValue,proto3,oneof"`
}
type TagValue_NilValue ¶
type TagValue_NilValue struct {
NilValue bool `protobuf:"varint,4,opt,name=nilValue,proto3,oneof"`
}
type TagValue_StringValue ¶
type TagValue_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.