node status as a module to be importable by HCP cloud (#17089)
This commit is contained in:
parent
c73aedf042
commit
661ba95887
1
Makefile
1
Makefile
@ -183,6 +183,7 @@ proto: bootstrap
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative sdk/plugin/pb/*.proto
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative vault/tokens/token.proto
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative sdk/helper/pluginutil/*.proto
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative vault/hcp_link/proto/node_status/*.proto
|
||||
|
||||
# No additional sed expressions should be added to this list. Going forward
|
||||
# we should just use the variable names choosen by protobuf. These are left
|
||||
|
5
vault/hcp_link/proto/go.mod
Normal file
5
vault/hcp_link/proto/go.mod
Normal file
@ -0,0 +1,5 @@
|
||||
module github.com/hashicorp/vault/vault/hcp_link/proto
|
||||
|
||||
go 1.18
|
||||
|
||||
require google.golang.org/protobuf v1.28.1
|
8
vault/hcp_link/proto/go.sum
Normal file
8
vault/hcp_link/proto/go.sum
Normal file
@ -0,0 +1,8 @@
|
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
|
||||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
|
||||
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
293
vault/hcp_link/proto/node_status/status.pb.go
Normal file
293
vault/hcp_link/proto/node_status/status.pb.go
Normal file
@ -0,0 +1,293 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.0
|
||||
// protoc v3.19.4
|
||||
// source: vault/hcp_link/proto/node_status/status.proto
|
||||
|
||||
package node_status
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
_ "google.golang.org/protobuf/types/known/emptypb"
|
||||
_ "google.golang.org/protobuf/types/known/timestamppb"
|
||||
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 LinkedClusterNodeStatusResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
||||
Initialized bool `protobuf:"varint,2,opt,name=Initialized,proto3" json:"Initialized,omitempty"`
|
||||
Sealed bool `protobuf:"varint,3,opt,name=Sealed,proto3" json:"Sealed,omitempty"`
|
||||
T int64 `protobuf:"varint,4,opt,name=T,proto3" json:"T,omitempty"`
|
||||
N int64 `protobuf:"varint,5,opt,name=N,proto3" json:"N,omitempty"`
|
||||
Progress int64 `protobuf:"varint,6,opt,name=Progress,proto3" json:"Progress,omitempty"`
|
||||
Nonce string `protobuf:"bytes,7,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
|
||||
Version string `protobuf:"bytes,8,opt,name=Version,proto3" json:"Version,omitempty"`
|
||||
BuildDate string `protobuf:"bytes,9,opt,name=BuildDate,proto3" json:"BuildDate,omitempty"`
|
||||
Migration bool `protobuf:"varint,10,opt,name=Migration,proto3" json:"Migration,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,11,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"`
|
||||
ClusterID string `protobuf:"bytes,12,opt,name=ClusterID,proto3" json:"ClusterID,omitempty"`
|
||||
RecoverySeal bool `protobuf:"varint,13,opt,name=RecoverySeal,proto3" json:"RecoverySeal,omitempty"`
|
||||
StorageType string `protobuf:"bytes,14,opt,name=StorageType,proto3" json:"StorageType,omitempty"`
|
||||
ReplicationState []string `protobuf:"bytes,15,rep,name=ReplicationState,proto3" json:"ReplicationState,omitempty"`
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) Reset() {
|
||||
*x = LinkedClusterNodeStatusResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_vault_hcp_link_proto_node_status_status_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LinkedClusterNodeStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_vault_hcp_link_proto_node_status_status_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 LinkedClusterNodeStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*LinkedClusterNodeStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_vault_hcp_link_proto_node_status_status_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetType() string {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetInitialized() bool {
|
||||
if x != nil {
|
||||
return x.Initialized
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetSealed() bool {
|
||||
if x != nil {
|
||||
return x.Sealed
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetT() int64 {
|
||||
if x != nil {
|
||||
return x.T
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetN() int64 {
|
||||
if x != nil {
|
||||
return x.N
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetProgress() int64 {
|
||||
if x != nil {
|
||||
return x.Progress
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetNonce() string {
|
||||
if x != nil {
|
||||
return x.Nonce
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetVersion() string {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetBuildDate() string {
|
||||
if x != nil {
|
||||
return x.BuildDate
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetMigration() bool {
|
||||
if x != nil {
|
||||
return x.Migration
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetClusterName() string {
|
||||
if x != nil {
|
||||
return x.ClusterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetClusterID() string {
|
||||
if x != nil {
|
||||
return x.ClusterID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetRecoverySeal() bool {
|
||||
if x != nil {
|
||||
return x.RecoverySeal
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetStorageType() string {
|
||||
if x != nil {
|
||||
return x.StorageType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LinkedClusterNodeStatusResponse) GetReplicationState() []string {
|
||||
if x != nil {
|
||||
return x.ReplicationState
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_vault_hcp_link_proto_node_status_status_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_vault_hcp_link_proto_node_status_status_proto_rawDesc = []byte{
|
||||
0x0a, 0x2d, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x68, 0x63, 0x70, 0x5f, 0x6c, 0x69, 0x6e, 0x6b,
|
||||
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x24, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x76, 0x61, 0x75, 0x6c, 0x74,
|
||||
0x2e, 0x68, 0x63, 0x70, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x03, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49,
|
||||
0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x53, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x53,
|
||||
0x65, 0x61, 0x6c, 0x65, 0x64, 0x12, 0x0c, 0x0a, 0x01, 0x54, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x01, 0x54, 0x12, 0x0c, 0x0a, 0x01, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x01,
|
||||
0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4e, 0x6f,
|
||||
0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x4d,
|
||||
0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
||||
0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x63,
|
||||
0x6f, 0x76, 0x65, 0x72, 0x79, 0x53, 0x65, 0x61, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x0c, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x53, 0x65, 0x61, 0x6c, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x2a, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
|
||||
0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x69,
|
||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x3d, 0x5a, 0x3b, 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, 0x2f,
|
||||
0x68, 0x63, 0x70, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_vault_hcp_link_proto_node_status_status_proto_rawDescOnce sync.Once
|
||||
file_vault_hcp_link_proto_node_status_status_proto_rawDescData = file_vault_hcp_link_proto_node_status_status_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_vault_hcp_link_proto_node_status_status_proto_rawDescGZIP() []byte {
|
||||
file_vault_hcp_link_proto_node_status_status_proto_rawDescOnce.Do(func() {
|
||||
file_vault_hcp_link_proto_node_status_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_vault_hcp_link_proto_node_status_status_proto_rawDescData)
|
||||
})
|
||||
return file_vault_hcp_link_proto_node_status_status_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_vault_hcp_link_proto_node_status_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_vault_hcp_link_proto_node_status_status_proto_goTypes = []interface{}{
|
||||
(*LinkedClusterNodeStatusResponse)(nil), // 0: hashicorp.vault.hcp_link.node_status.LinkedClusterNodeStatusResponse
|
||||
}
|
||||
var file_vault_hcp_link_proto_node_status_status_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
0, // [0:0] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_vault_hcp_link_proto_node_status_status_proto_init() }
|
||||
func file_vault_hcp_link_proto_node_status_status_proto_init() {
|
||||
if File_vault_hcp_link_proto_node_status_status_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_vault_hcp_link_proto_node_status_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LinkedClusterNodeStatusResponse); 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_hcp_link_proto_node_status_status_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_vault_hcp_link_proto_node_status_status_proto_goTypes,
|
||||
DependencyIndexes: file_vault_hcp_link_proto_node_status_status_proto_depIdxs,
|
||||
MessageInfos: file_vault_hcp_link_proto_node_status_status_proto_msgTypes,
|
||||
}.Build()
|
||||
File_vault_hcp_link_proto_node_status_status_proto = out.File
|
||||
file_vault_hcp_link_proto_node_status_status_proto_rawDesc = nil
|
||||
file_vault_hcp_link_proto_node_status_status_proto_goTypes = nil
|
||||
file_vault_hcp_link_proto_node_status_status_proto_depIdxs = nil
|
||||
}
|
26
vault/hcp_link/proto/node_status/status.proto
Normal file
26
vault/hcp_link/proto/node_status/status.proto
Normal file
@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "github.com/hashicorp/vault/vault/hcp_link/proto/node_status";
|
||||
|
||||
package hashicorp.vault.hcp_link.node_status;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
|
||||
message LinkedClusterNodeStatusResponse {
|
||||
string Type = 1;
|
||||
bool Initialized = 2;
|
||||
bool Sealed = 3;
|
||||
int64 T = 4;
|
||||
int64 N = 5;
|
||||
int64 Progress = 6;
|
||||
string Nonce = 7;
|
||||
string Version = 8;
|
||||
string BuildDate = 9;
|
||||
bool Migration = 10;
|
||||
string ClusterName = 11;
|
||||
string ClusterID = 12;
|
||||
bool RecoverySeal = 13;
|
||||
string StorageType = 14;
|
||||
repeated string ReplicationState = 15;
|
||||
}
|
Loading…
Reference in New Issue
Block a user