mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
2d8fcd9bf4
Co-authored-by: Malte Poll <mp@edgeless.systems> Co-authored-by: katexochen <katexochen@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems> Co-authored-by: Benedict Schlueter <bs@edgeless.systems> Co-authored-by: leongross <leon.gross@rub.de> Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
1260 lines
43 KiB
Go
1260 lines
43 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc v3.17.3
|
|
// source: pubapi.proto
|
|
|
|
package pubproto
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetStateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetStateRequest) Reset() {
|
|
*x = GetStateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[0]
|
|
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 GetStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type GetStateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
State uint32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
}
|
|
|
|
func (x *GetStateResponse) Reset() {
|
|
*x = GetStateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[1]
|
|
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 GetStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetStateResponse) GetState() uint32 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ActivateAsCoordinatorRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AdminVpnPubKey []byte `protobuf:"bytes,1,opt,name=admin_vpn_pub_key,json=adminVpnPubKey,proto3" json:"admin_vpn_pub_key,omitempty"`
|
|
NodePublicEndpoints []string `protobuf:"bytes,2,rep,name=node_public_endpoints,json=nodePublicEndpoints,proto3" json:"node_public_endpoints,omitempty"`
|
|
AutoscalingNodeGroups []string `protobuf:"bytes,3,rep,name=autoscaling_node_groups,json=autoscalingNodeGroups,proto3" json:"autoscaling_node_groups,omitempty"`
|
|
MasterSecret []byte `protobuf:"bytes,4,opt,name=master_secret,json=masterSecret,proto3" json:"master_secret,omitempty"`
|
|
KmsUri string `protobuf:"bytes,5,opt,name=kms_uri,json=kmsUri,proto3" json:"kms_uri,omitempty"`
|
|
StorageUri string `protobuf:"bytes,6,opt,name=storage_uri,json=storageUri,proto3" json:"storage_uri,omitempty"`
|
|
KeyEncryptionKeyId string `protobuf:"bytes,7,opt,name=key_encryption_key_id,json=keyEncryptionKeyId,proto3" json:"key_encryption_key_id,omitempty"`
|
|
UseExistingKek bool `protobuf:"varint,8,opt,name=use_existing_kek,json=useExistingKek,proto3" json:"use_existing_kek,omitempty"`
|
|
CloudServiceAccountUri string `protobuf:"bytes,9,opt,name=cloud_service_account_uri,json=cloudServiceAccountUri,proto3" json:"cloud_service_account_uri,omitempty"`
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) Reset() {
|
|
*x = ActivateAsCoordinatorRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAsCoordinatorRequest) ProtoMessage() {}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[2]
|
|
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 ActivateAsCoordinatorRequest.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAsCoordinatorRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetAdminVpnPubKey() []byte {
|
|
if x != nil {
|
|
return x.AdminVpnPubKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetNodePublicEndpoints() []string {
|
|
if x != nil {
|
|
return x.NodePublicEndpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetAutoscalingNodeGroups() []string {
|
|
if x != nil {
|
|
return x.AutoscalingNodeGroups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetMasterSecret() []byte {
|
|
if x != nil {
|
|
return x.MasterSecret
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetKmsUri() string {
|
|
if x != nil {
|
|
return x.KmsUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetStorageUri() string {
|
|
if x != nil {
|
|
return x.StorageUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetKeyEncryptionKeyId() string {
|
|
if x != nil {
|
|
return x.KeyEncryptionKeyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetUseExistingKek() bool {
|
|
if x != nil {
|
|
return x.UseExistingKek
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorRequest) GetCloudServiceAccountUri() string {
|
|
if x != nil {
|
|
return x.CloudServiceAccountUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ActivateAsCoordinatorResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Content:
|
|
// *ActivateAsCoordinatorResponse_AdminConfig
|
|
// *ActivateAsCoordinatorResponse_Log
|
|
Content isActivateAsCoordinatorResponse_Content `protobuf_oneof:"content"`
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorResponse) Reset() {
|
|
*x = ActivateAsCoordinatorResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAsCoordinatorResponse) ProtoMessage() {}
|
|
|
|
func (x *ActivateAsCoordinatorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[3]
|
|
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 ActivateAsCoordinatorResponse.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAsCoordinatorResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (m *ActivateAsCoordinatorResponse) GetContent() isActivateAsCoordinatorResponse_Content {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorResponse) GetAdminConfig() *AdminConfig {
|
|
if x, ok := x.GetContent().(*ActivateAsCoordinatorResponse_AdminConfig); ok {
|
|
return x.AdminConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsCoordinatorResponse) GetLog() *Log {
|
|
if x, ok := x.GetContent().(*ActivateAsCoordinatorResponse_Log); ok {
|
|
return x.Log
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isActivateAsCoordinatorResponse_Content interface {
|
|
isActivateAsCoordinatorResponse_Content()
|
|
}
|
|
|
|
type ActivateAsCoordinatorResponse_AdminConfig struct {
|
|
AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
|
|
}
|
|
|
|
type ActivateAsCoordinatorResponse_Log struct {
|
|
Log *Log `protobuf:"bytes,2,opt,name=log,proto3,oneof"`
|
|
}
|
|
|
|
func (*ActivateAsCoordinatorResponse_AdminConfig) isActivateAsCoordinatorResponse_Content() {}
|
|
|
|
func (*ActivateAsCoordinatorResponse_Log) isActivateAsCoordinatorResponse_Content() {}
|
|
|
|
type ActivateAsNodeRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeVpnIp string `protobuf:"bytes,1,opt,name=node_vpn_ip,json=nodeVpnIp,proto3" json:"node_vpn_ip,omitempty"`
|
|
Peers []*Peer `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
|
|
OwnerId []byte `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
|
|
ClusterId []byte `protobuf:"bytes,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) Reset() {
|
|
*x = ActivateAsNodeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAsNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *ActivateAsNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_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 ActivateAsNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAsNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) GetNodeVpnIp() string {
|
|
if x != nil {
|
|
return x.NodeVpnIp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) GetPeers() []*Peer {
|
|
if x != nil {
|
|
return x.Peers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) GetOwnerId() []byte {
|
|
if x != nil {
|
|
return x.OwnerId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActivateAsNodeRequest) GetClusterId() []byte {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ActivateAsNodeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeVpnPubKey []byte `protobuf:"bytes,1,opt,name=node_vpn_pub_key,json=nodeVpnPubKey,proto3" json:"node_vpn_pub_key,omitempty"`
|
|
}
|
|
|
|
func (x *ActivateAsNodeResponse) Reset() {
|
|
*x = ActivateAsNodeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAsNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAsNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *ActivateAsNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[5]
|
|
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 ActivateAsNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAsNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ActivateAsNodeResponse) GetNodeVpnPubKey() []byte {
|
|
if x != nil {
|
|
return x.NodeVpnPubKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ActivateAdditionalNodesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodePublicEndpoints []string `protobuf:"bytes,1,rep,name=node_public_endpoints,json=nodePublicEndpoints,proto3" json:"node_public_endpoints,omitempty"`
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesRequest) Reset() {
|
|
*x = ActivateAdditionalNodesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAdditionalNodesRequest) ProtoMessage() {}
|
|
|
|
func (x *ActivateAdditionalNodesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[6]
|
|
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 ActivateAdditionalNodesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAdditionalNodesRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesRequest) GetNodePublicEndpoints() []string {
|
|
if x != nil {
|
|
return x.NodePublicEndpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ActivateAdditionalNodesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Log *Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesResponse) Reset() {
|
|
*x = ActivateAdditionalNodesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivateAdditionalNodesResponse) ProtoMessage() {}
|
|
|
|
func (x *ActivateAdditionalNodesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[7]
|
|
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 ActivateAdditionalNodesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ActivateAdditionalNodesResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ActivateAdditionalNodesResponse) GetLog() *Log {
|
|
if x != nil {
|
|
return x.Log
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type JoinClusterRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *JoinClusterRequest) Reset() {
|
|
*x = JoinClusterRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *JoinClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JoinClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *JoinClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[8]
|
|
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 JoinClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*JoinClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type JoinClusterResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *JoinClusterResponse) Reset() {
|
|
*x = JoinClusterResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *JoinClusterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JoinClusterResponse) ProtoMessage() {}
|
|
|
|
func (x *JoinClusterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[9]
|
|
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 JoinClusterResponse.ProtoReflect.Descriptor instead.
|
|
func (*JoinClusterResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type TriggerNodeUpdateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TriggerNodeUpdateRequest) Reset() {
|
|
*x = TriggerNodeUpdateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TriggerNodeUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TriggerNodeUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *TriggerNodeUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[10]
|
|
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 TriggerNodeUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*TriggerNodeUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type TriggerNodeUpdateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TriggerNodeUpdateResponse) Reset() {
|
|
*x = TriggerNodeUpdateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TriggerNodeUpdateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TriggerNodeUpdateResponse) ProtoMessage() {}
|
|
|
|
func (x *TriggerNodeUpdateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[11]
|
|
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 TriggerNodeUpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*TriggerNodeUpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type AdminConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AdminVpnIp string `protobuf:"bytes,1,opt,name=admin_vpn_ip,json=adminVpnIp,proto3" json:"admin_vpn_ip,omitempty"`
|
|
CoordinatorVpnPubKey []byte `protobuf:"bytes,2,opt,name=coordinator_vpn_pub_key,json=coordinatorVpnPubKey,proto3" json:"coordinator_vpn_pub_key,omitempty"`
|
|
Kubeconfig []byte `protobuf:"bytes,3,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
|
|
OwnerId []byte `protobuf:"bytes,4,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
|
|
ClusterId []byte `protobuf:"bytes,5,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
}
|
|
|
|
func (x *AdminConfig) Reset() {
|
|
*x = AdminConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AdminConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminConfig) ProtoMessage() {}
|
|
|
|
func (x *AdminConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[12]
|
|
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 AdminConfig.ProtoReflect.Descriptor instead.
|
|
func (*AdminConfig) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *AdminConfig) GetAdminVpnIp() string {
|
|
if x != nil {
|
|
return x.AdminVpnIp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminConfig) GetCoordinatorVpnPubKey() []byte {
|
|
if x != nil {
|
|
return x.CoordinatorVpnPubKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AdminConfig) GetKubeconfig() []byte {
|
|
if x != nil {
|
|
return x.Kubeconfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AdminConfig) GetOwnerId() []byte {
|
|
if x != nil {
|
|
return x.OwnerId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AdminConfig) GetClusterId() []byte {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Log struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *Log) Reset() {
|
|
*x = Log{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Log) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Log) ProtoMessage() {}
|
|
|
|
func (x *Log) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[13]
|
|
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 Log.ProtoReflect.Descriptor instead.
|
|
func (*Log) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *Log) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Peer struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PublicEndpoint string `protobuf:"bytes,1,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
|
|
VpnIp string `protobuf:"bytes,2,opt,name=vpn_ip,json=vpnIp,proto3" json:"vpn_ip,omitempty"`
|
|
VpnPubKey []byte `protobuf:"bytes,3,opt,name=vpn_pub_key,json=vpnPubKey,proto3" json:"vpn_pub_key,omitempty"`
|
|
Role uint32 `protobuf:"varint,4,opt,name=role,proto3" json:"role,omitempty"`
|
|
}
|
|
|
|
func (x *Peer) Reset() {
|
|
*x = Peer{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pubapi_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Peer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Peer) ProtoMessage() {}
|
|
|
|
func (x *Peer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pubapi_proto_msgTypes[14]
|
|
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 Peer.ProtoReflect.Descriptor instead.
|
|
func (*Peer) Descriptor() ([]byte, []int) {
|
|
return file_pubapi_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *Peer) GetPublicEndpoint() string {
|
|
if x != nil {
|
|
return x.PublicEndpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Peer) GetVpnIp() string {
|
|
if x != nil {
|
|
return x.VpnIp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Peer) GetVpnPubKey() []byte {
|
|
if x != nil {
|
|
return x.VpnPubKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Peer) GetRole() uint32 {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_pubapi_proto protoreflect.FileDescriptor
|
|
|
|
var file_pubapi_proto_rawDesc = []byte{
|
|
0x0a, 0x0c, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
|
|
0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x10, 0x47, 0x65, 0x74,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74,
|
|
0x61, 0x74, 0x65, 0x22, 0xac, 0x03, 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65,
|
|
0x41, 0x73, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x11, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x70,
|
|
0x6e, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x56, 0x70, 0x6e, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12,
|
|
0x32, 0x0a, 0x15, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65,
|
|
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69,
|
|
0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e,
|
|
0x67, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
|
|
0x12, 0x17, 0x0a, 0x07, 0x6b, 0x6d, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x6b, 0x6d, 0x73, 0x55, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f,
|
|
0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x12, 0x31, 0x0a, 0x15, 0x6b, 0x65,
|
|
0x79, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79,
|
|
0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6b, 0x65, 0x79, 0x45, 0x6e,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a,
|
|
0x10, 0x75, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65,
|
|
0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x45, 0x78, 0x69, 0x73,
|
|
0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x6b, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x6c, 0x6f, 0x75, 0x64,
|
|
0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x5f, 0x75, 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x6c, 0x6f, 0x75,
|
|
0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55,
|
|
0x72, 0x69, 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41,
|
|
0x73, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x75, 0x62,
|
|
0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48,
|
|
0x00, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f,
|
|
0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x75,
|
|
0x62, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x67, 0x48, 0x00, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x42,
|
|
0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x95, 0x01, 0x0a, 0x15, 0x41,
|
|
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x76, 0x70, 0x6e,
|
|
0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x56,
|
|
0x70, 0x6e, 0x49, 0x70, 0x12, 0x22, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x65, 0x65,
|
|
0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65,
|
|
0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65,
|
|
0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69,
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
0x49, 0x64, 0x22, 0x41, 0x0a, 0x16, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73,
|
|
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x10,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x76, 0x70, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x56, 0x70, 0x6e, 0x50,
|
|
0x75, 0x62, 0x4b, 0x65, 0x79, 0x22, 0x54, 0x0a, 0x1e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
|
0x65, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
|
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6c,
|
|
0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x1f, 0x41,
|
|
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61,
|
|
0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d,
|
|
0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x75,
|
|
0x62, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x22, 0x14, 0x0a,
|
|
0x12, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x54, 0x72,
|
|
0x69, 0x67, 0x67, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65,
|
|
0x72, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x70, 0x6e,
|
|
0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e,
|
|
0x56, 0x70, 0x6e, 0x49, 0x70, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e,
|
|
0x61, 0x74, 0x6f, 0x72, 0x5f, 0x76, 0x70, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
|
|
0x74, 0x6f, 0x72, 0x56, 0x70, 0x6e, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
|
|
0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08,
|
|
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
|
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a,
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x7a, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12,
|
|
0x27, 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
|
0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x76, 0x70, 0x6e, 0x5f,
|
|
0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x70, 0x6e, 0x49, 0x70, 0x12,
|
|
0x1e, 0x0a, 0x0b, 0x76, 0x70, 0x6e, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x76, 0x70, 0x6e, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12,
|
|
0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x72,
|
|
0x6f, 0x6c, 0x65, 0x32, 0x8d, 0x04, 0x0a, 0x03, 0x41, 0x50, 0x49, 0x12, 0x3d, 0x0a, 0x08, 0x47,
|
|
0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69,
|
|
0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x18, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x15, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
|
|
0x74, 0x6f, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x74,
|
|
0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74,
|
|
0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x75, 0x62, 0x61,
|
|
0x70, 0x69, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x43, 0x6f, 0x6f,
|
|
0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x30, 0x01, 0x12, 0x4f, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73,
|
|
0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x74,
|
|
0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x17, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41,
|
|
0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x26,
|
|
0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65,
|
|
0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e,
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30,
|
|
0x01, 0x12, 0x46, 0x0a, 0x0b, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
0x12, 0x1a, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70,
|
|
0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x54, 0x72, 0x69,
|
|
0x67, 0x67, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x20,
|
|
0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4e,
|
|
0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x21, 0x2e, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65,
|
|
0x72, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x42, 0x4e, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
|
0x6d, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x73, 0x79, 0x73, 0x2f, 0x63, 0x6f,
|
|
0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2d, 0x63, 0x6f, 0x6f, 0x72,
|
|
0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
|
|
0x74, 0x6f, 0x72, 0x2f, 0x70, 0x75, 0x62, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x75, 0x62, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_pubapi_proto_rawDescOnce sync.Once
|
|
file_pubapi_proto_rawDescData = file_pubapi_proto_rawDesc
|
|
)
|
|
|
|
func file_pubapi_proto_rawDescGZIP() []byte {
|
|
file_pubapi_proto_rawDescOnce.Do(func() {
|
|
file_pubapi_proto_rawDescData = protoimpl.X.CompressGZIP(file_pubapi_proto_rawDescData)
|
|
})
|
|
return file_pubapi_proto_rawDescData
|
|
}
|
|
|
|
var file_pubapi_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_pubapi_proto_goTypes = []interface{}{
|
|
(*GetStateRequest)(nil), // 0: pubapi.GetStateRequest
|
|
(*GetStateResponse)(nil), // 1: pubapi.GetStateResponse
|
|
(*ActivateAsCoordinatorRequest)(nil), // 2: pubapi.ActivateAsCoordinatorRequest
|
|
(*ActivateAsCoordinatorResponse)(nil), // 3: pubapi.ActivateAsCoordinatorResponse
|
|
(*ActivateAsNodeRequest)(nil), // 4: pubapi.ActivateAsNodeRequest
|
|
(*ActivateAsNodeResponse)(nil), // 5: pubapi.ActivateAsNodeResponse
|
|
(*ActivateAdditionalNodesRequest)(nil), // 6: pubapi.ActivateAdditionalNodesRequest
|
|
(*ActivateAdditionalNodesResponse)(nil), // 7: pubapi.ActivateAdditionalNodesResponse
|
|
(*JoinClusterRequest)(nil), // 8: pubapi.JoinClusterRequest
|
|
(*JoinClusterResponse)(nil), // 9: pubapi.JoinClusterResponse
|
|
(*TriggerNodeUpdateRequest)(nil), // 10: pubapi.TriggerNodeUpdateRequest
|
|
(*TriggerNodeUpdateResponse)(nil), // 11: pubapi.TriggerNodeUpdateResponse
|
|
(*AdminConfig)(nil), // 12: pubapi.AdminConfig
|
|
(*Log)(nil), // 13: pubapi.Log
|
|
(*Peer)(nil), // 14: pubapi.Peer
|
|
}
|
|
var file_pubapi_proto_depIdxs = []int32{
|
|
12, // 0: pubapi.ActivateAsCoordinatorResponse.admin_config:type_name -> pubapi.AdminConfig
|
|
13, // 1: pubapi.ActivateAsCoordinatorResponse.log:type_name -> pubapi.Log
|
|
14, // 2: pubapi.ActivateAsNodeRequest.peers:type_name -> pubapi.Peer
|
|
13, // 3: pubapi.ActivateAdditionalNodesResponse.log:type_name -> pubapi.Log
|
|
0, // 4: pubapi.API.GetState:input_type -> pubapi.GetStateRequest
|
|
2, // 5: pubapi.API.ActivateAsCoordinator:input_type -> pubapi.ActivateAsCoordinatorRequest
|
|
4, // 6: pubapi.API.ActivateAsNode:input_type -> pubapi.ActivateAsNodeRequest
|
|
6, // 7: pubapi.API.ActivateAdditionalNodes:input_type -> pubapi.ActivateAdditionalNodesRequest
|
|
8, // 8: pubapi.API.JoinCluster:input_type -> pubapi.JoinClusterRequest
|
|
10, // 9: pubapi.API.TriggerNodeUpdate:input_type -> pubapi.TriggerNodeUpdateRequest
|
|
1, // 10: pubapi.API.GetState:output_type -> pubapi.GetStateResponse
|
|
3, // 11: pubapi.API.ActivateAsCoordinator:output_type -> pubapi.ActivateAsCoordinatorResponse
|
|
5, // 12: pubapi.API.ActivateAsNode:output_type -> pubapi.ActivateAsNodeResponse
|
|
7, // 13: pubapi.API.ActivateAdditionalNodes:output_type -> pubapi.ActivateAdditionalNodesResponse
|
|
9, // 14: pubapi.API.JoinCluster:output_type -> pubapi.JoinClusterResponse
|
|
11, // 15: pubapi.API.TriggerNodeUpdate:output_type -> pubapi.TriggerNodeUpdateResponse
|
|
10, // [10:16] is the sub-list for method output_type
|
|
4, // [4:10] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pubapi_proto_init() }
|
|
func file_pubapi_proto_init() {
|
|
if File_pubapi_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pubapi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetStateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetStateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAsCoordinatorRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAsCoordinatorResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAsNodeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAsNodeResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAdditionalNodesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivateAdditionalNodesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*JoinClusterRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*JoinClusterResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TriggerNodeUpdateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TriggerNodeUpdateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AdminConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Log); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Peer); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_pubapi_proto_msgTypes[3].OneofWrappers = []interface{}{
|
|
(*ActivateAsCoordinatorResponse_AdminConfig)(nil),
|
|
(*ActivateAsCoordinatorResponse_Log)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_pubapi_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_pubapi_proto_goTypes,
|
|
DependencyIndexes: file_pubapi_proto_depIdxs,
|
|
MessageInfos: file_pubapi_proto_msgTypes,
|
|
}.Build()
|
|
File_pubapi_proto = out.File
|
|
file_pubapi_proto_rawDesc = nil
|
|
file_pubapi_proto_goTypes = nil
|
|
file_pubapi_proto_depIdxs = nil
|
|
}
|