|
|
@ -73,7 +73,7 @@ func (x HostConfig_Protocol) Number() protoreflect.EnumNumber {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use HostConfig_Protocol.Descriptor instead.
|
|
|
|
// Deprecated: Use HostConfig_Protocol.Descriptor instead.
|
|
|
|
func (HostConfig_Protocol) EnumDescriptor() ([]byte, []int) {
|
|
|
|
func (HostConfig_Protocol) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{8, 0}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{9, 0}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type EncryptedMessage struct {
|
|
|
|
type EncryptedMessage struct {
|
|
|
@ -243,6 +243,8 @@ type LoginRequest struct {
|
|
|
|
|
|
|
|
|
|
|
|
// Pre-authorized setup key (can be empty)
|
|
|
|
// Pre-authorized setup key (can be empty)
|
|
|
|
SetupKey string `protobuf:"bytes,1,opt,name=setupKey,proto3" json:"setupKey,omitempty"`
|
|
|
|
SetupKey string `protobuf:"bytes,1,opt,name=setupKey,proto3" json:"setupKey,omitempty"`
|
|
|
|
|
|
|
|
// Meta data of the peer (e.g. name, os_name, os_version,
|
|
|
|
|
|
|
|
Meta *PeerSystemMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
|
@ -284,6 +286,109 @@ func (x *LoginRequest) GetSetupKey() string {
|
|
|
|
return ""
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginRequest) GetMeta() *PeerSystemMeta {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Meta
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Peer machine meta data
|
|
|
|
|
|
|
|
type PeerSystemMeta struct {
|
|
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
|
|
|
|
|
GoOS string `protobuf:"bytes,2,opt,name=goOS,proto3" json:"goOS,omitempty"`
|
|
|
|
|
|
|
|
Kernel string `protobuf:"bytes,3,opt,name=kernel,proto3" json:"kernel,omitempty"`
|
|
|
|
|
|
|
|
Core string `protobuf:"bytes,4,opt,name=core,proto3" json:"core,omitempty"`
|
|
|
|
|
|
|
|
Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
|
|
|
|
|
|
OS string `protobuf:"bytes,6,opt,name=OS,proto3" json:"OS,omitempty"`
|
|
|
|
|
|
|
|
WiretrusteeVersion string `protobuf:"bytes,7,opt,name=wiretrusteeVersion,proto3" json:"wiretrusteeVersion,omitempty"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) Reset() {
|
|
|
|
|
|
|
|
*x = PeerSystemMeta{}
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_management_proto_msgTypes[4]
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) String() string {
|
|
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*PeerSystemMeta) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
mi := &file_management_proto_msgTypes[4]
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ms
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use PeerSystemMeta.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
|
|
func (*PeerSystemMeta) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetHostname() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Hostname
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetGoOS() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.GoOS
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetKernel() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Kernel
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetCore() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Core
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetPlatform() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Platform
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetOS() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.OS
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerSystemMeta) GetWiretrusteeVersion() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.WiretrusteeVersion
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type LoginResponse struct {
|
|
|
|
type LoginResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
@ -298,7 +403,7 @@ type LoginResponse struct {
|
|
|
|
func (x *LoginResponse) Reset() {
|
|
|
|
func (x *LoginResponse) Reset() {
|
|
|
|
*x = LoginResponse{}
|
|
|
|
*x = LoginResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[4]
|
|
|
|
mi := &file_management_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -311,7 +416,7 @@ func (x *LoginResponse) String() string {
|
|
|
|
func (*LoginResponse) ProtoMessage() {}
|
|
|
|
func (*LoginResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[4]
|
|
|
|
mi := &file_management_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -324,7 +429,7 @@ func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{4}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginResponse) GetWiretrusteeConfig() *WiretrusteeConfig {
|
|
|
|
func (x *LoginResponse) GetWiretrusteeConfig() *WiretrusteeConfig {
|
|
|
@ -355,7 +460,7 @@ type ServerKeyResponse struct {
|
|
|
|
func (x *ServerKeyResponse) Reset() {
|
|
|
|
func (x *ServerKeyResponse) Reset() {
|
|
|
|
*x = ServerKeyResponse{}
|
|
|
|
*x = ServerKeyResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[5]
|
|
|
|
mi := &file_management_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -368,7 +473,7 @@ func (x *ServerKeyResponse) String() string {
|
|
|
|
func (*ServerKeyResponse) ProtoMessage() {}
|
|
|
|
func (*ServerKeyResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ServerKeyResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *ServerKeyResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[5]
|
|
|
|
mi := &file_management_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -381,7 +486,7 @@ func (x *ServerKeyResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ServerKeyResponse.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use ServerKeyResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ServerKeyResponse) Descriptor() ([]byte, []int) {
|
|
|
|
func (*ServerKeyResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{5}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ServerKeyResponse) GetKey() string {
|
|
|
|
func (x *ServerKeyResponse) GetKey() string {
|
|
|
@ -407,7 +512,7 @@ type Empty struct {
|
|
|
|
func (x *Empty) Reset() {
|
|
|
|
func (x *Empty) Reset() {
|
|
|
|
*x = Empty{}
|
|
|
|
*x = Empty{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[6]
|
|
|
|
mi := &file_management_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -420,7 +525,7 @@ func (x *Empty) String() string {
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[6]
|
|
|
|
mi := &file_management_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -433,7 +538,7 @@ func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{6}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// WiretrusteeConfig is a common configuration of any Wiretrustee peer. It contains STUN, TURN, Signal and Management servers configurations
|
|
|
|
// WiretrusteeConfig is a common configuration of any Wiretrustee peer. It contains STUN, TURN, Signal and Management servers configurations
|
|
|
@ -453,7 +558,7 @@ type WiretrusteeConfig struct {
|
|
|
|
func (x *WiretrusteeConfig) Reset() {
|
|
|
|
func (x *WiretrusteeConfig) Reset() {
|
|
|
|
*x = WiretrusteeConfig{}
|
|
|
|
*x = WiretrusteeConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[7]
|
|
|
|
mi := &file_management_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -466,7 +571,7 @@ func (x *WiretrusteeConfig) String() string {
|
|
|
|
func (*WiretrusteeConfig) ProtoMessage() {}
|
|
|
|
func (*WiretrusteeConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *WiretrusteeConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *WiretrusteeConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[7]
|
|
|
|
mi := &file_management_proto_msgTypes[8]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -479,7 +584,7 @@ func (x *WiretrusteeConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use WiretrusteeConfig.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use WiretrusteeConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*WiretrusteeConfig) Descriptor() ([]byte, []int) {
|
|
|
|
func (*WiretrusteeConfig) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{7}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *WiretrusteeConfig) GetStuns() []*HostConfig {
|
|
|
|
func (x *WiretrusteeConfig) GetStuns() []*HostConfig {
|
|
|
@ -517,7 +622,7 @@ type HostConfig struct {
|
|
|
|
func (x *HostConfig) Reset() {
|
|
|
|
func (x *HostConfig) Reset() {
|
|
|
|
*x = HostConfig{}
|
|
|
|
*x = HostConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[8]
|
|
|
|
mi := &file_management_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -530,7 +635,7 @@ func (x *HostConfig) String() string {
|
|
|
|
func (*HostConfig) ProtoMessage() {}
|
|
|
|
func (*HostConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *HostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *HostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[8]
|
|
|
|
mi := &file_management_proto_msgTypes[9]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -543,7 +648,7 @@ func (x *HostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HostConfig) Descriptor() ([]byte, []int) {
|
|
|
|
func (*HostConfig) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{8}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *HostConfig) GetUri() string {
|
|
|
|
func (x *HostConfig) GetUri() string {
|
|
|
@ -575,7 +680,7 @@ type ProtectedHostConfig struct {
|
|
|
|
func (x *ProtectedHostConfig) Reset() {
|
|
|
|
func (x *ProtectedHostConfig) Reset() {
|
|
|
|
*x = ProtectedHostConfig{}
|
|
|
|
*x = ProtectedHostConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[9]
|
|
|
|
mi := &file_management_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -588,7 +693,7 @@ func (x *ProtectedHostConfig) String() string {
|
|
|
|
func (*ProtectedHostConfig) ProtoMessage() {}
|
|
|
|
func (*ProtectedHostConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ProtectedHostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *ProtectedHostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[9]
|
|
|
|
mi := &file_management_proto_msgTypes[10]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -601,7 +706,7 @@ func (x *ProtectedHostConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ProtectedHostConfig.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use ProtectedHostConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ProtectedHostConfig) Descriptor() ([]byte, []int) {
|
|
|
|
func (*ProtectedHostConfig) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{9}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ProtectedHostConfig) GetHostConfig() *HostConfig {
|
|
|
|
func (x *ProtectedHostConfig) GetHostConfig() *HostConfig {
|
|
|
@ -641,7 +746,7 @@ type PeerConfig struct {
|
|
|
|
func (x *PeerConfig) Reset() {
|
|
|
|
func (x *PeerConfig) Reset() {
|
|
|
|
*x = PeerConfig{}
|
|
|
|
*x = PeerConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[10]
|
|
|
|
mi := &file_management_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -654,7 +759,7 @@ func (x *PeerConfig) String() string {
|
|
|
|
func (*PeerConfig) ProtoMessage() {}
|
|
|
|
func (*PeerConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *PeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[10]
|
|
|
|
mi := &file_management_proto_msgTypes[11]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -667,7 +772,7 @@ func (x *PeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use PeerConfig.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use PeerConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PeerConfig) Descriptor() ([]byte, []int) {
|
|
|
|
func (*PeerConfig) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{10}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *PeerConfig) GetAddress() string {
|
|
|
|
func (x *PeerConfig) GetAddress() string {
|
|
|
@ -700,7 +805,7 @@ type RemotePeerConfig struct {
|
|
|
|
func (x *RemotePeerConfig) Reset() {
|
|
|
|
func (x *RemotePeerConfig) Reset() {
|
|
|
|
*x = RemotePeerConfig{}
|
|
|
|
*x = RemotePeerConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_management_proto_msgTypes[11]
|
|
|
|
mi := &file_management_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -713,7 +818,7 @@ func (x *RemotePeerConfig) String() string {
|
|
|
|
func (*RemotePeerConfig) ProtoMessage() {}
|
|
|
|
func (*RemotePeerConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RemotePeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *RemotePeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_management_proto_msgTypes[11]
|
|
|
|
mi := &file_management_proto_msgTypes[12]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@ -726,7 +831,7 @@ func (x *RemotePeerConfig) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RemotePeerConfig.ProtoReflect.Descriptor instead.
|
|
|
|
// Deprecated: Use RemotePeerConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RemotePeerConfig) Descriptor() ([]byte, []int) {
|
|
|
|
func (*RemotePeerConfig) Descriptor() ([]byte, []int) {
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{11}
|
|
|
|
return file_management_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *RemotePeerConfig) GetWgPubKey() string {
|
|
|
|
func (x *RemotePeerConfig) GetWgPubKey() string {
|
|
|
@ -768,82 +873,97 @@ var file_management_proto_rawDesc = []byte{
|
|
|
|
0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
|
|
|
|
0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
|
|
|
|
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
|
|
|
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
|
|
|
0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x72, 0x65, 0x6d,
|
|
|
|
0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x72, 0x65, 0x6d,
|
|
|
|
0x6f, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2a, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
|
0x6f, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x5a, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x75,
|
|
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x75,
|
|
|
|
0x70, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x74, 0x75,
|
|
|
|
0x70, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x74, 0x75,
|
|
|
|
0x70, 0x4b, 0x65, 0x79, 0x22, 0x94, 0x01, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
|
|
|
|
0x70, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x11, 0x77, 0x69, 0x72, 0x65, 0x74, 0x72,
|
|
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x50, 0x65, 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04,
|
|
|
|
0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x57,
|
|
|
|
0x6d, 0x65, 0x74, 0x61, 0x22, 0xc8, 0x01, 0x0a, 0x0e, 0x50, 0x65, 0x65, 0x72, 0x53, 0x79, 0x73,
|
|
|
|
0x69, 0x72, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e,
|
|
|
|
0x52, 0x11, 0x77, 0x69, 0x72, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e,
|
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e,
|
|
|
|
0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6f, 0x4f, 0x53, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
|
|
|
|
0x09, 0x52, 0x04, 0x67, 0x6f, 0x4f, 0x53, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65,
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
|
|
|
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x12,
|
|
|
|
0x0a, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5f, 0x0a, 0x11, 0x53,
|
|
|
|
0x12, 0x0a, 0x04, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18,
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12,
|
|
|
|
0x65, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x18,
|
|
|
|
0x0e, 0x0a, 0x02, 0x4f, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x4f, 0x53, 0x12,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
0x2e, 0x0a, 0x12, 0x77, 0x69, 0x72, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x56, 0x65,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x77, 0x69, 0x72,
|
|
|
|
0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x07, 0x0a, 0x05,
|
|
|
|
0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
|
|
|
|
0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x57, 0x69, 0x72, 0x65, 0x74, 0x72,
|
|
|
|
0x94, 0x01, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x0a, 0x05, 0x73,
|
|
|
|
0x65, 0x12, 0x4b, 0x0a, 0x11, 0x77, 0x69, 0x72, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65,
|
|
|
|
0x74, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e,
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d,
|
|
|
|
0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x74, 0x72,
|
|
|
|
0x69, 0x67, 0x52, 0x05, 0x73, 0x74, 0x75, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x74, 0x75, 0x72,
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x77, 0x69, 0x72,
|
|
|
|
0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67,
|
|
|
|
0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36,
|
|
|
|
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x48,
|
|
|
|
0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x74, 0x75, 0x72, 0x6e, 0x73,
|
|
|
|
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
|
|
|
|
0x12, 0x2e, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x70, 0x65, 0x65, 0x72,
|
|
|
|
0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f,
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5f, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c,
|
|
|
|
0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
|
|
0x22, 0x98, 0x01, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
|
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a,
|
|
|
|
0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
|
|
|
|
0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x69, 0x12, 0x3b, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20,
|
|
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78,
|
|
|
|
0x2e, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x72, 0x6f, 0x74,
|
|
|
|
0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
|
0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x3b,
|
|
|
|
0x22, 0xa8, 0x01, 0x0a, 0x11, 0x57, 0x69, 0x72, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65,
|
|
|
|
0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44,
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x75, 0x6e, 0x73, 0x18,
|
|
|
|
0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65,
|
|
|
|
0x48, 0x54, 0x54, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x53, 0x10,
|
|
|
|
0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x73,
|
|
|
|
0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x54, 0x4c, 0x53, 0x10, 0x04, 0x22, 0x7d, 0x0a, 0x13, 0x50,
|
|
|
|
0x74, 0x75, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x02, 0x20,
|
|
|
|
0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x69, 0x67, 0x12, 0x36, 0x0a, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d,
|
|
|
|
0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x73,
|
|
|
|
0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a,
|
|
|
|
0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61,
|
|
|
|
0x68, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73,
|
|
|
|
0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e,
|
|
|
|
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a,
|
|
|
|
0x66, 0x69, 0x67, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x98, 0x01, 0x0a, 0x0a,
|
|
|
|
0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
|
|
|
|
0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x65,
|
|
|
|
0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x08,
|
|
|
|
0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f,
|
|
|
|
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
|
0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x6f, 0x73, 0x74,
|
|
|
|
0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52,
|
|
|
|
0x03, 0x64, 0x6e, 0x73, 0x22, 0x4e, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x65,
|
|
|
|
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x3b, 0x0a, 0x08, 0x50, 0x72, 0x6f,
|
|
|
|
0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x67, 0x50, 0x75,
|
|
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x00, 0x12, 0x07,
|
|
|
|
0x62, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x67, 0x50, 0x75,
|
|
|
|
0x0a, 0x03, 0x54, 0x43, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10,
|
|
|
|
0x62, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49,
|
|
|
|
0x02, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x53, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04,
|
|
|
|
0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
|
|
|
|
0x44, 0x54, 0x4c, 0x53, 0x10, 0x04, 0x22, 0x7d, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
|
|
|
|
0x64, 0x49, 0x70, 0x73, 0x32, 0x9b, 0x02, 0x0a, 0x11, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d,
|
|
|
|
0x74, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a,
|
|
|
|
0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x4c, 0x6f,
|
|
|
|
0x0a, 0x68, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x67, 0x69, 0x6e, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x48,
|
|
|
|
0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x43,
|
|
|
|
0x65, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45,
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
|
|
|
|
0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
|
|
|
|
0x00, 0x12, 0x46, 0x0a, 0x04, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61,
|
|
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
|
|
|
|
0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64,
|
|
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e,
|
|
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
|
|
|
|
0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74,
|
|
|
|
0x03, 0x64, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x22,
|
|
|
|
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x61,
|
|
|
|
0x4e, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e,
|
|
|
|
0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x6d,
|
|
|
|
0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x67, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18,
|
|
|
|
0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x67, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12,
|
|
|
|
0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x33, 0x0a,
|
|
|
|
0x1e, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x70, 0x73, 0x18, 0x02, 0x20,
|
|
|
|
0x09, 0x69, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x61, 0x6e,
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x70, 0x73, 0x32,
|
|
|
|
0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e,
|
|
|
|
0x9b, 0x02, 0x0a, 0x11, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65,
|
|
|
|
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1c,
|
|
|
|
0x22, 0x00, 0x42, 0x08, 0x5a, 0x06, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
|
|
|
|
0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x6d,
|
|
|
|
|
|
|
|
0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70,
|
|
|
|
|
|
|
|
0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x04,
|
|
|
|
|
|
|
|
0x53, 0x79, 0x6e, 0x63, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
|
|
|
|
|
0x74, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
|
|
|
|
0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
|
|
|
|
|
|
|
|
0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
|
|
|
0x22, 0x00, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65,
|
|
|
|
|
|
|
|
0x72, 0x4b, 0x65, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
|
|
|
|
|
0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
|
|
|
|
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x52, 0x65,
|
|
|
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x33, 0x0a, 0x09, 0x69, 0x73, 0x48, 0x65,
|
|
|
|
|
|
|
|
0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65,
|
|
|
|
|
|
|
|
0x6e, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67,
|
|
|
|
|
|
|
|
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x08, 0x5a,
|
|
|
|
|
|
|
|
0x06, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
@ -859,48 +979,50 @@ func file_management_proto_rawDescGZIP() []byte {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_management_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_management_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_management_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
|
var file_management_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
var file_management_proto_goTypes = []interface{}{
|
|
|
|
var file_management_proto_goTypes = []interface{}{
|
|
|
|
(HostConfig_Protocol)(0), // 0: management.HostConfig.Protocol
|
|
|
|
(HostConfig_Protocol)(0), // 0: management.HostConfig.Protocol
|
|
|
|
(*EncryptedMessage)(nil), // 1: management.EncryptedMessage
|
|
|
|
(*EncryptedMessage)(nil), // 1: management.EncryptedMessage
|
|
|
|
(*SyncRequest)(nil), // 2: management.SyncRequest
|
|
|
|
(*SyncRequest)(nil), // 2: management.SyncRequest
|
|
|
|
(*SyncResponse)(nil), // 3: management.SyncResponse
|
|
|
|
(*SyncResponse)(nil), // 3: management.SyncResponse
|
|
|
|
(*LoginRequest)(nil), // 4: management.LoginRequest
|
|
|
|
(*LoginRequest)(nil), // 4: management.LoginRequest
|
|
|
|
(*LoginResponse)(nil), // 5: management.LoginResponse
|
|
|
|
(*PeerSystemMeta)(nil), // 5: management.PeerSystemMeta
|
|
|
|
(*ServerKeyResponse)(nil), // 6: management.ServerKeyResponse
|
|
|
|
(*LoginResponse)(nil), // 6: management.LoginResponse
|
|
|
|
(*Empty)(nil), // 7: management.Empty
|
|
|
|
(*ServerKeyResponse)(nil), // 7: management.ServerKeyResponse
|
|
|
|
(*WiretrusteeConfig)(nil), // 8: management.WiretrusteeConfig
|
|
|
|
(*Empty)(nil), // 8: management.Empty
|
|
|
|
(*HostConfig)(nil), // 9: management.HostConfig
|
|
|
|
(*WiretrusteeConfig)(nil), // 9: management.WiretrusteeConfig
|
|
|
|
(*ProtectedHostConfig)(nil), // 10: management.ProtectedHostConfig
|
|
|
|
(*HostConfig)(nil), // 10: management.HostConfig
|
|
|
|
(*PeerConfig)(nil), // 11: management.PeerConfig
|
|
|
|
(*ProtectedHostConfig)(nil), // 11: management.ProtectedHostConfig
|
|
|
|
(*RemotePeerConfig)(nil), // 12: management.RemotePeerConfig
|
|
|
|
(*PeerConfig)(nil), // 12: management.PeerConfig
|
|
|
|
(*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp
|
|
|
|
(*RemotePeerConfig)(nil), // 13: management.RemotePeerConfig
|
|
|
|
|
|
|
|
(*timestamp.Timestamp)(nil), // 14: google.protobuf.Timestamp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_management_proto_depIdxs = []int32{
|
|
|
|
var file_management_proto_depIdxs = []int32{
|
|
|
|
8, // 0: management.SyncResponse.wiretrusteeConfig:type_name -> management.WiretrusteeConfig
|
|
|
|
9, // 0: management.SyncResponse.wiretrusteeConfig:type_name -> management.WiretrusteeConfig
|
|
|
|
11, // 1: management.SyncResponse.peerConfig:type_name -> management.PeerConfig
|
|
|
|
12, // 1: management.SyncResponse.peerConfig:type_name -> management.PeerConfig
|
|
|
|
12, // 2: management.SyncResponse.remotePeers:type_name -> management.RemotePeerConfig
|
|
|
|
13, // 2: management.SyncResponse.remotePeers:type_name -> management.RemotePeerConfig
|
|
|
|
8, // 3: management.LoginResponse.wiretrusteeConfig:type_name -> management.WiretrusteeConfig
|
|
|
|
5, // 3: management.LoginRequest.meta:type_name -> management.PeerSystemMeta
|
|
|
|
11, // 4: management.LoginResponse.peerConfig:type_name -> management.PeerConfig
|
|
|
|
9, // 4: management.LoginResponse.wiretrusteeConfig:type_name -> management.WiretrusteeConfig
|
|
|
|
13, // 5: management.ServerKeyResponse.expiresAt:type_name -> google.protobuf.Timestamp
|
|
|
|
12, // 5: management.LoginResponse.peerConfig:type_name -> management.PeerConfig
|
|
|
|
9, // 6: management.WiretrusteeConfig.stuns:type_name -> management.HostConfig
|
|
|
|
14, // 6: management.ServerKeyResponse.expiresAt:type_name -> google.protobuf.Timestamp
|
|
|
|
10, // 7: management.WiretrusteeConfig.turns:type_name -> management.ProtectedHostConfig
|
|
|
|
10, // 7: management.WiretrusteeConfig.stuns:type_name -> management.HostConfig
|
|
|
|
9, // 8: management.WiretrusteeConfig.signal:type_name -> management.HostConfig
|
|
|
|
11, // 8: management.WiretrusteeConfig.turns:type_name -> management.ProtectedHostConfig
|
|
|
|
0, // 9: management.HostConfig.protocol:type_name -> management.HostConfig.Protocol
|
|
|
|
10, // 9: management.WiretrusteeConfig.signal:type_name -> management.HostConfig
|
|
|
|
9, // 10: management.ProtectedHostConfig.hostConfig:type_name -> management.HostConfig
|
|
|
|
0, // 10: management.HostConfig.protocol:type_name -> management.HostConfig.Protocol
|
|
|
|
1, // 11: management.ManagementService.Login:input_type -> management.EncryptedMessage
|
|
|
|
10, // 11: management.ProtectedHostConfig.hostConfig:type_name -> management.HostConfig
|
|
|
|
1, // 12: management.ManagementService.Sync:input_type -> management.EncryptedMessage
|
|
|
|
1, // 12: management.ManagementService.Login:input_type -> management.EncryptedMessage
|
|
|
|
7, // 13: management.ManagementService.GetServerKey:input_type -> management.Empty
|
|
|
|
1, // 13: management.ManagementService.Sync:input_type -> management.EncryptedMessage
|
|
|
|
7, // 14: management.ManagementService.isHealthy:input_type -> management.Empty
|
|
|
|
8, // 14: management.ManagementService.GetServerKey:input_type -> management.Empty
|
|
|
|
1, // 15: management.ManagementService.Login:output_type -> management.EncryptedMessage
|
|
|
|
8, // 15: management.ManagementService.isHealthy:input_type -> management.Empty
|
|
|
|
1, // 16: management.ManagementService.Sync:output_type -> management.EncryptedMessage
|
|
|
|
1, // 16: management.ManagementService.Login:output_type -> management.EncryptedMessage
|
|
|
|
6, // 17: management.ManagementService.GetServerKey:output_type -> management.ServerKeyResponse
|
|
|
|
1, // 17: management.ManagementService.Sync:output_type -> management.EncryptedMessage
|
|
|
|
7, // 18: management.ManagementService.isHealthy:output_type -> management.Empty
|
|
|
|
7, // 18: management.ManagementService.GetServerKey:output_type -> management.ServerKeyResponse
|
|
|
|
15, // [15:19] is the sub-list for method output_type
|
|
|
|
8, // 19: management.ManagementService.isHealthy:output_type -> management.Empty
|
|
|
|
11, // [11:15] is the sub-list for method input_type
|
|
|
|
16, // [16:20] is the sub-list for method output_type
|
|
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
|
|
12, // [12:16] is the sub-list for method input_type
|
|
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
|
|
0, // [0:11] is the sub-list for field type_name
|
|
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
|
|
|
|
|
|
0, // [0:12] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_management_proto_init() }
|
|
|
|
func init() { file_management_proto_init() }
|
|
|
@ -958,7 +1080,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*LoginResponse); i {
|
|
|
|
switch v := v.(*PeerSystemMeta); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -970,7 +1092,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ServerKeyResponse); i {
|
|
|
|
switch v := v.(*LoginResponse); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -982,7 +1104,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Empty); i {
|
|
|
|
switch v := v.(*ServerKeyResponse); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -994,7 +1116,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*WiretrusteeConfig); i {
|
|
|
|
switch v := v.(*Empty); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -1006,7 +1128,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HostConfig); i {
|
|
|
|
switch v := v.(*WiretrusteeConfig); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -1018,7 +1140,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ProtectedHostConfig); i {
|
|
|
|
switch v := v.(*HostConfig); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -1030,7 +1152,7 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*PeerConfig); i {
|
|
|
|
switch v := v.(*ProtectedHostConfig); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
@ -1042,6 +1164,18 @@ func file_management_proto_init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_management_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
file_management_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*PeerConfig); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_management_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RemotePeerConfig); i {
|
|
|
|
switch v := v.(*RemotePeerConfig); i {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
return &v.state
|
|
|
@ -1060,7 +1194,7 @@ func file_management_proto_init() {
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_management_proto_rawDesc,
|
|
|
|
RawDescriptor: file_management_proto_rawDesc,
|
|
|
|
NumEnums: 1,
|
|
|
|
NumEnums: 1,
|
|
|
|
NumMessages: 12,
|
|
|
|
NumMessages: 13,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|