mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update csi-addons spec
update the csi-addons spec to the latest commit. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
ad32388419
commit
a160bf1359
379
vendor/github.com/csi-addons/spec/lib/go/identity/identity.pb.go
generated
vendored
379
vendor/github.com/csi-addons/spec/lib/go/identity/identity.pb.go
generated
vendored
@ -2,14 +2,13 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.14.0
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc v3.20.2
|
||||
// source: identity/identity.proto
|
||||
|
||||
package identity
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
@ -24,10 +23,6 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
// Type describes a CSI Service that CSI-drivers can support.
|
||||
type Capability_Service_Type int32
|
||||
|
||||
@ -267,6 +262,89 @@ func (Capability_VolumeReplication_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 3, 0}
|
||||
}
|
||||
|
||||
// Type describes a CSI Service that CSI-drivers can support.
|
||||
type Capability_VolumeGroup_Type int32
|
||||
|
||||
const (
|
||||
// UNKNOWN indicates that the CSI-driver does not support the
|
||||
// VolumeGroup operation in the current mode. The CSI-Addons CO
|
||||
// plugin will most likely ignore this node for the
|
||||
// VolumeGroup operation.
|
||||
Capability_VolumeGroup_UNKNOWN Capability_VolumeGroup_Type = 0
|
||||
// VOLUME_GROUP indicates that the CSI-driver provides RPCs for a
|
||||
// VolumeGroup operation.
|
||||
// The presence of this capability determines whether the CSI-Addons CO
|
||||
// plugin can invoke RPCs that require access to the storage system,
|
||||
// similar to the CSI Controller (provisioner).
|
||||
Capability_VolumeGroup_VOLUME_GROUP Capability_VolumeGroup_Type = 1
|
||||
// LIMIT_VOLUME_TO_ONE_VOLUME_GROUP indicates that the CSI-driver
|
||||
// does not support that one volume will be in multiple VGs,
|
||||
// so it can be in only one VG.
|
||||
Capability_VolumeGroup_LIMIT_VOLUME_TO_ONE_VOLUME_GROUP Capability_VolumeGroup_Type = 2
|
||||
// DO_NOT_ALLOW_VG_TO_DELETE_VOLUMES indicates that the CSI-driver
|
||||
// does not support that deletion of the VG
|
||||
// won't delete the volumes under it.
|
||||
Capability_VolumeGroup_DO_NOT_ALLOW_VG_TO_DELETE_VOLUMES Capability_VolumeGroup_Type = 3
|
||||
// MODIFY_VOLUME_GROUP indicates that the CSI-driver
|
||||
// supports that modifying the VG.
|
||||
Capability_VolumeGroup_MODIFY_VOLUME_GROUP Capability_VolumeGroup_Type = 4
|
||||
// GET_VOLUME_GROUP indicates that the CSI-driver
|
||||
// supports getting the VG.
|
||||
Capability_VolumeGroup_GET_VOLUME_GROUP Capability_VolumeGroup_Type = 5
|
||||
// LIST_VOLUME_GROUPS indicates that the CSI-driver
|
||||
// supports listing the VGs.
|
||||
Capability_VolumeGroup_LIST_VOLUME_GROUPS Capability_VolumeGroup_Type = 6
|
||||
)
|
||||
|
||||
// Enum value maps for Capability_VolumeGroup_Type.
|
||||
var (
|
||||
Capability_VolumeGroup_Type_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "VOLUME_GROUP",
|
||||
2: "LIMIT_VOLUME_TO_ONE_VOLUME_GROUP",
|
||||
3: "DO_NOT_ALLOW_VG_TO_DELETE_VOLUMES",
|
||||
4: "MODIFY_VOLUME_GROUP",
|
||||
5: "GET_VOLUME_GROUP",
|
||||
6: "LIST_VOLUME_GROUPS",
|
||||
}
|
||||
Capability_VolumeGroup_Type_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"VOLUME_GROUP": 1,
|
||||
"LIMIT_VOLUME_TO_ONE_VOLUME_GROUP": 2,
|
||||
"DO_NOT_ALLOW_VG_TO_DELETE_VOLUMES": 3,
|
||||
"MODIFY_VOLUME_GROUP": 4,
|
||||
"GET_VOLUME_GROUP": 5,
|
||||
"LIST_VOLUME_GROUPS": 6,
|
||||
}
|
||||
)
|
||||
|
||||
func (x Capability_VolumeGroup_Type) Enum() *Capability_VolumeGroup_Type {
|
||||
p := new(Capability_VolumeGroup_Type)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x Capability_VolumeGroup_Type) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (Capability_VolumeGroup_Type) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_identity_identity_proto_enumTypes[4].Descriptor()
|
||||
}
|
||||
|
||||
func (Capability_VolumeGroup_Type) Type() protoreflect.EnumType {
|
||||
return &file_identity_identity_proto_enumTypes[4]
|
||||
}
|
||||
|
||||
func (x Capability_VolumeGroup_Type) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use Capability_VolumeGroup_Type.Descriptor instead.
|
||||
func (Capability_VolumeGroup_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 4, 0}
|
||||
}
|
||||
|
||||
// GetIdentityRequest is sent by the CSI-Addons CO plugin to obtain the
|
||||
// drivername, version and optional details from the CSI-driver.
|
||||
type GetIdentityRequest struct {
|
||||
@ -482,6 +560,7 @@ type Capability struct {
|
||||
// *Capability_ReclaimSpace_
|
||||
// *Capability_NetworkFence_
|
||||
// *Capability_VolumeReplication_
|
||||
// *Capability_VolumeGroup_
|
||||
Type isCapability_Type `protobuf_oneof:"type"`
|
||||
}
|
||||
|
||||
@ -552,6 +631,13 @@ func (x *Capability) GetVolumeReplication() *Capability_VolumeReplication {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Capability) GetVolumeGroup() *Capability_VolumeGroup {
|
||||
if x, ok := x.GetType().(*Capability_VolumeGroup_); ok {
|
||||
return x.VolumeGroup
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isCapability_Type interface {
|
||||
isCapability_Type()
|
||||
}
|
||||
@ -576,6 +662,11 @@ type Capability_VolumeReplication_ struct {
|
||||
VolumeReplication *Capability_VolumeReplication `protobuf:"bytes,4,opt,name=volume_replication,json=volumeReplication,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Capability_VolumeGroup_ struct {
|
||||
// VolumeGroup operation capabilities.
|
||||
VolumeGroup *Capability_VolumeGroup `protobuf:"bytes,5,opt,name=volume_group,json=volumeGroup,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Capability_Service_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_ReclaimSpace_) isCapability_Type() {}
|
||||
@ -584,6 +675,8 @@ func (*Capability_NetworkFence_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_VolumeReplication_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_VolumeGroup_) isCapability_Type() {}
|
||||
|
||||
// ProbeRequest is sent to the CSI-driver to confirm that it can respond to
|
||||
// requests from the CSI-Addons CO plugin.
|
||||
type ProbeRequest struct {
|
||||
@ -891,6 +984,56 @@ func (x *Capability_VolumeReplication) GetType() Capability_VolumeReplication_Ty
|
||||
return Capability_VolumeReplication_UNKNOWN
|
||||
}
|
||||
|
||||
// VolumeGroup contains the features of the volumegroup operation
|
||||
// that the CSI-driver supports.
|
||||
type Capability_VolumeGroup struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// type contains the Type of CSI Service that the CSI-driver supports.
|
||||
Type Capability_VolumeGroup_Type `protobuf:"varint,1,opt,name=type,proto3,enum=identity.Capability_VolumeGroup_Type" json:"type,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeGroup) Reset() {
|
||||
*x = Capability_VolumeGroup{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_identity_identity_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeGroup) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Capability_VolumeGroup) ProtoMessage() {}
|
||||
|
||||
func (x *Capability_VolumeGroup) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_identity_identity_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 Capability_VolumeGroup.ProtoReflect.Descriptor instead.
|
||||
func (*Capability_VolumeGroup) Descriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 4}
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeGroup) GetType() Capability_VolumeGroup_Type {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return Capability_VolumeGroup_UNKNOWN
|
||||
}
|
||||
|
||||
var File_identity_identity_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_identity_identity_proto_rawDesc = []byte{
|
||||
@ -920,7 +1063,7 @@ var file_identity_identity_proto_rawDesc = []byte{
|
||||
0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
||||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c,
|
||||
0x69, 0x74, 0x79, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
|
||||
0x73, 0x22, 0xae, 0x06, 0x0a, 0x0a, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x73, 0x22, 0xfc, 0x08, 0x0a, 0x0a, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70,
|
||||
0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48,
|
||||
@ -939,60 +1082,81 @@ var file_identity_identity_proto_rawDesc = []byte{
|
||||
0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c,
|
||||
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x7f, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
||||
0x32, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61,
|
||||
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54,
|
||||
0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16,
|
||||
0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52,
|
||||
0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53,
|
||||
0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x02, 0x1a, 0x78, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x6c,
|
||||
0x61, 0x69, 0x6d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||
0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x63,
|
||||
0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07,
|
||||
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46,
|
||||
0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45,
|
||||
0x10, 0x02, 0x1a, 0x72, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65, 0x6e,
|
||||
0x63, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
||||
0x32, 0x26, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61,
|
||||
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65,
|
||||
0x6e, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x26,
|
||||
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
||||
0x4e, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x46,
|
||||
0x45, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x1a, 0x81, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x69, 0x64, 0x65,
|
||||
0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2b, 0x0a,
|
||||
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
|
||||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c,
|
||||
0x69, 0x74, 0x79, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48,
|
||||
0x00, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x7f,
|
||||
0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x22, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
|
||||
0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c,
|
||||
0x4c, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a,
|
||||
0x0c, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x02, 0x1a,
|
||||
0x78, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12,
|
||||
0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e,
|
||||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c,
|
||||
0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x61, 0x63, 0x65,
|
||||
0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
|
||||
0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a,
|
||||
0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x1a, 0x72, 0x0a, 0x0c, 0x4e, 0x65, 0x74,
|
||||
0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x4e, 0x65,
|
||||
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x26, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a,
|
||||
0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x45,
|
||||
0x54, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x46, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x1a, 0x81, 0x01,
|
||||
0x0a, 0x11, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x2b, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70,
|
||||
0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65,
|
||||
0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x2b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07,
|
||||
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x4f, 0x4c,
|
||||
0x55, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10,
|
||||
0x01, 0x1a, 0x84, 0x02, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x72, 0x6f, 0x75,
|
||||
0x70, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x25, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62,
|
||||
0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x72, 0x6f, 0x75,
|
||||
0x70, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xb9, 0x01, 0x0a,
|
||||
0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
|
||||
0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x50,
|
||||
0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x22, 0x41, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
|
||||
0x72, 0x65, 0x61, 0x64, 0x79, 0x32, 0xee, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x74, 0x79, 0x12, 0x4c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||
0x79, 0x12, 0x1c, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1d, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x64,
|
||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
||||
0x12, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
|
||||
0x69, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47,
|
||||
0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x47, 0x52, 0x4f,
|
||||
0x55, 0x50, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x56, 0x4f,
|
||||
0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x4f, 0x4e, 0x45, 0x5f, 0x56, 0x4f, 0x4c, 0x55,
|
||||
0x4d, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x4f,
|
||||
0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x56, 0x47, 0x5f, 0x54, 0x4f,
|
||||
0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x53, 0x10,
|
||||
0x03, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x59, 0x5f, 0x56, 0x4f, 0x4c, 0x55,
|
||||
0x4d, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x45,
|
||||
0x54, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x05,
|
||||
0x12, 0x16, 0x0a, 0x12, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f,
|
||||
0x47, 0x52, 0x4f, 0x55, 0x50, 0x53, 0x10, 0x06, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x22, 0x41, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x30, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||||
0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x72, 0x65,
|
||||
0x61, 0x64, 0x79, 0x32, 0xee, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
||||
0x12, 0x4c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
|
||||
0x1c, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x64,
|
||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
|
||||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x64, 0x65, 0x6e,
|
||||
0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58,
|
||||
0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
|
||||
0x73, 0x12, 0x20, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
||||
0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, 0x50, 0x72,
|
||||
0x6f, 0x62, 0x65, 0x12, 0x16, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50,
|
||||
0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x69, 0x64,
|
||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x69, 0x64, 0x65, 0x6e,
|
||||
0x74, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x62,
|
||||
0x65, 0x12, 0x16, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f,
|
||||
0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x69, 0x64, 0x65, 0x6e,
|
||||
0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -1007,50 +1171,54 @@ func file_identity_identity_proto_rawDescGZIP() []byte {
|
||||
return file_identity_identity_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_identity_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
||||
var file_identity_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_identity_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
|
||||
var file_identity_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_identity_identity_proto_goTypes = []interface{}{
|
||||
(Capability_Service_Type)(0), // 0: identity.Capability.Service.Type
|
||||
(Capability_ReclaimSpace_Type)(0), // 1: identity.Capability.ReclaimSpace.Type
|
||||
(Capability_NetworkFence_Type)(0), // 2: identity.Capability.NetworkFence.Type
|
||||
(Capability_VolumeReplication_Type)(0), // 3: identity.Capability.VolumeReplication.Type
|
||||
(*GetIdentityRequest)(nil), // 4: identity.GetIdentityRequest
|
||||
(*GetIdentityResponse)(nil), // 5: identity.GetIdentityResponse
|
||||
(*GetCapabilitiesRequest)(nil), // 6: identity.GetCapabilitiesRequest
|
||||
(*GetCapabilitiesResponse)(nil), // 7: identity.GetCapabilitiesResponse
|
||||
(*Capability)(nil), // 8: identity.Capability
|
||||
(*ProbeRequest)(nil), // 9: identity.ProbeRequest
|
||||
(*ProbeResponse)(nil), // 10: identity.ProbeResponse
|
||||
nil, // 11: identity.GetIdentityResponse.ManifestEntry
|
||||
(*Capability_Service)(nil), // 12: identity.Capability.Service
|
||||
(*Capability_ReclaimSpace)(nil), // 13: identity.Capability.ReclaimSpace
|
||||
(*Capability_NetworkFence)(nil), // 14: identity.Capability.NetworkFence
|
||||
(*Capability_VolumeReplication)(nil), // 15: identity.Capability.VolumeReplication
|
||||
(*wrapperspb.BoolValue)(nil), // 16: google.protobuf.BoolValue
|
||||
(Capability_VolumeGroup_Type)(0), // 4: identity.Capability.VolumeGroup.Type
|
||||
(*GetIdentityRequest)(nil), // 5: identity.GetIdentityRequest
|
||||
(*GetIdentityResponse)(nil), // 6: identity.GetIdentityResponse
|
||||
(*GetCapabilitiesRequest)(nil), // 7: identity.GetCapabilitiesRequest
|
||||
(*GetCapabilitiesResponse)(nil), // 8: identity.GetCapabilitiesResponse
|
||||
(*Capability)(nil), // 9: identity.Capability
|
||||
(*ProbeRequest)(nil), // 10: identity.ProbeRequest
|
||||
(*ProbeResponse)(nil), // 11: identity.ProbeResponse
|
||||
nil, // 12: identity.GetIdentityResponse.ManifestEntry
|
||||
(*Capability_Service)(nil), // 13: identity.Capability.Service
|
||||
(*Capability_ReclaimSpace)(nil), // 14: identity.Capability.ReclaimSpace
|
||||
(*Capability_NetworkFence)(nil), // 15: identity.Capability.NetworkFence
|
||||
(*Capability_VolumeReplication)(nil), // 16: identity.Capability.VolumeReplication
|
||||
(*Capability_VolumeGroup)(nil), // 17: identity.Capability.VolumeGroup
|
||||
(*wrapperspb.BoolValue)(nil), // 18: google.protobuf.BoolValue
|
||||
}
|
||||
var file_identity_identity_proto_depIdxs = []int32{
|
||||
11, // 0: identity.GetIdentityResponse.manifest:type_name -> identity.GetIdentityResponse.ManifestEntry
|
||||
8, // 1: identity.GetCapabilitiesResponse.capabilities:type_name -> identity.Capability
|
||||
12, // 2: identity.Capability.service:type_name -> identity.Capability.Service
|
||||
13, // 3: identity.Capability.reclaim_space:type_name -> identity.Capability.ReclaimSpace
|
||||
14, // 4: identity.Capability.network_fence:type_name -> identity.Capability.NetworkFence
|
||||
15, // 5: identity.Capability.volume_replication:type_name -> identity.Capability.VolumeReplication
|
||||
16, // 6: identity.ProbeResponse.ready:type_name -> google.protobuf.BoolValue
|
||||
0, // 7: identity.Capability.Service.type:type_name -> identity.Capability.Service.Type
|
||||
1, // 8: identity.Capability.ReclaimSpace.type:type_name -> identity.Capability.ReclaimSpace.Type
|
||||
2, // 9: identity.Capability.NetworkFence.type:type_name -> identity.Capability.NetworkFence.Type
|
||||
3, // 10: identity.Capability.VolumeReplication.type:type_name -> identity.Capability.VolumeReplication.Type
|
||||
4, // 11: identity.Identity.GetIdentity:input_type -> identity.GetIdentityRequest
|
||||
6, // 12: identity.Identity.GetCapabilities:input_type -> identity.GetCapabilitiesRequest
|
||||
9, // 13: identity.Identity.Probe:input_type -> identity.ProbeRequest
|
||||
5, // 14: identity.Identity.GetIdentity:output_type -> identity.GetIdentityResponse
|
||||
7, // 15: identity.Identity.GetCapabilities:output_type -> identity.GetCapabilitiesResponse
|
||||
10, // 16: identity.Identity.Probe:output_type -> identity.ProbeResponse
|
||||
14, // [14:17] is the sub-list for method output_type
|
||||
11, // [11:14] is the sub-list for method input_type
|
||||
11, // [11:11] is the sub-list for extension type_name
|
||||
11, // [11:11] is the sub-list for extension extendee
|
||||
0, // [0:11] is the sub-list for field type_name
|
||||
12, // 0: identity.GetIdentityResponse.manifest:type_name -> identity.GetIdentityResponse.ManifestEntry
|
||||
9, // 1: identity.GetCapabilitiesResponse.capabilities:type_name -> identity.Capability
|
||||
13, // 2: identity.Capability.service:type_name -> identity.Capability.Service
|
||||
14, // 3: identity.Capability.reclaim_space:type_name -> identity.Capability.ReclaimSpace
|
||||
15, // 4: identity.Capability.network_fence:type_name -> identity.Capability.NetworkFence
|
||||
16, // 5: identity.Capability.volume_replication:type_name -> identity.Capability.VolumeReplication
|
||||
17, // 6: identity.Capability.volume_group:type_name -> identity.Capability.VolumeGroup
|
||||
18, // 7: identity.ProbeResponse.ready:type_name -> google.protobuf.BoolValue
|
||||
0, // 8: identity.Capability.Service.type:type_name -> identity.Capability.Service.Type
|
||||
1, // 9: identity.Capability.ReclaimSpace.type:type_name -> identity.Capability.ReclaimSpace.Type
|
||||
2, // 10: identity.Capability.NetworkFence.type:type_name -> identity.Capability.NetworkFence.Type
|
||||
3, // 11: identity.Capability.VolumeReplication.type:type_name -> identity.Capability.VolumeReplication.Type
|
||||
4, // 12: identity.Capability.VolumeGroup.type:type_name -> identity.Capability.VolumeGroup.Type
|
||||
5, // 13: identity.Identity.GetIdentity:input_type -> identity.GetIdentityRequest
|
||||
7, // 14: identity.Identity.GetCapabilities:input_type -> identity.GetCapabilitiesRequest
|
||||
10, // 15: identity.Identity.Probe:input_type -> identity.ProbeRequest
|
||||
6, // 16: identity.Identity.GetIdentity:output_type -> identity.GetIdentityResponse
|
||||
8, // 17: identity.Identity.GetCapabilities:output_type -> identity.GetCapabilitiesResponse
|
||||
11, // 18: identity.Identity.Probe:output_type -> identity.ProbeResponse
|
||||
16, // [16:19] is the sub-list for method output_type
|
||||
13, // [13:16] is the sub-list for method input_type
|
||||
13, // [13:13] is the sub-list for extension type_name
|
||||
13, // [13:13] is the sub-list for extension extendee
|
||||
0, // [0:13] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_identity_identity_proto_init() }
|
||||
@ -1191,20 +1359,33 @@ func file_identity_identity_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_identity_identity_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Capability_VolumeGroup); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_identity_identity_proto_msgTypes[4].OneofWrappers = []interface{}{
|
||||
(*Capability_Service_)(nil),
|
||||
(*Capability_ReclaimSpace_)(nil),
|
||||
(*Capability_NetworkFence_)(nil),
|
||||
(*Capability_VolumeReplication_)(nil),
|
||||
(*Capability_VolumeGroup_)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_identity_identity_proto_rawDesc,
|
||||
NumEnums: 4,
|
||||
NumMessages: 12,
|
||||
NumEnums: 5,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
24
vendor/github.com/csi-addons/spec/lib/go/identity/identity_grpc.pb.go
generated
vendored
24
vendor/github.com/csi-addons/spec/lib/go/identity/identity_grpc.pb.go
generated
vendored
@ -1,4 +1,10 @@
|
||||
// Code generated by make; DO NOT EDIT.
|
||||
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.3.0
|
||||
// - protoc v3.20.2
|
||||
// source: identity/identity.proto
|
||||
|
||||
package identity
|
||||
|
||||
@ -14,6 +20,12 @@ import (
|
||||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
|
||||
const (
|
||||
Identity_GetIdentity_FullMethodName = "/identity.Identity/GetIdentity"
|
||||
Identity_GetCapabilities_FullMethodName = "/identity.Identity/GetCapabilities"
|
||||
Identity_Probe_FullMethodName = "/identity.Identity/Probe"
|
||||
)
|
||||
|
||||
// IdentityClient is the client API for Identity service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
@ -37,7 +49,7 @@ func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient {
|
||||
|
||||
func (c *identityClient) GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error) {
|
||||
out := new(GetIdentityResponse)
|
||||
err := c.cc.Invoke(ctx, "/identity.Identity/GetIdentity", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Identity_GetIdentity_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -46,7 +58,7 @@ func (c *identityClient) GetIdentity(ctx context.Context, in *GetIdentityRequest
|
||||
|
||||
func (c *identityClient) GetCapabilities(ctx context.Context, in *GetCapabilitiesRequest, opts ...grpc.CallOption) (*GetCapabilitiesResponse, error) {
|
||||
out := new(GetCapabilitiesResponse)
|
||||
err := c.cc.Invoke(ctx, "/identity.Identity/GetCapabilities", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Identity_GetCapabilities_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -55,7 +67,7 @@ func (c *identityClient) GetCapabilities(ctx context.Context, in *GetCapabilitie
|
||||
|
||||
func (c *identityClient) Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeResponse, error) {
|
||||
out := new(ProbeResponse)
|
||||
err := c.cc.Invoke(ctx, "/identity.Identity/Probe", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, Identity_Probe_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -112,7 +124,7 @@ func _Identity_GetIdentity_Handler(srv interface{}, ctx context.Context, dec fun
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/identity.Identity/GetIdentity",
|
||||
FullMethod: Identity_GetIdentity_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(IdentityServer).GetIdentity(ctx, req.(*GetIdentityRequest))
|
||||
@ -130,7 +142,7 @@ func _Identity_GetCapabilities_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/identity.Identity/GetCapabilities",
|
||||
FullMethod: Identity_GetCapabilities_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(IdentityServer).GetCapabilities(ctx, req.(*GetCapabilitiesRequest))
|
||||
@ -148,7 +160,7 @@ func _Identity_Probe_Handler(srv interface{}, ctx context.Context, dec func(inte
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/identity.Identity/Probe",
|
||||
FullMethod: Identity_Probe_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(IdentityServer).Probe(ctx, req.(*ProbeRequest))
|
||||
|
Reference in New Issue
Block a user