mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
rebase: update csi-addons/spec to latest
csi-addons/spec is updated to latest to get replication identity capability. Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
e72ed593be
commit
cb9ec35e3a
2
go.mod
2
go.mod
@ -11,7 +11,7 @@ require (
|
||||
github.com/ceph/go-ceph v0.16.0
|
||||
github.com/container-storage-interface/spec v1.6.0
|
||||
github.com/csi-addons/replication-lib-utils v0.2.0
|
||||
github.com/csi-addons/spec v0.1.2-0.20211220115741-32fa508dadbe
|
||||
github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e
|
||||
github.com/gemalto/kmip-go v0.0.8-0.20220721195433-3fe83e2d3f26
|
||||
github.com/golang/protobuf v1.5.2
|
||||
github.com/google/uuid v1.3.0
|
||||
|
4
go.sum
4
go.sum
@ -272,8 +272,8 @@ github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ
|
||||
github.com/csi-addons/replication-lib-utils v0.2.0 h1:tGs42wfjkObbBo/98a3uxTFWEJ1dq5PIMqPWtdLd040=
|
||||
github.com/csi-addons/replication-lib-utils v0.2.0/go.mod h1:ROQlEsc2EerVtc/K/C+6Hx8pqaQ9MVy9xFFpyKfI9lc=
|
||||
github.com/csi-addons/spec v0.1.0/go.mod h1:Mwq4iLiUV4s+K1bszcWU6aMsR5KPsbIYzzszJ6+56vI=
|
||||
github.com/csi-addons/spec v0.1.2-0.20211220115741-32fa508dadbe h1:Q2sxgtdRV4Je1R2eLCUPrR/KQZxkSbesGrpCjl0/mU4=
|
||||
github.com/csi-addons/spec v0.1.2-0.20211220115741-32fa508dadbe/go.mod h1:Mwq4iLiUV4s+K1bszcWU6aMsR5KPsbIYzzszJ6+56vI=
|
||||
github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e h1:UAJGJ4g6kYRYY1T5DqLoNvD6/2OLIQO6o3oWkSLwHYY=
|
||||
github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e/go.mod h1:Mwq4iLiUV4s+K1bszcWU6aMsR5KPsbIYzzszJ6+56vI=
|
||||
github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
||||
github.com/dave/dst v0.26.2/go.mod h1:UMDJuIRPfyUCC78eFuB+SV/WI8oDeyFDvM/JR6NI3IU=
|
||||
github.com/dave/gopackages v0.0.0-20170318123100-46e7023ec56e/go.mod h1:i00+b/gKdIDIxuLDFob7ustLAVqhsZRk2qVZrArELGQ=
|
||||
|
324
vendor/github.com/csi-addons/spec/lib/go/identity/identity.pb.go
generated
vendored
324
vendor/github.com/csi-addons/spec/lib/go/identity/identity.pb.go
generated
vendored
@ -211,6 +211,62 @@ func (Capability_NetworkFence_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 2, 0}
|
||||
}
|
||||
|
||||
// Type describes a CSI Service that CSI-drivers can support.
|
||||
type Capability_VolumeReplication_Type int32
|
||||
|
||||
const (
|
||||
// UNKNOWN indicates that the CSI-driver does not support the
|
||||
// VolumeReplication operation in the current mode. The CSI-Addons CO
|
||||
// plugin will most likely ignore this node for the
|
||||
// VolumeReplication operation.
|
||||
Capability_VolumeReplication_UNKNOWN Capability_VolumeReplication_Type = 0
|
||||
// VOLUME_REPLICATION indicates that the CSI-driver provides RPCs for a
|
||||
// VolumeReplication 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_VolumeReplication_VOLUME_REPLICATION Capability_VolumeReplication_Type = 1
|
||||
)
|
||||
|
||||
// Enum value maps for Capability_VolumeReplication_Type.
|
||||
var (
|
||||
Capability_VolumeReplication_Type_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "VOLUME_REPLICATION",
|
||||
}
|
||||
Capability_VolumeReplication_Type_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"VOLUME_REPLICATION": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x Capability_VolumeReplication_Type) Enum() *Capability_VolumeReplication_Type {
|
||||
p := new(Capability_VolumeReplication_Type)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x Capability_VolumeReplication_Type) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (Capability_VolumeReplication_Type) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_identity_identity_proto_enumTypes[3].Descriptor()
|
||||
}
|
||||
|
||||
func (Capability_VolumeReplication_Type) Type() protoreflect.EnumType {
|
||||
return &file_identity_identity_proto_enumTypes[3]
|
||||
}
|
||||
|
||||
func (x Capability_VolumeReplication_Type) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use Capability_VolumeReplication_Type.Descriptor instead.
|
||||
func (Capability_VolumeReplication_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 3, 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 {
|
||||
@ -425,6 +481,7 @@ type Capability struct {
|
||||
// *Capability_Service_
|
||||
// *Capability_ReclaimSpace_
|
||||
// *Capability_NetworkFence_
|
||||
// *Capability_VolumeReplication_
|
||||
Type isCapability_Type `protobuf_oneof:"type"`
|
||||
}
|
||||
|
||||
@ -488,6 +545,13 @@ func (x *Capability) GetNetworkFence() *Capability_NetworkFence {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Capability) GetVolumeReplication() *Capability_VolumeReplication {
|
||||
if x, ok := x.GetType().(*Capability_VolumeReplication_); ok {
|
||||
return x.VolumeReplication
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isCapability_Type interface {
|
||||
isCapability_Type()
|
||||
}
|
||||
@ -507,12 +571,19 @@ type Capability_NetworkFence_ struct {
|
||||
NetworkFence *Capability_NetworkFence `protobuf:"bytes,3,opt,name=network_fence,json=networkFence,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Capability_VolumeReplication_ struct {
|
||||
// VolumeReplication operation capabilities.
|
||||
VolumeReplication *Capability_VolumeReplication `protobuf:"bytes,4,opt,name=volume_replication,json=volumeReplication,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Capability_Service_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_ReclaimSpace_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_NetworkFence_) isCapability_Type() {}
|
||||
|
||||
func (*Capability_VolumeReplication_) 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 {
|
||||
@ -770,6 +841,56 @@ func (x *Capability_NetworkFence) GetType() Capability_NetworkFence_Type {
|
||||
return Capability_NetworkFence_UNKNOWN
|
||||
}
|
||||
|
||||
// VolumeReplication contains the features of the volumereplication operation
|
||||
// that the CSI-driver supports.
|
||||
type Capability_VolumeReplication struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// type contains the Type of CSI Service that the CSI-driver supports.
|
||||
Type Capability_VolumeReplication_Type `protobuf:"varint,1,opt,name=type,proto3,enum=identity.Capability_VolumeReplication_Type" json:"type,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeReplication) Reset() {
|
||||
*x = Capability_VolumeReplication{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_identity_identity_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeReplication) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Capability_VolumeReplication) ProtoMessage() {}
|
||||
|
||||
func (x *Capability_VolumeReplication) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_identity_identity_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 Capability_VolumeReplication.ProtoReflect.Descriptor instead.
|
||||
func (*Capability_VolumeReplication) Descriptor() ([]byte, []int) {
|
||||
return file_identity_identity_proto_rawDescGZIP(), []int{4, 3}
|
||||
}
|
||||
|
||||
func (x *Capability_VolumeReplication) GetType() Capability_VolumeReplication_Type {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return Capability_VolumeReplication_UNKNOWN
|
||||
}
|
||||
|
||||
var File_identity_identity_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_identity_identity_proto_rawDesc = []byte{
|
||||
@ -799,7 +920,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, 0xd1, 0x04, 0x0a, 0x0a, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
||||
0x73, 0x22, 0xae, 0x06, 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,
|
||||
@ -812,52 +933,66 @@ var file_identity_identity_proto_rawDesc = []byte{
|
||||
0x66, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x48, 0x00,
|
||||
0x52, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65, 0x6e, 0x63, 0x65, 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, 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, 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,
|
||||
0x52, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x46, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x57,
|
||||
0x0a, 0x12, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 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, 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,
|
||||
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,
|
||||
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,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -872,46 +1007,50 @@ func file_identity_identity_proto_rawDescGZIP() []byte {
|
||||
return file_identity_identity_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_identity_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_identity_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
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_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
|
||||
(*GetIdentityRequest)(nil), // 3: identity.GetIdentityRequest
|
||||
(*GetIdentityResponse)(nil), // 4: identity.GetIdentityResponse
|
||||
(*GetCapabilitiesRequest)(nil), // 5: identity.GetCapabilitiesRequest
|
||||
(*GetCapabilitiesResponse)(nil), // 6: identity.GetCapabilitiesResponse
|
||||
(*Capability)(nil), // 7: identity.Capability
|
||||
(*ProbeRequest)(nil), // 8: identity.ProbeRequest
|
||||
(*ProbeResponse)(nil), // 9: identity.ProbeResponse
|
||||
nil, // 10: identity.GetIdentityResponse.ManifestEntry
|
||||
(*Capability_Service)(nil), // 11: identity.Capability.Service
|
||||
(*Capability_ReclaimSpace)(nil), // 12: identity.Capability.ReclaimSpace
|
||||
(*Capability_NetworkFence)(nil), // 13: identity.Capability.NetworkFence
|
||||
(*wrapperspb.BoolValue)(nil), // 14: google.protobuf.BoolValue
|
||||
(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
|
||||
}
|
||||
var file_identity_identity_proto_depIdxs = []int32{
|
||||
10, // 0: identity.GetIdentityResponse.manifest:type_name -> identity.GetIdentityResponse.ManifestEntry
|
||||
7, // 1: identity.GetCapabilitiesResponse.capabilities:type_name -> identity.Capability
|
||||
11, // 2: identity.Capability.service:type_name -> identity.Capability.Service
|
||||
12, // 3: identity.Capability.reclaim_space:type_name -> identity.Capability.ReclaimSpace
|
||||
13, // 4: identity.Capability.network_fence:type_name -> identity.Capability.NetworkFence
|
||||
14, // 5: identity.ProbeResponse.ready:type_name -> google.protobuf.BoolValue
|
||||
0, // 6: identity.Capability.Service.type:type_name -> identity.Capability.Service.Type
|
||||
1, // 7: identity.Capability.ReclaimSpace.type:type_name -> identity.Capability.ReclaimSpace.Type
|
||||
2, // 8: identity.Capability.NetworkFence.type:type_name -> identity.Capability.NetworkFence.Type
|
||||
3, // 9: identity.Identity.GetIdentity:input_type -> identity.GetIdentityRequest
|
||||
5, // 10: identity.Identity.GetCapabilities:input_type -> identity.GetCapabilitiesRequest
|
||||
8, // 11: identity.Identity.Probe:input_type -> identity.ProbeRequest
|
||||
4, // 12: identity.Identity.GetIdentity:output_type -> identity.GetIdentityResponse
|
||||
6, // 13: identity.Identity.GetCapabilities:output_type -> identity.GetCapabilitiesResponse
|
||||
9, // 14: identity.Identity.Probe:output_type -> identity.ProbeResponse
|
||||
12, // [12:15] is the sub-list for method output_type
|
||||
9, // [9:12] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
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
|
||||
}
|
||||
|
||||
func init() { file_identity_identity_proto_init() }
|
||||
@ -1040,19 +1179,32 @@ func file_identity_identity_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_identity_identity_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Capability_VolumeReplication); 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),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_identity_identity_proto_rawDesc,
|
||||
NumEnums: 3,
|
||||
NumMessages: 11,
|
||||
NumEnums: 4,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -150,7 +150,7 @@ github.com/container-storage-interface/spec/lib/go/csi
|
||||
# github.com/csi-addons/replication-lib-utils v0.2.0
|
||||
## explicit; go 1.15
|
||||
github.com/csi-addons/replication-lib-utils/protosanitizer
|
||||
# github.com/csi-addons/spec v0.1.2-0.20211220115741-32fa508dadbe
|
||||
# github.com/csi-addons/spec v0.1.2-0.20220804080457-522edd16192e
|
||||
## explicit
|
||||
github.com/csi-addons/spec/lib/go/fence
|
||||
github.com/csi-addons/spec/lib/go/identity
|
||||
|
Loading…
Reference in New Issue
Block a user