Documentation ¶
Index ¶
- Variables
- type ZRegisterMsg
- func (*ZRegisterMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ZRegisterMsg) GetOnBoardKey() string
- func (x *ZRegisterMsg) GetPemCert() []byte
- func (x *ZRegisterMsg) GetSerial() string
- func (x *ZRegisterMsg) GetSoftSerial() string
- func (*ZRegisterMsg) ProtoMessage()
- func (x *ZRegisterMsg) ProtoReflect() protoreflect.Message
- func (x *ZRegisterMsg) Reset()
- func (x *ZRegisterMsg) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_register_register_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ZRegisterMsg ¶
type ZRegisterMsg struct { OnBoardKey string `protobuf:"bytes,1,opt,name=onBoardKey,proto3" json:"onBoardKey,omitempty"` // deprecated PemCert []byte `protobuf:"bytes,2,opt,name=pemCert,proto3" json:"pemCert,omitempty"` Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"` SoftSerial string `protobuf:"bytes,4,opt,name=softSerial,proto3" json:"softSerial,omitempty"` // contains filtered or unexported fields }
This is the request payload for POST /api/v1/edgeDevice/register ZRegisterMsg carries the pem-encoded device certificate plus additional identifying information such as device serial number(s). The message is assumed to be protected by a TLS session bound to the onboarding certificate.
func (*ZRegisterMsg) Descriptor
deprecated
func (*ZRegisterMsg) Descriptor() ([]byte, []int)
Deprecated: Use ZRegisterMsg.ProtoReflect.Descriptor instead.
func (*ZRegisterMsg) GetOnBoardKey ¶
func (x *ZRegisterMsg) GetOnBoardKey() string
func (*ZRegisterMsg) GetPemCert ¶
func (x *ZRegisterMsg) GetPemCert() []byte
func (*ZRegisterMsg) GetSerial ¶
func (x *ZRegisterMsg) GetSerial() string
func (*ZRegisterMsg) GetSoftSerial ¶
func (x *ZRegisterMsg) GetSoftSerial() string
func (*ZRegisterMsg) ProtoMessage ¶
func (*ZRegisterMsg) ProtoMessage()
func (*ZRegisterMsg) ProtoReflect ¶
func (x *ZRegisterMsg) ProtoReflect() protoreflect.Message
func (*ZRegisterMsg) Reset ¶
func (x *ZRegisterMsg) Reset()
func (*ZRegisterMsg) String ¶
func (x *ZRegisterMsg) String() string
Click to show internal directories.
Click to hide internal directories.