2023-03-15 19:00:52 +03:00
|
|
|
|
2017-05-24 16:34:59 +03:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-05-15 01:45:10 +03:00
|
|
|
// versions:
|
2022-09-19 23:45:44 +03:00
|
|
|
// protoc-gen-go v1.28.1
|
2023-01-24 22:00:27 +03:00
|
|
|
// protoc v3.21.12
|
2018-06-04 17:19:26 +03:00
|
|
|
// source: vault/request_forwarding_service.proto
|
2016-08-19 18:49:25 +03:00
|
|
|
|
2018-09-23 00:58:39 +03:00
|
|
|
package vault
|
2016-08-19 18:49:25 +03:00
|
|
|
|
2018-09-23 00:58:39 +03:00
|
|
|
import (
|
|
|
|
forwarding "github.com/hashicorp/vault/helper/forwarding"
|
2020-05-15 01:45:10 +03:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2016-08-19 18:49:25 +03:00
|
|
|
)
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
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)
|
|
|
|
)
|
2016-08-19 18:49:25 +03:00
|
|
|
|
2017-05-24 22:06:56 +03:00
|
|
|
type EchoRequest struct {
|
2020-05-15 01:45:10 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-07-11 03:49:48 +03:00
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
2017-10-23 21:59:37 +03:00
|
|
|
// ClusterAddr is used to send up a standby node's address to the active
|
|
|
|
// node upon heartbeat
|
2018-07-11 03:49:48 +03:00
|
|
|
ClusterAddr string `protobuf:"bytes,2,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
2017-10-23 21:59:37 +03:00
|
|
|
// ClusterAddrs is used to send up a list of cluster addresses to a dr
|
|
|
|
// primary from a dr secondary
|
2021-03-03 21:59:50 +03:00
|
|
|
ClusterAddrs []string `protobuf:"bytes,3,rep,name=cluster_addrs,json=clusterAddrs,proto3" json:"cluster_addrs,omitempty"`
|
|
|
|
RaftAppliedIndex uint64 `protobuf:"varint,4,opt,name=raft_applied_index,json=raftAppliedIndex,proto3" json:"raft_applied_index,omitempty"`
|
|
|
|
RaftNodeID string `protobuf:"bytes,5,opt,name=raft_node_id,json=raftNodeId,proto3" json:"raft_node_id,omitempty"`
|
|
|
|
NodeInfo *NodeInformation `protobuf:"bytes,6,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
|
|
|
|
RaftTerm uint64 `protobuf:"varint,7,opt,name=raft_term,json=raftTerm,proto3" json:"raft_term,omitempty"`
|
|
|
|
RaftDesiredSuffrage string `protobuf:"bytes,8,opt,name=raft_desired_suffrage,json=raftDesiredSuffrage,proto3" json:"raft_desired_suffrage,omitempty"`
|
2022-05-20 23:49:11 +03:00
|
|
|
RaftUpgradeVersion string `protobuf:"bytes,9,opt,name=raft_upgrade_version,json=raftUpgradeVersion,proto3" json:"raft_upgrade_version,omitempty"`
|
|
|
|
RaftRedundancyZone string `protobuf:"bytes,10,opt,name=raft_redundancy_zone,json=raftRedundancyZone,proto3" json:"raft_redundancy_zone,omitempty"`
|
|
|
|
SdkVersion string `protobuf:"bytes,11,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) Reset() {
|
|
|
|
*x = EchoRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
2018-09-23 00:58:39 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
func (*EchoRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EchoRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_vault_request_forwarding_service_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)
|
2017-05-24 22:06:56 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
// Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EchoRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2017-05-24 22:06:56 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) GetMessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Message
|
2017-05-24 22:06:56 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) GetClusterAddr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterAddr
|
2017-05-24 22:06:56 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) GetClusterAddrs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterAddrs
|
2017-10-23 21:59:37 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) GetRaftAppliedIndex() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftAppliedIndex
|
2019-06-20 22:14:58 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoRequest) GetRaftNodeID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftNodeID
|
2019-06-20 22:14:58 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-07-10 01:11:37 +03:00
|
|
|
func (x *EchoRequest) GetNodeInfo() *NodeInformation {
|
|
|
|
if x != nil {
|
|
|
|
return x.NodeInfo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-03 21:59:50 +03:00
|
|
|
func (x *EchoRequest) GetRaftTerm() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftTerm
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) GetRaftDesiredSuffrage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftDesiredSuffrage
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-05-20 23:49:11 +03:00
|
|
|
func (x *EchoRequest) GetRaftUpgradeVersion() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftUpgradeVersion
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) GetRaftRedundancyZone() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftRedundancyZone
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoRequest) GetSdkVersion() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.SdkVersion
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-05-24 22:06:56 +03:00
|
|
|
type EchoReply struct {
|
2020-05-15 01:45:10 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-07-10 01:11:37 +03:00
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
|
|
ClusterAddrs []string `protobuf:"bytes,2,rep,name=cluster_addrs,json=clusterAddrs,proto3" json:"cluster_addrs,omitempty"`
|
|
|
|
ReplicationState uint32 `protobuf:"varint,3,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
|
|
|
RaftAppliedIndex uint64 `protobuf:"varint,4,opt,name=raft_applied_index,json=raftAppliedIndex,proto3" json:"raft_applied_index,omitempty"`
|
|
|
|
RaftNodeID string `protobuf:"bytes,5,opt,name=raft_node_id,json=raftNodeId,proto3" json:"raft_node_id,omitempty"`
|
|
|
|
NodeInfo *NodeInformation `protobuf:"bytes,6,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EchoReply) Reset() {
|
|
|
|
*x = EchoReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
2018-09-23 00:58:39 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
func (*EchoReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EchoReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_vault_request_forwarding_service_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)
|
2018-05-03 22:38:53 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
// Deprecated: Use EchoReply.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EchoReply) Descriptor() ([]byte, []int) {
|
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2017-05-24 22:06:56 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) GetMessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Message
|
2017-05-24 22:06:56 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) GetClusterAddrs() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterAddrs
|
2017-05-24 22:06:56 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) GetReplicationState() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ReplicationState
|
2018-01-18 06:17:47 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) GetRaftAppliedIndex() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftAppliedIndex
|
2019-06-20 22:14:58 +03:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *EchoReply) GetRaftNodeID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RaftNodeID
|
2019-06-20 22:14:58 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-07-10 01:11:37 +03:00
|
|
|
func (x *EchoReply) GetNodeInfo() *NodeInformation {
|
|
|
|
if x != nil {
|
|
|
|
return x.NodeInfo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeInformation struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
ClusterAddr string `protobuf:"bytes,1,opt,name=cluster_addr,json=clusterAddr,proto3" json:"cluster_addr,omitempty"`
|
|
|
|
ApiAddr string `protobuf:"bytes,2,opt,name=api_addr,json=apiAddr,proto3" json:"api_addr,omitempty"`
|
|
|
|
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
|
|
NodeID string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
|
|
|
ReplicationState uint32 `protobuf:"varint,5,opt,name=replication_state,json=replicationState,proto3" json:"replication_state,omitempty"`
|
2021-11-30 22:49:58 +03:00
|
|
|
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
2020-07-10 01:11:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) Reset() {
|
|
|
|
*x = NodeInformation{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NodeInformation) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NodeInformation) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_vault_request_forwarding_service_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 NodeInformation.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NodeInformation) Descriptor() ([]byte, []int) {
|
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) GetClusterAddr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterAddr
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) GetApiAddr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ApiAddr
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) GetMode() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Mode
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) GetNodeID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NodeID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NodeInformation) GetReplicationState() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ReplicationState
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-11-30 22:49:58 +03:00
|
|
|
func (x *NodeInformation) GetHostname() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Hostname
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-09-18 06:03:00 +03:00
|
|
|
type ClientKey struct {
|
2020-05-15 01:45:10 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
X []byte `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
|
|
|
|
Y []byte `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
|
|
|
|
D []byte `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ClientKey) Reset() {
|
|
|
|
*x = ClientKey{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[3]
|
2020-05-15 01:45:10 +03:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2018-09-23 00:58:39 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *ClientKey) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
func (*ClientKey) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ClientKey) ProtoReflect() protoreflect.Message {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[3]
|
2020-05-15 01:45:10 +03:00
|
|
|
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)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
// Deprecated: Use ClientKey.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ClientKey) Descriptor() ([]byte, []int) {
|
2020-07-10 01:11:37 +03:00
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{3}
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
2018-09-18 06:03:00 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *ClientKey) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *ClientKey) GetX() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.X
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *ClientKey) GetY() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Y
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *ClientKey) GetD() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.D
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type PerfStandbyElectionInput struct {
|
2020-05-15 01:45:10 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionInput) Reset() {
|
|
|
|
*x = PerfStandbyElectionInput{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[4]
|
2020-05-15 01:45:10 +03:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2018-09-23 00:58:39 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionInput) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (*PerfStandbyElectionInput) ProtoMessage() {}
|
2018-09-18 06:03:00 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionInput) ProtoReflect() protoreflect.Message {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[4]
|
2020-05-15 01:45:10 +03:00
|
|
|
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)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2018-09-23 00:58:39 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
// Deprecated: Use PerfStandbyElectionInput.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PerfStandbyElectionInput) Descriptor() ([]byte, []int) {
|
2020-07-10 01:11:37 +03:00
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{4}
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
type PerfStandbyElectionResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
ClusterID string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
|
|
PrimaryClusterAddr string `protobuf:"bytes,3,opt,name=primary_cluster_addr,json=primaryClusterAddr,proto3" json:"primary_cluster_addr,omitempty"`
|
|
|
|
CaCert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
|
|
|
|
ClientCert []byte `protobuf:"bytes,5,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"`
|
|
|
|
ClientKey *ClientKey `protobuf:"bytes,6,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PerfStandbyElectionResponse) Reset() {
|
|
|
|
*x = PerfStandbyElectionResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[5]
|
2020-05-15 01:45:10 +03:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
func (x *PerfStandbyElectionResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
2020-05-15 01:45:10 +03:00
|
|
|
|
|
|
|
func (*PerfStandbyElectionResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PerfStandbyElectionResponse) ProtoReflect() protoreflect.Message {
|
2020-07-10 01:11:37 +03:00
|
|
|
mi := &file_vault_request_forwarding_service_proto_msgTypes[5]
|
2020-05-15 01:45:10 +03:00
|
|
|
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)
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
// Deprecated: Use PerfStandbyElectionResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PerfStandbyElectionResponse) Descriptor() ([]byte, []int) {
|
2020-07-10 01:11:37 +03:00
|
|
|
return file_vault_request_forwarding_service_proto_rawDescGZIP(), []int{5}
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
2018-09-18 06:03:00 +03:00
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetClusterID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClusterID
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetPrimaryClusterAddr() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.PrimaryClusterAddr
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetCaCert() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.CaCert
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetClientCert() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientCert
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
func (x *PerfStandbyElectionResponse) GetClientKey() *ClientKey {
|
|
|
|
if x != nil {
|
|
|
|
return x.ClientKey
|
2018-09-18 06:03:00 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-15 01:45:10 +03:00
|
|
|
var File_vault_request_forwarding_service_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_vault_request_forwarding_service_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x26, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
|
|
|
|
0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
|
|
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x1a,
|
|
|
|
0x1d, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69,
|
2022-05-20 23:49:11 +03:00
|
|
|
0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca,
|
|
|
|
0x03, 0x0a, 0x0b, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
|
2020-05-15 01:45:10 +03:00
|
|
|
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73,
|
|
|
|
0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63,
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03,
|
|
|
|
0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x73,
|
|
|
|
0x12, 0x2c, 0x0a, 0x12, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64,
|
|
|
|
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x72, 0x61,
|
|
|
|
0x66, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x20,
|
|
|
|
0x0a, 0x0c, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x61, 0x66, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
2020-07-10 01:11:37 +03:00
|
|
|
0x12, 0x33, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6e, 0x6f, 0x64,
|
2021-03-03 21:59:50 +03:00
|
|
|
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x74, 0x65,
|
|
|
|
0x72, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x61, 0x66, 0x74, 0x54, 0x65,
|
|
|
|
0x72, 0x6d, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x69, 0x72,
|
|
|
|
0x65, 0x64, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x72, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x13, 0x72, 0x61, 0x66, 0x74, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, 0x75,
|
2022-05-20 23:49:11 +03:00
|
|
|
0x66, 0x66, 0x72, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x75,
|
|
|
|
0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x61, 0x66, 0x74, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64,
|
|
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x61, 0x66, 0x74,
|
|
|
|
0x5f, 0x72, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x7a, 0x6f, 0x6e, 0x65,
|
|
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x61, 0x66, 0x74, 0x52, 0x65, 0x64, 0x75,
|
|
|
|
0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64,
|
|
|
|
0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x0a, 0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xfc, 0x01, 0x0a, 0x09,
|
|
|
|
0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 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, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61,
|
|
|
|
0x64, 0x64, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73,
|
|
|
|
0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c,
|
|
|
|
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x61, 0x70,
|
|
|
|
0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
0x04, 0x52, 0x10, 0x72, 0x61, 0x66, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x49, 0x6e,
|
|
|
|
0x64, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
|
0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x61, 0x66, 0x74, 0x4e,
|
|
|
|
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e,
|
|
|
|
0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74,
|
|
|
|
0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x0f, 0x4e,
|
|
|
|
0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
|
|
|
|
0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64,
|
|
|
|
0x72, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x69, 0x41, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65,
|
|
|
|
0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70,
|
|
|
|
0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x22, 0x49, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12,
|
|
|
|
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
|
|
|
0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01,
|
|
|
|
0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x79, 0x12,
|
|
|
|
0x0c, 0x0a, 0x01, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x22, 0x1a, 0x0a,
|
|
|
|
0x18, 0x50, 0x65, 0x72, 0x66, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62, 0x79, 0x45, 0x6c, 0x65, 0x63,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x1b, 0x50, 0x65,
|
|
|
|
0x72, 0x66, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62, 0x79, 0x45, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75,
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x69, 0x6d,
|
|
|
|
0x61, 0x72, 0x79, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43,
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61,
|
|
|
|
0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x61, 0x43,
|
|
|
|
0x65, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x65,
|
|
|
|
0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
|
|
|
0x43, 0x65, 0x72, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6b,
|
|
|
|
0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74,
|
|
|
|
0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65,
|
|
|
|
0x6e, 0x74, 0x4b, 0x65, 0x79, 0x32, 0xf0, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x3d, 0x0a, 0x0e, 0x46,
|
|
|
|
0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x13, 0x2e,
|
|
|
|
0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e,
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x04, 0x45, 0x63,
|
|
|
|
0x68, 0x6f, 0x12, 0x12, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x45,
|
|
|
|
0x63, 0x68, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x21, 0x50, 0x65,
|
|
|
|
0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62, 0x79,
|
|
|
|
0x45, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
0x1f, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x53, 0x74, 0x61, 0x6e,
|
|
|
|
0x64, 0x62, 0x79, 0x45, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74,
|
|
|
|
0x1a, 0x22, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x66, 0x53, 0x74, 0x61,
|
2021-11-30 22:49:58 +03:00
|
|
|
0x6e, 0x64, 0x62, 0x79, 0x45, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
2022-05-20 23:49:11 +03:00
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x22, 0x5a, 0x20, 0x67, 0x69, 0x74, 0x68,
|
|
|
|
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70,
|
|
|
|
0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x62, 0x06, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x33,
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_vault_request_forwarding_service_proto_rawDescOnce sync.Once
|
|
|
|
file_vault_request_forwarding_service_proto_rawDescData = file_vault_request_forwarding_service_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_vault_request_forwarding_service_proto_rawDescGZIP() []byte {
|
|
|
|
file_vault_request_forwarding_service_proto_rawDescOnce.Do(func() {
|
|
|
|
file_vault_request_forwarding_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_request_forwarding_service_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_vault_request_forwarding_service_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2020-07-10 01:11:37 +03:00
|
|
|
var file_vault_request_forwarding_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
2020-05-15 01:45:10 +03:00
|
|
|
var file_vault_request_forwarding_service_proto_goTypes = []interface{}{
|
|
|
|
(*EchoRequest)(nil), // 0: vault.EchoRequest
|
|
|
|
(*EchoReply)(nil), // 1: vault.EchoReply
|
2020-07-10 01:11:37 +03:00
|
|
|
(*NodeInformation)(nil), // 2: vault.NodeInformation
|
|
|
|
(*ClientKey)(nil), // 3: vault.ClientKey
|
|
|
|
(*PerfStandbyElectionInput)(nil), // 4: vault.PerfStandbyElectionInput
|
|
|
|
(*PerfStandbyElectionResponse)(nil), // 5: vault.PerfStandbyElectionResponse
|
|
|
|
(*forwarding.Request)(nil), // 6: forwarding.Request
|
|
|
|
(*forwarding.Response)(nil), // 7: forwarding.Response
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
|
|
|
var file_vault_request_forwarding_service_proto_depIDxs = []int32{
|
2020-07-10 01:11:37 +03:00
|
|
|
2, // 0: vault.EchoRequest.node_info:type_name -> vault.NodeInformation
|
|
|
|
2, // 1: vault.EchoReply.node_info:type_name -> vault.NodeInformation
|
|
|
|
3, // 2: vault.PerfStandbyElectionResponse.client_key:type_name -> vault.ClientKey
|
|
|
|
6, // 3: vault.RequestForwarding.ForwardRequest:input_type -> forwarding.Request
|
|
|
|
0, // 4: vault.RequestForwarding.Echo:input_type -> vault.EchoRequest
|
|
|
|
4, // 5: vault.RequestForwarding.PerformanceStandbyElectionRequest:input_type -> vault.PerfStandbyElectionInput
|
|
|
|
7, // 6: vault.RequestForwarding.ForwardRequest:output_type -> forwarding.Response
|
|
|
|
1, // 7: vault.RequestForwarding.Echo:output_type -> vault.EchoReply
|
|
|
|
5, // 8: vault.RequestForwarding.PerformanceStandbyElectionRequest:output_type -> vault.PerfStandbyElectionResponse
|
|
|
|
6, // [6:9] is the sub-list for method output_type
|
|
|
|
3, // [3:6] is the sub-list for method input_type
|
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
|
0, // [0:3] is the sub-list for field type_name
|
2020-05-15 01:45:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_vault_request_forwarding_service_proto_init() }
|
|
|
|
func file_vault_request_forwarding_service_proto_init() {
|
|
|
|
if File_vault_request_forwarding_service_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EchoRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EchoReply); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2020-07-10 01:11:37 +03:00
|
|
|
switch v := v.(*NodeInformation); i {
|
2020-05-15 01:45:10 +03:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-06-30 01:36:22 +03:00
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2020-07-10 01:11:37 +03:00
|
|
|
switch v := v.(*ClientKey); i {
|
2020-06-30 00:23:28 +03:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-06-30 01:36:22 +03:00
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2020-07-10 01:11:37 +03:00
|
|
|
switch v := v.(*PerfStandbyElectionInput); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_vault_request_forwarding_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2020-05-15 01:45:10 +03:00
|
|
|
switch v := v.(*PerfStandbyElectionResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_vault_request_forwarding_service_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2020-07-10 01:11:37 +03:00
|
|
|
NumMessages: 6,
|
2020-05-15 01:45:10 +03:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_vault_request_forwarding_service_proto_goTypes,
|
|
|
|
DependencyIndexes: file_vault_request_forwarding_service_proto_depIDxs,
|
|
|
|
MessageInfos: file_vault_request_forwarding_service_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_vault_request_forwarding_service_proto = out.File
|
|
|
|
file_vault_request_forwarding_service_proto_rawDesc = nil
|
|
|
|
file_vault_request_forwarding_service_proto_goTypes = nil
|
|
|
|
file_vault_request_forwarding_service_proto_depIDxs = nil
|
2019-02-06 00:02:15 +03:00
|
|
|
}
|