From a9d63beaca8afee1132cad4f778894d9fd389951 Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Tue, 4 May 2021 21:42:06 +0000 Subject: [PATCH 1/2] rename v1 client apis to v1betaX --- Makefile | 2 +- client/api/disk/v1alpha1/api.pb.go | 863 +++++--- client/api/disk/v1alpha1/api.proto | 2 + client/api/disk/v1beta1/api.pb.go | 1126 +++++++---- client/api/disk/v1beta2/api.pb.go | 1443 ++++++++----- client/api/disk/{v1 => v1beta3}/api.pb.go | 501 ++--- client/api/disk/{v1 => v1beta3}/api.proto | 4 +- client/api/errors.pb.go | 191 +- client/api/errors.proto | 2 + client/api/filesystem/v1alpha1/api.pb.go | 1043 ++++++---- client/api/filesystem/v1alpha1/api.proto | 12 +- client/api/filesystem/v1beta1/api.pb.go | 1050 ++++++---- client/api/filesystem/v1beta1/api.proto | 12 +- .../api/filesystem/{v1 => v1beta2}/api.pb.go | 365 ++-- .../api/filesystem/v1beta2}/api.proto | 4 +- client/api/iscsi/v1alpha1/api.pb.go | 1456 +++++++++----- client/api/iscsi/v1alpha2/api.pb.go | 1615 ++++++++++----- client/api/smb/v1alpha1/api.pb.go | 473 +++-- client/api/smb/v1alpha1/api.proto | 4 +- client/api/smb/v1beta1/api.pb.go | 481 +++-- client/api/smb/v1beta1/api.proto | 2 + client/api/smb/{v1 => v1beta2}/api.pb.go | 186 +- client/api/smb/{v1 => v1beta2}/api.proto | 4 +- client/api/system/v1alpha1/api.pb.go | 916 ++++++--- client/api/volume/v1alpha1/api.pb.go | 1100 ++++++---- client/api/volume/v1alpha1/api.proto | 4 +- client/api/volume/v1beta1/api.pb.go | 1611 ++++++++++----- client/api/volume/v1beta2/api.pb.go | 1779 +++++++++++------ .../api/volume/v1beta3}/api.pb.go | 581 +++--- .../api/volume/v1beta3}/api.proto | 4 +- .../groups/disk/v1beta3}/client_generated.go | 28 +- .../{v1 => v1beta2}/client_generated.go | 24 +- .../smb/{v1 => v1beta2}/client_generated.go | 18 +- .../{v1 => v1beta3}/client_generated.go | 34 +- go.mod | 1 - .../apigroups/api/dummy/v1/api.pb.go | 450 +++-- .../apigroups/api/dummy/v1/api.proto | 2 + .../apigroups/api/dummy/v1alpha1/api.pb.go | 281 ++- .../apigroups/api/dummy/v1alpha1/api.proto | 2 + .../apigroups/api/dummy/v1alpha2/api.pb.go | 273 ++- .../apigroups/api/dummy/v1alpha2/api.proto | 2 + .../client/dummy/v1/client_generated.go | 2 +- .../server/dummy/api_group_generated.go | 2 +- .../dummy/internal/v1/server_generated.go | 2 +- .../new_group/api/v1alpha1/api.pb.go | 471 +++-- .../new_group/api/v1alpha1/api.proto | 2 + integrationtests/disk_test.go | 18 +- integrationtests/filesystem_test.go | 34 +- integrationtests/iscsi_test.go | 5 +- integrationtests/smb_test.go | 10 +- integrationtests/volume_test.go | 116 +- internal/server/disk/api_group_generated.go | 8 +- .../server/disk/internal/v1/conversion.go | 52 - .../disk/internal/v1/conversion_generated.go | 354 ---- .../disk/internal/v1/server_generated.go | 161 -- .../disk/internal/v1beta3/conversion.go | 52 + .../internal/v1beta3/conversion_generated.go | 354 ++++ .../disk/internal/v1beta3/server_generated.go | 161 ++ .../server/filesystem/api_group_generated.go | 8 +- .../internal/v1/conversion_generated.go | 222 -- .../internal/{v1 => v1beta2}/conversion.go | 2 +- .../internal/v1beta2/conversion_generated.go | 222 ++ .../{v1 => v1beta2}/server_generated.go | 48 +- internal/server/smb/api_group_generated.go | 8 +- .../smb/internal/v1/conversion_generated.go | 94 - .../internal/{v1 => v1beta2}/conversion.go | 2 +- .../internal/v1beta2/conversion_generated.go | 94 + .../{v1 => v1beta2}/server_generated.go | 24 +- internal/server/volume/api_group_generated.go | 8 +- .../internal/v1/conversion_generated.go | 408 ---- .../volume/internal/v1/server_generated.go | 218 -- .../internal/{v1 => v1beta3}/conversion.go | 2 +- .../internal/v1beta3/conversion_generated.go | 408 ++++ .../internal/v1beta3/server_generated.go | 218 ++ .../client/api/disk/v1alpha1/api.pb.go | 863 +++++--- .../client/api/disk/v1alpha1/api.proto | 2 + .../client/api/disk/v1beta1/api.pb.go | 1126 +++++++---- .../client/api/disk/v1beta2/api.pb.go | 1443 ++++++++----- .../client/api/disk/{v1 => v1beta3}/api.pb.go | 501 ++--- .../client/api/disk/{v1 => v1beta3}/api.proto | 4 +- .../client/api/filesystem/v1alpha1/api.pb.go | 1043 ++++++---- .../client/api/filesystem/v1alpha1/api.proto | 12 +- .../client/api/filesystem/v1beta1/api.pb.go | 1050 ++++++---- .../client/api/filesystem/v1beta1/api.proto | 12 +- .../api/filesystem/{v1 => v1beta2}/api.pb.go | 365 ++-- .../client/api/filesystem/v1beta2}/api.proto | 4 +- .../client/api/iscsi/v1alpha1/api.pb.go | 1456 +++++++++----- .../client/api/iscsi/v1alpha2/api.pb.go | 1615 ++++++++++----- .../client/api/smb/v1alpha1/api.pb.go | 473 +++-- .../client/api/smb/v1alpha1/api.proto | 4 +- .../client/api/smb/v1beta1/api.pb.go | 481 +++-- .../client/api/smb/v1beta1/api.proto | 2 + .../client/api/smb/{v1 => v1beta2}/api.pb.go | 186 +- .../client/api/smb/{v1 => v1beta2}/api.proto | 4 +- .../client/api/system/v1alpha1/api.pb.go | 916 ++++++--- .../client/api/volume/v1alpha1/api.pb.go | 1100 ++++++---- .../client/api/volume/v1alpha1/api.proto | 4 +- .../client/api/volume/v1beta1/api.pb.go | 1611 ++++++++++----- .../client/api/volume/v1beta2/api.pb.go | 1779 +++++++++++------ .../client/api/volume/v1beta3}/api.pb.go | 581 +++--- .../client/api/volume/v1beta3}/api.proto | 4 +- .../groups/disk/v1beta3}/client_generated.go | 28 +- .../{v1 => v1beta2}/client_generated.go | 24 +- .../smb/{v1 => v1beta2}/client_generated.go | 18 +- .../volume/v1alpha1/client_generated.go | 90 - .../{v1 => v1beta3}/client_generated.go | 34 +- vendor/modules.txt | 18 +- 107 files changed, 24280 insertions(+), 14314 deletions(-) rename client/api/disk/{v1 => v1beta3}/api.pb.go (66%) rename client/api/disk/{v1 => v1beta3}/api.proto (98%) rename client/api/filesystem/{v1 => v1beta2}/api.pb.go (72%) rename {vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1 => client/api/filesystem/v1beta2}/api.proto (99%) rename client/api/smb/{v1 => v1beta2}/api.pb.go (66%) rename client/api/smb/{v1 => v1beta2}/api.proto (98%) rename {vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1 => client/api/volume/v1beta3}/api.pb.go (69%) rename {vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1 => client/api/volume/v1beta3}/api.proto (99%) rename {vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1 => client/groups/disk/v1beta3}/client_generated.go (67%) rename client/groups/filesystem/{v1 => v1beta2}/client_generated.go (68%) rename client/groups/smb/{v1 => v1beta2}/client_generated.go (77%) rename client/groups/volume/{v1 => v1beta3}/client_generated.go (68%) delete mode 100644 internal/server/disk/internal/v1/conversion.go delete mode 100644 internal/server/disk/internal/v1/conversion_generated.go delete mode 100644 internal/server/disk/internal/v1/server_generated.go create mode 100644 internal/server/disk/internal/v1beta3/conversion.go create mode 100644 internal/server/disk/internal/v1beta3/conversion_generated.go create mode 100644 internal/server/disk/internal/v1beta3/server_generated.go delete mode 100644 internal/server/filesystem/internal/v1/conversion_generated.go rename internal/server/filesystem/internal/{v1 => v1beta2}/conversion.go (84%) create mode 100644 internal/server/filesystem/internal/v1beta2/conversion_generated.go rename internal/server/filesystem/internal/{v1 => v1beta2}/server_generated.go (50%) delete mode 100644 internal/server/smb/internal/v1/conversion_generated.go rename internal/server/smb/internal/{v1 => v1beta2}/conversion.go (84%) create mode 100644 internal/server/smb/internal/v1beta2/conversion_generated.go rename internal/server/smb/internal/{v1 => v1beta2}/server_generated.go (54%) delete mode 100644 internal/server/volume/internal/v1/conversion_generated.go delete mode 100644 internal/server/volume/internal/v1/server_generated.go rename internal/server/volume/internal/{v1 => v1beta3}/conversion.go (84%) create mode 100644 internal/server/volume/internal/v1beta3/conversion_generated.go create mode 100644 internal/server/volume/internal/v1beta3/server_generated.go rename vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/{v1 => v1beta3}/api.pb.go (66%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/{v1 => v1beta3}/api.proto (98%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/{v1 => v1beta2}/api.pb.go (72%) rename {client/api/filesystem/v1 => vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2}/api.proto (99%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/{v1 => v1beta2}/api.pb.go (66%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/{v1 => v1beta2}/api.proto (98%) rename {client/api/volume/v1 => vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3}/api.pb.go (69%) rename {client/api/volume/v1 => vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3}/api.proto (99%) rename {client/groups/disk/v1 => vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3}/client_generated.go (67%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/{v1 => v1beta2}/client_generated.go (68%) rename vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/{v1 => v1beta2}/client_generated.go (77%) delete mode 100644 vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1/client_generated.go rename vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/{v1 => v1beta3}/client_generated.go (68%) diff --git a/Makefile b/Makefile index 7fd22d5c..e75247eb 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ generate-protobuf: .PHONY: generate-csi-proxy-api-gen generate-csi-proxy-api-gen: compile-csi-proxy-api-gen - $(CSI_PROXY_API_GEN) -i github.com/kubernetes-csi/csi-proxy/client/api,github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy + $(CSI_PROXY_API_GEN) -i github.com/kubernetes-csi/csi-proxy/client/api,github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy --v=5 .PHONY: clean clean: clean-protobuf clean-generated diff --git a/client/api/disk/v1alpha1/api.pb.go b/client/api/disk/v1alpha1/api.pb.go index 9fdaadde..881b1ecc 100644 --- a/client/api/disk/v1alpha1/api.pb.go +++ b/client/api/disk/v1alpha1/api.pb.go @@ -1,424 +1,693 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) -} -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) -} -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) -} -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) -} -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) -} -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (*PartitionDiskResponse) ProtoMessage() {} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} -func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{5} +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{4} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanRequest) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} -func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{6} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (*RescanRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (*RescanResponse) ProtoMessage() {} + +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (*RescanResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} type GetDiskNumberByNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk ID - DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` } -func (m *GetDiskNumberByNameRequest) Reset() { *m = GetDiskNumberByNameRequest{} } -func (m *GetDiskNumberByNameRequest) String() string { return proto.CompactTextString(m) } -func (*GetDiskNumberByNameRequest) ProtoMessage() {} -func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{7} +func (x *GetDiskNumberByNameRequest) Reset() { + *x = GetDiskNumberByNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDiskNumberByNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDiskNumberByNameRequest.Unmarshal(m, b) -} -func (m *GetDiskNumberByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDiskNumberByNameRequest.Marshal(b, m, deterministic) -} -func (m *GetDiskNumberByNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskNumberByNameRequest.Merge(m, src) -} -func (m *GetDiskNumberByNameRequest) XXX_Size() int { - return xxx_messageInfo_GetDiskNumberByNameRequest.Size(m) +func (x *GetDiskNumberByNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDiskNumberByNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDiskNumberByNameRequest.DiscardUnknown(m) + +func (*GetDiskNumberByNameRequest) ProtoMessage() {} + +func (x *GetDiskNumberByNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDiskNumberByNameRequest proto.InternalMessageInfo +// Deprecated: Use GetDiskNumberByNameRequest.ProtoReflect.Descriptor instead. +func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *GetDiskNumberByNameRequest) GetDiskName() string { - if m != nil { - return m.DiskName +func (x *GetDiskNumberByNameRequest) GetDiskName() string { + if x != nil { + return x.DiskName } return "" } type GetDiskNumberByNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk number - DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` } -func (m *GetDiskNumberByNameResponse) Reset() { *m = GetDiskNumberByNameResponse{} } -func (m *GetDiskNumberByNameResponse) String() string { return proto.CompactTextString(m) } -func (*GetDiskNumberByNameResponse) ProtoMessage() {} -func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{8} +func (x *GetDiskNumberByNameResponse) Reset() { + *x = GetDiskNumberByNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDiskNumberByNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDiskNumberByNameResponse.Unmarshal(m, b) -} -func (m *GetDiskNumberByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDiskNumberByNameResponse.Marshal(b, m, deterministic) +func (x *GetDiskNumberByNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDiskNumberByNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskNumberByNameResponse.Merge(m, src) -} -func (m *GetDiskNumberByNameResponse) XXX_Size() int { - return xxx_messageInfo_GetDiskNumberByNameResponse.Size(m) -} -func (m *GetDiskNumberByNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDiskNumberByNameResponse.DiscardUnknown(m) + +func (*GetDiskNumberByNameResponse) ProtoMessage() {} + +func (x *GetDiskNumberByNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDiskNumberByNameResponse proto.InternalMessageInfo +// Deprecated: Use GetDiskNumberByNameResponse.ProtoReflect.Descriptor instead. +func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetDiskNumberByNameResponse) GetDiskNumber() string { - if m != nil { - return m.DiskNumber +func (x *GetDiskNumberByNameResponse) GetDiskNumber() string { + if x != nil { + return x.DiskNumber } return "" } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1alpha1.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1alpha1.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1alpha1.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1alpha1.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1alpha1.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1alpha1.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1alpha1.RescanResponse") - proto.RegisterType((*GetDiskNumberByNameRequest)(nil), "v1alpha1.GetDiskNumberByNameRequest") - proto.RegisterType((*GetDiskNumberByNameResponse)(nil), "v1alpha1.GetDiskNumberByNameResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto", fileDescriptor_028ab8065db229af) -} - -var fileDescriptor_028ab8065db229af = []byte{ - // 464 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xef, 0x6b, 0x13, 0x41, - 0x10, 0xf5, 0x92, 0x36, 0xb6, 0x13, 0x53, 0xeb, 0x5a, 0xdb, 0xf3, 0x0a, 0xb6, 0xac, 0x0a, 0xfd, - 0x60, 0xef, 0x68, 0x04, 0x51, 0x41, 0xc1, 0x12, 0x95, 0x42, 0x08, 0x72, 0x28, 0xf8, 0x45, 0x65, - 0x73, 0x37, 0x34, 0x4b, 0x92, 0xbb, 0x73, 0x77, 0x2f, 0x98, 0xff, 0xd3, 0xef, 0xfe, 0x2b, 0xb2, - 0x7b, 0xbb, 0xf9, 0x61, 0x12, 0xf5, 0xdb, 0xcd, 0x9b, 0xf7, 0x76, 0xe6, 0xbd, 0xe1, 0xe0, 0xdd, - 0x35, 0x57, 0x83, 0xb2, 0x1f, 0x26, 0xf9, 0x38, 0x1a, 0x96, 0x7d, 0x14, 0x19, 0x2a, 0x94, 0xe7, - 0x89, 0xe4, 0x51, 0x22, 0xf9, 0x79, 0x21, 0xf2, 0x1f, 0xd3, 0x28, 0x19, 0x71, 0xcc, 0x54, 0xc4, - 0x0a, 0x1e, 0xa5, 0x5c, 0x0e, 0xa3, 0xc9, 0x05, 0x1b, 0x15, 0x03, 0x76, 0xa1, 0x91, 0xb0, 0x10, - 0xb9, 0xca, 0xc9, 0x8e, 0xc3, 0x68, 0x00, 0x7e, 0x97, 0x4b, 0xd5, 0xe1, 0x72, 0xd8, 0xcd, 0x13, - 0xa6, 0x78, 0x9e, 0xc9, 0x18, 0xbf, 0x97, 0x28, 0x15, 0x1d, 0xc0, 0xad, 0x45, 0x9c, 0xf8, 0x70, - 0xf3, 0x4d, 0xca, 0x0a, 0x85, 0xc2, 0xf7, 0x4e, 0xbd, 0xb3, 0xdd, 0xd8, 0x95, 0x64, 0x1f, 0xea, - 0x97, 0xa5, 0xf4, 0x6b, 0x06, 0xd5, 0x9f, 0xe4, 0x10, 0x1a, 0x1f, 0x99, 0xb8, 0x46, 0xe5, 0xd7, - 0x0d, 0x68, 0x2b, 0x72, 0x00, 0xdb, 0xdd, 0x4f, 0xbd, 0xab, 0x8e, 0xbf, 0x65, 0xe0, 0xaa, 0xa0, - 0x3f, 0x3d, 0xb8, 0xbf, 0x66, 0x0d, 0x59, 0xe4, 0x99, 0x44, 0xf2, 0x05, 0xf6, 0xb4, 0x91, 0x6f, - 0x23, 0xd7, 0xf1, 0xbd, 0xd3, 0xfa, 0x59, 0xb3, 0xfd, 0x2c, 0x74, 0x36, 0xc2, 0x8d, 0xe2, 0x70, - 0x09, 0x7d, 0x9b, 0x29, 0x31, 0x8d, 0x5b, 0xe9, 0x22, 0x16, 0x7c, 0x06, 0xb2, 0x4a, 0xd2, 0x96, - 0x86, 0x38, 0xb5, 0x46, 0xf5, 0x27, 0x79, 0x02, 0xdb, 0x13, 0x36, 0x2a, 0xd1, 0xd8, 0x6c, 0xb6, - 0x0f, 0xe7, 0xd3, 0x17, 0xe5, 0x71, 0x45, 0x7a, 0x59, 0x7b, 0xee, 0xd1, 0x10, 0x0e, 0x3e, 0x30, - 0xa1, 0xb8, 0xc6, 0x35, 0xc7, 0x06, 0xab, 0xc3, 0xd1, 0x2b, 0x5c, 0x75, 0xec, 0xf3, 0xb6, 0xa2, - 0x47, 0x70, 0xef, 0x0f, 0x7e, 0x65, 0x82, 0xde, 0x86, 0x56, 0x8c, 0x32, 0x61, 0x99, 0x3b, 0xcd, - 0x3e, 0xec, 0x39, 0xc0, 0x52, 0x5e, 0x40, 0xf0, 0x1e, 0x4d, 0x06, 0xbd, 0x72, 0xdc, 0x47, 0x71, - 0x39, 0xed, 0xb1, 0x31, 0xba, 0x89, 0xc7, 0xb0, 0x6b, 0x22, 0xcc, 0xd8, 0x18, 0xed, 0xd0, 0x1d, - 0x0d, 0x68, 0x0e, 0x7d, 0x0d, 0xc7, 0x6b, 0xa5, 0x36, 0xfe, 0x13, 0x68, 0x56, 0x5a, 0xd3, 0xb4, - 0x6a, 0x48, 0x67, 0xf4, 0xf6, 0xaf, 0x1a, 0x6c, 0x69, 0x35, 0xf9, 0x0a, 0x77, 0x56, 0x0e, 0x41, - 0xe8, 0x5f, 0xaf, 0x64, 0xd6, 0x0b, 0x1e, 0xfe, 0xc7, 0x25, 0xe9, 0x0d, 0x12, 0x43, 0x6b, 0x29, - 0x1f, 0xf2, 0x60, 0xae, 0x5b, 0x17, 0x74, 0x70, 0xb2, 0xb1, 0x3f, 0x7b, 0xf3, 0x15, 0x34, 0xaa, - 0x24, 0xc9, 0xd1, 0x9c, 0xbc, 0x14, 0x76, 0xe0, 0xaf, 0x36, 0x66, 0xf2, 0x14, 0xee, 0xae, 0xc9, - 0x8e, 0x3c, 0x9a, 0x4b, 0x36, 0x5f, 0x25, 0x78, 0xfc, 0x0f, 0x96, 0x9b, 0xd2, 0x6f, 0x98, 0xdf, - 0xf6, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x27, 0x76, 0x00, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, + 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, + 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd4, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, + 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x58, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, + 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, + 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, + 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xdf, 0x02, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, + 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x52, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x17, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, + 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1alpha1.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1alpha1.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1alpha1.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1alpha1.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1alpha1.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1alpha1.RescanRequest + (*RescanResponse)(nil), // 6: v1alpha1.RescanResponse + (*GetDiskNumberByNameRequest)(nil), // 7: v1alpha1.GetDiskNumberByNameRequest + (*GetDiskNumberByNameResponse)(nil), // 8: v1alpha1.GetDiskNumberByNameResponse + nil, // 9: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = []int32{ + 9, // 0: v1alpha1.ListDiskLocationsResponse.disk_locations:type_name -> v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry + 1, // 1: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1alpha1.DiskLocation + 0, // 2: v1alpha1.Disk.ListDiskLocations:input_type -> v1alpha1.ListDiskLocationsRequest + 3, // 3: v1alpha1.Disk.PartitionDisk:input_type -> v1alpha1.PartitionDiskRequest + 5, // 4: v1alpha1.Disk.Rescan:input_type -> v1alpha1.RescanRequest + 7, // 5: v1alpha1.Disk.GetDiskNumberByName:input_type -> v1alpha1.GetDiskNumberByNameRequest + 2, // 6: v1alpha1.Disk.ListDiskLocations:output_type -> v1alpha1.ListDiskLocationsResponse + 4, // 7: v1alpha1.Disk.PartitionDisk:output_type -> v1alpha1.PartitionDiskResponse + 6, // 8: v1alpha1.Disk.Rescan:output_type -> v1alpha1.RescanResponse + 8, // 9: v1alpha1.Disk.GetDiskNumberByName:output_type -> v1alpha1.GetDiskNumberByNameResponse + 6, // [6:10] is the sub-list for method output_type + 2, // [2:6] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDiskNumberByNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDiskNumberByNameResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -507,16 +776,16 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) GetDiskNumberByName(ctx context.Context, req *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { +func (*UnimplementedDiskServer) GetDiskNumberByName(context.Context, *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDiskNumberByName not implemented") } diff --git a/client/api/disk/v1alpha1/api.proto b/client/api/disk/v1alpha1/api.proto index 03ef6121..5b84b111 100644 --- a/client/api/disk/v1alpha1/api.proto +++ b/client/api/disk/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1"; + service Disk { // ListDiskLocations returns locations of all // disk devices enumerated by the host diff --git a/client/api/disk/v1beta1/api.pb.go b/client/api/disk/v1beta1/api.pb.go index 099b9769..579f074c 100644 --- a/client/api/disk/v1beta1/api.pb.go +++ b/client/api/disk/v1beta1/api.pb.go @@ -1,554 +1,904 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: disk/v1beta1/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) -} -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) + +func (*PartitionDiskResponse) ProtoMessage() {} + +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) + +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{4} } -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) + +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RescanRequest) ProtoMessage() {} + +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanResponse) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{6} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) -} -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) +type ListDiskIDsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *ListDiskIDsRequest) Reset() { + *x = ListDiskIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (x *ListDiskIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +func (*ListDiskIDsRequest) ProtoMessage() {} -type ListDiskIDsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } -func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{7} -} - -func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) -} -func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{7} } -func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) -} -func (m *ListDiskIDsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsRequest.Size(m) -} -func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo type DiskIDs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *DiskIDs) Reset() { *m = DiskIDs{} } -func (m *DiskIDs) String() string { return proto.CompactTextString(m) } -func (*DiskIDs) ProtoMessage() {} -func (*DiskIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{8} +func (x *DiskIDs) Reset() { + *x = DiskIDs{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskIDs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskIDs.Unmarshal(m, b) -} -func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +func (x *DiskIDs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskIDs.Merge(m, src) -} -func (m *DiskIDs) XXX_Size() int { - return xxx_messageInfo_DiskIDs.Size(m) -} -func (m *DiskIDs) XXX_DiscardUnknown() { - xxx_messageInfo_DiskIDs.DiscardUnknown(m) + +func (*DiskIDs) ProtoMessage() {} + +func (x *DiskIDs) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskIDs proto.InternalMessageInfo +// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (*DiskIDs) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *DiskIDs) GetIdentifiers() map[string]string { - if m != nil { - return m.Identifiers +func (x *DiskIDs) GetIdentifiers() map[string]string { + if x != nil { + return x.Identifiers } return nil } type ListDiskIDsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } -func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsResponse) ProtoMessage() {} -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{9} +func (x *ListDiskIDsResponse) Reset() { + *x = ListDiskIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) -} -func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +func (x *ListDiskIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskIDsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsResponse.Size(m) -} -func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) + +func (*ListDiskIDsResponse) ProtoMessage() {} + +func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{9} +} -func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if m != nil { - return m.DiskIDs +func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if x != nil { + return x.DiskIDs } return nil } type DiskStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } -func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } -func (*DiskStatsRequest) ProtoMessage() {} -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{10} +func (x *DiskStatsRequest) Reset() { + *x = DiskStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) +func (x *DiskStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) -} -func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsRequest.Merge(m, src) -} -func (m *DiskStatsRequest) XXX_Size() int { - return xxx_messageInfo_DiskStatsRequest.Size(m) -} -func (m *DiskStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) + +func (*DiskStatsRequest) ProtoMessage() {} + +func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo +// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{10} +} -func (m *DiskStatsRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *DiskStatsRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type DiskStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` } -func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } -func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } -func (*DiskStatsResponse) ProtoMessage() {} -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{11} +func (x *DiskStatsResponse) Reset() { + *x = DiskStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) -} -func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) +func (x *DiskStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsResponse.Merge(m, src) -} -func (m *DiskStatsResponse) XXX_Size() int { - return xxx_messageInfo_DiskStatsResponse.Size(m) -} -func (m *DiskStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) + +func (*DiskStatsResponse) ProtoMessage() {} + +func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo +// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{11} +} -func (m *DiskStatsResponse) GetDiskSize() int64 { - if m != nil { - return m.DiskSize +func (x *DiskStatsResponse) GetDiskSize() int64 { + if x != nil { + return x.DiskSize } return 0 } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta1.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1beta1.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta1.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta1.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta1.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta1.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1beta1.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1beta1.RescanResponse") - proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta1.ListDiskIDsRequest") - proto.RegisterType((*DiskIDs)(nil), "v1beta1.DiskIDs") - proto.RegisterMapType((map[string]string)(nil), "v1beta1.DiskIDs.IdentifiersEntry") - proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta1.ListDiskIDsResponse") - proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta1.ListDiskIDsResponse.DiskIDsEntry") - proto.RegisterType((*DiskStatsRequest)(nil), "v1beta1.DiskStatsRequest") - proto.RegisterType((*DiskStatsResponse)(nil), "v1beta1.DiskStatsResponse") -} - -func init() { proto.RegisterFile("disk/v1beta1/api.proto", fileDescriptor_edb7884fca4087ac) } - -var fileDescriptor_edb7884fca4087ac = []byte{ - // 564 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x5d, 0xd6, 0x6d, 0xa5, 0xb7, 0x74, 0x74, 0xa6, 0xeb, 0x32, 0xf3, 0xa1, 0x2d, 0x0f, 0x68, - 0x80, 0x96, 0x68, 0x45, 0x48, 0x88, 0x09, 0x24, 0xb6, 0xf0, 0x10, 0x54, 0xa1, 0x29, 0x03, 0x21, - 0xa1, 0x49, 0x28, 0x4d, 0xcd, 0x66, 0xb5, 0x24, 0x21, 0x76, 0x26, 0xca, 0x3b, 0xaf, 0xfc, 0x0e, - 0x7e, 0x0f, 0xbf, 0x08, 0x39, 0xb1, 0x83, 0xd3, 0x66, 0xdb, 0x5b, 0x7c, 0xee, 0xb9, 0xce, 0xbd, - 0xe7, 0x1c, 0x19, 0xfa, 0x63, 0xca, 0x26, 0xce, 0xe5, 0xc1, 0x88, 0xf0, 0xe0, 0xc0, 0x09, 0x12, - 0x6a, 0x27, 0x69, 0xcc, 0x63, 0xd4, 0x94, 0x90, 0x85, 0xc1, 0x1c, 0x52, 0xc6, 0x5d, 0xca, 0x26, - 0xc3, 0x38, 0x0c, 0x38, 0x8d, 0x23, 0xe6, 0x93, 0xef, 0x19, 0x61, 0xdc, 0xba, 0x80, 0xdb, 0x3a, - 0x8e, 0x4c, 0x68, 0xbe, 0x19, 0x07, 0x09, 0x27, 0xa9, 0x69, 0xec, 0x18, 0x7b, 0x2d, 0x5f, 0x1d, - 0x51, 0x17, 0x1a, 0x47, 0x19, 0x33, 0x97, 0x73, 0x54, 0x7c, 0xa2, 0x3e, 0xac, 0x7d, 0x08, 0xd2, - 0x73, 0xc2, 0xcd, 0x46, 0x0e, 0xca, 0x13, 0xea, 0xc1, 0xea, 0xf0, 0xe3, 0x7b, 0xcf, 0x35, 0x57, - 0x72, 0xb8, 0x38, 0x58, 0x7f, 0x0d, 0xd8, 0xae, 0x19, 0x83, 0x25, 0x71, 0xc4, 0x08, 0x3a, 0x83, - 0x75, 0xb1, 0xc6, 0x97, 0xa9, 0xaa, 0x98, 0xc6, 0x4e, 0x63, 0xaf, 0x3d, 0x78, 0x6e, 0xcb, 0x2d, - 0xec, 0x2b, 0x7b, 0xed, 0x0a, 0xfa, 0x36, 0xe2, 0xe9, 0xcc, 0xef, 0x8c, 0x75, 0x0c, 0x7f, 0x02, - 0xb4, 0x48, 0x12, 0x1b, 0x4d, 0xc8, 0x4c, 0xee, 0x29, 0x3e, 0xd1, 0x53, 0x58, 0xbd, 0x0c, 0xa6, - 0x19, 0xc9, 0xb7, 0x6c, 0x0f, 0x36, 0xcb, 0x9f, 0xeb, 0xdd, 0x7e, 0xc1, 0x79, 0xb9, 0xfc, 0xc2, - 0xb0, 0x6c, 0xe8, 0x9d, 0x04, 0x29, 0xa7, 0x02, 0x17, 0x1c, 0x29, 0xab, 0x90, 0x46, 0x4c, 0xe0, - 0xb9, 0xf2, 0x76, 0x79, 0xb2, 0xb6, 0x60, 0x73, 0x8e, 0x5f, 0xec, 0x60, 0xdd, 0x81, 0x8e, 0x4f, - 0x58, 0x18, 0x44, 0xca, 0x98, 0x2e, 0xac, 0x2b, 0x40, 0x52, 0x7a, 0x80, 0x94, 0x06, 0x9e, 0x5b, - 0x1a, 0xf8, 0xdb, 0x80, 0xa6, 0x84, 0xd0, 0x31, 0xb4, 0xe9, 0x98, 0x44, 0x9c, 0x7e, 0xa5, 0x24, - 0x55, 0x0a, 0xee, 0x56, 0x96, 0xf0, 0x5c, 0x66, 0x7b, 0xff, 0x39, 0x85, 0x5a, 0x7a, 0x17, 0x7e, - 0x0d, 0xdd, 0x79, 0x42, 0x8d, 0x52, 0x3d, 0x5d, 0xa9, 0x96, 0x2e, 0xc9, 0x1f, 0x03, 0xee, 0x56, - 0xe6, 0x94, 0x0e, 0x1f, 0x43, 0xb3, 0x10, 0x41, 0x0d, 0xf6, 0x78, 0xc1, 0x5a, 0x8d, 0xae, 0x86, - 0x2d, 0x06, 0x54, 0x9d, 0x78, 0x58, 0xc4, 0x55, 0x15, 0x6a, 0x06, 0x7b, 0x54, 0xb5, 0xb0, 0x3b, - 0xbf, 0xbd, 0x3e, 0xea, 0x13, 0xe8, 0x0a, 0xf4, 0x94, 0x07, 0x9c, 0xdd, 0xe4, 0x9c, 0x03, 0x1b, - 0x1a, 0x57, 0xee, 0x84, 0xe1, 0x96, 0x28, 0x9f, 0xd2, 0x9f, 0x24, 0xa7, 0x37, 0xfc, 0xf2, 0x3c, - 0xf8, 0xd5, 0x80, 0x15, 0xd1, 0x81, 0xce, 0x60, 0x63, 0x21, 0xbb, 0x68, 0xf7, 0xba, 0x5c, 0xe7, - 0x93, 0x60, 0xeb, 0xe6, 0xe8, 0x5b, 0x4b, 0xe8, 0x04, 0x3a, 0x95, 0x44, 0xa1, 0x07, 0x65, 0x5b, - 0x5d, 0x32, 0xf1, 0xc3, 0xab, 0xca, 0xe5, 0x8d, 0x87, 0xb0, 0x56, 0x24, 0x0f, 0xf5, 0x4b, 0x6e, - 0x25, 0x9b, 0x78, 0x6b, 0x01, 0x2f, 0x9b, 0xdf, 0x41, 0x5b, 0x73, 0x13, 0xdd, 0xab, 0xf7, 0xb8, - 0xb8, 0xe6, 0xfe, 0x75, 0x01, 0xb0, 0x96, 0x90, 0x0b, 0xad, 0x52, 0x72, 0xb4, 0x5d, 0x31, 0x52, - 0xb7, 0x0c, 0xe3, 0xba, 0x92, 0xba, 0xe5, 0xe8, 0xd5, 0xe7, 0xc3, 0x73, 0xca, 0x2f, 0xb2, 0x91, - 0x1d, 0xc6, 0xdf, 0x9c, 0x49, 0x36, 0x22, 0x69, 0x44, 0x38, 0x61, 0xfb, 0x21, 0xa3, 0x4e, 0xc8, - 0xe8, 0x7e, 0x92, 0xc6, 0x3f, 0x66, 0x4e, 0x38, 0xa5, 0x24, 0xe2, 0xe2, 0xf9, 0x74, 0xf4, 0xf7, - 0x74, 0xb4, 0x96, 0x3f, 0xa6, 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb4, 0x44, 0xda, - 0x66, 0x05, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x32, 0x85, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, + 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, + 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x3b, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, + 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, + 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta1.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta1.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta1.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta1.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta1.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta1.RescanRequest + (*RescanResponse)(nil), // 6: v1beta1.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta1.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta1.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta1.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta1.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta1.DiskStatsResponse + nil, // 12: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 13: v1beta1.DiskIDs.IdentifiersEntry + nil, // 14: v1beta1.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = []int32{ + 12, // 0: v1beta1.ListDiskLocationsResponse.disk_locations:type_name -> v1beta1.ListDiskLocationsResponse.DiskLocationsEntry + 13, // 1: v1beta1.DiskIDs.identifiers:type_name -> v1beta1.DiskIDs.IdentifiersEntry + 14, // 2: v1beta1.ListDiskIDsResponse.diskIDs:type_name -> v1beta1.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta1.DiskLocation + 8, // 4: v1beta1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta1.DiskIDs + 0, // 5: v1beta1.Disk.ListDiskLocations:input_type -> v1beta1.ListDiskLocationsRequest + 3, // 6: v1beta1.Disk.PartitionDisk:input_type -> v1beta1.PartitionDiskRequest + 5, // 7: v1beta1.Disk.Rescan:input_type -> v1beta1.RescanRequest + 7, // 8: v1beta1.Disk.ListDiskIDs:input_type -> v1beta1.ListDiskIDsRequest + 10, // 9: v1beta1.Disk.DiskStats:input_type -> v1beta1.DiskStatsRequest + 2, // 10: v1beta1.Disk.ListDiskLocations:output_type -> v1beta1.ListDiskLocationsResponse + 4, // 11: v1beta1.Disk.PartitionDisk:output_type -> v1beta1.PartitionDiskResponse + 6, // 12: v1beta1.Disk.Rescan:output_type -> v1beta1.RescanResponse + 9, // 13: v1beta1.Disk.ListDiskIDs:output_type -> v1beta1.ListDiskIDsResponse + 11, // 14: v1beta1.Disk.DiskStats:output_type -> v1beta1.DiskStatsResponse + 10, // [10:15] is the sub-list for method output_type + 5, // [5:10] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskIDs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // DiskClient is the client API for Disk service. // @@ -564,14 +914,15 @@ type DiskClient interface { Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) + // DiskStats returns the stats for the disk DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) } type diskClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewDiskClient(cc *grpc.ClientConn) DiskClient { +func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { return &diskClient{cc} } @@ -632,6 +983,7 @@ type DiskServer interface { Rescan(context.Context, *RescanRequest) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) + // DiskStats returns the stats for the disk DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) } @@ -639,19 +991,19 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } @@ -775,5 +1127,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "disk/v1beta1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto", } diff --git a/client/api/disk/v1beta2/api.pb.go b/client/api/disk/v1beta2/api.pb.go index 27324f1e..9a5dfa77 100644 --- a/client/api/disk/v1beta2/api.pb.go +++ b/client/api/disk/v1beta2/api.pb.go @@ -1,716 +1,1165 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto package v1beta2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) -} -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) + +func (*PartitionDiskResponse) ProtoMessage() {} + +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) + +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{4} } -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) + +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RescanRequest) ProtoMessage() {} + +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanResponse) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{6} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) -} -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) +type ListDiskIDsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *ListDiskIDsRequest) Reset() { + *x = ListDiskIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (x *ListDiskIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +func (*ListDiskIDsRequest) ProtoMessage() {} -type ListDiskIDsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } -func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{7} -} - -func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) -} -func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{7} } -func (m *ListDiskIDsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsRequest.Size(m) -} -func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo type DiskIDs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *DiskIDs) Reset() { *m = DiskIDs{} } -func (m *DiskIDs) String() string { return proto.CompactTextString(m) } -func (*DiskIDs) ProtoMessage() {} -func (*DiskIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{8} +func (x *DiskIDs) Reset() { + *x = DiskIDs{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskIDs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskIDs.Unmarshal(m, b) -} -func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) -} -func (m *DiskIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskIDs.Merge(m, src) +func (x *DiskIDs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskIDs) XXX_Size() int { - return xxx_messageInfo_DiskIDs.Size(m) -} -func (m *DiskIDs) XXX_DiscardUnknown() { - xxx_messageInfo_DiskIDs.DiscardUnknown(m) + +func (*DiskIDs) ProtoMessage() {} + +func (x *DiskIDs) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskIDs proto.InternalMessageInfo +// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (*DiskIDs) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{8} +} -func (m *DiskIDs) GetIdentifiers() map[string]string { - if m != nil { - return m.Identifiers +func (x *DiskIDs) GetIdentifiers() map[string]string { + if x != nil { + return x.Identifiers } return nil } type ListDiskIDsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } -func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsResponse) ProtoMessage() {} -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{9} +func (x *ListDiskIDsResponse) Reset() { + *x = ListDiskIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) -} -func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) -} -func (m *ListDiskIDsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsResponse.Size(m) +func (x *ListDiskIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) + +func (*ListDiskIDsResponse) ProtoMessage() {} + +func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{9} +} -func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if m != nil { - return m.DiskIDs +func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if x != nil { + return x.DiskIDs } return nil } type DiskStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } -func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } -func (*DiskStatsRequest) ProtoMessage() {} -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{10} +func (x *DiskStatsRequest) Reset() { + *x = DiskStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) -} -func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) -} -func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsRequest.Merge(m, src) +func (x *DiskStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsRequest) XXX_Size() int { - return xxx_messageInfo_DiskStatsRequest.Size(m) -} -func (m *DiskStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) + +func (*DiskStatsRequest) ProtoMessage() {} + +func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo +// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{10} +} -func (m *DiskStatsRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *DiskStatsRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type DiskStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` } -func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } -func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } -func (*DiskStatsResponse) ProtoMessage() {} -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{11} +func (x *DiskStatsResponse) Reset() { + *x = DiskStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) -} -func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) -} -func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsResponse.Merge(m, src) +func (x *DiskStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsResponse) XXX_Size() int { - return xxx_messageInfo_DiskStatsResponse.Size(m) -} -func (m *DiskStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) + +func (*DiskStatsResponse) ProtoMessage() {} + +func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo +// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{11} +} -func (m *DiskStatsResponse) GetDiskSize() int64 { - if m != nil { - return m.DiskSize +func (x *DiskStatsResponse) GetDiskSize() int64 { + if x != nil { + return x.DiskSize } return 0 } type SetAttachStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID (number) of the disk which state will change DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` // Online state to set for the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` } -func (m *SetAttachStateRequest) Reset() { *m = SetAttachStateRequest{} } -func (m *SetAttachStateRequest) String() string { return proto.CompactTextString(m) } -func (*SetAttachStateRequest) ProtoMessage() {} -func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{12} +func (x *SetAttachStateRequest) Reset() { + *x = SetAttachStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAttachStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAttachStateRequest.Unmarshal(m, b) -} -func (m *SetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAttachStateRequest.Marshal(b, m, deterministic) -} -func (m *SetAttachStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAttachStateRequest.Merge(m, src) +func (x *SetAttachStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAttachStateRequest) XXX_Size() int { - return xxx_messageInfo_SetAttachStateRequest.Size(m) -} -func (m *SetAttachStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAttachStateRequest.DiscardUnknown(m) + +func (*SetAttachStateRequest) ProtoMessage() {} + +func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_SetAttachStateRequest proto.InternalMessageInfo +// Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. +func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{12} +} -func (m *SetAttachStateRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *SetAttachStateRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } -func (m *SetAttachStateRequest) GetIsOnline() bool { - if m != nil { - return m.IsOnline +func (x *SetAttachStateRequest) GetIsOnline() bool { + if x != nil { + return x.IsOnline } return false } type SetAttachStateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetAttachStateResponse) Reset() { *m = SetAttachStateResponse{} } -func (m *SetAttachStateResponse) String() string { return proto.CompactTextString(m) } -func (*SetAttachStateResponse) ProtoMessage() {} -func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{13} +func (x *SetAttachStateResponse) Reset() { + *x = SetAttachStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAttachStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAttachStateResponse.Unmarshal(m, b) -} -func (m *SetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAttachStateResponse.Marshal(b, m, deterministic) -} -func (m *SetAttachStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAttachStateResponse.Merge(m, src) -} -func (m *SetAttachStateResponse) XXX_Size() int { - return xxx_messageInfo_SetAttachStateResponse.Size(m) +func (x *SetAttachStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAttachStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetAttachStateResponse.DiscardUnknown(m) + +func (*SetAttachStateResponse) ProtoMessage() {} + +func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetAttachStateResponse proto.InternalMessageInfo +// Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. +func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{13} +} type GetAttachStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID (number) of the disk - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *GetAttachStateRequest) Reset() { *m = GetAttachStateRequest{} } -func (m *GetAttachStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetAttachStateRequest) ProtoMessage() {} -func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{14} +func (x *GetAttachStateRequest) Reset() { + *x = GetAttachStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAttachStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAttachStateRequest.Unmarshal(m, b) -} -func (m *GetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAttachStateRequest.Marshal(b, m, deterministic) -} -func (m *GetAttachStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAttachStateRequest.Merge(m, src) +func (x *GetAttachStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAttachStateRequest) XXX_Size() int { - return xxx_messageInfo_GetAttachStateRequest.Size(m) -} -func (m *GetAttachStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAttachStateRequest.DiscardUnknown(m) + +func (*GetAttachStateRequest) ProtoMessage() {} + +func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAttachStateRequest proto.InternalMessageInfo +// Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. +func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{14} +} -func (m *GetAttachStateRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *GetAttachStateRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type GetAttachStateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Online state of the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` } -func (m *GetAttachStateResponse) Reset() { *m = GetAttachStateResponse{} } -func (m *GetAttachStateResponse) String() string { return proto.CompactTextString(m) } -func (*GetAttachStateResponse) ProtoMessage() {} -func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{15} +func (x *GetAttachStateResponse) Reset() { + *x = GetAttachStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAttachStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAttachStateResponse.Unmarshal(m, b) -} -func (m *GetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAttachStateResponse.Marshal(b, m, deterministic) -} -func (m *GetAttachStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAttachStateResponse.Merge(m, src) +func (x *GetAttachStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAttachStateResponse) XXX_Size() int { - return xxx_messageInfo_GetAttachStateResponse.Size(m) -} -func (m *GetAttachStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAttachStateResponse.DiscardUnknown(m) + +func (*GetAttachStateResponse) ProtoMessage() {} + +func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_GetAttachStateResponse proto.InternalMessageInfo +// Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. +func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{15} +} -func (m *GetAttachStateResponse) GetIsOnline() bool { - if m != nil { - return m.IsOnline +func (x *GetAttachStateResponse) GetIsOnline() bool { + if x != nil { + return x.IsOnline } return false } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta2.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1beta2.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta2.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta2.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta2.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta2.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1beta2.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1beta2.RescanResponse") - proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta2.ListDiskIDsRequest") - proto.RegisterType((*DiskIDs)(nil), "v1beta2.DiskIDs") - proto.RegisterMapType((map[string]string)(nil), "v1beta2.DiskIDs.IdentifiersEntry") - proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta2.ListDiskIDsResponse") - proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta2.ListDiskIDsResponse.DiskIDsEntry") - proto.RegisterType((*DiskStatsRequest)(nil), "v1beta2.DiskStatsRequest") - proto.RegisterType((*DiskStatsResponse)(nil), "v1beta2.DiskStatsResponse") - proto.RegisterType((*SetAttachStateRequest)(nil), "v1beta2.SetAttachStateRequest") - proto.RegisterType((*SetAttachStateResponse)(nil), "v1beta2.SetAttachStateResponse") - proto.RegisterType((*GetAttachStateRequest)(nil), "v1beta2.GetAttachStateRequest") - proto.RegisterType((*GetAttachStateResponse)(nil), "v1beta2.GetAttachStateResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto", fileDescriptor_b8298108b4474af1) -} - -var fileDescriptor_b8298108b4474af1 = []byte{ - // 647 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xd3, 0x4c, - 0x10, 0xad, 0x9b, 0xb6, 0x69, 0x27, 0x5f, 0xf3, 0xa5, 0x4b, 0x92, 0xba, 0xe6, 0xaf, 0xdd, 0x0b, - 0x54, 0x40, 0xb5, 0x45, 0x00, 0x09, 0x51, 0x81, 0xd4, 0xd6, 0x55, 0x14, 0x88, 0xa0, 0x72, 0x40, - 0x48, 0xa8, 0x12, 0x72, 0x9c, 0xa5, 0x59, 0x25, 0xd8, 0xc1, 0xbb, 0xa9, 0x08, 0x0f, 0xc1, 0x73, - 0x70, 0xc7, 0xbb, 0xf0, 0x44, 0x68, 0xed, 0xb5, 0xbb, 0x4e, 0x9c, 0x46, 0x88, 0x3b, 0xcf, 0x99, - 0x99, 0xb3, 0x67, 0xfe, 0x64, 0x38, 0xbd, 0xa0, 0xbc, 0x3f, 0xee, 0x9a, 0x5e, 0xf0, 0xc5, 0x1a, - 0x8c, 0xbb, 0x24, 0xf4, 0x09, 0x27, 0xec, 0xc0, 0x63, 0xd4, 0xf2, 0x18, 0x3d, 0x18, 0x85, 0xc1, - 0xb7, 0x89, 0xe5, 0x0d, 0x29, 0xf1, 0xb9, 0xe5, 0x8e, 0xa8, 0xd5, 0xa3, 0x6c, 0x60, 0x5d, 0x3e, - 0xea, 0x12, 0xee, 0x36, 0x04, 0x60, 0x8e, 0xc2, 0x80, 0x07, 0xa8, 0x28, 0x21, 0x6c, 0x80, 0xde, - 0xa6, 0x8c, 0xdb, 0x94, 0x0d, 0xda, 0x81, 0xe7, 0x72, 0x1a, 0xf8, 0xcc, 0x21, 0x5f, 0xc7, 0x84, - 0x71, 0xdc, 0x87, 0xff, 0x54, 0x1c, 0xe9, 0x50, 0x3c, 0xea, 0xb9, 0x23, 0x4e, 0x42, 0x5d, 0xdb, - 0xd5, 0xf6, 0x37, 0x9c, 0xc4, 0x44, 0x15, 0x28, 0x1c, 0x8f, 0x99, 0xbe, 0x1c, 0xa1, 0xe2, 0x13, - 0xd5, 0x61, 0xed, 0x9d, 0x1b, 0x5e, 0x10, 0xae, 0x17, 0x22, 0x50, 0x5a, 0xa8, 0x0a, 0xab, 0xed, - 0xf7, 0x6f, 0x5a, 0xb6, 0xbe, 0x12, 0xc1, 0xb1, 0x81, 0x7f, 0x6b, 0xb0, 0x93, 0x23, 0x83, 0x8d, - 0x02, 0x9f, 0x11, 0x74, 0x0e, 0x65, 0x51, 0xc6, 0xa7, 0x61, 0xe2, 0xd1, 0xb5, 0xdd, 0xc2, 0x7e, - 0xa9, 0xf1, 0xd4, 0x94, 0x55, 0x98, 0x73, 0x73, 0xcd, 0x0c, 0x7a, 0xea, 0xf3, 0x70, 0xe2, 0x6c, - 0xf6, 0x54, 0xcc, 0xf8, 0x00, 0x68, 0x36, 0x48, 0x54, 0x34, 0x20, 0x13, 0x59, 0xa7, 0xf8, 0x44, - 0x0f, 0x61, 0xf5, 0xd2, 0x1d, 0x8e, 0x49, 0x54, 0x65, 0xa9, 0x51, 0x4b, 0x1f, 0x57, 0xb3, 0x9d, - 0x38, 0xe6, 0xf9, 0xf2, 0x33, 0x0d, 0x9b, 0x50, 0x3d, 0x73, 0x43, 0x4e, 0x05, 0x2e, 0x62, 0x64, - 0x5b, 0x45, 0x6b, 0x84, 0x82, 0x96, 0x2d, 0xd9, 0xa5, 0x85, 0xb7, 0xa1, 0x36, 0x15, 0x1f, 0xd7, - 0x80, 0xff, 0x87, 0x4d, 0x87, 0x30, 0xcf, 0xf5, 0x93, 0xc1, 0x54, 0xa0, 0x9c, 0x00, 0x32, 0xa4, - 0x0a, 0x28, 0xe9, 0x41, 0xcb, 0x4e, 0x07, 0xf8, 0x43, 0x83, 0xa2, 0x84, 0xd0, 0x09, 0x94, 0x68, - 0x8f, 0xf8, 0x9c, 0x7e, 0xa6, 0x24, 0x4c, 0x3a, 0xb8, 0x97, 0x29, 0xa2, 0x65, 0x33, 0xb3, 0x75, - 0x15, 0x13, 0x77, 0x4b, 0xcd, 0x32, 0x5e, 0x42, 0x65, 0x3a, 0x20, 0xa7, 0x53, 0x55, 0xb5, 0x53, - 0x1b, 0x6a, 0x4b, 0x7e, 0x6a, 0x70, 0x23, 0xa3, 0x53, 0x4e, 0xf8, 0x04, 0x8a, 0x71, 0x13, 0x12, - 0x61, 0xf7, 0x67, 0x46, 0xab, 0x84, 0x27, 0x62, 0x63, 0x81, 0x49, 0xa6, 0xd1, 0x8e, 0xd7, 0x35, - 0x71, 0xe4, 0x08, 0xbb, 0x97, 0x1d, 0x61, 0x65, 0xba, 0x7a, 0x55, 0xea, 0x03, 0xa8, 0x08, 0xb4, - 0xc3, 0x5d, 0xce, 0x16, 0x4d, 0xce, 0x82, 0x2d, 0x25, 0x56, 0xd6, 0x64, 0xc0, 0xba, 0x70, 0x77, - 0xe8, 0x77, 0x12, 0x85, 0x17, 0x9c, 0xd4, 0xc6, 0xaf, 0xa1, 0xd6, 0x21, 0xfc, 0x88, 0x73, 0xd7, - 0xeb, 0x8b, 0x2c, 0xb2, 0xe0, 0x05, 0x41, 0x46, 0xd9, 0x5b, 0x7f, 0x48, 0xfd, 0x58, 0xfc, 0xba, - 0x93, 0xda, 0x58, 0x87, 0xfa, 0x34, 0x99, 0xdc, 0x0a, 0x0b, 0x6a, 0xcd, 0xbf, 0x79, 0x06, 0x3f, - 0x81, 0x7a, 0x33, 0x97, 0x2a, 0x23, 0x40, 0xcb, 0x0a, 0x68, 0xfc, 0x5a, 0x81, 0x15, 0x51, 0x3f, - 0x3a, 0x87, 0xad, 0x99, 0x4b, 0x44, 0x7b, 0xd7, 0x5d, 0x69, 0x24, 0xc7, 0xc0, 0x8b, 0x0f, 0x19, - 0x2f, 0xa1, 0x33, 0xd8, 0xcc, 0xdc, 0x07, 0xba, 0x9d, 0xa6, 0xe5, 0xdd, 0x99, 0x71, 0x67, 0x9e, - 0x3b, 0x65, 0x3c, 0x84, 0xb5, 0xf8, 0x8e, 0x50, 0x3d, 0x8d, 0xcd, 0x5c, 0x9a, 0xb1, 0x3d, 0x83, - 0xa7, 0xc9, 0xaf, 0xa0, 0xa4, 0xec, 0x26, 0xba, 0x99, 0xbf, 0xb1, 0x31, 0xcd, 0xad, 0xeb, 0xd6, - 0x19, 0x2f, 0x21, 0x1b, 0x36, 0xd2, 0x05, 0x42, 0x3b, 0x99, 0xb5, 0x54, 0x17, 0xd0, 0x30, 0xf2, - 0x5c, 0x29, 0x4b, 0x07, 0xca, 0xd9, 0x45, 0x40, 0x57, 0x2d, 0xc8, 0x5d, 0x37, 0xe3, 0xee, 0x5c, - 0xbf, 0x4a, 0xda, 0x9c, 0x47, 0xda, 0x5c, 0x40, 0xda, 0x9c, 0x43, 0x7a, 0xfc, 0xe2, 0xe3, 0xe1, - 0x3f, 0xfc, 0xc7, 0xba, 0x6b, 0xd1, 0x4f, 0xec, 0xf1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, - 0x06, 0xb4, 0xd5, 0x0d, 0x07, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, + 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, + 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, + 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, + 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta2.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta2.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta2.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta2.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta2.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta2.RescanRequest + (*RescanResponse)(nil), // 6: v1beta2.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta2.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta2.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta2.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta2.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta2.DiskStatsResponse + (*SetAttachStateRequest)(nil), // 12: v1beta2.SetAttachStateRequest + (*SetAttachStateResponse)(nil), // 13: v1beta2.SetAttachStateResponse + (*GetAttachStateRequest)(nil), // 14: v1beta2.GetAttachStateRequest + (*GetAttachStateResponse)(nil), // 15: v1beta2.GetAttachStateResponse + nil, // 16: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 17: v1beta2.DiskIDs.IdentifiersEntry + nil, // 18: v1beta2.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = []int32{ + 16, // 0: v1beta2.ListDiskLocationsResponse.disk_locations:type_name -> v1beta2.ListDiskLocationsResponse.DiskLocationsEntry + 17, // 1: v1beta2.DiskIDs.identifiers:type_name -> v1beta2.DiskIDs.IdentifiersEntry + 18, // 2: v1beta2.ListDiskIDsResponse.diskIDs:type_name -> v1beta2.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta2.DiskLocation + 8, // 4: v1beta2.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta2.DiskIDs + 0, // 5: v1beta2.Disk.ListDiskLocations:input_type -> v1beta2.ListDiskLocationsRequest + 3, // 6: v1beta2.Disk.PartitionDisk:input_type -> v1beta2.PartitionDiskRequest + 5, // 7: v1beta2.Disk.Rescan:input_type -> v1beta2.RescanRequest + 7, // 8: v1beta2.Disk.ListDiskIDs:input_type -> v1beta2.ListDiskIDsRequest + 10, // 9: v1beta2.Disk.DiskStats:input_type -> v1beta2.DiskStatsRequest + 12, // 10: v1beta2.Disk.SetAttachState:input_type -> v1beta2.SetAttachStateRequest + 14, // 11: v1beta2.Disk.GetAttachState:input_type -> v1beta2.GetAttachStateRequest + 2, // 12: v1beta2.Disk.ListDiskLocations:output_type -> v1beta2.ListDiskLocationsResponse + 4, // 13: v1beta2.Disk.PartitionDisk:output_type -> v1beta2.PartitionDiskResponse + 6, // 14: v1beta2.Disk.Rescan:output_type -> v1beta2.RescanResponse + 9, // 15: v1beta2.Disk.ListDiskIDs:output_type -> v1beta2.ListDiskIDsResponse + 11, // 16: v1beta2.Disk.DiskStats:output_type -> v1beta2.DiskStatsResponse + 13, // 17: v1beta2.Disk.SetAttachState:output_type -> v1beta2.SetAttachStateResponse + 15, // 18: v1beta2.Disk.GetAttachState:output_type -> v1beta2.GetAttachStateResponse + 12, // [12:19] is the sub-list for method output_type + 5, // [5:12] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskIDs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAttachStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAttachStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAttachStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAttachStateResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -838,25 +1287,25 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } -func (*UnimplementedDiskServer) SetAttachState(ctx context.Context, req *SetAttachStateRequest) (*SetAttachStateResponse, error) { +func (*UnimplementedDiskServer) SetAttachState(context.Context, *SetAttachStateRequest) (*SetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAttachState not implemented") } -func (*UnimplementedDiskServer) GetAttachState(ctx context.Context, req *GetAttachStateRequest) (*GetAttachStateResponse, error) { +func (*UnimplementedDiskServer) GetAttachState(context.Context, *GetAttachStateRequest) (*GetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttachState not implemented") } diff --git a/client/api/disk/v1/api.pb.go b/client/api/disk/v1beta3/api.pb.go similarity index 66% rename from client/api/disk/v1/api.pb.go rename to client/api/disk/v1beta3/api.pb.go index 444962e3..8e9a8de4 100644 --- a/client/api/disk/v1/api.pb.go +++ b/client/api/disk/v1beta3/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto -package v1 +package v1beta3 import ( context "context" @@ -33,7 +33,7 @@ type ListDiskLocationsRequest struct { func (x *ListDiskLocationsRequest) Reset() { *x = ListDiskLocationsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -46,7 +46,7 @@ func (x *ListDiskLocationsRequest) String() string { func (*ListDiskLocationsRequest) ProtoMessage() {} func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -59,7 +59,7 @@ func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{0} } type DiskLocation struct { @@ -76,7 +76,7 @@ type DiskLocation struct { func (x *DiskLocation) Reset() { *x = DiskLocation{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -89,7 +89,7 @@ func (x *DiskLocation) String() string { func (*DiskLocation) ProtoMessage() {} func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -102,7 +102,7 @@ func (x *DiskLocation) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{1} } func (x *DiskLocation) GetAdapter() string { @@ -145,7 +145,7 @@ type ListDiskLocationsResponse struct { func (x *ListDiskLocationsResponse) Reset() { *x = ListDiskLocationsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -158,7 +158,7 @@ func (x *ListDiskLocationsResponse) String() string { func (*ListDiskLocationsResponse) ProtoMessage() {} func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -171,7 +171,7 @@ func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{2} } func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { @@ -193,7 +193,7 @@ type PartitionDiskRequest struct { func (x *PartitionDiskRequest) Reset() { *x = PartitionDiskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -206,7 +206,7 @@ func (x *PartitionDiskRequest) String() string { func (*PartitionDiskRequest) ProtoMessage() {} func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -219,7 +219,7 @@ func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{3} } func (x *PartitionDiskRequest) GetDiskID() string { @@ -238,7 +238,7 @@ type PartitionDiskResponse struct { func (x *PartitionDiskResponse) Reset() { *x = PartitionDiskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -251,7 +251,7 @@ func (x *PartitionDiskResponse) String() string { func (*PartitionDiskResponse) ProtoMessage() {} func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -264,7 +264,7 @@ func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{4} } type RescanRequest struct { @@ -276,7 +276,7 @@ type RescanRequest struct { func (x *RescanRequest) Reset() { *x = RescanRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -289,7 +289,7 @@ func (x *RescanRequest) String() string { func (*RescanRequest) ProtoMessage() {} func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -302,7 +302,7 @@ func (x *RescanRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{5} } type RescanResponse struct { @@ -314,7 +314,7 @@ type RescanResponse struct { func (x *RescanResponse) Reset() { *x = RescanResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -327,7 +327,7 @@ func (x *RescanResponse) String() string { func (*RescanResponse) ProtoMessage() {} func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -340,7 +340,7 @@ func (x *RescanResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{6} } type ListDiskIDsRequest struct { @@ -352,7 +352,7 @@ type ListDiskIDsRequest struct { func (x *ListDiskIDsRequest) Reset() { *x = ListDiskIDsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -365,7 +365,7 @@ func (x *ListDiskIDsRequest) String() string { func (*ListDiskIDsRequest) ProtoMessage() {} func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -378,7 +378,7 @@ func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{7} } type DiskIDs struct { @@ -393,7 +393,7 @@ type DiskIDs struct { func (x *DiskIDs) Reset() { *x = DiskIDs{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -406,7 +406,7 @@ func (x *DiskIDs) String() string { func (*DiskIDs) ProtoMessage() {} func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -419,7 +419,7 @@ func (x *DiskIDs) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{8} } func (x *DiskIDs) GetIdentifiers() map[string]string { @@ -441,7 +441,7 @@ type ListDiskIDsResponse struct { func (x *ListDiskIDsResponse) Reset() { *x = ListDiskIDsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +454,7 @@ func (x *ListDiskIDsResponse) String() string { func (*ListDiskIDsResponse) ProtoMessage() {} func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +467,7 @@ func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{9} } func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { @@ -489,7 +489,7 @@ type DiskStatsRequest struct { func (x *DiskStatsRequest) Reset() { *x = DiskStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -502,7 +502,7 @@ func (x *DiskStatsRequest) String() string { func (*DiskStatsRequest) ProtoMessage() {} func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -515,7 +515,7 @@ func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{10} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{10} } func (x *DiskStatsRequest) GetDiskID() string { @@ -537,7 +537,7 @@ type DiskStatsResponse struct { func (x *DiskStatsResponse) Reset() { *x = DiskStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -550,7 +550,7 @@ func (x *DiskStatsResponse) String() string { func (*DiskStatsResponse) ProtoMessage() {} func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -563,7 +563,7 @@ func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{11} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{11} } func (x *DiskStatsResponse) GetDiskSize() int64 { @@ -587,7 +587,7 @@ type SetAttachStateRequest struct { func (x *SetAttachStateRequest) Reset() { *x = SetAttachStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -600,7 +600,7 @@ func (x *SetAttachStateRequest) String() string { func (*SetAttachStateRequest) ProtoMessage() {} func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -613,7 +613,7 @@ func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{12} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{12} } func (x *SetAttachStateRequest) GetDiskID() string { @@ -639,7 +639,7 @@ type SetAttachStateResponse struct { func (x *SetAttachStateResponse) Reset() { *x = SetAttachStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -652,7 +652,7 @@ func (x *SetAttachStateResponse) String() string { func (*SetAttachStateResponse) ProtoMessage() {} func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -665,7 +665,7 @@ func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{13} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{13} } type GetAttachStateRequest struct { @@ -680,7 +680,7 @@ type GetAttachStateRequest struct { func (x *GetAttachStateRequest) Reset() { *x = GetAttachStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -693,7 +693,7 @@ func (x *GetAttachStateRequest) String() string { func (*GetAttachStateRequest) ProtoMessage() {} func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -706,7 +706,7 @@ func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{14} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{14} } func (x *GetAttachStateRequest) GetDiskID() string { @@ -728,7 +728,7 @@ type GetAttachStateResponse struct { func (x *GetAttachStateResponse) Reset() { *x = GetAttachStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -741,7 +741,7 @@ func (x *GetAttachStateResponse) String() string { func (*GetAttachStateResponse) ProtoMessage() {} func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -754,7 +754,7 @@ func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{15} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{15} } func (x *GetAttachStateResponse) GetIsOnline() bool { @@ -764,171 +764,178 @@ func (x *GetAttachStateResponse) GetIsOnline() bool { return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, - 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xc8, 0x01, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x64, 0x69, - 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x52, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, - 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x89, 0x01, 0x0a, 0x07, 0x44, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, - 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x47, 0x0a, - 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, - 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x53, - 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, - 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, 0x0a, 0x16, 0x47, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, - 0x65, 0x32, 0xe9, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x11, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, - 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, - 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, - 0x12, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x09, 0x44, - 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, - 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x38, 0x5a, - 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, - 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, + 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x33, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, + 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, + 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, + 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1.RescanRequest - (*RescanResponse)(nil), // 6: v1.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1.DiskStatsResponse - (*SetAttachStateRequest)(nil), // 12: v1.SetAttachStateRequest - (*SetAttachStateResponse)(nil), // 13: v1.SetAttachStateResponse - (*GetAttachStateRequest)(nil), // 14: v1.GetAttachStateRequest - (*GetAttachStateResponse)(nil), // 15: v1.GetAttachStateResponse - nil, // 16: v1.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 17: v1.DiskIDs.IdentifiersEntry - nil, // 18: v1.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs = []int32{ - 16, // 0: v1.ListDiskLocationsResponse.disk_locations:type_name -> v1.ListDiskLocationsResponse.DiskLocationsEntry - 17, // 1: v1.DiskIDs.identifiers:type_name -> v1.DiskIDs.IdentifiersEntry - 18, // 2: v1.ListDiskIDsResponse.diskIDs:type_name -> v1.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1.DiskLocation - 8, // 4: v1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1.DiskIDs - 0, // 5: v1.Disk.ListDiskLocations:input_type -> v1.ListDiskLocationsRequest - 3, // 6: v1.Disk.PartitionDisk:input_type -> v1.PartitionDiskRequest - 5, // 7: v1.Disk.Rescan:input_type -> v1.RescanRequest - 7, // 8: v1.Disk.ListDiskIDs:input_type -> v1.ListDiskIDsRequest - 10, // 9: v1.Disk.DiskStats:input_type -> v1.DiskStatsRequest - 12, // 10: v1.Disk.SetAttachState:input_type -> v1.SetAttachStateRequest - 14, // 11: v1.Disk.GetAttachState:input_type -> v1.GetAttachStateRequest - 2, // 12: v1.Disk.ListDiskLocations:output_type -> v1.ListDiskLocationsResponse - 4, // 13: v1.Disk.PartitionDisk:output_type -> v1.PartitionDiskResponse - 6, // 14: v1.Disk.Rescan:output_type -> v1.RescanResponse - 9, // 15: v1.Disk.ListDiskIDs:output_type -> v1.ListDiskIDsResponse - 11, // 16: v1.Disk.DiskStats:output_type -> v1.DiskStatsResponse - 13, // 17: v1.Disk.SetAttachState:output_type -> v1.SetAttachStateResponse - 15, // 18: v1.Disk.GetAttachState:output_type -> v1.GetAttachStateResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta3.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta3.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta3.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta3.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta3.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta3.RescanRequest + (*RescanResponse)(nil), // 6: v1beta3.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta3.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta3.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta3.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta3.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta3.DiskStatsResponse + (*SetAttachStateRequest)(nil), // 12: v1beta3.SetAttachStateRequest + (*SetAttachStateResponse)(nil), // 13: v1beta3.SetAttachStateResponse + (*GetAttachStateRequest)(nil), // 14: v1beta3.GetAttachStateRequest + (*GetAttachStateResponse)(nil), // 15: v1beta3.GetAttachStateResponse + nil, // 16: v1beta3.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 17: v1beta3.DiskIDs.IdentifiersEntry + nil, // 18: v1beta3.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs = []int32{ + 16, // 0: v1beta3.ListDiskLocationsResponse.disk_locations:type_name -> v1beta3.ListDiskLocationsResponse.DiskLocationsEntry + 17, // 1: v1beta3.DiskIDs.identifiers:type_name -> v1beta3.DiskIDs.IdentifiersEntry + 18, // 2: v1beta3.ListDiskIDsResponse.diskIDs:type_name -> v1beta3.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta3.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta3.DiskLocation + 8, // 4: v1beta3.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta3.DiskIDs + 0, // 5: v1beta3.Disk.ListDiskLocations:input_type -> v1beta3.ListDiskLocationsRequest + 3, // 6: v1beta3.Disk.PartitionDisk:input_type -> v1beta3.PartitionDiskRequest + 5, // 7: v1beta3.Disk.Rescan:input_type -> v1beta3.RescanRequest + 7, // 8: v1beta3.Disk.ListDiskIDs:input_type -> v1beta3.ListDiskIDsRequest + 10, // 9: v1beta3.Disk.DiskStats:input_type -> v1beta3.DiskStatsRequest + 12, // 10: v1beta3.Disk.SetAttachState:input_type -> v1beta3.SetAttachStateRequest + 14, // 11: v1beta3.Disk.GetAttachState:input_type -> v1beta3.GetAttachStateRequest + 2, // 12: v1beta3.Disk.ListDiskLocations:output_type -> v1beta3.ListDiskLocationsResponse + 4, // 13: v1beta3.Disk.PartitionDisk:output_type -> v1beta3.PartitionDiskResponse + 6, // 14: v1beta3.Disk.Rescan:output_type -> v1beta3.RescanResponse + 9, // 15: v1beta3.Disk.ListDiskIDs:output_type -> v1beta3.ListDiskIDsResponse + 11, // 16: v1beta3.Disk.DiskStats:output_type -> v1beta3.DiskStatsResponse + 13, // 17: v1beta3.Disk.SetAttachState:output_type -> v1beta3.SetAttachStateResponse + 15, // 18: v1beta3.Disk.GetAttachState:output_type -> v1beta3.GetAttachStateResponse 12, // [12:19] is the sub-list for method output_type 5, // [5:12] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -936,13 +943,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdx 0, // [0:5] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskLocationsRequest); i { case 0: return &v.state @@ -954,7 +961,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskLocation); i { case 0: return &v.state @@ -966,7 +973,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskLocationsResponse); i { case 0: return &v.state @@ -978,7 +985,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PartitionDiskRequest); i { case 0: return &v.state @@ -990,7 +997,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PartitionDiskResponse); i { case 0: return &v.state @@ -1002,7 +1009,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RescanRequest); i { case 0: return &v.state @@ -1014,7 +1021,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RescanResponse); i { case 0: return &v.state @@ -1026,7 +1033,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskIDsRequest); i { case 0: return &v.state @@ -1038,7 +1045,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskIDs); i { case 0: return &v.state @@ -1050,7 +1057,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskIDsResponse); i { case 0: return &v.state @@ -1062,7 +1069,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskStatsRequest); i { case 0: return &v.state @@ -1074,7 +1081,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskStatsResponse); i { case 0: return &v.state @@ -1086,7 +1093,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAttachStateRequest); i { case 0: return &v.state @@ -1098,7 +1105,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAttachStateResponse); i { case 0: return &v.state @@ -1110,7 +1117,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachStateRequest); i { case 0: return &v.state @@ -1122,7 +1129,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachStateResponse); i { case 0: return &v.state @@ -1139,20 +1146,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc, NumEnums: 0, NumMessages: 19, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1195,7 +1202,7 @@ func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { func (c *diskClient) ListDiskLocations(ctx context.Context, in *ListDiskLocationsRequest, opts ...grpc.CallOption) (*ListDiskLocationsResponse, error) { out := new(ListDiskLocationsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/ListDiskLocations", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/ListDiskLocations", in, out, opts...) if err != nil { return nil, err } @@ -1204,7 +1211,7 @@ func (c *diskClient) ListDiskLocations(ctx context.Context, in *ListDiskLocation func (c *diskClient) PartitionDisk(ctx context.Context, in *PartitionDiskRequest, opts ...grpc.CallOption) (*PartitionDiskResponse, error) { out := new(PartitionDiskResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/PartitionDisk", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/PartitionDisk", in, out, opts...) if err != nil { return nil, err } @@ -1213,7 +1220,7 @@ func (c *diskClient) PartitionDisk(ctx context.Context, in *PartitionDiskRequest func (c *diskClient) Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) { out := new(RescanResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/Rescan", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/Rescan", in, out, opts...) if err != nil { return nil, err } @@ -1222,7 +1229,7 @@ func (c *diskClient) Rescan(ctx context.Context, in *RescanRequest, opts ...grpc func (c *diskClient) ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) { out := new(ListDiskIDsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/ListDiskIDs", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/ListDiskIDs", in, out, opts...) if err != nil { return nil, err } @@ -1231,7 +1238,7 @@ func (c *diskClient) ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, op func (c *diskClient) DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) { out := new(DiskStatsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/DiskStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/DiskStats", in, out, opts...) if err != nil { return nil, err } @@ -1240,7 +1247,7 @@ func (c *diskClient) DiskStats(ctx context.Context, in *DiskStatsRequest, opts . func (c *diskClient) SetAttachState(ctx context.Context, in *SetAttachStateRequest, opts ...grpc.CallOption) (*SetAttachStateResponse, error) { out := new(SetAttachStateResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/SetAttachState", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/SetAttachState", in, out, opts...) if err != nil { return nil, err } @@ -1249,7 +1256,7 @@ func (c *diskClient) SetAttachState(ctx context.Context, in *SetAttachStateReque func (c *diskClient) GetAttachState(ctx context.Context, in *GetAttachStateRequest, opts ...grpc.CallOption) (*GetAttachStateResponse, error) { out := new(GetAttachStateResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/GetAttachState", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/GetAttachState", in, out, opts...) if err != nil { return nil, err } @@ -1316,7 +1323,7 @@ func _Disk_ListDiskLocations_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/ListDiskLocations", + FullMethod: "/v1beta3.Disk/ListDiskLocations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).ListDiskLocations(ctx, req.(*ListDiskLocationsRequest)) @@ -1334,7 +1341,7 @@ func _Disk_PartitionDisk_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/PartitionDisk", + FullMethod: "/v1beta3.Disk/PartitionDisk", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).PartitionDisk(ctx, req.(*PartitionDiskRequest)) @@ -1352,7 +1359,7 @@ func _Disk_Rescan_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/Rescan", + FullMethod: "/v1beta3.Disk/Rescan", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).Rescan(ctx, req.(*RescanRequest)) @@ -1370,7 +1377,7 @@ func _Disk_ListDiskIDs_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/ListDiskIDs", + FullMethod: "/v1beta3.Disk/ListDiskIDs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).ListDiskIDs(ctx, req.(*ListDiskIDsRequest)) @@ -1388,7 +1395,7 @@ func _Disk_DiskStats_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/DiskStats", + FullMethod: "/v1beta3.Disk/DiskStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).DiskStats(ctx, req.(*DiskStatsRequest)) @@ -1406,7 +1413,7 @@ func _Disk_SetAttachState_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/SetAttachState", + FullMethod: "/v1beta3.Disk/SetAttachState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).SetAttachState(ctx, req.(*SetAttachStateRequest)) @@ -1424,7 +1431,7 @@ func _Disk_GetAttachState_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/GetAttachState", + FullMethod: "/v1beta3.Disk/GetAttachState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).GetAttachState(ctx, req.(*GetAttachStateRequest)) @@ -1433,7 +1440,7 @@ func _Disk_GetAttachState_Handler(srv interface{}, ctx context.Context, dec func } var _Disk_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Disk", + ServiceName: "v1beta3.Disk", HandlerType: (*DiskServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1466,5 +1473,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto", } diff --git a/client/api/disk/v1/api.proto b/client/api/disk/v1beta3/api.proto similarity index 98% rename from client/api/disk/v1/api.proto rename to client/api/disk/v1beta3/api.proto index ef870254..89234524 100644 --- a/client/api/disk/v1/api.proto +++ b/client/api/disk/v1beta3/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta3; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3"; service Disk { // ListDiskLocations returns locations of all diff --git a/client/api/errors.pb.go b/client/api/errors.pb.go index 08583f53..74ce38ff 100644 --- a/client/api/errors.pb.go +++ b/client/api/errors.pb.go @@ -1,103 +1,170 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/errors.proto package api import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // CommandError details errors yielded by cmdlet calls. type CmdletError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the cmdlet that errored out. CmdletName string `protobuf:"bytes,1,opt,name=cmdlet_name,json=cmdletName,proto3" json:"cmdlet_name,omitempty"` // Error code that got returned. Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // Human-readable error message - can be empty. - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } -func (m *CmdletError) Reset() { *m = CmdletError{} } -func (m *CmdletError) String() string { return proto.CompactTextString(m) } -func (*CmdletError) ProtoMessage() {} -func (*CmdletError) Descriptor() ([]byte, []int) { - return fileDescriptor_5ed899c436072918, []int{0} +func (x *CmdletError) Reset() { + *x = CmdletError{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CmdletError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CmdletError.Unmarshal(m, b) -} -func (m *CmdletError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CmdletError.Marshal(b, m, deterministic) +func (x *CmdletError) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CmdletError) XXX_Merge(src proto.Message) { - xxx_messageInfo_CmdletError.Merge(m, src) -} -func (m *CmdletError) XXX_Size() int { - return xxx_messageInfo_CmdletError.Size(m) -} -func (m *CmdletError) XXX_DiscardUnknown() { - xxx_messageInfo_CmdletError.DiscardUnknown(m) + +func (*CmdletError) ProtoMessage() {} + +func (x *CmdletError) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_errors_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) } -var xxx_messageInfo_CmdletError proto.InternalMessageInfo +// Deprecated: Use CmdletError.ProtoReflect.Descriptor instead. +func (*CmdletError) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescGZIP(), []int{0} +} -func (m *CmdletError) GetCmdletName() string { - if m != nil { - return m.CmdletName +func (x *CmdletError) GetCmdletName() string { + if x != nil { + return x.CmdletName } return "" } -func (m *CmdletError) GetCode() uint32 { - if m != nil { - return m.Code +func (x *CmdletError) GetCode() uint32 { + if x != nil { + return x.Code } return 0 } -func (m *CmdletError) GetMessage() string { - if m != nil { - return m.Message +func (x *CmdletError) GetMessage() string { + if x != nil { + return x.Message } return "" } -func init() { - proto.RegisterType((*CmdletError)(nil), "api.CmdletError") +var File_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDesc = []byte{ + 0x0a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, + 0x70, 0x69, 0x22, 0x5c, 0x0a, 0x0b, 0x43, 0x6d, 0x64, 0x6c, 0x65, 0x74, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6d, 0x64, 0x6c, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6d, 0x64, 0x6c, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, + 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, + 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDescData } -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/errors.proto", fileDescriptor_5ed899c436072918) +var file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_goTypes = []interface{}{ + (*CmdletError)(nil), // 0: api.CmdletError +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_errors_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 } -var fileDescriptor_5ed899c436072918 = []byte{ - // 165 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8d, 0x31, 0xab, 0xc2, 0x30, - 0x14, 0x85, 0xe9, 0xeb, 0x43, 0x31, 0xc5, 0x25, 0x53, 0x36, 0x8b, 0x53, 0x97, 0x36, 0x83, 0xa3, - 0xa3, 0xb8, 0x3a, 0x74, 0x16, 0x24, 0x4d, 0x2f, 0x35, 0xd8, 0xe4, 0x86, 0x7b, 0x53, 0xd0, 0x7f, - 0x2f, 0x46, 0xdc, 0xce, 0x77, 0x0e, 0x87, 0x4f, 0x1c, 0x27, 0x97, 0xee, 0xcb, 0xd0, 0x59, 0xf4, - 0xfa, 0xb1, 0x0c, 0x40, 0x01, 0x12, 0x70, 0x6b, 0xd9, 0x69, 0xcb, 0xae, 0x8d, 0x84, 0xcf, 0x97, - 0xb6, 0xb3, 0x83, 0x90, 0xb4, 0x89, 0x4e, 0x03, 0x11, 0x12, 0x77, 0x91, 0x30, 0xa1, 0x2c, 0x4d, - 0x74, 0xfb, 0xab, 0xa8, 0x4e, 0x7e, 0x9c, 0x21, 0x9d, 0x3f, 0x93, 0xdc, 0x89, 0xca, 0x66, 0xbc, - 0x05, 0xe3, 0x41, 0x15, 0x75, 0xd1, 0x6c, 0x7a, 0xf1, 0xad, 0x2e, 0xc6, 0x83, 0x94, 0xe2, 0xdf, - 0xe2, 0x08, 0xea, 0xaf, 0x2e, 0x9a, 0x6d, 0x9f, 0xb3, 0x54, 0x62, 0xed, 0x81, 0xd9, 0x4c, 0xa0, - 0xca, 0x7c, 0xf8, 0xe1, 0xb0, 0xca, 0xa6, 0xc3, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xa2, 0xf3, - 0xa7, 0xa8, 0x00, 0x00, 0x00, +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CmdletError); 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_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_errors_proto_depIdxs = nil } diff --git a/client/api/errors.proto b/client/api/errors.proto index 452f6e62..60c74cd1 100644 --- a/client/api/errors.proto +++ b/client/api/errors.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package api; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api"; + // CommandError details errors yielded by cmdlet calls. message CmdletError { // Name of the cmdlet that errored out. diff --git a/client/api/filesystem/v1alpha1/api.pb.go b/client/api/filesystem/v1alpha1/api.pb.go index 9d10268b..15806ce0 100644 --- a/client/api/filesystem/v1alpha1/api.pb.go +++ b/client/api/filesystem/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Context of the paths used for path prefix validation type PathContext int32 @@ -40,124 +40,165 @@ const ( PathContext_POD PathContext = 1 ) -var PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", -} +// Enum value maps for PathContext. +var ( + PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", + } + PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, + } +) -var PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, +func (x PathContext) Enum() *PathContext { + p := new(PathContext) + *p = x + return p } func (x PathContext) String() string { - return proto.EnumName(PathContext_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PathContext) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (PathContext) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0] +} + +func (x PathContext) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` } -func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } -func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } -func (*PathExistsRequest) ProtoMessage() {} -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{0} +func (x *PathExistsRequest) Reset() { + *x = PathExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) -} -func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) -} -func (m *PathExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsRequest.Merge(m, src) -} -func (m *PathExistsRequest) XXX_Size() int { - return xxx_messageInfo_PathExistsRequest.Size(m) +func (x *PathExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) + +func (*PathExistsRequest) ProtoMessage() {} + +func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo +// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *PathExistsRequest) GetPath() string { - if m != nil { - return m.Path +func (x *PathExistsRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *PathExistsRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *PathExistsRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type PathExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } -func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } -func (*PathExistsResponse) ProtoMessage() {} -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{1} +func (x *PathExistsResponse) Reset() { + *x = PathExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) +func (x *PathExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) -} -func (m *PathExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsResponse.Merge(m, src) -} -func (m *PathExistsResponse) XXX_Size() int { - return xxx_messageInfo_PathExistsResponse.Size(m) -} -func (m *PathExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) + +func (*PathExistsResponse) ProtoMessage() {} + +func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo +// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *PathExistsResponse) GetError() string { - if m != nil { - return m.Error +func (x *PathExistsResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *PathExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *PathExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type MkdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -179,92 +220,108 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` } -func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } -func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } -func (*MkdirRequest) ProtoMessage() {} -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{2} +func (x *MkdirRequest) Reset() { + *x = MkdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) -} -func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) +func (x *MkdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirRequest.Merge(m, src) -} -func (m *MkdirRequest) XXX_Size() int { - return xxx_messageInfo_MkdirRequest.Size(m) -} -func (m *MkdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirRequest.DiscardUnknown(m) + +func (*MkdirRequest) ProtoMessage() {} + +func (x *MkdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo +// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MkdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MkdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *MkdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *MkdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type MkdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } -func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } -func (*MkdirResponse) ProtoMessage() {} -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{3} +func (x *MkdirResponse) Reset() { + *x = MkdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) -} -func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) -} -func (m *MkdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirResponse.Merge(m, src) +func (x *MkdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirResponse) XXX_Size() int { - return xxx_messageInfo_MkdirResponse.Size(m) -} -func (m *MkdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirResponse.DiscardUnknown(m) + +func (*MkdirResponse) ProtoMessage() {} + +func (x *MkdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo +// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *MkdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *MkdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RmdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -285,99 +342,115 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } -func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } -func (*RmdirRequest) ProtoMessage() {} -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{4} +func (x *RmdirRequest) Reset() { + *x = RmdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) -} -func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) -} -func (m *RmdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirRequest.Merge(m, src) -} -func (m *RmdirRequest) XXX_Size() int { - return xxx_messageInfo_RmdirRequest.Size(m) +func (x *RmdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirRequest.DiscardUnknown(m) + +func (*RmdirRequest) ProtoMessage() {} + +func (x *RmdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo +// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *RmdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *RmdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *RmdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *RmdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } -func (m *RmdirRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *RmdirRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type RmdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } -func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } -func (*RmdirResponse) ProtoMessage() {} -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{5} +func (x *RmdirResponse) Reset() { + *x = RmdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) +func (x *RmdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) -} -func (m *RmdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirResponse.Merge(m, src) -} -func (m *RmdirResponse) XXX_Size() int { - return xxx_messageInfo_RmdirResponse.Size(m) -} -func (m *RmdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirResponse.DiscardUnknown(m) + +func (*RmdirResponse) ProtoMessage() {} + +func (x *RmdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo +// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RmdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *RmdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type LinkPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -408,229 +481,485 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` } -func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } -func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } -func (*LinkPathRequest) ProtoMessage() {} -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{6} +func (x *LinkPathRequest) Reset() { + *x = LinkPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) -} -func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) -} -func (m *LinkPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathRequest.Merge(m, src) +func (x *LinkPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathRequest) XXX_Size() int { - return xxx_messageInfo_LinkPathRequest.Size(m) -} -func (m *LinkPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) + +func (*LinkPathRequest) ProtoMessage() {} + +func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo +// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *LinkPathRequest) GetSourcePath() string { - if m != nil { - return m.SourcePath +func (x *LinkPathRequest) GetSourcePath() string { + if x != nil { + return x.SourcePath } return "" } -func (m *LinkPathRequest) GetTargetPath() string { - if m != nil { - return m.TargetPath +func (x *LinkPathRequest) GetTargetPath() string { + if x != nil { + return x.TargetPath } return "" } type LinkPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } -func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } -func (*LinkPathResponse) ProtoMessage() {} -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{7} +func (x *LinkPathResponse) Reset() { + *x = LinkPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) -} -func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) -} -func (m *LinkPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathResponse.Merge(m, src) +func (x *LinkPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathResponse) XXX_Size() int { - return xxx_messageInfo_LinkPathResponse.Size(m) -} -func (m *LinkPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) + +func (*LinkPathResponse) ProtoMessage() {} + +func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo +// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *LinkPathResponse) GetError() string { - if m != nil { - return m.Error +func (x *LinkPathResponse) GetError() string { + if x != nil { + return x.Error } return "" } type IsMountPointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } -func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } -func (*IsMountPointRequest) ProtoMessage() {} -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{8} +func (x *IsMountPointRequest) Reset() { + *x = IsMountPointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) -} -func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) -} -func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointRequest.Merge(m, src) -} -func (m *IsMountPointRequest) XXX_Size() int { - return xxx_messageInfo_IsMountPointRequest.Size(m) +func (x *IsMountPointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) + +func (*IsMountPointRequest) ProtoMessage() {} + +func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo +// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *IsMountPointRequest) GetPath() string { - if m != nil { - return m.Path +func (x *IsMountPointRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type IsMountPointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` } -func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } -func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } -func (*IsMountPointResponse) ProtoMessage() {} -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{9} +func (x *IsMountPointResponse) Reset() { + *x = IsMountPointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) -} -func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) +func (x *IsMountPointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointResponse.Merge(m, src) -} -func (m *IsMountPointResponse) XXX_Size() int { - return xxx_messageInfo_IsMountPointResponse.Size(m) -} -func (m *IsMountPointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) + +func (*IsMountPointResponse) ProtoMessage() {} + +func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo +// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} -func (m *IsMountPointResponse) GetError() string { - if m != nil { - return m.Error +func (x *IsMountPointResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *IsMountPointResponse) GetIsMountPoint() bool { - if m != nil { - return m.IsMountPoint +func (x *IsMountPointResponse) GetIsMountPoint() bool { + if x != nil { + return x.IsMountPoint } return false } -func init() { - proto.RegisterEnum("v1alpha1.PathContext", PathContext_name, PathContext_value) - proto.RegisterType((*PathExistsRequest)(nil), "v1alpha1.PathExistsRequest") - proto.RegisterType((*PathExistsResponse)(nil), "v1alpha1.PathExistsResponse") - proto.RegisterType((*MkdirRequest)(nil), "v1alpha1.MkdirRequest") - proto.RegisterType((*MkdirResponse)(nil), "v1alpha1.MkdirResponse") - proto.RegisterType((*RmdirRequest)(nil), "v1alpha1.RmdirRequest") - proto.RegisterType((*RmdirResponse)(nil), "v1alpha1.RmdirResponse") - proto.RegisterType((*LinkPathRequest)(nil), "v1alpha1.LinkPathRequest") - proto.RegisterType((*LinkPathResponse)(nil), "v1alpha1.LinkPathResponse") - proto.RegisterType((*IsMountPointRequest)(nil), "v1alpha1.IsMountPointRequest") - proto.RegisterType((*IsMountPointResponse)(nil), "v1alpha1.IsMountPointResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto", fileDescriptor_78274760fcbff95c) -} - -var fileDescriptor_78274760fcbff95c = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x5f, 0x6f, 0xd3, 0x30, - 0x14, 0xc5, 0xdb, 0x8e, 0x75, 0xe5, 0xae, 0x8c, 0x72, 0x19, 0xa3, 0x84, 0x7f, 0x93, 0x05, 0x52, - 0x41, 0x5a, 0xa2, 0x8d, 0x37, 0x1e, 0x19, 0x7f, 0x54, 0xa9, 0x63, 0x51, 0x26, 0x24, 0xde, 0xaa, - 0x34, 0x78, 0x8b, 0xd5, 0x26, 0x0e, 0xb6, 0x83, 0xba, 0x0f, 0xcc, 0xf7, 0x40, 0x8e, 0x93, 0xc5, - 0x81, 0x92, 0xa7, 0xbd, 0xd5, 0xf7, 0xfe, 0x7c, 0xee, 0xa9, 0xef, 0x51, 0x60, 0x76, 0xc5, 0x54, - 0x9c, 0x2f, 0xdc, 0x88, 0x27, 0xde, 0x32, 0x5f, 0x50, 0x91, 0x52, 0x45, 0xe5, 0x51, 0x24, 0x99, - 0x17, 0x49, 0x76, 0x94, 0x09, 0xbe, 0xbe, 0xf6, 0xa2, 0x15, 0xa3, 0xa9, 0xf2, 0xc2, 0x8c, 0x79, - 0x97, 0x6c, 0x45, 0xe5, 0xb5, 0x54, 0x34, 0xf1, 0x7e, 0x1d, 0x87, 0xab, 0x2c, 0x0e, 0x8f, 0x75, - 0xdd, 0xcd, 0x04, 0x57, 0x1c, 0x07, 0x55, 0x8d, 0x7c, 0x87, 0x07, 0x7e, 0xa8, 0xe2, 0x4f, 0x6b, - 0x26, 0x95, 0x0c, 0xe8, 0xcf, 0x9c, 0x4a, 0x85, 0x08, 0x77, 0xb2, 0x50, 0xc5, 0xe3, 0xee, 0x61, - 0x77, 0x72, 0x37, 0x28, 0x7e, 0xa3, 0x07, 0x3b, 0x11, 0x4f, 0x15, 0x5d, 0xab, 0x71, 0xef, 0xb0, - 0x3b, 0xd9, 0x3b, 0x79, 0xe4, 0x56, 0x22, 0xae, 0x56, 0x38, 0x35, 0xcd, 0xa0, 0xa2, 0xc8, 0x07, - 0x40, 0x5b, 0x59, 0x66, 0x3c, 0x95, 0x14, 0xf7, 0x61, 0x9b, 0x0a, 0xc1, 0x45, 0xa9, 0x6d, 0x0e, - 0x78, 0x00, 0x7d, 0x5a, 0x70, 0x85, 0xf6, 0x20, 0x28, 0x4f, 0xe4, 0x02, 0x86, 0x67, 0xcb, 0x1f, - 0x4c, 0xdc, 0xaa, 0xb1, 0xd7, 0x70, 0xaf, 0x14, 0x6d, 0xf3, 0x44, 0x18, 0x0c, 0x83, 0xe4, 0x96, - 0x67, 0xeb, 0x51, 0x97, 0x5c, 0x44, 0x74, 0xbc, 0x55, 0xfc, 0x4f, 0x73, 0xd0, 0x8e, 0xca, 0x51, - 0xad, 0x8e, 0x2e, 0xe0, 0xfe, 0x8c, 0xa5, 0x4b, 0x2d, 0x5c, 0x99, 0x7a, 0x09, 0xbb, 0x92, 0xe7, - 0x22, 0xa2, 0x73, 0xcb, 0x1b, 0x98, 0x92, 0xe6, 0x34, 0xa0, 0x42, 0x71, 0x45, 0x95, 0x01, 0x7a, - 0x06, 0x30, 0x25, 0x0d, 0x90, 0x09, 0x8c, 0x6a, 0xd1, 0xd6, 0xf1, 0x6f, 0xe0, 0xe1, 0x54, 0x9e, - 0xf1, 0x3c, 0x55, 0x3e, 0x67, 0xa9, 0x6a, 0x79, 0x17, 0x12, 0xc0, 0x7e, 0x13, 0x6d, 0xdd, 0xfe, - 0x2b, 0xd8, 0x63, 0x72, 0x9e, 0x68, 0x7c, 0x9e, 0x69, 0xbe, 0x4c, 0xc1, 0x90, 0x59, 0x1a, 0x6f, - 0x09, 0xec, 0x5a, 0x4f, 0x8a, 0x00, 0x7d, 0x7f, 0xf6, 0xed, 0xcb, 0xf4, 0xeb, 0xa8, 0x83, 0x3b, - 0xb0, 0xe5, 0x9f, 0x7f, 0x1c, 0x75, 0x4f, 0x7e, 0xf7, 0x00, 0x3e, 0xdf, 0x24, 0x1f, 0xa7, 0x00, - 0x75, 0x04, 0xf1, 0x69, 0x73, 0x37, 0x8d, 0xc8, 0x3b, 0xcf, 0x36, 0x37, 0x8d, 0x6f, 0xd2, 0xc1, - 0xf7, 0xb0, 0x5d, 0x84, 0x06, 0x0f, 0x6a, 0xd0, 0x8e, 0xa6, 0xf3, 0xf8, 0x9f, 0xba, 0x7d, 0xb7, - 0x58, 0xaf, 0x7d, 0xd7, 0x8e, 0x96, 0x7d, 0xb7, 0x91, 0x03, 0xd2, 0xc1, 0x53, 0x18, 0x54, 0xeb, - 0xc1, 0x27, 0x35, 0xf6, 0x57, 0x0e, 0x1c, 0x67, 0x53, 0xeb, 0x46, 0xe4, 0x1c, 0x86, 0xf6, 0x3a, - 0xf0, 0x79, 0x4d, 0x6f, 0xd8, 0xa8, 0xf3, 0xe2, 0x7f, 0xed, 0x4a, 0x70, 0xd1, 0x2f, 0x3e, 0x23, - 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0xc0, 0xa2, 0x65, 0x96, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, + 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, + 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, + 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, + 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, + 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, + 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, + 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xe5, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x49, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x3a, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, + 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, + 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x44, + 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1alpha1.PathContext + (*PathExistsRequest)(nil), // 1: v1alpha1.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1alpha1.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1alpha1.MkdirRequest + (*MkdirResponse)(nil), // 4: v1alpha1.MkdirResponse + (*RmdirRequest)(nil), // 5: v1alpha1.RmdirRequest + (*RmdirResponse)(nil), // 6: v1alpha1.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1alpha1.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1alpha1.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1alpha1.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1alpha1.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.PathExistsRequest.context:type_name -> v1alpha1.PathContext + 0, // 1: v1alpha1.MkdirRequest.context:type_name -> v1alpha1.PathContext + 0, // 2: v1alpha1.RmdirRequest.context:type_name -> v1alpha1.PathContext + 1, // 3: v1alpha1.Filesystem.PathExists:input_type -> v1alpha1.PathExistsRequest + 3, // 4: v1alpha1.Filesystem.Mkdir:input_type -> v1alpha1.MkdirRequest + 5, // 5: v1alpha1.Filesystem.Rmdir:input_type -> v1alpha1.RmdirRequest + 7, // 6: v1alpha1.Filesystem.LinkPath:input_type -> v1alpha1.LinkPathRequest + 9, // 7: v1alpha1.Filesystem.IsMountPoint:input_type -> v1alpha1.IsMountPointRequest + 2, // 8: v1alpha1.Filesystem.PathExists:output_type -> v1alpha1.PathExistsResponse + 4, // 9: v1alpha1.Filesystem.Mkdir:output_type -> v1alpha1.MkdirResponse + 6, // 10: v1alpha1.Filesystem.Rmdir:output_type -> v1alpha1.RmdirResponse + 8, // 11: v1alpha1.Filesystem.LinkPath:output_type -> v1alpha1.LinkPathResponse + 10, // 12: v1alpha1.Filesystem.IsMountPoint:output_type -> v1alpha1.IsMountPointResponse + 8, // [8:13] is the sub-list for method output_type + 3, // [3:8] 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 +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -732,19 +1061,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/client/api/filesystem/v1alpha1/api.proto b/client/api/filesystem/v1alpha1/api.proto index 8856da5c..b01ce85f 100644 --- a/client/api/filesystem/v1alpha1/api.proto +++ b/client/api/filesystem/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1"; + service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -13,7 +15,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -63,7 +65,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -91,7 +93,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -122,7 +124,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -153,7 +155,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/client/api/filesystem/v1beta1/api.pb.go b/client/api/filesystem/v1beta1/api.pb.go index 9b8f897b..e87222a7 100644 --- a/client/api/filesystem/v1beta1/api.pb.go +++ b/client/api/filesystem/v1beta1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Context of the paths used for path prefix validation type PathContext int32 @@ -40,124 +40,165 @@ const ( PathContext_POD PathContext = 1 ) -var PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", -} +// Enum value maps for PathContext. +var ( + PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", + } + PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, + } +) -var PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, +func (x PathContext) Enum() *PathContext { + p := new(PathContext) + *p = x + return p } func (x PathContext) String() string { - return proto.EnumName(PathContext_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PathContext) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0].Descriptor() +} + +func (PathContext) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0] +} + +func (x PathContext) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` } -func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } -func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } -func (*PathExistsRequest) ProtoMessage() {} -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{0} +func (x *PathExistsRequest) Reset() { + *x = PathExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) -} -func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) -} -func (m *PathExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsRequest.Merge(m, src) -} -func (m *PathExistsRequest) XXX_Size() int { - return xxx_messageInfo_PathExistsRequest.Size(m) +func (x *PathExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) + +func (*PathExistsRequest) ProtoMessage() {} + +func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo +// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *PathExistsRequest) GetPath() string { - if m != nil { - return m.Path +func (x *PathExistsRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *PathExistsRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *PathExistsRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type PathExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } -func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } -func (*PathExistsResponse) ProtoMessage() {} -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{1} +func (x *PathExistsResponse) Reset() { + *x = PathExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) +func (x *PathExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) -} -func (m *PathExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsResponse.Merge(m, src) -} -func (m *PathExistsResponse) XXX_Size() int { - return xxx_messageInfo_PathExistsResponse.Size(m) -} -func (m *PathExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) + +func (*PathExistsResponse) ProtoMessage() {} + +func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo +// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *PathExistsResponse) GetError() string { - if m != nil { - return m.Error +func (x *PathExistsResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *PathExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *PathExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type MkdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -179,92 +220,108 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` } -func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } -func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } -func (*MkdirRequest) ProtoMessage() {} -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{2} +func (x *MkdirRequest) Reset() { + *x = MkdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) -} -func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) +func (x *MkdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirRequest.Merge(m, src) -} -func (m *MkdirRequest) XXX_Size() int { - return xxx_messageInfo_MkdirRequest.Size(m) -} -func (m *MkdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirRequest.DiscardUnknown(m) + +func (*MkdirRequest) ProtoMessage() {} + +func (x *MkdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo +// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MkdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MkdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *MkdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *MkdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type MkdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } -func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } -func (*MkdirResponse) ProtoMessage() {} -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{3} +func (x *MkdirResponse) Reset() { + *x = MkdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) -} -func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) -} -func (m *MkdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirResponse.Merge(m, src) +func (x *MkdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirResponse) XXX_Size() int { - return xxx_messageInfo_MkdirResponse.Size(m) -} -func (m *MkdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirResponse.DiscardUnknown(m) + +func (*MkdirResponse) ProtoMessage() {} + +func (x *MkdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo +// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *MkdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *MkdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RmdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -285,99 +342,115 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } -func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } -func (*RmdirRequest) ProtoMessage() {} -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{4} +func (x *RmdirRequest) Reset() { + *x = RmdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) -} -func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) -} -func (m *RmdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirRequest.Merge(m, src) -} -func (m *RmdirRequest) XXX_Size() int { - return xxx_messageInfo_RmdirRequest.Size(m) +func (x *RmdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirRequest.DiscardUnknown(m) + +func (*RmdirRequest) ProtoMessage() {} + +func (x *RmdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo +// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{4} +} -func (m *RmdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *RmdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *RmdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *RmdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } -func (m *RmdirRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *RmdirRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type RmdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } -func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } -func (*RmdirResponse) ProtoMessage() {} -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{5} +func (x *RmdirResponse) Reset() { + *x = RmdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) +func (x *RmdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) -} -func (m *RmdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirResponse.Merge(m, src) -} -func (m *RmdirResponse) XXX_Size() int { - return xxx_messageInfo_RmdirResponse.Size(m) -} -func (m *RmdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirResponse.DiscardUnknown(m) + +func (*RmdirResponse) ProtoMessage() {} + +func (x *RmdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo +// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RmdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *RmdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type LinkPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -408,238 +481,493 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` } -func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } -func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } -func (*LinkPathRequest) ProtoMessage() {} -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{6} +func (x *LinkPathRequest) Reset() { + *x = LinkPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) -} -func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) -} -func (m *LinkPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathRequest.Merge(m, src) +func (x *LinkPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathRequest) XXX_Size() int { - return xxx_messageInfo_LinkPathRequest.Size(m) -} -func (m *LinkPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) + +func (*LinkPathRequest) ProtoMessage() {} + +func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo +// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{6} +} -func (m *LinkPathRequest) GetSourcePath() string { - if m != nil { - return m.SourcePath +func (x *LinkPathRequest) GetSourcePath() string { + if x != nil { + return x.SourcePath } return "" } -func (m *LinkPathRequest) GetTargetPath() string { - if m != nil { - return m.TargetPath +func (x *LinkPathRequest) GetTargetPath() string { + if x != nil { + return x.TargetPath } return "" } type LinkPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } -func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } -func (*LinkPathResponse) ProtoMessage() {} -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{7} +func (x *LinkPathResponse) Reset() { + *x = LinkPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) -} -func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) -} -func (m *LinkPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathResponse.Merge(m, src) +func (x *LinkPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathResponse) XXX_Size() int { - return xxx_messageInfo_LinkPathResponse.Size(m) -} -func (m *LinkPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) + +func (*LinkPathResponse) ProtoMessage() {} + +func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo +// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{7} +} -func (m *LinkPathResponse) GetError() string { - if m != nil { - return m.Error +func (x *LinkPathResponse) GetError() string { + if x != nil { + return x.Error } return "" } type IsMountPointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } -func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } -func (*IsMountPointRequest) ProtoMessage() {} -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{8} +func (x *IsMountPointRequest) Reset() { + *x = IsMountPointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) -} -func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) -} -func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointRequest.Merge(m, src) -} -func (m *IsMountPointRequest) XXX_Size() int { - return xxx_messageInfo_IsMountPointRequest.Size(m) +func (x *IsMountPointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) + +func (*IsMountPointRequest) ProtoMessage() {} + +func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo +// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *IsMountPointRequest) GetPath() string { - if m != nil { - return m.Path +func (x *IsMountPointRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type IsMountPointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` } -func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } -func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } -func (*IsMountPointResponse) ProtoMessage() {} -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{9} +func (x *IsMountPointResponse) Reset() { + *x = IsMountPointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) -} -func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) +func (x *IsMountPointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointResponse.Merge(m, src) -} -func (m *IsMountPointResponse) XXX_Size() int { - return xxx_messageInfo_IsMountPointResponse.Size(m) -} -func (m *IsMountPointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) + +func (*IsMountPointResponse) ProtoMessage() {} + +func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo +// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{9} +} -func (m *IsMountPointResponse) GetError() string { - if m != nil { - return m.Error +func (x *IsMountPointResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *IsMountPointResponse) GetIsMountPoint() bool { - if m != nil { - return m.IsMountPoint +func (x *IsMountPointResponse) GetIsMountPoint() bool { + if x != nil { + return x.IsMountPoint } return false } -func init() { - proto.RegisterEnum("v1beta1.PathContext", PathContext_name, PathContext_value) - proto.RegisterType((*PathExistsRequest)(nil), "v1beta1.PathExistsRequest") - proto.RegisterType((*PathExistsResponse)(nil), "v1beta1.PathExistsResponse") - proto.RegisterType((*MkdirRequest)(nil), "v1beta1.MkdirRequest") - proto.RegisterType((*MkdirResponse)(nil), "v1beta1.MkdirResponse") - proto.RegisterType((*RmdirRequest)(nil), "v1beta1.RmdirRequest") - proto.RegisterType((*RmdirResponse)(nil), "v1beta1.RmdirResponse") - proto.RegisterType((*LinkPathRequest)(nil), "v1beta1.LinkPathRequest") - proto.RegisterType((*LinkPathResponse)(nil), "v1beta1.LinkPathResponse") - proto.RegisterType((*IsMountPointRequest)(nil), "v1beta1.IsMountPointRequest") - proto.RegisterType((*IsMountPointResponse)(nil), "v1beta1.IsMountPointResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto", fileDescriptor_b03a6091226f91c2) -} - -var fileDescriptor_b03a6091226f91c2 = []byte{ - // 461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0xd3, 0x40, - 0x10, 0xc5, 0x93, 0x94, 0x26, 0x65, 0x1a, 0x4a, 0x18, 0x42, 0x15, 0x0c, 0x88, 0x6a, 0x05, 0x52, - 0x40, 0xaa, 0xad, 0x96, 0x0b, 0x57, 0xfe, 0x56, 0x15, 0x0d, 0x44, 0x46, 0x88, 0x63, 0xe4, 0x98, - 0x69, 0xb3, 0x4a, 0xe3, 0x35, 0xbb, 0x63, 0x94, 0x7e, 0x56, 0xbe, 0x0c, 0x5a, 0xdb, 0x71, 0x37, - 0x55, 0xf0, 0xa9, 0xb7, 0xec, 0xcc, 0x6f, 0xdf, 0xbc, 0xec, 0x3c, 0x19, 0xbe, 0x5c, 0x48, 0x9e, - 0x65, 0x53, 0x3f, 0x56, 0x8b, 0x60, 0x9e, 0x4d, 0x49, 0x27, 0xc4, 0x64, 0x0e, 0x63, 0x23, 0x83, - 0xd8, 0xc8, 0xc3, 0x54, 0xab, 0xe5, 0x55, 0x10, 0x5f, 0x4a, 0x4a, 0x38, 0x88, 0x52, 0x19, 0x9c, - 0xcb, 0x4b, 0x32, 0x57, 0x86, 0x69, 0x11, 0xfc, 0x39, 0x9a, 0x12, 0x47, 0x47, 0xb6, 0xec, 0xa7, - 0x5a, 0xb1, 0xc2, 0x4e, 0x59, 0x12, 0x3f, 0xe1, 0xc1, 0x38, 0xe2, 0xd9, 0xa7, 0xa5, 0x34, 0x6c, - 0x42, 0xfa, 0x9d, 0x91, 0x61, 0x44, 0xb8, 0x93, 0x46, 0x3c, 0x1b, 0x34, 0x0f, 0x9a, 0xc3, 0xbb, - 0x61, 0xfe, 0x1b, 0x7d, 0xe8, 0xc4, 0x2a, 0x61, 0x5a, 0xf2, 0xa0, 0x75, 0xd0, 0x1c, 0xee, 0x1d, - 0xf7, 0xfd, 0x52, 0xc3, 0xb7, 0x02, 0x1f, 0x8a, 0x5e, 0xb8, 0x82, 0xc4, 0x7b, 0x40, 0x57, 0xd8, - 0xa4, 0x2a, 0x31, 0x84, 0x7d, 0xd8, 0x26, 0xad, 0x95, 0x2e, 0xa5, 0x8b, 0x03, 0xee, 0x43, 0x9b, - 0x72, 0x2e, 0x97, 0xde, 0x09, 0xcb, 0x93, 0x08, 0xa1, 0x3b, 0x9a, 0xff, 0x92, 0xfa, 0x36, 0x7d, - 0xbd, 0x84, 0x7b, 0xa5, 0x66, 0x9d, 0x25, 0x31, 0x83, 0x6e, 0xb8, 0xb8, 0xdd, 0xd1, 0x76, 0xd2, - 0xb9, 0xd2, 0x31, 0x0d, 0xb6, 0xf2, 0x7f, 0x59, 0x1c, 0xac, 0xa1, 0x72, 0x52, 0xad, 0xa1, 0xef, - 0x70, 0xff, 0x4c, 0x26, 0x73, 0x2b, 0xbc, 0xf2, 0xf4, 0x1c, 0x76, 0x8d, 0xca, 0x74, 0x4c, 0x13, - 0xc7, 0x1a, 0x14, 0x25, 0xcb, 0x59, 0x80, 0x23, 0x7d, 0x41, 0x5c, 0x00, 0xad, 0x02, 0x28, 0x4a, - 0x16, 0x10, 0x43, 0xe8, 0x5d, 0x8b, 0xd6, 0x8e, 0x7f, 0x05, 0x0f, 0x4f, 0xcd, 0x48, 0x65, 0x09, - 0x8f, 0x95, 0x4c, 0xb8, 0xe6, 0x59, 0x44, 0x08, 0xfd, 0x75, 0xb4, 0x76, 0xf7, 0x2f, 0x60, 0x4f, - 0x9a, 0xc9, 0xc2, 0xe2, 0x93, 0xd4, 0xf2, 0x65, 0x06, 0xba, 0xd2, 0xd1, 0x78, 0x2d, 0x60, 0xd7, - 0x79, 0x52, 0x04, 0x68, 0x8f, 0xcf, 0x7e, 0x9c, 0x9c, 0x7e, 0xed, 0x35, 0xb0, 0x03, 0x5b, 0xe3, - 0x6f, 0x1f, 0x7b, 0xcd, 0xe3, 0xbf, 0x2d, 0x80, 0xcf, 0x55, 0xe8, 0xf1, 0x04, 0xe0, 0x3a, 0x80, - 0xe8, 0xad, 0xad, 0x66, 0x2d, 0xee, 0xde, 0x93, 0x8d, 0xbd, 0xc2, 0xb5, 0x68, 0xe0, 0x5b, 0xd8, - 0xce, 0x13, 0x83, 0x8f, 0x2a, 0xce, 0x4d, 0xa5, 0xb7, 0x7f, 0xb3, 0xec, 0xde, 0xcc, 0x57, 0xeb, - 0xdc, 0x74, 0x43, 0xe5, 0xdc, 0x5c, 0x4b, 0x80, 0x68, 0xe0, 0x3b, 0xd8, 0x59, 0x2d, 0x06, 0x07, - 0x15, 0x75, 0x23, 0x00, 0xde, 0xe3, 0x0d, 0x9d, 0x4a, 0x62, 0x04, 0x5d, 0x77, 0x0d, 0xf8, 0xb4, - 0x82, 0x37, 0x2c, 0xd2, 0x7b, 0xf6, 0x9f, 0xee, 0x4a, 0x6e, 0xda, 0xce, 0x3f, 0x1c, 0x6f, 0xfe, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x54, 0x94, 0x73, 0xfe, 0x87, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, + 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, + 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, + 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, + 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, + 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, + 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, + 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, + 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, + 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1beta1.PathContext + (*PathExistsRequest)(nil), // 1: v1beta1.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1beta1.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1beta1.MkdirRequest + (*MkdirResponse)(nil), // 4: v1beta1.MkdirResponse + (*RmdirRequest)(nil), // 5: v1beta1.RmdirRequest + (*RmdirResponse)(nil), // 6: v1beta1.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1beta1.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1beta1.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1beta1.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1beta1.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.PathExistsRequest.context:type_name -> v1beta1.PathContext + 0, // 1: v1beta1.MkdirRequest.context:type_name -> v1beta1.PathContext + 0, // 2: v1beta1.RmdirRequest.context:type_name -> v1beta1.PathContext + 1, // 3: v1beta1.Filesystem.PathExists:input_type -> v1beta1.PathExistsRequest + 3, // 4: v1beta1.Filesystem.Mkdir:input_type -> v1beta1.MkdirRequest + 5, // 5: v1beta1.Filesystem.Rmdir:input_type -> v1beta1.RmdirRequest + 7, // 6: v1beta1.Filesystem.LinkPath:input_type -> v1beta1.LinkPathRequest + 9, // 7: v1beta1.Filesystem.IsMountPoint:input_type -> v1beta1.IsMountPointRequest + 2, // 8: v1beta1.Filesystem.PathExists:output_type -> v1beta1.PathExistsResponse + 4, // 9: v1beta1.Filesystem.Mkdir:output_type -> v1beta1.MkdirResponse + 6, // 10: v1beta1.Filesystem.Rmdir:output_type -> v1beta1.RmdirResponse + 8, // 11: v1beta1.Filesystem.LinkPath:output_type -> v1beta1.LinkPathResponse + 10, // 12: v1beta1.Filesystem.IsMountPoint:output_type -> v1beta1.IsMountPointResponse + 8, // [8:13] is the sub-list for method output_type + 3, // [3:8] 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 +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // FilesystemClient is the client API for Filesystem service. // @@ -660,10 +988,10 @@ type FilesystemClient interface { } type filesystemClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewFilesystemClient(cc *grpc.ClientConn) FilesystemClient { +func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { return &filesystemClient{cc} } @@ -732,19 +1060,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/client/api/filesystem/v1beta1/api.proto b/client/api/filesystem/v1beta1/api.proto index 3b4c0ab2..421f23cd 100644 --- a/client/api/filesystem/v1beta1/api.proto +++ b/client/api/filesystem/v1beta1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1beta1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1"; + service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -13,7 +15,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -63,7 +65,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -91,7 +93,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -122,7 +124,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -153,7 +155,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/client/api/filesystem/v1/api.pb.go b/client/api/filesystem/v1beta2/api.pb.go similarity index 72% rename from client/api/filesystem/v1/api.pb.go rename to client/api/filesystem/v1beta2/api.pb.go index 0a0297f0..ed8bf3e3 100644 --- a/client/api/filesystem/v1/api.pb.go +++ b/client/api/filesystem/v1beta2/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto -package v1 +package v1beta2 import ( context "context" @@ -63,11 +63,11 @@ func (x PathContext) String() string { } func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes[0].Descriptor() + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes[0].Descriptor() } func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes[0] + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes[0] } func (x PathContext) Number() protoreflect.EnumNumber { @@ -76,7 +76,7 @@ func (x PathContext) Number() protoreflect.EnumNumber { // Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { @@ -88,13 +88,13 @@ type PathExistsRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` } func (x *PathExistsRequest) Reset() { *x = PathExistsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -107,7 +107,7 @@ func (x *PathExistsRequest) String() string { func (*PathExistsRequest) ProtoMessage() {} func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -120,7 +120,7 @@ func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{0} } func (x *PathExistsRequest) GetPath() string { @@ -151,7 +151,7 @@ type PathExistsResponse struct { func (x *PathExistsResponse) Reset() { *x = PathExistsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -164,7 +164,7 @@ func (x *PathExistsResponse) String() string { func (*PathExistsResponse) ProtoMessage() {} func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -177,7 +177,7 @@ func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{1} } func (x *PathExistsResponse) GetError() string { @@ -220,13 +220,13 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` } func (x *MkdirRequest) Reset() { *x = MkdirRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -239,7 +239,7 @@ func (x *MkdirRequest) String() string { func (*MkdirRequest) ProtoMessage() {} func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -252,7 +252,7 @@ func (x *MkdirRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{2} } func (x *MkdirRequest) GetPath() string { @@ -281,7 +281,7 @@ type MkdirResponse struct { func (x *MkdirResponse) Reset() { *x = MkdirResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *MkdirResponse) String() string { func (*MkdirResponse) ProtoMessage() {} func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *MkdirResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{3} } func (x *MkdirResponse) GetError() string { @@ -340,7 +340,7 @@ type RmdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } @@ -348,7 +348,7 @@ type RmdirRequest struct { func (x *RmdirRequest) Reset() { *x = RmdirRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -361,7 +361,7 @@ func (x *RmdirRequest) String() string { func (*RmdirRequest) ProtoMessage() {} func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -374,7 +374,7 @@ func (x *RmdirRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{4} } func (x *RmdirRequest) GetPath() string { @@ -410,7 +410,7 @@ type RmdirResponse struct { func (x *RmdirResponse) Reset() { *x = RmdirResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -423,7 +423,7 @@ func (x *RmdirResponse) String() string { func (*RmdirResponse) ProtoMessage() {} func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -436,7 +436,7 @@ func (x *RmdirResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{5} } func (x *RmdirResponse) GetError() string { @@ -487,7 +487,7 @@ type LinkPathRequest struct { func (x *LinkPathRequest) Reset() { *x = LinkPathRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -500,7 +500,7 @@ func (x *LinkPathRequest) String() string { func (*LinkPathRequest) ProtoMessage() {} func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -513,7 +513,7 @@ func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{6} } func (x *LinkPathRequest) GetSourcePath() string { @@ -542,7 +542,7 @@ type LinkPathResponse struct { func (x *LinkPathResponse) Reset() { *x = LinkPathResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -555,7 +555,7 @@ func (x *LinkPathResponse) String() string { func (*LinkPathResponse) ProtoMessage() {} func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -568,7 +568,7 @@ func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{7} } func (x *LinkPathResponse) GetError() string { @@ -590,7 +590,7 @@ type IsMountPointRequest struct { func (x *IsMountPointRequest) Reset() { *x = IsMountPointRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -603,7 +603,7 @@ func (x *IsMountPointRequest) String() string { func (*IsMountPointRequest) ProtoMessage() {} func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -616,7 +616,7 @@ func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{8} } func (x *IsMountPointRequest) GetPath() string { @@ -640,7 +640,7 @@ type IsMountPointResponse struct { func (x *IsMountPointResponse) Reset() { *x = IsMountPointResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -653,7 +653,7 @@ func (x *IsMountPointResponse) String() string { func (*IsMountPointResponse) ProtoMessage() {} func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -666,7 +666,7 @@ func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{9} } func (x *IsMountPointResponse) GetError() string { @@ -683,124 +683,129 @@ func (x *IsMountPointResponse) GetIsMountPoint() bool { return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x61, - 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x52, 0x0a, 0x11, - 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x0c, 0x52, 0x6d, - 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, - 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, - 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, - 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, + 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, - 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, - 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, - 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xa9, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x3d, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, - 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, - 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, - 0x74, 0x68, 0x12, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, - 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x43, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, - 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, - 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, - 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, + 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, + 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, + 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, + 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, + 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x6d, + 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, + 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, + 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, + 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1.PathContext - (*PathExistsRequest)(nil), // 1: v1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.PathExistsRequest.context:type_name -> v1.PathContext - 0, // 1: v1.MkdirRequest.context:type_name -> v1.PathContext - 0, // 2: v1.RmdirRequest.context:type_name -> v1.PathContext - 1, // 3: v1.Filesystem.PathExists:input_type -> v1.PathExistsRequest - 3, // 4: v1.Filesystem.Mkdir:input_type -> v1.MkdirRequest - 5, // 5: v1.Filesystem.Rmdir:input_type -> v1.RmdirRequest - 7, // 6: v1.Filesystem.LinkPath:input_type -> v1.LinkPathRequest - 9, // 7: v1.Filesystem.IsMountPoint:input_type -> v1.IsMountPointRequest - 2, // 8: v1.Filesystem.PathExists:output_type -> v1.PathExistsResponse - 4, // 9: v1.Filesystem.Mkdir:output_type -> v1.MkdirResponse - 6, // 10: v1.Filesystem.Rmdir:output_type -> v1.RmdirResponse - 8, // 11: v1.Filesystem.LinkPath:output_type -> v1.LinkPathResponse - 10, // 12: v1.Filesystem.IsMountPoint:output_type -> v1.IsMountPointResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1beta2.PathContext + (*PathExistsRequest)(nil), // 1: v1beta2.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1beta2.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1beta2.MkdirRequest + (*MkdirResponse)(nil), // 4: v1beta2.MkdirResponse + (*RmdirRequest)(nil), // 5: v1beta2.RmdirRequest + (*RmdirResponse)(nil), // 6: v1beta2.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1beta2.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1beta2.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1beta2.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1beta2.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.PathExistsRequest.context:type_name -> v1beta2.PathContext + 0, // 1: v1beta2.MkdirRequest.context:type_name -> v1beta2.PathContext + 0, // 2: v1beta2.RmdirRequest.context:type_name -> v1beta2.PathContext + 1, // 3: v1beta2.Filesystem.PathExists:input_type -> v1beta2.PathExistsRequest + 3, // 4: v1beta2.Filesystem.Mkdir:input_type -> v1beta2.MkdirRequest + 5, // 5: v1beta2.Filesystem.Rmdir:input_type -> v1beta2.RmdirRequest + 7, // 6: v1beta2.Filesystem.LinkPath:input_type -> v1beta2.LinkPathRequest + 9, // 7: v1beta2.Filesystem.IsMountPoint:input_type -> v1beta2.IsMountPointRequest + 2, // 8: v1beta2.Filesystem.PathExists:output_type -> v1beta2.PathExistsResponse + 4, // 9: v1beta2.Filesystem.Mkdir:output_type -> v1beta2.MkdirResponse + 6, // 10: v1beta2.Filesystem.Rmdir:output_type -> v1beta2.RmdirResponse + 8, // 11: v1beta2.Filesystem.LinkPath:output_type -> v1beta2.LinkPathResponse + 10, // 12: v1beta2.Filesystem.IsMountPoint:output_type -> v1beta2.IsMountPointResponse 8, // [8:13] is the sub-list for method output_type 3, // [3:8] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -808,13 +813,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_ 0, // [0:3] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PathExistsRequest); i { case 0: return &v.state @@ -826,7 +831,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PathExistsResponse); i { case 0: return &v.state @@ -838,7 +843,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MkdirRequest); i { case 0: return &v.state @@ -850,7 +855,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MkdirResponse); i { case 0: return &v.state @@ -862,7 +867,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RmdirRequest); i { case 0: return &v.state @@ -874,7 +879,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RmdirResponse); i { case 0: return &v.state @@ -886,7 +891,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LinkPathRequest); i { case 0: return &v.state @@ -898,7 +903,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LinkPathResponse); i { case 0: return &v.state @@ -910,7 +915,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsMountPointRequest); i { case 0: return &v.state @@ -922,7 +927,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsMountPointResponse); i { case 0: return &v.state @@ -939,21 +944,21 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc, NumEnums: 1, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -992,7 +997,7 @@ func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { func (c *filesystemClient) PathExists(ctx context.Context, in *PathExistsRequest, opts ...grpc.CallOption) (*PathExistsResponse, error) { out := new(PathExistsResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/PathExists", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/PathExists", in, out, opts...) if err != nil { return nil, err } @@ -1001,7 +1006,7 @@ func (c *filesystemClient) PathExists(ctx context.Context, in *PathExistsRequest func (c *filesystemClient) Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*MkdirResponse, error) { out := new(MkdirResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/Mkdir", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/Mkdir", in, out, opts...) if err != nil { return nil, err } @@ -1010,7 +1015,7 @@ func (c *filesystemClient) Mkdir(ctx context.Context, in *MkdirRequest, opts ... func (c *filesystemClient) Rmdir(ctx context.Context, in *RmdirRequest, opts ...grpc.CallOption) (*RmdirResponse, error) { out := new(RmdirResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/Rmdir", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/Rmdir", in, out, opts...) if err != nil { return nil, err } @@ -1019,7 +1024,7 @@ func (c *filesystemClient) Rmdir(ctx context.Context, in *RmdirRequest, opts ... func (c *filesystemClient) LinkPath(ctx context.Context, in *LinkPathRequest, opts ...grpc.CallOption) (*LinkPathResponse, error) { out := new(LinkPathResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/LinkPath", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/LinkPath", in, out, opts...) if err != nil { return nil, err } @@ -1028,7 +1033,7 @@ func (c *filesystemClient) LinkPath(ctx context.Context, in *LinkPathRequest, op func (c *filesystemClient) IsMountPoint(ctx context.Context, in *IsMountPointRequest, opts ...grpc.CallOption) (*IsMountPointResponse, error) { out := new(IsMountPointResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/IsMountPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/IsMountPoint", in, out, opts...) if err != nil { return nil, err } @@ -1085,7 +1090,7 @@ func _Filesystem_PathExists_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/PathExists", + FullMethod: "/v1beta2.Filesystem/PathExists", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).PathExists(ctx, req.(*PathExistsRequest)) @@ -1103,7 +1108,7 @@ func _Filesystem_Mkdir_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/Mkdir", + FullMethod: "/v1beta2.Filesystem/Mkdir", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).Mkdir(ctx, req.(*MkdirRequest)) @@ -1121,7 +1126,7 @@ func _Filesystem_Rmdir_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/Rmdir", + FullMethod: "/v1beta2.Filesystem/Rmdir", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).Rmdir(ctx, req.(*RmdirRequest)) @@ -1139,7 +1144,7 @@ func _Filesystem_LinkPath_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/LinkPath", + FullMethod: "/v1beta2.Filesystem/LinkPath", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).LinkPath(ctx, req.(*LinkPathRequest)) @@ -1157,7 +1162,7 @@ func _Filesystem_IsMountPoint_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/IsMountPoint", + FullMethod: "/v1beta2.Filesystem/IsMountPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).IsMountPoint(ctx, req.(*IsMountPointRequest)) @@ -1166,7 +1171,7 @@ func _Filesystem_IsMountPoint_Handler(srv interface{}, ctx context.Context, dec } var _Filesystem_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Filesystem", + ServiceName: "v1beta2.Filesystem", HandlerType: (*FilesystemServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1191,5 +1196,5 @@ var _Filesystem_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto b/client/api/filesystem/v1beta2/api.proto similarity index 99% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto rename to client/api/filesystem/v1beta2/api.proto index 03f294fb..411fd5a0 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto +++ b/client/api/filesystem/v1beta2/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta2; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2"; service Filesystem { // PathExists checks if the requested path exists in the host's filesystem diff --git a/client/api/iscsi/v1alpha1/api.pb.go b/client/api/iscsi/v1alpha1/api.pb.go index 9ba7f6a4..3d2edaa0 100644 --- a/client/api/iscsi/v1alpha1/api.pb.go +++ b/client/api/iscsi/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 AuthenticationType int32 @@ -36,372 +36,466 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -var AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", -} +// Enum value maps for AuthenticationType. +var ( + AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", + } + AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, + } +) -var AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, +func (x AuthenticationType) Enum() *AuthenticationType { + p := new(AuthenticationType) + *p = x + return p } func (x AuthenticationType) String() string { - return proto.EnumName(AuthenticationType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (AuthenticationType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0] +} + +func (x AuthenticationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` } -func (m *TargetPortal) Reset() { *m = TargetPortal{} } -func (m *TargetPortal) String() string { return proto.CompactTextString(m) } -func (*TargetPortal) ProtoMessage() {} -func (*TargetPortal) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{0} +func (x *TargetPortal) Reset() { + *x = TargetPortal{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TargetPortal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetPortal.Unmarshal(m, b) +func (x *TargetPortal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) -} -func (m *TargetPortal) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetPortal.Merge(m, src) -} -func (m *TargetPortal) XXX_Size() int { - return xxx_messageInfo_TargetPortal.Size(m) -} -func (m *TargetPortal) XXX_DiscardUnknown() { - xxx_messageInfo_TargetPortal.DiscardUnknown(m) + +func (*TargetPortal) ProtoMessage() {} + +func (x *TargetPortal) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_TargetPortal proto.InternalMessageInfo +// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. +func (*TargetPortal) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *TargetPortal) GetTargetAddress() string { - if m != nil { - return m.TargetAddress +func (x *TargetPortal) GetTargetAddress() string { + if x != nil { + return x.TargetAddress } return "" } -func (m *TargetPortal) GetTargetPort() uint32 { - if m != nil { - return m.TargetPort +func (x *TargetPortal) GetTargetPort() uint32 { + if x != nil { + return x.TargetPort } return 0 } type AddTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } -func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalRequest) ProtoMessage() {} -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{1} +func (x *AddTargetPortalRequest) Reset() { + *x = AddTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) -} -func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) +func (x *AddTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalRequest.Size(m) -} -func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) + +func (*AddTargetPortalRequest) ProtoMessage() {} + +func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type AddTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } -func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalResponse) ProtoMessage() {} -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{2} +func (x *AddTargetPortalResponse) Reset() { + *x = AddTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) -} -func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) +func (x *AddTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) -} -func (m *AddTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalResponse.Size(m) -} -func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) + +func (*AddTargetPortalResponse) ProtoMessage() {} + +func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} type DiscoverTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } -func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalRequest) ProtoMessage() {} -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{3} +func (x *DiscoverTargetPortalRequest) Reset() { + *x = DiscoverTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) +func (x *DiscoverTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) -} -func (m *DiscoverTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) -} -func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) + +func (*DiscoverTargetPortalRequest) ProtoMessage() {} + +func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` } -func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } -func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalResponse) ProtoMessage() {} -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{4} +func (x *DiscoverTargetPortalResponse) Reset() { + *x = DiscoverTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) -} -func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) +func (x *DiscoverTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) -} -func (m *DiscoverTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) -} -func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) + +func (*DiscoverTargetPortalResponse) ProtoMessage() {} + +func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DiscoverTargetPortalResponse) GetIqns() []string { - if m != nil { - return m.Iqns +func (x *DiscoverTargetPortalResponse) GetIqns() []string { + if x != nil { + return x.Iqns } return nil } type RemoveTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } -func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalRequest) ProtoMessage() {} -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{5} +func (x *RemoveTargetPortalRequest) Reset() { + *x = RemoveTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) +func (x *RemoveTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) -} -func (m *RemoveTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) -} -func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) + +func (*RemoveTargetPortalRequest) ProtoMessage() {} + +func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } -func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalResponse) ProtoMessage() {} -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{6} +func (x *RemoveTargetPortalResponse) Reset() { + *x = RemoveTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) -} -func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) -} -func (m *RemoveTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) -} -func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +func (x *RemoveTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo +func (*RemoveTargetPortalResponse) ProtoMessage() {} -type ListTargetPortalsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } -func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsRequest) ProtoMessage() {} -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{7} +// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{6} } -func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) -} -func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) +type ListTargetPortalsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) + +func (x *ListTargetPortalsRequest) Reset() { + *x = ListTargetPortalsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsRequest) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsRequest.Size(m) + +func (x *ListTargetPortalsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) + +func (*ListTargetPortalsRequest) ProtoMessage() {} + +func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} type ListTargetPortalsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` } -func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } -func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsResponse) ProtoMessage() {} -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{8} +func (x *ListTargetPortalsResponse) Reset() { + *x = ListTargetPortalsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) -} -func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) +func (x *ListTargetPortalsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) -} -func (m *ListTargetPortalsResponse) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsResponse.Size(m) -} -func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) + +func (*ListTargetPortalsResponse) ProtoMessage() {} + +func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if m != nil { - return m.TargetPortals +func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if x != nil { + return x.TargetPortals } return nil } type ConnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -417,339 +511,715 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` } -func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } -func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetRequest) ProtoMessage() {} -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{9} +func (x *ConnectTargetRequest) Reset() { + *x = ConnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) -} -func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) +func (x *ConnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetRequest.Merge(m, src) -} -func (m *ConnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_ConnectTargetRequest.Size(m) -} -func (m *ConnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) + +func (*ConnectTargetRequest) ProtoMessage() {} + +func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} -func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *ConnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *ConnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } -func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { - if m != nil { - return m.AuthType +func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { + if x != nil { + return x.AuthType } return AuthenticationType_NONE } -func (m *ConnectTargetRequest) GetChapUsername() string { - if m != nil { - return m.ChapUsername +func (x *ConnectTargetRequest) GetChapUsername() string { + if x != nil { + return x.ChapUsername } return "" } -func (m *ConnectTargetRequest) GetChapSecret() string { - if m != nil { - return m.ChapSecret +func (x *ConnectTargetRequest) GetChapSecret() string { + if x != nil { + return x.ChapSecret } return "" } type ConnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } -func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetResponse) ProtoMessage() {} -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{10} +func (x *ConnectTargetResponse) Reset() { + *x = ConnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) +func (x *ConnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetResponse.Merge(m, src) -} -func (m *ConnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_ConnectTargetResponse.Size(m) -} -func (m *ConnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) + +func (*ConnectTargetResponse) ProtoMessage() {} + +func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{10} +} type GetTargetDisksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } -func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksRequest) ProtoMessage() {} -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{11} +func (x *GetTargetDisksRequest) Reset() { + *x = GetTargetDisksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) -} -func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) +func (x *GetTargetDisksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksRequest) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksRequest.Size(m) -} -func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) + +func (*GetTargetDisksRequest) ProtoMessage() {} + +func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *GetTargetDisksRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *GetTargetDisksRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type GetTargetDisksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` } -func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } -func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksResponse) ProtoMessage() {} -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{12} +func (x *GetTargetDisksResponse) Reset() { + *x = GetTargetDisksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) +func (x *GetTargetDisksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) -} -func (m *GetTargetDisksResponse) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksResponse.Size(m) -} -func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) + +func (*GetTargetDisksResponse) ProtoMessage() {} + +func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{12} +} -func (m *GetTargetDisksResponse) GetDiskIDs() []string { - if m != nil { - return m.DiskIDs +func (x *GetTargetDisksResponse) GetDiskIDs() []string { + if x != nil { + return x.DiskIDs } return nil } type DisconnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } -func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetRequest) ProtoMessage() {} -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{13} +func (x *DisconnectTargetRequest) Reset() { + *x = DisconnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) -} -func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +func (x *DisconnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetRequest.Size(m) -} -func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) + +func (*DisconnectTargetRequest) ProtoMessage() {} + +func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{13} +} -func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *DisconnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *DisconnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type DisconnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisconnectTargetResponse) Reset() { + *x = DisconnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } -func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetResponse) ProtoMessage() {} +func (x *DisconnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectTargetResponse) ProtoMessage() {} + +func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{14} -} - -func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) -} -func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) -} -func (m *DisconnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetResponse.Size(m) -} -func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("v1alpha1.AuthenticationType", AuthenticationType_name, AuthenticationType_value) - proto.RegisterType((*TargetPortal)(nil), "v1alpha1.TargetPortal") - proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha1.AddTargetPortalRequest") - proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha1.AddTargetPortalResponse") - proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha1.DiscoverTargetPortalRequest") - proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha1.DiscoverTargetPortalResponse") - proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha1.RemoveTargetPortalRequest") - proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha1.RemoveTargetPortalResponse") - proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha1.ListTargetPortalsRequest") - proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha1.ListTargetPortalsResponse") - proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha1.ConnectTargetRequest") - proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha1.ConnectTargetResponse") - proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha1.GetTargetDisksRequest") - proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha1.GetTargetDisksResponse") - proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha1.DisconnectTargetRequest") - proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha1.DisconnectTargetResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto", fileDescriptor_0438d9bfe30f1df4) -} - -var fileDescriptor_0438d9bfe30f1df4 = []byte{ - // 649 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x6d, 0x4f, 0xd3, 0x50, - 0x14, 0xa6, 0xbc, 0x28, 0x3b, 0xac, 0x30, 0x6f, 0x78, 0x29, 0x95, 0xc8, 0xb8, 0x88, 0x59, 0x4c, - 0xd8, 0xc2, 0xfc, 0x64, 0x0c, 0x31, 0x15, 0x08, 0x92, 0x20, 0x90, 0xca, 0x14, 0x67, 0xe2, 0x72, - 0xd7, 0x5d, 0xd7, 0x9b, 0x6d, 0x6d, 0xd7, 0x7b, 0xbb, 0xb8, 0x1f, 0xe2, 0x5f, 0xf4, 0x77, 0x98, - 0xbe, 0xac, 0xeb, 0xb6, 0x6e, 0x7e, 0x70, 0x7c, 0xeb, 0x7d, 0xee, 0x73, 0x9e, 0x73, 0xee, 0x79, - 0x2b, 0x5c, 0x36, 0x99, 0x30, 0xbd, 0x7a, 0xd1, 0xb0, 0x3b, 0xa5, 0x96, 0x57, 0xa7, 0xae, 0x45, - 0x05, 0xe5, 0xc7, 0x06, 0x67, 0x25, 0x83, 0xb3, 0x63, 0xc7, 0xb5, 0x7f, 0xf5, 0x4b, 0x46, 0x9b, - 0x51, 0x4b, 0x94, 0x88, 0xc3, 0x4a, 0x8c, 0xfb, 0x57, 0xbd, 0x13, 0xd2, 0x76, 0x4c, 0x72, 0xe2, - 0x43, 0x45, 0xc7, 0xb5, 0x85, 0x8d, 0x56, 0x07, 0x18, 0xfe, 0x02, 0xd9, 0x7b, 0xe2, 0x36, 0xa9, - 0xb8, 0xb3, 0x5d, 0x41, 0xda, 0xe8, 0x08, 0xd6, 0x45, 0x70, 0xae, 0x91, 0x46, 0xc3, 0xa5, 0x9c, - 0x2b, 0x52, 0x5e, 0x2a, 0x64, 0x74, 0x39, 0x44, 0xb5, 0x10, 0x44, 0xfb, 0xb0, 0x16, 0xd1, 0x1c, - 0xdb, 0x15, 0xca, 0x62, 0x5e, 0x2a, 0xc8, 0x3a, 0x88, 0x58, 0x09, 0x57, 0x60, 0x5b, 0x6b, 0x34, - 0x92, 0xd2, 0x3a, 0xed, 0x7a, 0x94, 0x0b, 0xf4, 0x0e, 0xe4, 0x84, 0x29, 0x69, 0x07, 0x0e, 0xd6, - 0xca, 0xdb, 0xc5, 0x41, 0x4c, 0xc5, 0x11, 0xab, 0xac, 0x48, 0x9c, 0xf0, 0x2e, 0xec, 0x4c, 0xc8, - 0x72, 0xc7, 0xb6, 0x38, 0xc5, 0x55, 0x78, 0x7e, 0xce, 0xb8, 0x61, 0xf7, 0xa8, 0x3b, 0x77, 0xb7, - 0x65, 0xd8, 0x4b, 0xd7, 0x0e, 0x7d, 0x23, 0x04, 0xcb, 0xac, 0x6b, 0xf9, 0xb9, 0x5a, 0x2a, 0x64, - 0xf4, 0xe0, 0x1b, 0x3f, 0xc0, 0xae, 0x4e, 0x3b, 0x76, 0x8f, 0xce, 0x3d, 0x9a, 0x3d, 0x50, 0xd3, - 0x94, 0xa3, 0x3c, 0xa8, 0xa0, 0x5c, 0x33, 0x2e, 0x92, 0x77, 0x3c, 0x72, 0x8b, 0xab, 0xb0, 0x9b, - 0x72, 0x17, 0x3d, 0xe2, 0x34, 0x2e, 0x7d, 0x18, 0x53, 0xf8, 0x9c, 0xe9, 0x41, 0xc9, 0xc9, 0xa0, - 0x38, 0xfe, 0x23, 0xc1, 0xe6, 0x99, 0x6d, 0x59, 0xd4, 0x88, 0xf4, 0xe7, 0xf1, 0x56, 0x94, 0x83, - 0x25, 0xd6, 0xb5, 0x82, 0x06, 0xcb, 0xe8, 0xfe, 0x27, 0x7a, 0x0b, 0x19, 0xe2, 0x09, 0xb3, 0x26, - 0xfa, 0x0e, 0x55, 0x96, 0xf2, 0x52, 0x61, 0xbd, 0xbc, 0x37, 0x94, 0xd2, 0x3c, 0x61, 0x52, 0x4b, - 0x30, 0x83, 0x08, 0x66, 0x5b, 0xf7, 0x7d, 0x87, 0xea, 0xab, 0x3e, 0xdd, 0xff, 0x42, 0x87, 0x20, - 0x1b, 0x26, 0x71, 0x6a, 0x1e, 0xa7, 0xae, 0x45, 0x3a, 0x54, 0x59, 0x0e, 0x64, 0xb3, 0x3e, 0x58, - 0x89, 0x30, 0xbf, 0xb5, 0x03, 0x12, 0xa7, 0x86, 0x4b, 0x85, 0xb2, 0x12, 0x50, 0xc0, 0x87, 0x3e, - 0x07, 0x08, 0xde, 0x81, 0xad, 0xb1, 0x77, 0x46, 0x99, 0xff, 0x09, 0x5b, 0x97, 0x34, 0x02, 0xcf, - 0x19, 0x6f, 0xf1, 0xc7, 0xc9, 0x00, 0x2e, 0xc3, 0xf6, 0xb8, 0x9f, 0xa8, 0x84, 0x0a, 0x3c, 0x6d, - 0x30, 0xde, 0xba, 0x3a, 0x1f, 0xb4, 0xe2, 0xe0, 0x88, 0x4d, 0xd8, 0x09, 0x3a, 0xf8, 0xd1, 0xeb, - 0xe3, 0xf7, 0xdf, 0xa4, 0xa7, 0x30, 0xbe, 0xd7, 0x1a, 0xa0, 0xc9, 0x02, 0xa1, 0x55, 0x58, 0xbe, - 0xb9, 0xbd, 0xb9, 0xc8, 0x2d, 0xa0, 0x1c, 0x64, 0x6f, 0x6f, 0x2e, 0x6a, 0x5f, 0xb5, 0x6f, 0xb5, - 0xb3, 0x8f, 0xda, 0x5d, 0x4e, 0x42, 0x1b, 0xb0, 0xf6, 0xa9, 0x72, 0x5f, 0xd1, 0xae, 0x43, 0x60, - 0xb1, 0xfc, 0x7b, 0x05, 0x56, 0xae, 0xfc, 0xbd, 0x86, 0x1e, 0x60, 0x63, 0x6c, 0x17, 0xa0, 0x7c, - 0xa2, 0x11, 0x52, 0xb7, 0x8f, 0x7a, 0x30, 0x83, 0x11, 0x95, 0x71, 0x01, 0x35, 0x61, 0x33, 0x6d, - 0xdc, 0xd1, 0xd1, 0xd0, 0x78, 0xc6, 0xaa, 0x51, 0x5f, 0xfd, 0x8b, 0x16, 0x3b, 0x22, 0x80, 0x26, - 0x27, 0x19, 0x1d, 0x0e, 0xed, 0xa7, 0x6e, 0x10, 0xf5, 0xe5, 0x6c, 0x52, 0xec, 0xe2, 0x07, 0x3c, - 0x9b, 0x18, 0x79, 0x84, 0x87, 0xc6, 0xd3, 0x76, 0x85, 0x7a, 0x38, 0x93, 0x13, 0xeb, 0xeb, 0x20, - 0x8f, 0x4c, 0x03, 0x7a, 0x31, 0xb4, 0x4b, 0x5b, 0x07, 0xea, 0xfe, 0xd4, 0xfb, 0x58, 0xf3, 0x3b, - 0xe4, 0xc6, 0x5b, 0x08, 0x1d, 0x8c, 0x25, 0x35, 0x45, 0x19, 0xcf, 0xa2, 0xc4, 0xe2, 0x15, 0x58, - 0x1f, 0x9d, 0x1e, 0x94, 0x88, 0x28, 0x75, 0x7e, 0xd5, 0xfc, 0x74, 0xc2, 0x40, 0xf6, 0xc3, 0xfb, - 0xea, 0xe9, 0x7f, 0xfd, 0x9d, 0xeb, 0x4f, 0x82, 0x5f, 0xf3, 0x9b, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xbb, 0x3d, 0x8f, 0x5c, 0xe5, 0x07, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{14} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, + 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, + 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, + 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, + 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, + 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, + 0x41, 0x50, 0x10, 0x02, 0x32, 0x95, 0x05, 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, + 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, + 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, + 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, + 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = []interface{}{ + (AuthenticationType)(0), // 0: v1alpha1.AuthenticationType + (*TargetPortal)(nil), // 1: v1alpha1.TargetPortal + (*AddTargetPortalRequest)(nil), // 2: v1alpha1.AddTargetPortalRequest + (*AddTargetPortalResponse)(nil), // 3: v1alpha1.AddTargetPortalResponse + (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha1.DiscoverTargetPortalRequest + (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha1.DiscoverTargetPortalResponse + (*RemoveTargetPortalRequest)(nil), // 6: v1alpha1.RemoveTargetPortalRequest + (*RemoveTargetPortalResponse)(nil), // 7: v1alpha1.RemoveTargetPortalResponse + (*ListTargetPortalsRequest)(nil), // 8: v1alpha1.ListTargetPortalsRequest + (*ListTargetPortalsResponse)(nil), // 9: v1alpha1.ListTargetPortalsResponse + (*ConnectTargetRequest)(nil), // 10: v1alpha1.ConnectTargetRequest + (*ConnectTargetResponse)(nil), // 11: v1alpha1.ConnectTargetResponse + (*GetTargetDisksRequest)(nil), // 12: v1alpha1.GetTargetDisksRequest + (*GetTargetDisksResponse)(nil), // 13: v1alpha1.GetTargetDisksResponse + (*DisconnectTargetRequest)(nil), // 14: v1alpha1.DisconnectTargetRequest + (*DisconnectTargetResponse)(nil), // 15: v1alpha1.DisconnectTargetResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha1.AddTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 1: v1alpha1.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 2: v1alpha1.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 3: v1alpha1.ListTargetPortalsResponse.target_portals:type_name -> v1alpha1.TargetPortal + 1, // 4: v1alpha1.ConnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal + 0, // 5: v1alpha1.ConnectTargetRequest.auth_type:type_name -> v1alpha1.AuthenticationType + 1, // 6: v1alpha1.GetTargetDisksRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 7: v1alpha1.DisconnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal + 2, // 8: v1alpha1.Iscsi.AddTargetPortal:input_type -> v1alpha1.AddTargetPortalRequest + 4, // 9: v1alpha1.Iscsi.DiscoverTargetPortal:input_type -> v1alpha1.DiscoverTargetPortalRequest + 6, // 10: v1alpha1.Iscsi.RemoveTargetPortal:input_type -> v1alpha1.RemoveTargetPortalRequest + 8, // 11: v1alpha1.Iscsi.ListTargetPortals:input_type -> v1alpha1.ListTargetPortalsRequest + 10, // 12: v1alpha1.Iscsi.ConnectTarget:input_type -> v1alpha1.ConnectTargetRequest + 14, // 13: v1alpha1.Iscsi.DisconnectTarget:input_type -> v1alpha1.DisconnectTargetRequest + 12, // 14: v1alpha1.Iscsi.GetTargetDisks:input_type -> v1alpha1.GetTargetDisksRequest + 3, // 15: v1alpha1.Iscsi.AddTargetPortal:output_type -> v1alpha1.AddTargetPortalResponse + 5, // 16: v1alpha1.Iscsi.DiscoverTargetPortal:output_type -> v1alpha1.DiscoverTargetPortalResponse + 7, // 17: v1alpha1.Iscsi.RemoveTargetPortal:output_type -> v1alpha1.RemoveTargetPortalResponse + 9, // 18: v1alpha1.Iscsi.ListTargetPortals:output_type -> v1alpha1.ListTargetPortalsResponse + 11, // 19: v1alpha1.Iscsi.ConnectTarget:output_type -> v1alpha1.ConnectTargetResponse + 15, // 20: v1alpha1.Iscsi.DisconnectTarget:output_type -> v1alpha1.DisconnectTargetResponse + 13, // 21: v1alpha1.Iscsi.GetTargetDisks:output_type -> v1alpha1.GetTargetDisksResponse + 15, // [15:22] is the sub-list for method output_type + 8, // [8:15] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TargetPortal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -887,25 +1357,25 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } diff --git a/client/api/iscsi/v1alpha2/api.pb.go b/client/api/iscsi/v1alpha2/api.pb.go index d3ffff5b..0f8d3406 100644 --- a/client/api/iscsi/v1alpha2/api.pb.go +++ b/client/api/iscsi/v1alpha2/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto package v1alpha2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // iSCSI logon authentication type type AuthenticationType int32 @@ -37,372 +37,466 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -var AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", -} +// Enum value maps for AuthenticationType. +var ( + AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", + } + AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, + } +) -var AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, +func (x AuthenticationType) Enum() *AuthenticationType { + p := new(AuthenticationType) + *p = x + return p } func (x AuthenticationType) String() string { - return proto.EnumName(AuthenticationType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0].Descriptor() +} + +func (AuthenticationType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0] } +func (x AuthenticationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` } -func (m *TargetPortal) Reset() { *m = TargetPortal{} } -func (m *TargetPortal) String() string { return proto.CompactTextString(m) } -func (*TargetPortal) ProtoMessage() {} -func (*TargetPortal) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{0} +func (x *TargetPortal) Reset() { + *x = TargetPortal{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TargetPortal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetPortal.Unmarshal(m, b) -} -func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) -} -func (m *TargetPortal) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetPortal.Merge(m, src) +func (x *TargetPortal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TargetPortal) XXX_Size() int { - return xxx_messageInfo_TargetPortal.Size(m) -} -func (m *TargetPortal) XXX_DiscardUnknown() { - xxx_messageInfo_TargetPortal.DiscardUnknown(m) + +func (*TargetPortal) ProtoMessage() {} + +func (x *TargetPortal) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_TargetPortal proto.InternalMessageInfo +// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. +func (*TargetPortal) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} +} -func (m *TargetPortal) GetTargetAddress() string { - if m != nil { - return m.TargetAddress +func (x *TargetPortal) GetTargetAddress() string { + if x != nil { + return x.TargetAddress } return "" } -func (m *TargetPortal) GetTargetPort() uint32 { - if m != nil { - return m.TargetPort +func (x *TargetPortal) GetTargetPort() uint32 { + if x != nil { + return x.TargetPort } return 0 } type AddTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } -func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalRequest) ProtoMessage() {} -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{1} +func (x *AddTargetPortalRequest) Reset() { + *x = AddTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) -} -func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) -} -func (m *AddTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalRequest.Size(m) +func (x *AddTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) + +func (*AddTargetPortalRequest) ProtoMessage() {} + +func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{1} +} -func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type AddTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } -func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalResponse) ProtoMessage() {} -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{2} +func (x *AddTargetPortalResponse) Reset() { + *x = AddTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) -} -func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) -} -func (m *AddTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalResponse.Size(m) +func (x *AddTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) + +func (*AddTargetPortalResponse) ProtoMessage() {} + +func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{2} +} type DiscoverTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } -func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalRequest) ProtoMessage() {} -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{3} +func (x *DiscoverTargetPortalRequest) Reset() { + *x = DiscoverTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) +func (x *DiscoverTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) -} -func (m *DiscoverTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) -} -func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) + +func (*DiscoverTargetPortalRequest) ProtoMessage() {} + +func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{3} +} -func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` } -func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } -func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalResponse) ProtoMessage() {} -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{4} +func (x *DiscoverTargetPortalResponse) Reset() { + *x = DiscoverTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) -} -func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +func (x *DiscoverTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) -} -func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) + +func (*DiscoverTargetPortalResponse) ProtoMessage() {} + +func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{4} +} -func (m *DiscoverTargetPortalResponse) GetIqns() []string { - if m != nil { - return m.Iqns +func (x *DiscoverTargetPortalResponse) GetIqns() []string { + if x != nil { + return x.Iqns } return nil } type RemoveTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } -func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalRequest) ProtoMessage() {} -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{5} +func (x *RemoveTargetPortalRequest) Reset() { + *x = RemoveTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) -} -func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) -} -func (m *RemoveTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) +func (x *RemoveTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) + +func (*RemoveTargetPortalRequest) ProtoMessage() {} + +func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{5} +} -func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } -func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalResponse) ProtoMessage() {} -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{6} +func (x *RemoveTargetPortalResponse) Reset() { + *x = RemoveTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) -} -func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) -} -func (m *RemoveTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) -} -func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +func (x *RemoveTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo +func (*RemoveTargetPortalResponse) ProtoMessage() {} -type ListTargetPortalsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } -func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsRequest) ProtoMessage() {} -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{7} +// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{6} } -func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) -} -func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) +type ListTargetPortalsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) + +func (x *ListTargetPortalsRequest) Reset() { + *x = ListTargetPortalsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsRequest) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsRequest.Size(m) + +func (x *ListTargetPortalsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) + +func (*ListTargetPortalsRequest) ProtoMessage() {} + +func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{7} +} type ListTargetPortalsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` } -func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } -func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsResponse) ProtoMessage() {} -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{8} +func (x *ListTargetPortalsResponse) Reset() { + *x = ListTargetPortalsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) -} -func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) +func (x *ListTargetPortalsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) -} -func (m *ListTargetPortalsResponse) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsResponse.Size(m) -} -func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) + +func (*ListTargetPortalsResponse) ProtoMessage() {} + +func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{8} +} -func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if m != nil { - return m.TargetPortals +func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if x != nil { + return x.TargetPortals } return nil } type ConnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -419,418 +513,845 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` } -func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } -func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetRequest) ProtoMessage() {} -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{9} +func (x *ConnectTargetRequest) Reset() { + *x = ConnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) -} -func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetRequest.Merge(m, src) -} -func (m *ConnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_ConnectTargetRequest.Size(m) +func (x *ConnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) + +func (*ConnectTargetRequest) ProtoMessage() {} + +func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{9} +} -func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *ConnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *ConnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } -func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { - if m != nil { - return m.AuthType +func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { + if x != nil { + return x.AuthType } return AuthenticationType_NONE } -func (m *ConnectTargetRequest) GetChapUsername() string { - if m != nil { - return m.ChapUsername +func (x *ConnectTargetRequest) GetChapUsername() string { + if x != nil { + return x.ChapUsername } return "" } -func (m *ConnectTargetRequest) GetChapSecret() string { - if m != nil { - return m.ChapSecret +func (x *ConnectTargetRequest) GetChapSecret() string { + if x != nil { + return x.ChapSecret } return "" } type ConnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } -func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetResponse) ProtoMessage() {} -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{10} +func (x *ConnectTargetResponse) Reset() { + *x = ConnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) -} -func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +func (x *ConnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_ConnectTargetResponse.Size(m) -} -func (m *ConnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) + +func (*ConnectTargetResponse) ProtoMessage() {} + +func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{10} +} type GetTargetDisksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } -func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksRequest) ProtoMessage() {} -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{11} +func (x *GetTargetDisksRequest) Reset() { + *x = GetTargetDisksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) -} -func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) -} -func (m *GetTargetDisksRequest) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksRequest.Size(m) +func (x *GetTargetDisksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) + +func (*GetTargetDisksRequest) ProtoMessage() {} + +func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *GetTargetDisksRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *GetTargetDisksRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type GetTargetDisksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` } -func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } -func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksResponse) ProtoMessage() {} -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{12} +func (x *GetTargetDisksResponse) Reset() { + *x = GetTargetDisksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) -} -func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) +func (x *GetTargetDisksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) -} -func (m *GetTargetDisksResponse) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksResponse.Size(m) -} -func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) + +func (*GetTargetDisksResponse) ProtoMessage() {} + +func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{12} +} -func (m *GetTargetDisksResponse) GetDiskIDs() []string { - if m != nil { - return m.DiskIDs +func (x *GetTargetDisksResponse) GetDiskIDs() []string { + if x != nil { + return x.DiskIDs } return nil } type DisconnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } -func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetRequest) ProtoMessage() {} -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{13} +func (x *DisconnectTargetRequest) Reset() { + *x = DisconnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) -} -func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +func (x *DisconnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetRequest.Size(m) -} -func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) + +func (*DisconnectTargetRequest) ProtoMessage() {} + +func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{13} +} -func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *DisconnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *DisconnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type DisconnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } -func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetResponse) ProtoMessage() {} -func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{14} +func (x *DisconnectTargetResponse) Reset() { + *x = DisconnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) -} -func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +func (x *DisconnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetResponse.Size(m) -} -func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) + +func (*DisconnectTargetResponse) ProtoMessage() {} + +func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. +func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{14} +} type SetMutualChapSecretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the default CHAP secret that all initiators on this machine (node) use to // authenticate the target on mutual CHAP authentication. // Must be at least 12 byte long for non-Ipsec connections, at least one // byte long for Ipsec connections, and at most 16 bytes long. - MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` } -func (m *SetMutualChapSecretRequest) Reset() { *m = SetMutualChapSecretRequest{} } -func (m *SetMutualChapSecretRequest) String() string { return proto.CompactTextString(m) } -func (*SetMutualChapSecretRequest) ProtoMessage() {} -func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{15} +func (x *SetMutualChapSecretRequest) Reset() { + *x = SetMutualChapSecretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetMutualChapSecretRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMutualChapSecretRequest.Unmarshal(m, b) -} -func (m *SetMutualChapSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMutualChapSecretRequest.Marshal(b, m, deterministic) +func (x *SetMutualChapSecretRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetMutualChapSecretRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMutualChapSecretRequest.Merge(m, src) -} -func (m *SetMutualChapSecretRequest) XXX_Size() int { - return xxx_messageInfo_SetMutualChapSecretRequest.Size(m) -} -func (m *SetMutualChapSecretRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMutualChapSecretRequest.DiscardUnknown(m) + +func (*SetMutualChapSecretRequest) ProtoMessage() {} + +func (x *SetMutualChapSecretRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_SetMutualChapSecretRequest proto.InternalMessageInfo +// Deprecated: Use SetMutualChapSecretRequest.ProtoReflect.Descriptor instead. +func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{15} +} -func (m *SetMutualChapSecretRequest) GetMutualChapSecret() string { - if m != nil { - return m.MutualChapSecret +func (x *SetMutualChapSecretRequest) GetMutualChapSecret() string { + if x != nil { + return x.MutualChapSecret } return "" } type SetMutualChapSecretResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetMutualChapSecretResponse) Reset() { *m = SetMutualChapSecretResponse{} } -func (m *SetMutualChapSecretResponse) String() string { return proto.CompactTextString(m) } -func (*SetMutualChapSecretResponse) ProtoMessage() {} +func (x *SetMutualChapSecretResponse) Reset() { + *x = SetMutualChapSecretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMutualChapSecretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMutualChapSecretResponse) ProtoMessage() {} + +func (x *SetMutualChapSecretResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] + 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 SetMutualChapSecretResponse.ProtoReflect.Descriptor instead. func (*SetMutualChapSecretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{16} -} - -func (m *SetMutualChapSecretResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMutualChapSecretResponse.Unmarshal(m, b) -} -func (m *SetMutualChapSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMutualChapSecretResponse.Marshal(b, m, deterministic) -} -func (m *SetMutualChapSecretResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMutualChapSecretResponse.Merge(m, src) -} -func (m *SetMutualChapSecretResponse) XXX_Size() int { - return xxx_messageInfo_SetMutualChapSecretResponse.Size(m) -} -func (m *SetMutualChapSecretResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetMutualChapSecretResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMutualChapSecretResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("v1alpha2.AuthenticationType", AuthenticationType_name, AuthenticationType_value) - proto.RegisterType((*TargetPortal)(nil), "v1alpha2.TargetPortal") - proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha2.AddTargetPortalRequest") - proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha2.AddTargetPortalResponse") - proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha2.DiscoverTargetPortalRequest") - proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha2.DiscoverTargetPortalResponse") - proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha2.RemoveTargetPortalRequest") - proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha2.RemoveTargetPortalResponse") - proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha2.ListTargetPortalsRequest") - proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha2.ListTargetPortalsResponse") - proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha2.ConnectTargetRequest") - proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha2.ConnectTargetResponse") - proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha2.GetTargetDisksRequest") - proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha2.GetTargetDisksResponse") - proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha2.DisconnectTargetRequest") - proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha2.DisconnectTargetResponse") - proto.RegisterType((*SetMutualChapSecretRequest)(nil), "v1alpha2.SetMutualChapSecretRequest") - proto.RegisterType((*SetMutualChapSecretResponse)(nil), "v1alpha2.SetMutualChapSecretResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto", fileDescriptor_3d2a5b20b77faa63) -} - -var fileDescriptor_3d2a5b20b77faa63 = []byte{ - // 697 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5b, 0x4f, 0xdb, 0x4c, - 0x10, 0x25, 0x5c, 0xbe, 0x8f, 0x0c, 0x09, 0xa4, 0x53, 0x2e, 0xc6, 0xd0, 0x12, 0x96, 0x52, 0x45, - 0x48, 0x24, 0x6a, 0xfa, 0x54, 0x55, 0xa8, 0x72, 0x01, 0x01, 0x12, 0x37, 0x19, 0xd2, 0x52, 0x2a, - 0x35, 0x5a, 0x9c, 0x2d, 0x59, 0x11, 0x6c, 0xe3, 0x5d, 0xa3, 0xf2, 0x87, 0xfb, 0x27, 0xfa, 0x52, - 0xd9, 0xde, 0x38, 0x26, 0x71, 0xc2, 0x43, 0xc3, 0x9b, 0xf7, 0xec, 0x99, 0x33, 0xb3, 0xb3, 0xb3, - 0x47, 0x86, 0xbd, 0x6b, 0x2e, 0x9b, 0xfe, 0x55, 0xd9, 0x72, 0x6e, 0x2b, 0x37, 0xfe, 0x15, 0xf3, - 0x6c, 0x26, 0x99, 0xd8, 0xb4, 0x04, 0xaf, 0x58, 0x82, 0x6f, 0xba, 0x9e, 0xf3, 0xeb, 0xa1, 0x62, - 0xb5, 0x38, 0xb3, 0x65, 0x85, 0xba, 0xbc, 0xc2, 0x45, 0xb0, 0x75, 0xff, 0x8e, 0xb6, 0xdc, 0x26, - 0xad, 0x06, 0x50, 0xd9, 0xf5, 0x1c, 0xe9, 0xe0, 0x64, 0x1b, 0x23, 0x5f, 0x20, 0x77, 0x4e, 0xbd, - 0x6b, 0x26, 0x4f, 0x1d, 0x4f, 0xd2, 0x16, 0xae, 0xc3, 0xb4, 0x0c, 0xd7, 0x75, 0xda, 0x68, 0x78, - 0x4c, 0x08, 0x2d, 0x53, 0xcc, 0x94, 0xb2, 0x66, 0x3e, 0x42, 0x8d, 0x08, 0xc4, 0x15, 0x98, 0x52, - 0x34, 0xd7, 0xf1, 0xa4, 0x36, 0x5a, 0xcc, 0x94, 0xf2, 0x26, 0xc8, 0x58, 0x89, 0xd4, 0x60, 0xde, - 0x68, 0x34, 0x92, 0xd2, 0x26, 0xbb, 0xf3, 0x99, 0x90, 0xf8, 0x11, 0xf2, 0x89, 0x50, 0xda, 0x0a, - 0x13, 0x4c, 0x55, 0xe7, 0xcb, 0xed, 0x9a, 0xca, 0x8f, 0xa2, 0x72, 0x32, 0xb1, 0x22, 0x8b, 0xb0, - 0xd0, 0x23, 0x2b, 0x5c, 0xc7, 0x16, 0x8c, 0x5c, 0xc2, 0xd2, 0x0e, 0x17, 0x96, 0x73, 0xcf, 0xbc, - 0xa1, 0xa7, 0xad, 0xc2, 0x72, 0xba, 0x76, 0x94, 0x1b, 0x11, 0xc6, 0xf9, 0x9d, 0x1d, 0xf4, 0x6a, - 0xac, 0x94, 0x35, 0xc3, 0x6f, 0x72, 0x01, 0x8b, 0x26, 0xbb, 0x75, 0xee, 0xd9, 0xd0, 0xab, 0x59, - 0x06, 0x3d, 0x4d, 0x59, 0xf5, 0x41, 0x07, 0xed, 0x90, 0x0b, 0x99, 0xdc, 0x13, 0x2a, 0x2d, 0xb9, - 0x84, 0xc5, 0x94, 0x3d, 0x75, 0x88, 0xad, 0xf8, 0xea, 0xa3, 0x9a, 0xa2, 0xe3, 0xf4, 0x2f, 0x2a, - 0x9f, 0x2c, 0x4a, 0x90, 0xdf, 0x19, 0x98, 0xdd, 0x76, 0x6c, 0x9b, 0x59, 0x4a, 0x7f, 0x18, 0x67, - 0xc5, 0x02, 0x8c, 0xf1, 0x3b, 0x3b, 0x1c, 0xb0, 0xac, 0x19, 0x7c, 0xe2, 0x07, 0xc8, 0x52, 0x5f, - 0x36, 0xeb, 0xf2, 0xc1, 0x65, 0xda, 0x58, 0x31, 0x53, 0x9a, 0xae, 0x2e, 0x77, 0xa4, 0x0c, 0x5f, - 0x36, 0x99, 0x2d, 0xb9, 0x45, 0x25, 0x77, 0xec, 0xf3, 0x07, 0x97, 0x99, 0x93, 0x01, 0x3d, 0xf8, - 0xc2, 0x35, 0xc8, 0x5b, 0x4d, 0xea, 0xd6, 0x7d, 0xc1, 0x3c, 0x9b, 0xde, 0x32, 0x6d, 0x3c, 0x94, - 0xcd, 0x05, 0x60, 0x4d, 0x61, 0xc1, 0x68, 0x87, 0x24, 0xc1, 0x2c, 0x8f, 0x49, 0x6d, 0x22, 0xa4, - 0x40, 0x00, 0x9d, 0x85, 0x08, 0x59, 0x80, 0xb9, 0xae, 0x73, 0xaa, 0xce, 0xff, 0x84, 0xb9, 0x3d, - 0xa6, 0xc0, 0x1d, 0x2e, 0x6e, 0xc4, 0xf3, 0x74, 0x80, 0x54, 0x61, 0xbe, 0x3b, 0x8f, 0xba, 0x42, - 0x0d, 0xfe, 0x6f, 0x70, 0x71, 0x73, 0xb0, 0xd3, 0x1e, 0xc5, 0xf6, 0x92, 0x34, 0x61, 0x21, 0x9c, - 0xe0, 0x67, 0xbf, 0x9f, 0x60, 0xfe, 0x7a, 0x33, 0xa9, 0x0e, 0xed, 0x83, 0x7e, 0xc6, 0xe4, 0x91, - 0x2f, 0x7d, 0xda, 0xda, 0x8e, 0x3b, 0xda, 0x2e, 0x64, 0x03, 0x0a, 0xdd, 0x5b, 0xca, 0x7d, 0x7a, - 0x70, 0xf2, 0x0a, 0x96, 0x52, 0x95, 0xa2, 0x44, 0x1b, 0x06, 0x60, 0xef, 0x24, 0xe0, 0x24, 0x8c, - 0x1f, 0x9f, 0x1c, 0xef, 0x16, 0x46, 0xb0, 0x00, 0xb9, 0x93, 0xe3, 0xdd, 0xfa, 0x57, 0xe3, 0x5b, - 0x7d, 0x7b, 0xdf, 0x38, 0x2d, 0x64, 0x70, 0x06, 0xa6, 0x8e, 0x6a, 0xe7, 0x35, 0xe3, 0x30, 0x02, - 0x46, 0xab, 0x7f, 0x26, 0x60, 0xe2, 0x20, 0x30, 0x50, 0xbc, 0x80, 0x99, 0x2e, 0xd3, 0xc1, 0x62, - 0x62, 0xe2, 0x52, 0x6d, 0x4e, 0x5f, 0x1d, 0xc0, 0x50, 0xdd, 0x18, 0xc1, 0x6b, 0x98, 0x4d, 0xf3, - 0x15, 0x5c, 0xef, 0x04, 0x0f, 0xf0, 0x34, 0xfd, 0xed, 0x53, 0xb4, 0x38, 0x11, 0x05, 0xec, 0xb5, - 0x0c, 0x5c, 0xeb, 0xc4, 0xf7, 0xb5, 0x2a, 0xfd, 0xcd, 0x60, 0x52, 0x9c, 0xe2, 0x07, 0xbc, 0xe8, - 0xf1, 0x16, 0x24, 0x9d, 0xe0, 0x7e, 0xa6, 0xa4, 0xaf, 0x0d, 0xe4, 0xc4, 0xfa, 0x26, 0xe4, 0x1f, - 0x3d, 0x3b, 0x7c, 0xdd, 0x89, 0x4b, 0xf3, 0x1d, 0x7d, 0xa5, 0xef, 0x7e, 0xac, 0xf9, 0x1d, 0x0a, - 0xdd, 0xb3, 0x8a, 0xab, 0x5d, 0x4d, 0x4d, 0x51, 0x26, 0x83, 0x28, 0xb1, 0x78, 0x0d, 0xa6, 0x1f, - 0x3f, 0x53, 0x4c, 0x54, 0x94, 0x6a, 0x14, 0x7a, 0xb1, 0x3f, 0x21, 0x96, 0x6d, 0xc0, 0xcb, 0x94, - 0xc9, 0xc7, 0xc4, 0x35, 0xf5, 0x7f, 0x62, 0xfa, 0xfa, 0x13, 0xac, 0x76, 0x96, 0xcf, 0x9f, 0x2e, - 0xb7, 0xfe, 0xe9, 0x67, 0xe3, 0xea, 0xbf, 0xf0, 0x4f, 0xe3, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xaf, 0xbf, 0xa1, 0x93, 0xb4, 0x08, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{16} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, + 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, + 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, + 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, + 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, + 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, + 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x53, + 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, + 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, + 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x02, 0x32, 0xfb, 0x05, + 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, + 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, + 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, + 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, + 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, + 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, + 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, + 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x73, + 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = []interface{}{ + (AuthenticationType)(0), // 0: v1alpha2.AuthenticationType + (*TargetPortal)(nil), // 1: v1alpha2.TargetPortal + (*AddTargetPortalRequest)(nil), // 2: v1alpha2.AddTargetPortalRequest + (*AddTargetPortalResponse)(nil), // 3: v1alpha2.AddTargetPortalResponse + (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha2.DiscoverTargetPortalRequest + (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha2.DiscoverTargetPortalResponse + (*RemoveTargetPortalRequest)(nil), // 6: v1alpha2.RemoveTargetPortalRequest + (*RemoveTargetPortalResponse)(nil), // 7: v1alpha2.RemoveTargetPortalResponse + (*ListTargetPortalsRequest)(nil), // 8: v1alpha2.ListTargetPortalsRequest + (*ListTargetPortalsResponse)(nil), // 9: v1alpha2.ListTargetPortalsResponse + (*ConnectTargetRequest)(nil), // 10: v1alpha2.ConnectTargetRequest + (*ConnectTargetResponse)(nil), // 11: v1alpha2.ConnectTargetResponse + (*GetTargetDisksRequest)(nil), // 12: v1alpha2.GetTargetDisksRequest + (*GetTargetDisksResponse)(nil), // 13: v1alpha2.GetTargetDisksResponse + (*DisconnectTargetRequest)(nil), // 14: v1alpha2.DisconnectTargetRequest + (*DisconnectTargetResponse)(nil), // 15: v1alpha2.DisconnectTargetResponse + (*SetMutualChapSecretRequest)(nil), // 16: v1alpha2.SetMutualChapSecretRequest + (*SetMutualChapSecretResponse)(nil), // 17: v1alpha2.SetMutualChapSecretResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha2.AddTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 1: v1alpha2.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 2: v1alpha2.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 3: v1alpha2.ListTargetPortalsResponse.target_portals:type_name -> v1alpha2.TargetPortal + 1, // 4: v1alpha2.ConnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal + 0, // 5: v1alpha2.ConnectTargetRequest.auth_type:type_name -> v1alpha2.AuthenticationType + 1, // 6: v1alpha2.GetTargetDisksRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 7: v1alpha2.DisconnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal + 2, // 8: v1alpha2.Iscsi.AddTargetPortal:input_type -> v1alpha2.AddTargetPortalRequest + 4, // 9: v1alpha2.Iscsi.DiscoverTargetPortal:input_type -> v1alpha2.DiscoverTargetPortalRequest + 6, // 10: v1alpha2.Iscsi.RemoveTargetPortal:input_type -> v1alpha2.RemoveTargetPortalRequest + 8, // 11: v1alpha2.Iscsi.ListTargetPortals:input_type -> v1alpha2.ListTargetPortalsRequest + 10, // 12: v1alpha2.Iscsi.ConnectTarget:input_type -> v1alpha2.ConnectTargetRequest + 14, // 13: v1alpha2.Iscsi.DisconnectTarget:input_type -> v1alpha2.DisconnectTargetRequest + 12, // 14: v1alpha2.Iscsi.GetTargetDisks:input_type -> v1alpha2.GetTargetDisksRequest + 16, // 15: v1alpha2.Iscsi.SetMutualChapSecret:input_type -> v1alpha2.SetMutualChapSecretRequest + 3, // 16: v1alpha2.Iscsi.AddTargetPortal:output_type -> v1alpha2.AddTargetPortalResponse + 5, // 17: v1alpha2.Iscsi.DiscoverTargetPortal:output_type -> v1alpha2.DiscoverTargetPortalResponse + 7, // 18: v1alpha2.Iscsi.RemoveTargetPortal:output_type -> v1alpha2.RemoveTargetPortalResponse + 9, // 19: v1alpha2.Iscsi.ListTargetPortals:output_type -> v1alpha2.ListTargetPortalsResponse + 11, // 20: v1alpha2.Iscsi.ConnectTarget:output_type -> v1alpha2.ConnectTargetResponse + 15, // 21: v1alpha2.Iscsi.DisconnectTarget:output_type -> v1alpha2.DisconnectTargetResponse + 13, // 22: v1alpha2.Iscsi.GetTargetDisks:output_type -> v1alpha2.GetTargetDisksResponse + 17, // 23: v1alpha2.Iscsi.SetMutualChapSecret:output_type -> v1alpha2.SetMutualChapSecretResponse + 16, // [16:24] is the sub-list for method output_type + 8, // [8:16] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TargetPortal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMutualChapSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMutualChapSecretResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 17, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -989,28 +1510,28 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } -func (*UnimplementedIscsiServer) SetMutualChapSecret(ctx context.Context, req *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { +func (*UnimplementedIscsiServer) SetMutualChapSecret(context.Context, *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetMutualChapSecret not implemented") } diff --git a/client/api/smb/v1alpha1/api.pb.go b/client/api/smb/v1alpha1/api.pb.go index 67c8fffa..906d2eba 100644 --- a/client/api/smb/v1alpha1/api.pb.go +++ b/client/api/smb/v1alpha1/api.pb.go @@ -1,30 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 NewSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -40,107 +44,123 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` } -func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } -func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{0} +func (x *NewSmbGlobalMappingRequest) Reset() { + *x = NewSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) +func (x *NewSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) -} -func (m *NewSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) -} -func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } -func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { - if m != nil { - return m.LocalPath +func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { + if x != nil { + return x.LocalPath } return "" } -func (m *NewSmbGlobalMappingRequest) GetUsername() string { - if m != nil { - return m.Username +func (x *NewSmbGlobalMappingRequest) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *NewSmbGlobalMappingRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *NewSmbGlobalMappingRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type NewSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } -func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{1} +func (x *NewSmbGlobalMappingResponse) Reset() { + *x = NewSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) -} -func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) -} -func (m *NewSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) +func (x *NewSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *NewSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *NewSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RemoveSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -150,117 +170,250 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` } -func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } -func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{2} +func (x *RemoveSmbGlobalMappingRequest) Reset() { + *x = RemoveSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) +func (x *RemoveSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } -func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{3} +func (x *RemoveSmbGlobalMappingResponse) Reset() { + *x = RemoveSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) +func (x *RemoveSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *RemoveSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *RemoveSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func init() { - proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1alpha1.NewSmbGlobalMappingRequest") - proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1alpha1.NewSmbGlobalMappingResponse") - proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1alpha1.RemoveSmbGlobalMappingRequest") - proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1alpha1.RemoveSmbGlobalMappingResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto", fileDescriptor_76c5c101454f8b9a) -} - -var fileDescriptor_76c5c101454f8b9a = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4a, 0x03, 0x31, - 0x10, 0xc6, 0x5d, 0xab, 0xd2, 0x8e, 0xb7, 0x28, 0x52, 0x56, 0xaa, 0xb2, 0x28, 0xf6, 0xd2, 0x0d, - 0xb5, 0xe0, 0xd9, 0x8b, 0x78, 0x52, 0xa4, 0x7d, 0x00, 0x49, 0xb6, 0x43, 0x37, 0x98, 0xec, 0xc4, - 0x24, 0xdb, 0xea, 0x7b, 0xf8, 0x74, 0x3e, 0x8d, 0x74, 0xd7, 0xd5, 0x4b, 0xff, 0x80, 0xc7, 0xef, - 0xfb, 0x0d, 0x33, 0x5f, 0x3e, 0x02, 0xf7, 0x33, 0x15, 0xf2, 0x52, 0xa6, 0x19, 0x19, 0xfe, 0x5a, - 0x4a, 0x74, 0x05, 0x06, 0xf4, 0x83, 0xcc, 0x2b, 0x9e, 0x79, 0x35, 0xb0, 0x8e, 0xde, 0x3f, 0x78, - 0xa6, 0x15, 0x16, 0x81, 0x0b, 0xab, 0xb8, 0x37, 0x92, 0xcf, 0x87, 0x42, 0xdb, 0x5c, 0x0c, 0x97, - 0x46, 0x6a, 0x1d, 0x05, 0x62, 0xed, 0xc6, 0x4b, 0x3e, 0x23, 0x88, 0x9f, 0x70, 0x31, 0x31, 0xf2, - 0x41, 0x93, 0x14, 0xfa, 0x51, 0x58, 0xab, 0x8a, 0xd9, 0x18, 0xdf, 0x4a, 0xf4, 0x81, 0x9d, 0xc3, - 0xa1, 0x43, 0x43, 0x01, 0x5f, 0xac, 0x08, 0x79, 0x37, 0xba, 0x88, 0xfa, 0x9d, 0x31, 0xd4, 0xd6, - 0xb3, 0x08, 0x39, 0xeb, 0x01, 0x68, 0xca, 0x84, 0xae, 0xf9, 0x6e, 0xc5, 0x3b, 0x95, 0x53, 0xe1, - 0x18, 0xda, 0xa5, 0x47, 0x57, 0x08, 0x83, 0xdd, 0x56, 0x05, 0x7f, 0xf5, 0x92, 0x59, 0xe1, 0xfd, - 0x82, 0xdc, 0xb4, 0xbb, 0x57, 0xb3, 0x46, 0x27, 0x23, 0x38, 0x5d, 0x99, 0xca, 0x5b, 0x2a, 0x3c, - 0xb2, 0x63, 0xd8, 0x47, 0xe7, 0xc8, 0xfd, 0x04, 0xaa, 0x45, 0x72, 0x07, 0xbd, 0x31, 0x1a, 0x9a, - 0xe3, 0x7f, 0x5f, 0x93, 0xdc, 0xc2, 0xd9, 0xba, 0x0d, 0x9b, 0x2e, 0xdf, 0x7c, 0x45, 0xd0, 0x9a, - 0x18, 0xc9, 0xa6, 0x70, 0xb4, 0x22, 0x36, 0xbb, 0x4c, 0x9b, 0xbe, 0xd3, 0xf5, 0x5d, 0xc7, 0x57, - 0x5b, 0xa6, 0xea, 0x04, 0xc9, 0x0e, 0x33, 0x70, 0xb2, 0x3a, 0x25, 0xbb, 0xfe, 0x5b, 0xb1, 0xb1, - 0x89, 0xb8, 0xbf, 0x7d, 0xb0, 0x39, 0x27, 0x0f, 0xaa, 0x3f, 0x33, 0xfa, 0x0e, 0x00, 0x00, 0xff, - 0xff, 0x75, 0x05, 0x64, 0xd1, 0x7c, 0x02, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, + 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, + 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, + 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xda, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, + 0x64, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, + 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, + 0x27, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, + 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1alpha1.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1alpha1.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1alpha1.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1alpha1.RemoveSmbGlobalMappingResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.Smb.NewSmbGlobalMapping:input_type -> v1alpha1.NewSmbGlobalMappingRequest + 2, // 1: v1alpha1.Smb.RemoveSmbGlobalMapping:input_type -> v1alpha1.RemoveSmbGlobalMappingRequest + 1, // 2: v1alpha1.Smb.NewSmbGlobalMapping:output_type -> v1alpha1.NewSmbGlobalMappingResponse + 3, // 3: v1alpha1.Smb.RemoveSmbGlobalMapping:output_type -> v1alpha1.RemoveSmbGlobalMappingResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -319,10 +472,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/client/api/smb/v1alpha1/api.proto b/client/api/smb/v1alpha1/api.proto index f4d96e9c..2c9eb221 100644 --- a/client/api/smb/v1alpha1/api.proto +++ b/client/api/smb/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1"; + service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} @@ -56,4 +58,4 @@ message RemoveSmbGlobalMappingResponse { // Windows error code // Success is represented as 0 string error = 1; -} \ No newline at end of file +} diff --git a/client/api/smb/v1beta1/api.pb.go b/client/api/smb/v1beta1/api.pb.go index fbeb6c91..c83a08d9 100644 --- a/client/api/smb/v1beta1/api.pb.go +++ b/client/api/smb/v1beta1/api.pb.go @@ -1,30 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 NewSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -40,107 +44,123 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` } -func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } -func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{0} +func (x *NewSmbGlobalMappingRequest) Reset() { + *x = NewSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) +func (x *NewSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) -} -func (m *NewSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) -} -func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } -func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { - if m != nil { - return m.LocalPath +func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { + if x != nil { + return x.LocalPath } return "" } -func (m *NewSmbGlobalMappingRequest) GetUsername() string { - if m != nil { - return m.Username +func (x *NewSmbGlobalMappingRequest) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *NewSmbGlobalMappingRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *NewSmbGlobalMappingRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type NewSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } -func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{1} +func (x *NewSmbGlobalMappingResponse) Reset() { + *x = NewSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) -} -func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) -} -func (m *NewSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) +func (x *NewSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *NewSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *NewSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RemoveSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -150,126 +170,259 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` } -func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } -func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{2} +func (x *RemoveSmbGlobalMappingRequest) Reset() { + *x = RemoveSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) +func (x *RemoveSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } -func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{3} +func (x *RemoveSmbGlobalMappingResponse) Reset() { + *x = RemoveSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) +func (x *RemoveSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *RemoveSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *RemoveSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func init() { - proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1beta1.NewSmbGlobalMappingRequest") - proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1beta1.NewSmbGlobalMappingResponse") - proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1beta1.RemoveSmbGlobalMappingRequest") - proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1beta1.RemoveSmbGlobalMappingResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto", fileDescriptor_795681d29a954457) -} - -var fileDescriptor_795681d29a954457 = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x4e, 0xc3, 0x30, - 0x10, 0x85, 0x09, 0xe5, 0xaf, 0xc3, 0xce, 0x20, 0x54, 0x05, 0x15, 0x50, 0x40, 0xc0, 0xa6, 0xb1, - 0x4a, 0x25, 0xd6, 0x2c, 0x90, 0x58, 0x81, 0x50, 0x7b, 0x00, 0x64, 0x87, 0x51, 0x63, 0x35, 0xce, - 0x18, 0xdb, 0x69, 0xe1, 0x1e, 0x9c, 0x8d, 0xf3, 0xa0, 0x26, 0x69, 0x57, 0x69, 0x90, 0x58, 0xbe, - 0xf9, 0x46, 0xf3, 0x9e, 0x9f, 0x0c, 0x8f, 0x53, 0xe5, 0xd3, 0x42, 0xc6, 0x09, 0x69, 0x3e, 0x2b, - 0x24, 0xda, 0x1c, 0x3d, 0xba, 0x41, 0xe2, 0x14, 0x4f, 0x9c, 0x1a, 0x18, 0x4b, 0x9f, 0x5f, 0x3c, - 0xc9, 0x14, 0xe6, 0x9e, 0x0b, 0xa3, 0xb8, 0xd3, 0x92, 0xcf, 0x87, 0x12, 0xbd, 0x18, 0x2e, 0x75, - 0x6c, 0x2c, 0x79, 0x62, 0xfb, 0xf5, 0x28, 0xfa, 0x0e, 0x20, 0x7c, 0xc1, 0xc5, 0x44, 0xcb, 0xa7, - 0x8c, 0xa4, 0xc8, 0x9e, 0x85, 0x31, 0x2a, 0x9f, 0x8e, 0xf1, 0xa3, 0x40, 0xe7, 0xd9, 0x39, 0x1c, - 0x5a, 0xd4, 0xe4, 0xf1, 0xcd, 0x08, 0x9f, 0xf6, 0x82, 0x8b, 0xe0, 0xb6, 0x3b, 0x86, 0x6a, 0xf4, - 0x2a, 0x7c, 0xca, 0xfa, 0x00, 0x19, 0x25, 0x22, 0xab, 0xf8, 0x76, 0xc9, 0xbb, 0xe5, 0xa4, 0xc4, - 0x21, 0x1c, 0x14, 0x0e, 0x6d, 0x2e, 0x34, 0xf6, 0x3a, 0x25, 0x5c, 0xeb, 0x25, 0x33, 0xc2, 0xb9, - 0x05, 0xd9, 0xf7, 0xde, 0x4e, 0xc5, 0x56, 0x3a, 0x1a, 0xc1, 0x69, 0x63, 0x2a, 0x67, 0x28, 0x77, - 0xc8, 0x8e, 0x61, 0x17, 0xad, 0x25, 0x5b, 0x07, 0xaa, 0x44, 0xf4, 0x00, 0xfd, 0x31, 0x6a, 0x9a, - 0xe3, 0x7f, 0x5f, 0x13, 0xdd, 0xc3, 0xd9, 0xa6, 0x0b, 0x6d, 0xce, 0x77, 0x3f, 0x01, 0x74, 0x26, - 0x5a, 0x32, 0x09, 0x47, 0x0d, 0xb1, 0xd9, 0x65, 0x5c, 0xd7, 0x1d, 0x6f, 0xae, 0x3a, 0xbc, 0x6a, - 0x5f, 0xaa, 0xfc, 0xa3, 0x2d, 0x36, 0x83, 0x93, 0xe6, 0x8c, 0xec, 0x7a, 0x7d, 0xa1, 0xb5, 0x86, - 0xf0, 0xe6, 0xcf, 0xbd, 0x95, 0x99, 0xdc, 0x2b, 0xbf, 0xcb, 0xe8, 0x37, 0x00, 0x00, 0xff, 0xff, - 0xbe, 0xd0, 0x14, 0x1b, 0x76, 0x02, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, + 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, + 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, + 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, + 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta1.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta1.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta1.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta1.RemoveSmbGlobalMappingResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.Smb.NewSmbGlobalMapping:input_type -> v1beta1.NewSmbGlobalMappingRequest + 2, // 1: v1beta1.Smb.RemoveSmbGlobalMapping:input_type -> v1beta1.RemoveSmbGlobalMappingRequest + 1, // 2: v1beta1.Smb.NewSmbGlobalMapping:output_type -> v1beta1.NewSmbGlobalMappingResponse + 3, // 3: v1beta1.Smb.RemoveSmbGlobalMapping:output_type -> v1beta1.RemoveSmbGlobalMappingResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // SmbClient is the client API for Smb service. // @@ -282,10 +435,10 @@ type SmbClient interface { } type smbClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSmbClient(cc *grpc.ClientConn) SmbClient { +func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { return &smbClient{cc} } @@ -319,10 +472,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/client/api/smb/v1beta1/api.proto b/client/api/smb/v1beta1/api.proto index 8a2b515a..2e0a4d6a 100644 --- a/client/api/smb/v1beta1/api.proto +++ b/client/api/smb/v1beta1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1beta1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1"; + service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} diff --git a/client/api/smb/v1/api.pb.go b/client/api/smb/v1beta2/api.pb.go similarity index 66% rename from client/api/smb/v1/api.pb.go rename to client/api/smb/v1beta2/api.pb.go index 96f8ce74..ce2f6b07 100644 --- a/client/api/smb/v1/api.pb.go +++ b/client/api/smb/v1beta2/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto -package v1 +package v1beta2 import ( context "context" @@ -50,7 +50,7 @@ type NewSmbGlobalMappingRequest struct { func (x *NewSmbGlobalMappingRequest) Reset() { *x = NewSmbGlobalMappingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -63,7 +63,7 @@ func (x *NewSmbGlobalMappingRequest) String() string { func (*NewSmbGlobalMappingRequest) ProtoMessage() {} func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -76,7 +76,7 @@ func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{0} } func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { @@ -120,7 +120,7 @@ type NewSmbGlobalMappingResponse struct { func (x *NewSmbGlobalMappingResponse) Reset() { *x = NewSmbGlobalMappingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -133,7 +133,7 @@ func (x *NewSmbGlobalMappingResponse) String() string { func (*NewSmbGlobalMappingResponse) ProtoMessage() {} func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -146,7 +146,7 @@ func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{1} } func (x *NewSmbGlobalMappingResponse) GetError() string { @@ -176,7 +176,7 @@ type RemoveSmbGlobalMappingRequest struct { func (x *RemoveSmbGlobalMappingRequest) Reset() { *x = RemoveSmbGlobalMappingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -189,7 +189,7 @@ func (x *RemoveSmbGlobalMappingRequest) String() string { func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -202,7 +202,7 @@ func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{2} } func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { @@ -225,7 +225,7 @@ type RemoveSmbGlobalMappingResponse struct { func (x *RemoveSmbGlobalMappingResponse) Reset() { *x = RemoveSmbGlobalMappingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -238,7 +238,7 @@ func (x *RemoveSmbGlobalMappingResponse) String() string { func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -251,7 +251,7 @@ func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{3} } func (x *RemoveSmbGlobalMappingResponse) GetError() string { @@ -261,77 +261,79 @@ func (x *RemoveSmbGlobalMappingResponse) GetError() string { return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, - 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x22, + 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xc2, 0x01, 0x0a, 0x03, - 0x53, 0x6d, 0x62, 0x12, 0x58, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, - 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, - 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, - 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, - 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, + 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, + 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4e, + 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData } -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1.RemoveSmbGlobalMappingResponse +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta2.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta2.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta2.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta2.RemoveSmbGlobalMappingResponse } -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.Smb.NewSmbGlobalMapping:input_type -> v1.NewSmbGlobalMappingRequest - 2, // 1: v1.Smb.RemoveSmbGlobalMapping:input_type -> v1.RemoveSmbGlobalMappingRequest - 1, // 2: v1.Smb.NewSmbGlobalMapping:output_type -> v1.NewSmbGlobalMappingResponse - 3, // 3: v1.Smb.RemoveSmbGlobalMapping:output_type -> v1.RemoveSmbGlobalMappingResponse +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.Smb.NewSmbGlobalMapping:input_type -> v1beta2.NewSmbGlobalMappingRequest + 2, // 1: v1beta2.Smb.RemoveSmbGlobalMapping:input_type -> v1beta2.RemoveSmbGlobalMappingRequest + 1, // 2: v1beta2.Smb.NewSmbGlobalMapping:output_type -> v1beta2.NewSmbGlobalMappingResponse + 3, // 3: v1beta2.Smb.RemoveSmbGlobalMapping:output_type -> v1beta2.RemoveSmbGlobalMappingResponse 2, // [2:4] is the sub-list for method output_type 0, // [0:2] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -339,13 +341,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs 0, // [0:0] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSmbGlobalMappingRequest); i { case 0: return &v.state @@ -357,7 +359,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSmbGlobalMappingResponse); i { case 0: return &v.state @@ -369,7 +371,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSmbGlobalMappingRequest); i { case 0: return &v.state @@ -381,7 +383,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSmbGlobalMappingResponse); i { case 0: return &v.state @@ -398,20 +400,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -442,7 +444,7 @@ func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { func (c *smbClient) NewSmbGlobalMapping(ctx context.Context, in *NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*NewSmbGlobalMappingResponse, error) { out := new(NewSmbGlobalMappingResponse) - err := c.cc.Invoke(ctx, "/v1.Smb/NewSmbGlobalMapping", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Smb/NewSmbGlobalMapping", in, out, opts...) if err != nil { return nil, err } @@ -451,7 +453,7 @@ func (c *smbClient) NewSmbGlobalMapping(ctx context.Context, in *NewSmbGlobalMap func (c *smbClient) RemoveSmbGlobalMapping(ctx context.Context, in *RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*RemoveSmbGlobalMappingResponse, error) { out := new(RemoveSmbGlobalMappingResponse) - err := c.cc.Invoke(ctx, "/v1.Smb/RemoveSmbGlobalMapping", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Smb/RemoveSmbGlobalMapping", in, out, opts...) if err != nil { return nil, err } @@ -491,7 +493,7 @@ func _Smb_NewSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Smb/NewSmbGlobalMapping", + FullMethod: "/v1beta2.Smb/NewSmbGlobalMapping", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmbServer).NewSmbGlobalMapping(ctx, req.(*NewSmbGlobalMappingRequest)) @@ -509,7 +511,7 @@ func _Smb_RemoveSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Smb/RemoveSmbGlobalMapping", + FullMethod: "/v1beta2.Smb/RemoveSmbGlobalMapping", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmbServer).RemoveSmbGlobalMapping(ctx, req.(*RemoveSmbGlobalMappingRequest)) @@ -518,7 +520,7 @@ func _Smb_RemoveSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, d } var _Smb_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Smb", + ServiceName: "v1beta2.Smb", HandlerType: (*SmbServer)(nil), Methods: []grpc.MethodDesc{ { @@ -531,5 +533,5 @@ var _Smb_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto", } diff --git a/client/api/smb/v1/api.proto b/client/api/smb/v1beta2/api.proto similarity index 98% rename from client/api/smb/v1/api.proto rename to client/api/smb/v1beta2/api.proto index dec25612..b30e69bf 100644 --- a/client/api/smb/v1/api.proto +++ b/client/api/smb/v1beta2/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta2; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2"; service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. diff --git a/client/api/system/v1alpha1/api.pb.go b/client/api/system/v1alpha1/api.pb.go index 6204cf55..bb828fd3 100644 --- a/client/api/system/v1alpha1/api.pb.go +++ b/client/api/system/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_status#members type ServiceStatus int32 @@ -38,34 +38,55 @@ const ( ServiceStatus_PAUSED ServiceStatus = 7 ) -var ServiceStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "STOPPED", - 2: "START_PENDING", - 3: "STOP_PENDING", - 4: "RUNNING", - 5: "CONTINUE_PENDING", - 6: "PAUSE_PENDING", - 7: "PAUSED", -} +// Enum value maps for ServiceStatus. +var ( + ServiceStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "STOPPED", + 2: "START_PENDING", + 3: "STOP_PENDING", + 4: "RUNNING", + 5: "CONTINUE_PENDING", + 6: "PAUSE_PENDING", + 7: "PAUSED", + } + ServiceStatus_value = map[string]int32{ + "UNKNOWN": 0, + "STOPPED": 1, + "START_PENDING": 2, + "STOP_PENDING": 3, + "RUNNING": 4, + "CONTINUE_PENDING": 5, + "PAUSE_PENDING": 6, + "PAUSED": 7, + } +) -var ServiceStatus_value = map[string]int32{ - "UNKNOWN": 0, - "STOPPED": 1, - "START_PENDING": 2, - "STOP_PENDING": 3, - "RUNNING": 4, - "CONTINUE_PENDING": 5, - "PAUSE_PENDING": 6, - "PAUSED": 7, +func (x ServiceStatus) Enum() *ServiceStatus { + p := new(ServiceStatus) + *p = x + return p } func (x ServiceStatus) String() string { - return proto.EnumName(ServiceStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (ServiceStatus) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0] +} + +func (x ServiceStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ServiceStatus.Descriptor instead. func (ServiceStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} } // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-changeserviceconfiga @@ -79,293 +100,371 @@ const ( StartType_DISABLED StartType = 4 ) -var StartType_name = map[int32]string{ - 0: "BOOT", - 1: "SYSTEM", - 2: "AUTOMATIC", - 3: "MANUAL", - 4: "DISABLED", -} +// Enum value maps for StartType. +var ( + StartType_name = map[int32]string{ + 0: "BOOT", + 1: "SYSTEM", + 2: "AUTOMATIC", + 3: "MANUAL", + 4: "DISABLED", + } + StartType_value = map[string]int32{ + "BOOT": 0, + "SYSTEM": 1, + "AUTOMATIC": 2, + "MANUAL": 3, + "DISABLED": 4, + } +) -var StartType_value = map[string]int32{ - "BOOT": 0, - "SYSTEM": 1, - "AUTOMATIC": 2, - "MANUAL": 3, - "DISABLED": 4, +func (x StartType) Enum() *StartType { + p := new(StartType) + *p = x + return p } func (x StartType) String() string { - return proto.EnumName(StartType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (StartType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{1} +func (StartType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1].Descriptor() } -type GetBIOSSerialNumberRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (StartType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1] } -func (m *GetBIOSSerialNumberRequest) Reset() { *m = GetBIOSSerialNumberRequest{} } -func (m *GetBIOSSerialNumberRequest) String() string { return proto.CompactTextString(m) } -func (*GetBIOSSerialNumberRequest) ProtoMessage() {} -func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{0} +func (x StartType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *GetBIOSSerialNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Unmarshal(m, b) +// Deprecated: Use StartType.Descriptor instead. +func (StartType) EnumDescriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} } -func (m *GetBIOSSerialNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Marshal(b, m, deterministic) + +type GetBIOSSerialNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetBIOSSerialNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBIOSSerialNumberRequest.Merge(m, src) + +func (x *GetBIOSSerialNumberRequest) Reset() { + *x = GetBIOSSerialNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBIOSSerialNumberRequest) XXX_Size() int { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Size(m) + +func (x *GetBIOSSerialNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBIOSSerialNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBIOSSerialNumberRequest.DiscardUnknown(m) + +func (*GetBIOSSerialNumberRequest) ProtoMessage() {} + +func (x *GetBIOSSerialNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_GetBIOSSerialNumberRequest proto.InternalMessageInfo +// Deprecated: Use GetBIOSSerialNumberRequest.ProtoReflect.Descriptor instead. +func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} type GetBIOSSerialNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Serial number - SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` } -func (m *GetBIOSSerialNumberResponse) Reset() { *m = GetBIOSSerialNumberResponse{} } -func (m *GetBIOSSerialNumberResponse) String() string { return proto.CompactTextString(m) } -func (*GetBIOSSerialNumberResponse) ProtoMessage() {} -func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{1} +func (x *GetBIOSSerialNumberResponse) Reset() { + *x = GetBIOSSerialNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBIOSSerialNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Unmarshal(m, b) -} -func (m *GetBIOSSerialNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Marshal(b, m, deterministic) +func (x *GetBIOSSerialNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBIOSSerialNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBIOSSerialNumberResponse.Merge(m, src) -} -func (m *GetBIOSSerialNumberResponse) XXX_Size() int { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Size(m) -} -func (m *GetBIOSSerialNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBIOSSerialNumberResponse.DiscardUnknown(m) + +func (*GetBIOSSerialNumberResponse) ProtoMessage() {} + +func (x *GetBIOSSerialNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_GetBIOSSerialNumberResponse proto.InternalMessageInfo +// Deprecated: Use GetBIOSSerialNumberResponse.ProtoReflect.Descriptor instead. +func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetBIOSSerialNumberResponse) GetSerialNumber() string { - if m != nil { - return m.SerialNumber +func (x *GetBIOSSerialNumberResponse) GetSerialNumber() string { + if x != nil { + return x.SerialNumber } return "" } type StartServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *StartServiceRequest) Reset() { *m = StartServiceRequest{} } -func (m *StartServiceRequest) String() string { return proto.CompactTextString(m) } -func (*StartServiceRequest) ProtoMessage() {} -func (*StartServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{2} +func (x *StartServiceRequest) Reset() { + *x = StartServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartServiceRequest.Unmarshal(m, b) -} -func (m *StartServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartServiceRequest.Marshal(b, m, deterministic) -} -func (m *StartServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartServiceRequest.Merge(m, src) -} -func (m *StartServiceRequest) XXX_Size() int { - return xxx_messageInfo_StartServiceRequest.Size(m) +func (x *StartServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartServiceRequest.DiscardUnknown(m) + +func (*StartServiceRequest) ProtoMessage() {} + +func (x *StartServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_StartServiceRequest proto.InternalMessageInfo +// Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead. +func (*StartServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *StartServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *StartServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type StartServiceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StartServiceResponse) Reset() { *m = StartServiceResponse{} } -func (m *StartServiceResponse) String() string { return proto.CompactTextString(m) } -func (*StartServiceResponse) ProtoMessage() {} -func (*StartServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{3} +func (x *StartServiceResponse) Reset() { + *x = StartServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartServiceResponse.Unmarshal(m, b) +func (x *StartServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartServiceResponse.Marshal(b, m, deterministic) -} -func (m *StartServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartServiceResponse.Merge(m, src) -} -func (m *StartServiceResponse) XXX_Size() int { - return xxx_messageInfo_StartServiceResponse.Size(m) -} -func (m *StartServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartServiceResponse.DiscardUnknown(m) + +func (*StartServiceResponse) ProtoMessage() {} + +func (x *StartServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StartServiceResponse proto.InternalMessageInfo +// Deprecated: Use StartServiceResponse.ProtoReflect.Descriptor instead. +func (*StartServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} type StopServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Forces stopping of services that has dependant services - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` } -func (m *StopServiceRequest) Reset() { *m = StopServiceRequest{} } -func (m *StopServiceRequest) String() string { return proto.CompactTextString(m) } -func (*StopServiceRequest) ProtoMessage() {} -func (*StopServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{4} +func (x *StopServiceRequest) Reset() { + *x = StopServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopServiceRequest.Unmarshal(m, b) -} -func (m *StopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopServiceRequest.Marshal(b, m, deterministic) +func (x *StopServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopServiceRequest.Merge(m, src) -} -func (m *StopServiceRequest) XXX_Size() int { - return xxx_messageInfo_StopServiceRequest.Size(m) -} -func (m *StopServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopServiceRequest.DiscardUnknown(m) + +func (*StopServiceRequest) ProtoMessage() {} + +func (x *StopServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StopServiceRequest proto.InternalMessageInfo +// Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead. +func (*StopServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *StopServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *StopServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *StopServiceRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *StopServiceRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type StopServiceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StopServiceResponse) Reset() { *m = StopServiceResponse{} } -func (m *StopServiceResponse) String() string { return proto.CompactTextString(m) } -func (*StopServiceResponse) ProtoMessage() {} -func (*StopServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{5} +func (x *StopServiceResponse) Reset() { + *x = StopServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopServiceResponse.Unmarshal(m, b) -} -func (m *StopServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopServiceResponse.Marshal(b, m, deterministic) +func (x *StopServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopServiceResponse.Merge(m, src) -} -func (m *StopServiceResponse) XXX_Size() int { - return xxx_messageInfo_StopServiceResponse.Size(m) -} -func (m *StopServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StopServiceResponse.DiscardUnknown(m) + +func (*StopServiceResponse) ProtoMessage() {} + +func (x *StopServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StopServiceResponse proto.InternalMessageInfo +// Deprecated: Use StopServiceResponse.ProtoReflect.Descriptor instead. +func (*StopServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} type GetServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } -func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceRequest) ProtoMessage() {} -func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{6} +func (x *GetServiceRequest) Reset() { + *x = GetServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) -} -func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceRequest.Merge(m, src) -} -func (m *GetServiceRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceRequest.Size(m) +func (x *GetServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) + +func (*GetServiceRequest) ProtoMessage() {} + +func (x *GetServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo +// Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead. +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *GetServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type GetServiceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service display name DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Service start type. @@ -373,112 +472,307 @@ type GetServiceResponse struct { // boot phase. StartType StartType `protobuf:"varint,2,opt,name=start_type,json=startType,proto3,enum=v1alpha1.StartType" json:"start_type,omitempty"` // Service status, e.g. stopped, running, paused - Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` } -func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } -func (m *GetServiceResponse) String() string { return proto.CompactTextString(m) } -func (*GetServiceResponse) ProtoMessage() {} -func (*GetServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{7} +func (x *GetServiceResponse) Reset() { + *x = GetServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceResponse.Unmarshal(m, b) -} -func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) -} -func (m *GetServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceResponse.Merge(m, src) -} -func (m *GetServiceResponse) XXX_Size() int { - return xxx_messageInfo_GetServiceResponse.Size(m) +func (x *GetServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) + +func (*GetServiceResponse) ProtoMessage() {} + +func (x *GetServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead. +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *GetServiceResponse) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *GetServiceResponse) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *GetServiceResponse) GetStartType() StartType { - if m != nil { - return m.StartType +func (x *GetServiceResponse) GetStartType() StartType { + if x != nil { + return x.StartType } return StartType_BOOT } -func (m *GetServiceResponse) GetStatus() ServiceStatus { - if m != nil { - return m.Status +func (x *GetServiceResponse) GetStatus() ServiceStatus { + if x != nil { + return x.Status } return ServiceStatus_UNKNOWN } -func init() { - proto.RegisterEnum("v1alpha1.ServiceStatus", ServiceStatus_name, ServiceStatus_value) - proto.RegisterEnum("v1alpha1.StartType", StartType_name, StartType_value) - proto.RegisterType((*GetBIOSSerialNumberRequest)(nil), "v1alpha1.GetBIOSSerialNumberRequest") - proto.RegisterType((*GetBIOSSerialNumberResponse)(nil), "v1alpha1.GetBIOSSerialNumberResponse") - proto.RegisterType((*StartServiceRequest)(nil), "v1alpha1.StartServiceRequest") - proto.RegisterType((*StartServiceResponse)(nil), "v1alpha1.StartServiceResponse") - proto.RegisterType((*StopServiceRequest)(nil), "v1alpha1.StopServiceRequest") - proto.RegisterType((*StopServiceResponse)(nil), "v1alpha1.StopServiceResponse") - proto.RegisterType((*GetServiceRequest)(nil), "v1alpha1.GetServiceRequest") - proto.RegisterType((*GetServiceResponse)(nil), "v1alpha1.GetServiceResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto", fileDescriptor_4066a9d4a9264c6f) -} - -var fileDescriptor_4066a9d4a9264c6f = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x61, 0x6f, 0xd2, 0x40, - 0x18, 0x5e, 0x81, 0x31, 0x78, 0x01, 0xd3, 0x1d, 0xa8, 0x84, 0x31, 0x33, 0xab, 0xc6, 0xb9, 0x64, - 0x34, 0xc3, 0xef, 0x8b, 0x65, 0x10, 0xac, 0xc2, 0x95, 0xf4, 0xda, 0x18, 0xfd, 0x42, 0x4a, 0x77, - 0xba, 0x46, 0xa0, 0xb5, 0x77, 0x2c, 0xf2, 0x2f, 0xfc, 0x01, 0xfe, 0x30, 0x7f, 0x8e, 0xb9, 0x52, - 0xa0, 0x10, 0xc8, 0x4c, 0xfc, 0x76, 0xef, 0xf3, 0x3c, 0xef, 0xd3, 0xf7, 0xbd, 0x3e, 0x39, 0x78, - 0xff, 0xcd, 0xe3, 0x77, 0xb3, 0x51, 0xc3, 0xf5, 0x27, 0xea, 0xf7, 0xd9, 0x88, 0x86, 0x53, 0xca, - 0x29, 0xbb, 0x74, 0x99, 0xa7, 0xba, 0xcc, 0xbb, 0x0c, 0x42, 0xff, 0xe7, 0x5c, 0x75, 0xc7, 0x1e, - 0x9d, 0x72, 0xd5, 0x09, 0x3c, 0x95, 0xcd, 0x19, 0xa7, 0x13, 0xf5, 0xfe, 0xca, 0x19, 0x07, 0x77, - 0xce, 0x95, 0xc0, 0x1a, 0x41, 0xe8, 0x73, 0x1f, 0xe5, 0x96, 0x98, 0x52, 0x87, 0x5a, 0x97, 0xf2, - 0x96, 0x6e, 0x10, 0x42, 0x43, 0xcf, 0x19, 0xe3, 0xd9, 0x64, 0x44, 0x43, 0x93, 0xfe, 0x98, 0x51, - 0xc6, 0x95, 0x16, 0x9c, 0xec, 0x64, 0x59, 0xe0, 0x4f, 0x19, 0x45, 0x2f, 0xa0, 0xc4, 0x22, 0x7c, - 0x38, 0x8d, 0x88, 0xaa, 0x74, 0x26, 0x9d, 0xe7, 0xcd, 0x22, 0x4b, 0x88, 0x95, 0x37, 0x50, 0x26, - 0xdc, 0x09, 0x39, 0xa1, 0xe1, 0xbd, 0xe7, 0xd2, 0xd8, 0x1a, 0x21, 0xc8, 0x4c, 0x9d, 0x09, 0x8d, - 0x5b, 0xa2, 0xb3, 0xf2, 0x04, 0x2a, 0x9b, 0xd2, 0xc5, 0x77, 0x94, 0x6b, 0x40, 0x84, 0xfb, 0xc1, - 0xc3, 0x0e, 0xa8, 0x02, 0x87, 0x5f, 0xfd, 0xd0, 0xa5, 0xd5, 0xd4, 0x99, 0x74, 0x9e, 0x33, 0x17, - 0x85, 0xf2, 0x58, 0x8c, 0x90, 0xe8, 0x8f, 0x6d, 0x5f, 0xc3, 0x71, 0x97, 0xfe, 0xcb, 0x5c, 0xbf, - 0x25, 0x40, 0x49, 0x65, 0xbc, 0xfe, 0x73, 0x28, 0xde, 0x7a, 0x2c, 0x18, 0x3b, 0xf3, 0x61, 0xa2, - 0xa5, 0x10, 0x63, 0x58, 0xcc, 0xd3, 0x04, 0x60, 0x62, 0xa3, 0x21, 0x9f, 0x07, 0x8b, 0xa1, 0x1e, - 0x35, 0xcb, 0x8d, 0xe5, 0xed, 0x37, 0xa2, 0x6d, 0xad, 0x79, 0x40, 0xcd, 0x3c, 0x5b, 0x1e, 0x91, - 0x0a, 0x59, 0xc6, 0x1d, 0x3e, 0x63, 0xd5, 0x74, 0xa4, 0x7f, 0x9a, 0xd0, 0x2f, 0x26, 0x20, 0x11, - 0x6d, 0xc6, 0xb2, 0x8b, 0x5f, 0x12, 0x94, 0x36, 0x18, 0x54, 0x80, 0x23, 0x1b, 0x7f, 0xc4, 0xc6, - 0x27, 0x2c, 0x1f, 0x88, 0x82, 0x58, 0xc6, 0x60, 0xd0, 0x69, 0xcb, 0x12, 0x3a, 0x86, 0x12, 0xb1, - 0x34, 0xd3, 0x1a, 0x0e, 0x3a, 0xb8, 0xad, 0xe3, 0xae, 0x9c, 0x42, 0x32, 0x14, 0x05, 0xbf, 0x42, - 0xd2, 0xa2, 0xc3, 0xb4, 0x31, 0x16, 0x45, 0x06, 0x55, 0x40, 0xbe, 0x31, 0xb0, 0xa5, 0x63, 0xbb, - 0xb3, 0x92, 0x1c, 0x0a, 0x9f, 0x81, 0x66, 0x93, 0x35, 0x94, 0x45, 0x00, 0xd9, 0x08, 0x6a, 0xcb, - 0x47, 0x17, 0x1f, 0x20, 0xbf, 0xda, 0x0d, 0xe5, 0x20, 0xd3, 0x32, 0x0c, 0x4b, 0x3e, 0x10, 0x12, - 0xf2, 0x99, 0x58, 0x9d, 0xbe, 0x2c, 0xa1, 0x12, 0xe4, 0x35, 0xdb, 0x32, 0xfa, 0x9a, 0xa5, 0xdf, - 0xc8, 0x29, 0x41, 0xf5, 0x35, 0x6c, 0x6b, 0x3d, 0x39, 0x8d, 0x8a, 0x90, 0x6b, 0xeb, 0x44, 0x6b, - 0xf5, 0x3a, 0x6d, 0x39, 0xd3, 0xfc, 0x93, 0x82, 0x2c, 0x89, 0xa2, 0x8c, 0x6e, 0xa1, 0xbc, 0x23, - 0x8f, 0xe8, 0xe5, 0xfa, 0x86, 0xf6, 0x87, 0xb9, 0xf6, 0xea, 0x01, 0x55, 0x9c, 0x8a, 0x03, 0x64, - 0x40, 0x31, 0x19, 0x43, 0x74, 0xba, 0xf5, 0xc3, 0x36, 0x13, 0x53, 0x7b, 0xb6, 0x8f, 0x5e, 0x19, - 0xf6, 0xa0, 0x90, 0xc8, 0x1f, 0xaa, 0x27, 0x1b, 0xb6, 0x63, 0x5d, 0x3b, 0xdd, 0xc3, 0xae, 0xdc, - 0x74, 0x80, 0x75, 0x18, 0xd1, 0xc9, 0xc6, 0x56, 0x5b, 0x5e, 0xf5, 0xdd, 0xe4, 0xd2, 0xaa, 0xf5, - 0xee, 0xcb, 0xf5, 0xff, 0xbd, 0x29, 0xa3, 0x6c, 0xf4, 0xa0, 0xbc, 0xfd, 0x1b, 0x00, 0x00, 0xff, - 0xff, 0x4d, 0x70, 0x16, 0x4a, 0x9c, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x42, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x12, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x90, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x45, + 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x4f, 0x50, 0x5f, + 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, + 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, + 0x55, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, + 0x50, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, + 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x07, 0x2a, 0x4a, 0x0a, 0x09, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x54, + 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, + 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, + 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x32, 0xd8, 0x02, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, + 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, + 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = []interface{}{ + (ServiceStatus)(0), // 0: v1alpha1.ServiceStatus + (StartType)(0), // 1: v1alpha1.StartType + (*GetBIOSSerialNumberRequest)(nil), // 2: v1alpha1.GetBIOSSerialNumberRequest + (*GetBIOSSerialNumberResponse)(nil), // 3: v1alpha1.GetBIOSSerialNumberResponse + (*StartServiceRequest)(nil), // 4: v1alpha1.StartServiceRequest + (*StartServiceResponse)(nil), // 5: v1alpha1.StartServiceResponse + (*StopServiceRequest)(nil), // 6: v1alpha1.StopServiceRequest + (*StopServiceResponse)(nil), // 7: v1alpha1.StopServiceResponse + (*GetServiceRequest)(nil), // 8: v1alpha1.GetServiceRequest + (*GetServiceResponse)(nil), // 9: v1alpha1.GetServiceResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha1.GetServiceResponse.start_type:type_name -> v1alpha1.StartType + 0, // 1: v1alpha1.GetServiceResponse.status:type_name -> v1alpha1.ServiceStatus + 2, // 2: v1alpha1.System.GetBIOSSerialNumber:input_type -> v1alpha1.GetBIOSSerialNumberRequest + 4, // 3: v1alpha1.System.StartService:input_type -> v1alpha1.StartServiceRequest + 6, // 4: v1alpha1.System.StopService:input_type -> v1alpha1.StopServiceRequest + 8, // 5: v1alpha1.System.GetService:input_type -> v1alpha1.GetServiceRequest + 3, // 6: v1alpha1.System.GetBIOSSerialNumber:output_type -> v1alpha1.GetBIOSSerialNumberResponse + 5, // 7: v1alpha1.System.StartService:output_type -> v1alpha1.StartServiceResponse + 7, // 8: v1alpha1.System.StopService:output_type -> v1alpha1.StopServiceResponse + 9, // 9: v1alpha1.System.GetService:output_type -> v1alpha1.GetServiceResponse + 6, // [6:10] is the sub-list for method output_type + 2, // [2:6] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBIOSSerialNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBIOSSerialNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc, + NumEnums: 2, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -571,16 +865,16 @@ type SystemServer interface { type UnimplementedSystemServer struct { } -func (*UnimplementedSystemServer) GetBIOSSerialNumber(ctx context.Context, req *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { +func (*UnimplementedSystemServer) GetBIOSSerialNumber(context.Context, *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBIOSSerialNumber not implemented") } -func (*UnimplementedSystemServer) StartService(ctx context.Context, req *StartServiceRequest) (*StartServiceResponse, error) { +func (*UnimplementedSystemServer) StartService(context.Context, *StartServiceRequest) (*StartServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StartService not implemented") } -func (*UnimplementedSystemServer) StopService(ctx context.Context, req *StopServiceRequest) (*StopServiceResponse, error) { +func (*UnimplementedSystemServer) StopService(context.Context, *StopServiceRequest) (*StopServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopService not implemented") } -func (*UnimplementedSystemServer) GetService(ctx context.Context, req *GetServiceRequest) (*GetServiceResponse, error) { +func (*UnimplementedSystemServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") } diff --git a/client/api/volume/v1alpha1/api.pb.go b/client/api/volume/v1alpha1/api.pb.go index c756e4ef..d3a5834f 100644 --- a/client/api/volume/v1alpha1/api.pb.go +++ b/client/api/volume/v1alpha1/api.pb.go @@ -1,548 +1,894 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) -} -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) -} -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) -} -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) -} -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) -} -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) -} -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) -} -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) -} -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) -} -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) -} -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) -} -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) -} -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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 ResizeVolumeResponse.ProtoReflect.Descriptor instead. func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{11} -} - -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) -} -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1alpha1.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1alpha1.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1alpha1.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1alpha1.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1alpha1.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1alpha1.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1alpha1.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1alpha1.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1alpha1.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1alpha1.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1alpha1.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1alpha1.ResizeVolumeResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto", fileDescriptor_f4ca3596f93fa877) -} - -var fileDescriptor_f4ca3596f93fa877 = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x5f, 0xef, 0xd2, 0x30, - 0x14, 0x05, 0x21, 0xc8, 0xae, 0xc6, 0x84, 0x22, 0x38, 0x26, 0x28, 0xa9, 0x2f, 0xbc, 0xb0, 0x05, - 0x78, 0x30, 0xfa, 0x8c, 0x04, 0x12, 0x0c, 0xc9, 0x12, 0x7d, 0x84, 0x8c, 0xad, 0x4a, 0x03, 0x5b, - 0xe7, 0xda, 0x11, 0xf5, 0x4b, 0xf8, 0x95, 0xcd, 0xfe, 0x41, 0x27, 0x9b, 0xe1, 0x97, 0xfc, 0xde, - 0xba, 0xd3, 0x7b, 0xce, 0xd9, 0xbd, 0xf7, 0xa4, 0xb0, 0xfc, 0x4e, 0xc5, 0x21, 0xdc, 0xeb, 0x36, - 0x73, 0x8d, 0x63, 0xb8, 0x27, 0x81, 0x47, 0x04, 0xe1, 0x63, 0x9b, 0x53, 0xc3, 0xe6, 0x74, 0xec, - 0x07, 0xec, 0xe7, 0x2f, 0xc3, 0x3e, 0x51, 0xe2, 0x09, 0xc3, 0xf2, 0xa9, 0x71, 0x66, 0xa7, 0xd0, - 0x25, 0xc6, 0x79, 0x62, 0x9d, 0xfc, 0x83, 0x35, 0x89, 0x30, 0xdd, 0x0f, 0x98, 0x60, 0xa8, 0x99, - 0x61, 0x78, 0x06, 0xea, 0x9a, 0x72, 0xf1, 0x35, 0x2e, 0xe5, 0x1b, 0x6f, 0x4e, 0xf9, 0xd1, 0x24, - 0x3f, 0x42, 0xc2, 0x05, 0x7a, 0x05, 0x4f, 0x1d, 0xca, 0x8f, 0x3b, 0xea, 0xa8, 0xd5, 0x61, 0x75, - 0xa4, 0x98, 0x8d, 0xe8, 0x73, 0xe5, 0xe0, 0x8f, 0xd0, 0x2b, 0x20, 0x71, 0x9f, 0x79, 0x9c, 0xa0, - 0x01, 0x40, 0x62, 0xbc, 0xa3, 0x0e, 0x57, 0xab, 0xc3, 0xda, 0x48, 0x31, 0x95, 0x04, 0x59, 0x39, - 0x1c, 0x7f, 0x02, 0xf4, 0x99, 0x85, 0x5e, 0x4a, 0xce, 0xac, 0x5e, 0x83, 0x72, 0x21, 0xa5, 0x66, - 0xcd, 0x8c, 0x83, 0x10, 0xd4, 0x7d, 0x4b, 0x1c, 0xd4, 0x27, 0x31, 0x1e, 0x9f, 0x71, 0x07, 0xda, - 0x39, 0x99, 0xc4, 0x1c, 0x2f, 0xa1, 0x33, 0xa7, 0xdc, 0x7d, 0x04, 0x03, 0x15, 0xba, 0xff, 0x2a, - 0xa5, 0x1e, 0xef, 0x41, 0x5d, 0xf1, 0x04, 0x5b, 0xb0, 0xc0, 0xb5, 0x84, 0x20, 0xce, 0x3d, 0x36, - 0xf8, 0x03, 0xf4, 0x0a, 0x88, 0xe9, 0xd8, 0xfa, 0xa0, 0x7c, 0xcb, 0xc0, 0x98, 0xd9, 0x34, 0xaf, - 0x00, 0x9e, 0x42, 0x3b, 0xa1, 0xdc, 0xdf, 0x15, 0xee, 0xc2, 0xcb, 0x3c, 0x27, 0xfd, 0xff, 0x05, - 0xb4, 0x4d, 0xc2, 0xe9, 0x6f, 0xf2, 0xb0, 0x09, 0x45, 0x8c, 0x78, 0x42, 0x35, 0x33, 0x3e, 0x47, - 0xfa, 0x79, 0x9d, 0x44, 0x7f, 0xfa, 0xa7, 0x0e, 0x8d, 0x04, 0x42, 0x5b, 0x68, 0xdd, 0x04, 0x05, - 0x61, 0x3d, 0x4b, 0x9f, 0x5e, 0x16, 0x3d, 0xed, 0xdd, 0x7f, 0x6b, 0xd2, 0x46, 0x2a, 0x68, 0x0d, - 0xcf, 0xa4, 0x14, 0xa0, 0xfe, 0x95, 0x75, 0x9b, 0x31, 0x6d, 0x50, 0x72, 0x7b, 0x51, 0xfb, 0x02, - 0x2f, 0xf2, 0x2b, 0x47, 0x6f, 0xaf, 0x94, 0xc2, 0x58, 0x69, 0xc3, 0xf2, 0x82, 0x8b, 0xec, 0x16, - 0x5a, 0x37, 0x6b, 0x97, 0x87, 0x50, 0x16, 0x26, 0x79, 0x08, 0xa5, 0xb9, 0xc1, 0x15, 0xb4, 0x81, - 0xe7, 0xf2, 0x9e, 0x91, 0xd4, 0x67, 0x41, 0x66, 0xb4, 0x37, 0x65, 0xd7, 0xb2, 0xa0, 0xbc, 0x58, - 0x59, 0xb0, 0x20, 0x38, 0xb2, 0x60, 0x51, 0x1e, 0x70, 0x65, 0xdf, 0x88, 0x5f, 0x9d, 0xd9, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x8e, 0xe9, 0xb0, 0xc1, 0x04, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{11} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, + 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, + 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, + 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8f, 0x04, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x55, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, + 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x22, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, + 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1alpha1.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1alpha1.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1alpha1.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1alpha1.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1alpha1.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1alpha1.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1alpha1.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1alpha1.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1alpha1.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1alpha1.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1alpha1.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1alpha1.ResizeVolumeResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.Volume.ListVolumesOnDisk:input_type -> v1alpha1.ListVolumesOnDiskRequest + 2, // 1: v1alpha1.Volume.MountVolume:input_type -> v1alpha1.MountVolumeRequest + 4, // 2: v1alpha1.Volume.DismountVolume:input_type -> v1alpha1.DismountVolumeRequest + 6, // 3: v1alpha1.Volume.IsVolumeFormatted:input_type -> v1alpha1.IsVolumeFormattedRequest + 8, // 4: v1alpha1.Volume.FormatVolume:input_type -> v1alpha1.FormatVolumeRequest + 10, // 5: v1alpha1.Volume.ResizeVolume:input_type -> v1alpha1.ResizeVolumeRequest + 1, // 6: v1alpha1.Volume.ListVolumesOnDisk:output_type -> v1alpha1.ListVolumesOnDiskResponse + 3, // 7: v1alpha1.Volume.MountVolume:output_type -> v1alpha1.MountVolumeResponse + 5, // 8: v1alpha1.Volume.DismountVolume:output_type -> v1alpha1.DismountVolumeResponse + 7, // 9: v1alpha1.Volume.IsVolumeFormatted:output_type -> v1alpha1.IsVolumeFormattedResponse + 9, // 10: v1alpha1.Volume.FormatVolume:output_type -> v1alpha1.FormatVolumeResponse + 11, // 11: v1alpha1.Volume.ResizeVolume:output_type -> v1alpha1.ResizeVolumeResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -655,22 +1001,22 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } diff --git a/client/api/volume/v1alpha1/api.proto b/client/api/volume/v1alpha1/api.proto index 5037859e..d3e74dc6 100644 --- a/client/api/volume/v1alpha1/api.proto +++ b/client/api/volume/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1"; + service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for // all volumes on a Disk device @@ -66,4 +68,4 @@ message ResizeVolumeRequest { } message ResizeVolumeResponse { // Intentionally empty -} \ No newline at end of file +} diff --git a/client/api/volume/v1beta1/api.pb.go b/client/api/volume/v1beta1/api.pb.go index 3213b4b5..c5a10257 100644 --- a/client/api/volume/v1beta1/api.pb.go +++ b/client/api/volume/v1beta1/api.pb.go @@ -1,820 +1,1323 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: volume/v1beta1/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) -} -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) -} -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) -} -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) -} -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) -} -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) -} -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) -} -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) -} -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) -} -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) -} -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) -} -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) -} -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) -} -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{11} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) -} -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{11} +} type VolumeStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } -func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsRequest) ProtoMessage() {} -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{12} +func (x *VolumeStatsRequest) Reset() { + *x = VolumeStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) -} -func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) -} -func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +func (x *VolumeStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsRequest) XXX_Size() int { - return xxx_messageInfo_VolumeStatsRequest.Size(m) -} -func (m *VolumeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) + +func (*VolumeStatsRequest) ProtoMessage() {} + +func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo +// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{12} +} -func (m *VolumeStatsRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeStatsRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` } -func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } -func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsResponse) ProtoMessage() {} -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{13} +func (x *VolumeStatsResponse) Reset() { + *x = VolumeStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) -} -func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) +func (x *VolumeStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsResponse.Merge(m, src) -} -func (m *VolumeStatsResponse) XXX_Size() int { - return xxx_messageInfo_VolumeStatsResponse.Size(m) -} -func (m *VolumeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) + +func (*VolumeStatsResponse) ProtoMessage() {} + +func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo +// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{13} +} -func (m *VolumeStatsResponse) GetVolumeSize() int64 { - if m != nil { - return m.VolumeSize +func (x *VolumeStatsResponse) GetVolumeSize() int64 { + if x != nil { + return x.VolumeSize } return 0 } -func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if m != nil { - return m.VolumeUsedSize +func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if x != nil { + return x.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } -func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberRequest) ProtoMessage() {} -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{14} +func (x *VolumeDiskNumberRequest) Reset() { + *x = VolumeDiskNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) -} -func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) +func (x *VolumeDiskNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberRequest) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) -} -func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) + +func (*VolumeDiskNumberRequest) ProtoMessage() {} + +func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{14} +} -func (m *VolumeDiskNumberRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeDiskNumberRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeDiskNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` } -func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } -func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberResponse) ProtoMessage() {} -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{15} +func (x *VolumeDiskNumberResponse) Reset() { + *x = VolumeDiskNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) -} -func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) +func (x *VolumeDiskNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) -} -func (m *VolumeDiskNumberResponse) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) -} -func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) + +func (*VolumeDiskNumberResponse) ProtoMessage() {} + +func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{15} +} -func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if m != nil { - return m.DiskNumber +func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if x != nil { + return x.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` } -func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } -func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountRequest) ProtoMessage() {} -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{16} +func (x *VolumeIDFromMountRequest) Reset() { + *x = VolumeIDFromMountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) -} -func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) -} -func (m *VolumeIDFromMountRequest) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) +func (x *VolumeIDFromMountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) + +func (*VolumeIDFromMountRequest) ProtoMessage() {} + +func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{16} +} -func (m *VolumeIDFromMountRequest) GetMount() string { - if m != nil { - return m.Mount +func (x *VolumeIDFromMountRequest) GetMount() string { + if x != nil { + return x.Mount } return "" } type VolumeIDFromMountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } -func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountResponse) ProtoMessage() {} -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{17} +func (x *VolumeIDFromMountResponse) Reset() { + *x = VolumeIDFromMountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) +func (x *VolumeIDFromMountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) -} -func (m *VolumeIDFromMountResponse) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) -} -func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) + +func (*VolumeIDFromMountResponse) ProtoMessage() {} + +func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{17} +} -func (m *VolumeIDFromMountResponse) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeIDFromMountResponse) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta1.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta1.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1beta1.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1beta1.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta1.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta1.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta1.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta1.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta1.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta1.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta1.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta1.ResizeVolumeResponse") - proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta1.VolumeStatsRequest") - proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta1.VolumeStatsResponse") - proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta1.VolumeDiskNumberRequest") - proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta1.VolumeDiskNumberResponse") - proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta1.VolumeIDFromMountRequest") - proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta1.VolumeIDFromMountResponse") -} - -func init() { proto.RegisterFile("volume/v1beta1/api.proto", fileDescriptor_e25953f9b6119981) } - -var fileDescriptor_e25953f9b6119981 = []byte{ - // 588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x6f, 0xd3, 0x30, - 0x18, 0x5d, 0x19, 0x74, 0xeb, 0x07, 0x9a, 0x34, 0xb7, 0xdb, 0xd2, 0xee, 0x42, 0xe7, 0x07, 0xb4, - 0x97, 0x35, 0x74, 0x93, 0xb8, 0x4c, 0x42, 0x48, 0xa8, 0x14, 0x8a, 0x18, 0x48, 0xa9, 0xe0, 0x01, - 0x0d, 0x55, 0x6d, 0x63, 0x98, 0xd5, 0xe5, 0x42, 0xec, 0x4c, 0xc0, 0x8f, 0xe0, 0x37, 0xa3, 0xd8, - 0x4e, 0xe2, 0xdc, 0xaa, 0x22, 0xf1, 0x96, 0x1c, 0xfb, 0x9c, 0xf3, 0xd9, 0xdf, 0x77, 0x64, 0x30, - 0x6e, 0xbd, 0x9b, 0xd0, 0x21, 0xe6, 0x6d, 0x7f, 0x46, 0xf8, 0xb4, 0x6f, 0x4e, 0x7d, 0xda, 0xf3, - 0x03, 0x8f, 0x7b, 0x68, 0x43, 0x41, 0xf8, 0x1c, 0x8c, 0xf7, 0x94, 0xf1, 0xcf, 0x62, 0x23, 0xfb, - 0xe8, 0x0e, 0x28, 0x5b, 0x58, 0xe4, 0x47, 0x48, 0x18, 0x47, 0x7b, 0xb0, 0x61, 0x53, 0xb6, 0x98, - 0x50, 0xdb, 0xa8, 0x75, 0x6b, 0x27, 0x0d, 0xab, 0x1e, 0xfd, 0x8e, 0x6c, 0x7c, 0x01, 0xed, 0x12, - 0x12, 0xf3, 0x3d, 0x97, 0x11, 0x74, 0x08, 0x20, 0x6d, 0x27, 0xd4, 0x66, 0x46, 0xad, 0xbb, 0x7e, - 0xd2, 0xb0, 0x1a, 0x12, 0x19, 0xd9, 0x0c, 0xbf, 0x06, 0x74, 0xe9, 0x85, 0xae, 0x22, 0xc7, 0x56, - 0xfb, 0xd0, 0x48, 0x48, 0xca, 0x6c, 0x33, 0xe6, 0x20, 0x04, 0x77, 0xfd, 0x29, 0xbf, 0x36, 0xee, - 0x08, 0x5c, 0x7c, 0xe3, 0x1d, 0x68, 0x66, 0x64, 0xa4, 0x39, 0x7e, 0x0b, 0x3b, 0x03, 0xca, 0x9c, - 0xff, 0x60, 0x60, 0xc0, 0x6e, 0x5e, 0x49, 0x79, 0x3c, 0x05, 0x63, 0xc4, 0x24, 0x36, 0xf4, 0x02, - 0x67, 0xca, 0x39, 0xb1, 0x57, 0xb1, 0xc1, 0xcf, 0xa1, 0x5d, 0x42, 0x54, 0xd7, 0x76, 0x00, 0x8d, - 0x6f, 0x31, 0x28, 0x98, 0x9b, 0x56, 0x0a, 0xe0, 0x33, 0x68, 0x4a, 0xca, 0xea, 0xa7, 0xc2, 0xbb, - 0xd0, 0xca, 0x72, 0x54, 0xfd, 0x43, 0x68, 0x5a, 0x84, 0xd1, 0xdf, 0xe4, 0xdf, 0x6e, 0x28, 0x62, - 0x88, 0x1b, 0x5a, 0xb7, 0xc4, 0x77, 0xa4, 0x9f, 0xd5, 0x51, 0xfa, 0x7d, 0x40, 0x12, 0x19, 0xf3, - 0x29, 0x67, 0x2b, 0x95, 0xfa, 0x15, 0x9a, 0x19, 0x8a, 0xba, 0x93, 0xa3, 0x78, 0x94, 0xc6, 0x91, - 0x77, 0x4d, 0x78, 0x6b, 0x08, 0x7a, 0x04, 0x5b, 0xf2, 0xef, 0x13, 0x23, 0xf6, 0x38, 0xad, 0x2f, - 0x87, 0xe2, 0x27, 0xb0, 0x27, 0xe5, 0xa3, 0x41, 0xfd, 0x10, 0x3a, 0x33, 0x12, 0xac, 0x54, 0xd6, - 0x05, 0x18, 0x45, 0x5e, 0x5a, 0x9b, 0x9d, 0xa0, 0x71, 0x6d, 0x29, 0x82, 0x1f, 0xc7, 0xdc, 0xd1, - 0x60, 0x18, 0x78, 0x8e, 0x18, 0xd6, 0xd8, 0xb4, 0x05, 0xf7, 0xc4, 0x60, 0x29, 0x43, 0xf9, 0x83, - 0x9f, 0x41, 0xbb, 0x84, 0xa1, 0xec, 0x96, 0xd5, 0x79, 0xf6, 0xa7, 0x0e, 0x75, 0x49, 0x45, 0x57, - 0xb0, 0x5d, 0x88, 0x26, 0x3a, 0xee, 0xa9, 0xb8, 0xf7, 0xaa, 0xb2, 0xde, 0xc1, 0xcb, 0xb6, 0xa8, - 0xc6, 0xae, 0xa1, 0x77, 0x70, 0x5f, 0x4b, 0x1d, 0xda, 0x4f, 0x48, 0xc5, 0x48, 0x77, 0x0e, 0xca, - 0x17, 0x13, 0xad, 0x31, 0x6c, 0x65, 0x03, 0x86, 0x8e, 0x12, 0x46, 0x69, 0x86, 0x3b, 0x0f, 0x2b, - 0xd7, 0x13, 0xd1, 0x2b, 0xd8, 0x2e, 0x44, 0x4c, 0x3b, 0x7e, 0x55, 0x6e, 0xb5, 0xe3, 0x57, 0x26, - 0x14, 0xaf, 0xa1, 0x4b, 0x78, 0xa0, 0x27, 0x0a, 0xa5, 0x47, 0x2c, 0x09, 0x67, 0xe7, 0xb0, 0x62, - 0x55, 0x97, 0xd3, 0x03, 0xa4, 0xc9, 0x95, 0xe4, 0x53, 0x93, 0x2b, 0x4d, 0x9d, 0x68, 0x8e, 0x16, - 0x22, 0xad, 0x39, 0xc5, 0x34, 0x6a, 0xcd, 0x29, 0xc9, 0x9d, 0xb8, 0xc7, 0xe6, 0x1b, 0xc2, 0xf3, - 0xc3, 0x8f, 0xba, 0x39, 0x5a, 0x21, 0x4f, 0x9d, 0xe3, 0x25, 0x3b, 0x12, 0xf5, 0x09, 0xb4, 0x12, - 0x75, 0x6d, 0xd8, 0x51, 0x9e, 0x5c, 0x8c, 0x8e, 0xd6, 0xa8, 0xca, 0xac, 0xe0, 0xb5, 0x57, 0x2f, - 0xbf, 0xbc, 0xf8, 0x4e, 0xf9, 0x75, 0x38, 0xeb, 0xcd, 0x3d, 0xc7, 0x5c, 0x84, 0x33, 0x12, 0xb8, - 0x84, 0x13, 0x76, 0x3a, 0x67, 0xd4, 0x9c, 0x33, 0x7a, 0xea, 0x07, 0xde, 0xcf, 0x5f, 0xe6, 0xfc, - 0x86, 0x12, 0x97, 0x47, 0xcf, 0xa2, 0x99, 0x7d, 0x29, 0x67, 0x75, 0xf1, 0x4c, 0x9e, 0xff, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0xb6, 0x33, 0x17, 0x80, 0x42, 0x07, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x32, 0x8e, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, + 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, + 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta1.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta1.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta1.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta1.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta1.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta1.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta1.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta1.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta1.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta1.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta1.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta1.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta1.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta1.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta1.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta1.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta1.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta1.VolumeIDFromMountResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.Volume.ListVolumesOnDisk:input_type -> v1beta1.ListVolumesOnDiskRequest + 2, // 1: v1beta1.Volume.MountVolume:input_type -> v1beta1.MountVolumeRequest + 4, // 2: v1beta1.Volume.DismountVolume:input_type -> v1beta1.DismountVolumeRequest + 6, // 3: v1beta1.Volume.IsVolumeFormatted:input_type -> v1beta1.IsVolumeFormattedRequest + 8, // 4: v1beta1.Volume.FormatVolume:input_type -> v1beta1.FormatVolumeRequest + 10, // 5: v1beta1.Volume.ResizeVolume:input_type -> v1beta1.ResizeVolumeRequest + 12, // 6: v1beta1.Volume.VolumeStats:input_type -> v1beta1.VolumeStatsRequest + 14, // 7: v1beta1.Volume.GetVolumeDiskNumber:input_type -> v1beta1.VolumeDiskNumberRequest + 16, // 8: v1beta1.Volume.GetVolumeIDFromMount:input_type -> v1beta1.VolumeIDFromMountRequest + 1, // 9: v1beta1.Volume.ListVolumesOnDisk:output_type -> v1beta1.ListVolumesOnDiskResponse + 3, // 10: v1beta1.Volume.MountVolume:output_type -> v1beta1.MountVolumeResponse + 5, // 11: v1beta1.Volume.DismountVolume:output_type -> v1beta1.DismountVolumeResponse + 7, // 12: v1beta1.Volume.IsVolumeFormatted:output_type -> v1beta1.IsVolumeFormattedResponse + 9, // 13: v1beta1.Volume.FormatVolume:output_type -> v1beta1.FormatVolumeResponse + 11, // 14: v1beta1.Volume.ResizeVolume:output_type -> v1beta1.ResizeVolumeResponse + 13, // 15: v1beta1.Volume.VolumeStats:output_type -> v1beta1.VolumeStatsResponse + 15, // 16: v1beta1.Volume.GetVolumeDiskNumber:output_type -> v1beta1.VolumeDiskNumberResponse + 17, // 17: v1beta1.Volume.GetVolumeIDFromMount:output_type -> v1beta1.VolumeIDFromMountResponse + 9, // [9:18] is the sub-list for method output_type + 0, // [0:9] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 18, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // VolumeClient is the client API for Volume service. // @@ -842,10 +1345,10 @@ type VolumeClient interface { } type volumeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { +func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { return &volumeClient{cc} } @@ -957,31 +1460,31 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } @@ -1193,5 +1696,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "volume/v1beta1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto", } diff --git a/client/api/volume/v1beta2/api.pb.go b/client/api/volume/v1beta2/api.pb.go index 2bc4962c..0236c3c2 100644 --- a/client/api/volume/v1beta2/api.pb.go +++ b/client/api/volume/v1beta2/api.pb.go @@ -1,898 +1,1447 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: client/api/volume/v1beta2/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto package v1beta2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) -} -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) -} -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) -} -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) -} -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) -} -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) -} -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) -} -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) -} -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) -} -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) -} -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) -} -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) -} -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{11} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{11} +} type VolumeStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } -func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsRequest) ProtoMessage() {} -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{12} +func (x *VolumeStatsRequest) Reset() { + *x = VolumeStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) -} -func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) -} -func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +func (x *VolumeStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsRequest) XXX_Size() int { - return xxx_messageInfo_VolumeStatsRequest.Size(m) -} -func (m *VolumeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) + +func (*VolumeStatsRequest) ProtoMessage() {} + +func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo +// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{12} +} -func (m *VolumeStatsRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeStatsRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` } -func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } -func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsResponse) ProtoMessage() {} -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{13} +func (x *VolumeStatsResponse) Reset() { + *x = VolumeStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) -} -func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) +func (x *VolumeStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsResponse.Merge(m, src) -} -func (m *VolumeStatsResponse) XXX_Size() int { - return xxx_messageInfo_VolumeStatsResponse.Size(m) -} -func (m *VolumeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) + +func (*VolumeStatsResponse) ProtoMessage() {} + +func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo +// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{13} +} -func (m *VolumeStatsResponse) GetVolumeSize() int64 { - if m != nil { - return m.VolumeSize +func (x *VolumeStatsResponse) GetVolumeSize() int64 { + if x != nil { + return x.VolumeSize } return 0 } -func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if m != nil { - return m.VolumeUsedSize +func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if x != nil { + return x.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } -func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberRequest) ProtoMessage() {} -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{14} +func (x *VolumeDiskNumberRequest) Reset() { + *x = VolumeDiskNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) -} -func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) -} -func (m *VolumeDiskNumberRequest) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +func (x *VolumeDiskNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) + +func (*VolumeDiskNumberRequest) ProtoMessage() {} + +func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{14} +} -func (m *VolumeDiskNumberRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeDiskNumberRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeDiskNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` } -func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } -func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberResponse) ProtoMessage() {} -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{15} +func (x *VolumeDiskNumberResponse) Reset() { + *x = VolumeDiskNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) -} -func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) -} -func (m *VolumeDiskNumberResponse) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) +func (x *VolumeDiskNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) + +func (*VolumeDiskNumberResponse) ProtoMessage() {} + +func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{15} +} -func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if m != nil { - return m.DiskNumber +func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if x != nil { + return x.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` } -func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } -func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountRequest) ProtoMessage() {} -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{16} +func (x *VolumeIDFromMountRequest) Reset() { + *x = VolumeIDFromMountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) -} -func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +func (x *VolumeIDFromMountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountRequest) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) -} -func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) + +func (*VolumeIDFromMountRequest) ProtoMessage() {} + +func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{16} +} -func (m *VolumeIDFromMountRequest) GetMount() string { - if m != nil { - return m.Mount +func (x *VolumeIDFromMountRequest) GetMount() string { + if x != nil { + return x.Mount } return "" } type VolumeIDFromMountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } -func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountResponse) ProtoMessage() {} -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{17} +func (x *VolumeIDFromMountResponse) Reset() { + *x = VolumeIDFromMountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) -} -func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) +func (x *VolumeIDFromMountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) -} -func (m *VolumeIDFromMountResponse) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) -} -func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) + +func (*VolumeIDFromMountResponse) ProtoMessage() {} + +func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{17} +} -func (m *VolumeIDFromMountResponse) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeIDFromMountResponse) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type WriteVolumeCacheRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to flush the cache - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *WriteVolumeCacheRequest) Reset() { *m = WriteVolumeCacheRequest{} } -func (m *WriteVolumeCacheRequest) String() string { return proto.CompactTextString(m) } -func (*WriteVolumeCacheRequest) ProtoMessage() {} -func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{18} +func (x *WriteVolumeCacheRequest) Reset() { + *x = WriteVolumeCacheRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteVolumeCacheRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteVolumeCacheRequest.Unmarshal(m, b) -} -func (m *WriteVolumeCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteVolumeCacheRequest.Marshal(b, m, deterministic) -} -func (m *WriteVolumeCacheRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteVolumeCacheRequest.Merge(m, src) -} -func (m *WriteVolumeCacheRequest) XXX_Size() int { - return xxx_messageInfo_WriteVolumeCacheRequest.Size(m) +func (x *WriteVolumeCacheRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteVolumeCacheRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteVolumeCacheRequest.DiscardUnknown(m) + +func (*WriteVolumeCacheRequest) ProtoMessage() {} + +func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] + 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) } -var xxx_messageInfo_WriteVolumeCacheRequest proto.InternalMessageInfo +// Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. +func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{18} +} -func (m *WriteVolumeCacheRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *WriteVolumeCacheRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type WriteVolumeCacheResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WriteVolumeCacheResponse) Reset() { + *x = WriteVolumeCacheResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteVolumeCacheResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteVolumeCacheResponse) Reset() { *m = WriteVolumeCacheResponse{} } -func (m *WriteVolumeCacheResponse) String() string { return proto.CompactTextString(m) } -func (*WriteVolumeCacheResponse) ProtoMessage() {} +func (*WriteVolumeCacheResponse) ProtoMessage() {} + +func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] + 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 WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{19} -} - -func (m *WriteVolumeCacheResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteVolumeCacheResponse.Unmarshal(m, b) -} -func (m *WriteVolumeCacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteVolumeCacheResponse.Marshal(b, m, deterministic) -} -func (m *WriteVolumeCacheResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteVolumeCacheResponse.Merge(m, src) -} -func (m *WriteVolumeCacheResponse) XXX_Size() int { - return xxx_messageInfo_WriteVolumeCacheResponse.Size(m) -} -func (m *WriteVolumeCacheResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteVolumeCacheResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteVolumeCacheResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta2.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta2.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1beta2.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1beta2.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta2.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta2.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta2.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta2.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta2.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta2.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta2.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta2.ResizeVolumeResponse") - proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta2.VolumeStatsRequest") - proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta2.VolumeStatsResponse") - proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta2.VolumeDiskNumberRequest") - proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta2.VolumeDiskNumberResponse") - proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta2.VolumeIDFromMountRequest") - proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta2.VolumeIDFromMountResponse") - proto.RegisterType((*WriteVolumeCacheRequest)(nil), "v1beta2.WriteVolumeCacheRequest") - proto.RegisterType((*WriteVolumeCacheResponse)(nil), "v1beta2.WriteVolumeCacheResponse") -} - -func init() { - proto.RegisterFile("client/api/volume/v1beta2/api.proto", fileDescriptor_99d2e9a7d1d95ce9) -} - -var fileDescriptor_99d2e9a7d1d95ce9 = []byte{ - // 625 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x6b, 0x6f, 0xd3, 0x30, - 0x14, 0x6d, 0x19, 0x74, 0xeb, 0x05, 0x4d, 0xcc, 0xdd, 0x23, 0xcd, 0x1e, 0x74, 0x46, 0x42, 0xfb, - 0xb2, 0x86, 0x75, 0xd2, 0x80, 0x49, 0x08, 0x09, 0x4a, 0xa1, 0x88, 0x81, 0x94, 0x0a, 0x10, 0x68, - 0xa8, 0x4a, 0x1b, 0x43, 0xad, 0x2e, 0x4d, 0x89, 0x9d, 0x09, 0xf8, 0xc7, 0xfc, 0x0b, 0x14, 0xdb, - 0x49, 0xdd, 0x3c, 0xaa, 0x22, 0xf1, 0x2d, 0x3e, 0xf6, 0x39, 0xe7, 0xda, 0xbe, 0xc7, 0x81, 0xfb, - 0xc3, 0x2b, 0x4a, 0x26, 0xdc, 0x72, 0xa6, 0xd4, 0xba, 0xf6, 0xaf, 0x42, 0x8f, 0x58, 0xd7, 0x27, - 0x03, 0xc2, 0x9d, 0x56, 0x04, 0x35, 0xa7, 0x81, 0xcf, 0x7d, 0xb4, 0xaa, 0x20, 0x7c, 0x0a, 0xc6, - 0x5b, 0xca, 0xf8, 0x47, 0xb1, 0x90, 0xbd, 0x9f, 0xb4, 0x29, 0x1b, 0xdb, 0xe4, 0x47, 0x48, 0x18, - 0x47, 0x3b, 0xb0, 0xea, 0x52, 0x36, 0xee, 0x53, 0xd7, 0x28, 0x37, 0xca, 0x47, 0x55, 0xbb, 0x12, - 0x0d, 0xbb, 0x2e, 0x3e, 0x87, 0x7a, 0x0e, 0x89, 0x4d, 0xfd, 0x09, 0x23, 0x68, 0x1f, 0x40, 0xda, - 0xf6, 0xa9, 0xcb, 0x8c, 0x72, 0x63, 0xe5, 0xa8, 0x6a, 0x57, 0x25, 0xd2, 0x75, 0x19, 0x7e, 0x09, - 0xe8, 0xc2, 0x0f, 0x27, 0x8a, 0x1c, 0x5b, 0xed, 0x42, 0x35, 0x21, 0x29, 0xb3, 0xb5, 0x98, 0x83, - 0x10, 0xdc, 0x9c, 0x3a, 0x7c, 0x64, 0xdc, 0x10, 0xb8, 0xf8, 0xc6, 0x5b, 0x50, 0x9b, 0x93, 0x91, - 0xe6, 0xf8, 0x35, 0x6c, 0xb5, 0x29, 0xf3, 0xfe, 0x83, 0x81, 0x01, 0xdb, 0x69, 0x25, 0xe5, 0xf1, - 0x08, 0x8c, 0x2e, 0x93, 0x58, 0xc7, 0x0f, 0x3c, 0x87, 0x73, 0xe2, 0x2e, 0x63, 0x83, 0x9f, 0x40, - 0x3d, 0x87, 0xa8, 0x8e, 0x6d, 0x0f, 0xaa, 0xdf, 0x62, 0x50, 0x30, 0xd7, 0xec, 0x19, 0x80, 0x5b, - 0x50, 0x93, 0x94, 0xe5, 0x77, 0x85, 0xb7, 0x61, 0x73, 0x9e, 0xa3, 0xea, 0xef, 0x40, 0xcd, 0x26, - 0x8c, 0xfe, 0x26, 0xff, 0x76, 0x42, 0x11, 0x43, 0x9c, 0xd0, 0x8a, 0x2d, 0xbe, 0x23, 0xfd, 0x79, - 0x1d, 0xa5, 0x7f, 0x02, 0x48, 0x22, 0x3d, 0xee, 0x70, 0xb6, 0x54, 0xa9, 0x5f, 0xa1, 0x36, 0x47, - 0x51, 0x67, 0x72, 0x10, 0xb7, 0x52, 0x2f, 0xf2, 0x2e, 0x0b, 0x6f, 0x0d, 0x41, 0x0f, 0x60, 0x5d, - 0x8e, 0x3e, 0x30, 0xe2, 0xf6, 0x66, 0xf5, 0xa5, 0x50, 0x7c, 0x06, 0x3b, 0x52, 0x3e, 0x6a, 0xd4, - 0x77, 0xa1, 0x37, 0x20, 0xc1, 0x52, 0x65, 0x9d, 0x83, 0x91, 0xe5, 0xcd, 0x6a, 0x73, 0x13, 0x34, - 0xae, 0x6d, 0x86, 0xe0, 0x87, 0x31, 0xb7, 0xdb, 0xee, 0x04, 0xbe, 0x27, 0x9a, 0x35, 0x36, 0xdd, - 0x84, 0x5b, 0xa2, 0xb1, 0x94, 0xa1, 0x1c, 0xe0, 0xc7, 0x50, 0xcf, 0x61, 0x28, 0xbb, 0x85, 0x75, - 0x9e, 0xc1, 0xce, 0xa7, 0x80, 0x72, 0x75, 0x11, 0x2f, 0x9c, 0xe1, 0x68, 0xb9, 0x0e, 0x31, 0xc1, - 0xc8, 0xf2, 0xa4, 0x61, 0xeb, 0x4f, 0x05, 0x2a, 0x12, 0x47, 0x97, 0xb0, 0x91, 0x89, 0x3b, 0x3a, - 0x6c, 0xaa, 0x27, 0xa4, 0x59, 0xf4, 0x7e, 0x98, 0x78, 0xd1, 0x12, 0xd5, 0x2c, 0x25, 0xf4, 0x06, - 0x6e, 0x6b, 0x49, 0x46, 0xbb, 0x09, 0x29, 0xfb, 0x4c, 0x98, 0x7b, 0xf9, 0x93, 0x89, 0x56, 0x0f, - 0xd6, 0xe7, 0x43, 0x8b, 0x0e, 0x12, 0x46, 0xee, 0xbb, 0x60, 0xde, 0x2b, 0x9c, 0x4f, 0x44, 0x2f, - 0x61, 0x23, 0x13, 0x5b, 0x6d, 0xfb, 0x45, 0x6f, 0x81, 0xb6, 0xfd, 0xc2, 0xd4, 0xe3, 0x12, 0xba, - 0x80, 0x3b, 0x7a, 0x4a, 0xd1, 0x6c, 0x8b, 0x39, 0x81, 0x37, 0xf7, 0x0b, 0x66, 0x75, 0x39, 0x3d, - 0x94, 0x9a, 0x5c, 0x4e, 0xe6, 0x35, 0xb9, 0xdc, 0x24, 0x8b, 0xcb, 0xd1, 0x82, 0xa9, 0x5d, 0x4e, - 0x36, 0xe1, 0xda, 0xe5, 0xe4, 0x64, 0x59, 0x9c, 0x63, 0xed, 0x15, 0xe1, 0xe9, 0x40, 0xa1, 0x46, - 0x8a, 0x96, 0xc9, 0xa8, 0x79, 0xb8, 0x60, 0x45, 0xa2, 0xde, 0x87, 0xcd, 0x44, 0x5d, 0x0b, 0x10, - 0x4a, 0x93, 0xb3, 0x71, 0xd4, 0x2e, 0xaa, 0x30, 0x7f, 0xb8, 0x84, 0x3e, 0xc3, 0xdd, 0x74, 0x58, - 0xb4, 0xda, 0x0b, 0xf2, 0xa7, 0xd5, 0x5e, 0x94, 0x34, 0x5c, 0x7a, 0xfe, 0xec, 0xcb, 0xd3, 0xef, - 0x94, 0x8f, 0xc2, 0x41, 0x73, 0xe8, 0x7b, 0xd6, 0x38, 0x1c, 0x90, 0x60, 0x42, 0x38, 0x61, 0xc7, - 0x43, 0x46, 0xad, 0x21, 0xa3, 0xc7, 0xd3, 0xc0, 0xff, 0xf9, 0xcb, 0x2a, 0xfc, 0xb1, 0x0f, 0x2a, - 0xe2, 0xaf, 0x7e, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0xef, 0xbc, 0x51, 0x38, 0xfc, 0x07, 0x00, - 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{19} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x32, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta2.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta2.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta2.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta2.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta2.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta2.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta2.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta2.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta2.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta2.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta2.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta2.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta2.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta2.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta2.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta2.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta2.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta2.VolumeIDFromMountResponse + (*WriteVolumeCacheRequest)(nil), // 18: v1beta2.WriteVolumeCacheRequest + (*WriteVolumeCacheResponse)(nil), // 19: v1beta2.WriteVolumeCacheResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.Volume.ListVolumesOnDisk:input_type -> v1beta2.ListVolumesOnDiskRequest + 2, // 1: v1beta2.Volume.MountVolume:input_type -> v1beta2.MountVolumeRequest + 4, // 2: v1beta2.Volume.DismountVolume:input_type -> v1beta2.DismountVolumeRequest + 6, // 3: v1beta2.Volume.IsVolumeFormatted:input_type -> v1beta2.IsVolumeFormattedRequest + 8, // 4: v1beta2.Volume.FormatVolume:input_type -> v1beta2.FormatVolumeRequest + 10, // 5: v1beta2.Volume.ResizeVolume:input_type -> v1beta2.ResizeVolumeRequest + 12, // 6: v1beta2.Volume.VolumeStats:input_type -> v1beta2.VolumeStatsRequest + 14, // 7: v1beta2.Volume.GetVolumeDiskNumber:input_type -> v1beta2.VolumeDiskNumberRequest + 16, // 8: v1beta2.Volume.GetVolumeIDFromMount:input_type -> v1beta2.VolumeIDFromMountRequest + 18, // 9: v1beta2.Volume.WriteVolumeCache:input_type -> v1beta2.WriteVolumeCacheRequest + 1, // 10: v1beta2.Volume.ListVolumesOnDisk:output_type -> v1beta2.ListVolumesOnDiskResponse + 3, // 11: v1beta2.Volume.MountVolume:output_type -> v1beta2.MountVolumeResponse + 5, // 12: v1beta2.Volume.DismountVolume:output_type -> v1beta2.DismountVolumeResponse + 7, // 13: v1beta2.Volume.IsVolumeFormatted:output_type -> v1beta2.IsVolumeFormattedResponse + 9, // 14: v1beta2.Volume.FormatVolume:output_type -> v1beta2.FormatVolumeResponse + 11, // 15: v1beta2.Volume.ResizeVolume:output_type -> v1beta2.ResizeVolumeResponse + 13, // 16: v1beta2.Volume.VolumeStats:output_type -> v1beta2.VolumeStatsResponse + 15, // 17: v1beta2.Volume.GetVolumeDiskNumber:output_type -> v1beta2.VolumeDiskNumberResponse + 17, // 18: v1beta2.Volume.GetVolumeIDFromMount:output_type -> v1beta2.VolumeIDFromMountResponse + 19, // 19: v1beta2.Volume.WriteVolumeCache:output_type -> v1beta2.WriteVolumeCacheResponse + 10, // [10:20] is the sub-list for method output_type + 0, // [0:10] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteVolumeCacheRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteVolumeCacheResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 20, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // VolumeClient is the client API for Volume service. // @@ -922,10 +1471,10 @@ type VolumeClient interface { } type volumeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { +func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { return &volumeClient{cc} } @@ -1048,34 +1597,34 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } -func (*UnimplementedVolumeServer) WriteVolumeCache(ctx context.Context, req *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { +func (*UnimplementedVolumeServer) WriteVolumeCache(context.Context, *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteVolumeCache not implemented") } @@ -1309,5 +1858,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "client/api/volume/v1beta2/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.pb.go b/client/api/volume/v1beta3/api.pb.go similarity index 69% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.pb.go rename to client/api/volume/v1beta3/api.pb.go index 1e42f622..ca6e49c6 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.pb.go +++ b/client/api/volume/v1beta3/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto -package v1 +package v1beta3 import ( context "context" @@ -36,7 +36,7 @@ type ListVolumesOnDiskRequest struct { func (x *ListVolumesOnDiskRequest) Reset() { *x = ListVolumesOnDiskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -49,7 +49,7 @@ func (x *ListVolumesOnDiskRequest) String() string { func (*ListVolumesOnDiskRequest) ProtoMessage() {} func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -62,7 +62,7 @@ func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{0} } func (x *ListVolumesOnDiskRequest) GetDiskId() string { @@ -84,7 +84,7 @@ type ListVolumesOnDiskResponse struct { func (x *ListVolumesOnDiskResponse) Reset() { *x = ListVolumesOnDiskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -97,7 +97,7 @@ func (x *ListVolumesOnDiskResponse) String() string { func (*ListVolumesOnDiskResponse) ProtoMessage() {} func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -110,7 +110,7 @@ func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{1} } func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { @@ -134,7 +134,7 @@ type MountVolumeRequest struct { func (x *MountVolumeRequest) Reset() { *x = MountVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -147,7 +147,7 @@ func (x *MountVolumeRequest) String() string { func (*MountVolumeRequest) ProtoMessage() {} func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -160,7 +160,7 @@ func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{2} } func (x *MountVolumeRequest) GetVolumeId() string { @@ -186,7 +186,7 @@ type MountVolumeResponse struct { func (x *MountVolumeResponse) Reset() { *x = MountVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -199,7 +199,7 @@ func (x *MountVolumeResponse) String() string { func (*MountVolumeResponse) ProtoMessage() {} func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -212,7 +212,7 @@ func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{3} } type DismountVolumeRequest struct { @@ -229,7 +229,7 @@ type DismountVolumeRequest struct { func (x *DismountVolumeRequest) Reset() { *x = DismountVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -242,7 +242,7 @@ func (x *DismountVolumeRequest) String() string { func (*DismountVolumeRequest) ProtoMessage() {} func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -255,7 +255,7 @@ func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{4} } func (x *DismountVolumeRequest) GetVolumeId() string { @@ -281,7 +281,7 @@ type DismountVolumeResponse struct { func (x *DismountVolumeResponse) Reset() { *x = DismountVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *DismountVolumeResponse) String() string { func (*DismountVolumeResponse) ProtoMessage() {} func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{5} } type IsVolumeFormattedRequest struct { @@ -322,7 +322,7 @@ type IsVolumeFormattedRequest struct { func (x *IsVolumeFormattedRequest) Reset() { *x = IsVolumeFormattedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -335,7 +335,7 @@ func (x *IsVolumeFormattedRequest) String() string { func (*IsVolumeFormattedRequest) ProtoMessage() {} func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -348,7 +348,7 @@ func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{6} } func (x *IsVolumeFormattedRequest) GetVolumeId() string { @@ -370,7 +370,7 @@ type IsVolumeFormattedResponse struct { func (x *IsVolumeFormattedResponse) Reset() { *x = IsVolumeFormattedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -383,7 +383,7 @@ func (x *IsVolumeFormattedResponse) String() string { func (*IsVolumeFormattedResponse) ProtoMessage() {} func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -396,7 +396,7 @@ func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{7} } func (x *IsVolumeFormattedResponse) GetFormatted() bool { @@ -418,7 +418,7 @@ type FormatVolumeRequest struct { func (x *FormatVolumeRequest) Reset() { *x = FormatVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -431,7 +431,7 @@ func (x *FormatVolumeRequest) String() string { func (*FormatVolumeRequest) ProtoMessage() {} func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -444,7 +444,7 @@ func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{8} } func (x *FormatVolumeRequest) GetVolumeId() string { @@ -463,7 +463,7 @@ type FormatVolumeResponse struct { func (x *FormatVolumeResponse) Reset() { *x = FormatVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -476,7 +476,7 @@ func (x *FormatVolumeResponse) String() string { func (*FormatVolumeResponse) ProtoMessage() {} func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -489,7 +489,7 @@ func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{9} } type ResizeVolumeRequest struct { @@ -506,7 +506,7 @@ type ResizeVolumeRequest struct { func (x *ResizeVolumeRequest) Reset() { *x = ResizeVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -519,7 +519,7 @@ func (x *ResizeVolumeRequest) String() string { func (*ResizeVolumeRequest) ProtoMessage() {} func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -532,7 +532,7 @@ func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{10} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{10} } func (x *ResizeVolumeRequest) GetVolumeId() string { @@ -558,7 +558,7 @@ type ResizeVolumeResponse struct { func (x *ResizeVolumeResponse) Reset() { *x = ResizeVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -571,7 +571,7 @@ func (x *ResizeVolumeResponse) String() string { func (*ResizeVolumeResponse) ProtoMessage() {} func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -584,7 +584,7 @@ func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{11} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{11} } type VolumeStatsRequest struct { @@ -599,7 +599,7 @@ type VolumeStatsRequest struct { func (x *VolumeStatsRequest) Reset() { *x = VolumeStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +612,7 @@ func (x *VolumeStatsRequest) String() string { func (*VolumeStatsRequest) ProtoMessage() {} func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +625,7 @@ func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{12} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{12} } func (x *VolumeStatsRequest) GetVolumeId() string { @@ -649,7 +649,7 @@ type VolumeStatsResponse struct { func (x *VolumeStatsResponse) Reset() { *x = VolumeStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -662,7 +662,7 @@ func (x *VolumeStatsResponse) String() string { func (*VolumeStatsResponse) ProtoMessage() {} func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -675,7 +675,7 @@ func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{13} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{13} } func (x *VolumeStatsResponse) GetVolumeSize() int64 { @@ -704,7 +704,7 @@ type VolumeDiskNumberRequest struct { func (x *VolumeDiskNumberRequest) Reset() { *x = VolumeDiskNumberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -717,7 +717,7 @@ func (x *VolumeDiskNumberRequest) String() string { func (*VolumeDiskNumberRequest) ProtoMessage() {} func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -730,7 +730,7 @@ func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{14} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{14} } func (x *VolumeDiskNumberRequest) GetVolumeId() string { @@ -752,7 +752,7 @@ type VolumeDiskNumberResponse struct { func (x *VolumeDiskNumberResponse) Reset() { *x = VolumeDiskNumberResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -765,7 +765,7 @@ func (x *VolumeDiskNumberResponse) String() string { func (*VolumeDiskNumberResponse) ProtoMessage() {} func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -778,7 +778,7 @@ func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{15} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{15} } func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { @@ -800,7 +800,7 @@ type VolumeIDFromMountRequest struct { func (x *VolumeIDFromMountRequest) Reset() { *x = VolumeIDFromMountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -813,7 +813,7 @@ func (x *VolumeIDFromMountRequest) String() string { func (*VolumeIDFromMountRequest) ProtoMessage() {} func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -826,7 +826,7 @@ func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{16} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{16} } func (x *VolumeIDFromMountRequest) GetMount() string { @@ -848,7 +848,7 @@ type VolumeIDFromMountResponse struct { func (x *VolumeIDFromMountResponse) Reset() { *x = VolumeIDFromMountResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -861,7 +861,7 @@ func (x *VolumeIDFromMountResponse) String() string { func (*VolumeIDFromMountResponse) ProtoMessage() {} func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -874,7 +874,7 @@ func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{17} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{17} } func (x *VolumeIDFromMountResponse) GetVolumeId() string { @@ -896,7 +896,7 @@ type WriteVolumeCacheRequest struct { func (x *WriteVolumeCacheRequest) Reset() { *x = WriteVolumeCacheRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +909,7 @@ func (x *WriteVolumeCacheRequest) String() string { func (*WriteVolumeCacheRequest) ProtoMessage() {} func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +922,7 @@ func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{18} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{18} } func (x *WriteVolumeCacheRequest) GetVolumeId() string { @@ -941,7 +941,7 @@ type WriteVolumeCacheResponse struct { func (x *WriteVolumeCacheResponse) Reset() { *x = WriteVolumeCacheResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -954,7 +954,7 @@ func (x *WriteVolumeCacheResponse) String() string { func (*WriteVolumeCacheResponse) ProtoMessage() {} func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -967,193 +967,200 @@ func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{19} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{19} } -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, - 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, - 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, - 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, - 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x33, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, - 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, - 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, - 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, - 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, - 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x32, 0x85, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x11, - 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, - 0x6b, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x40, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, - 0x65, 0x64, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x43, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x12, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, - 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, - 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, - 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x1b, 0x2e, 0x76, - 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x57, - 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x33, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1.VolumeIDFromMountResponse - (*WriteVolumeCacheRequest)(nil), // 18: v1.WriteVolumeCacheRequest - (*WriteVolumeCacheResponse)(nil), // 19: v1.WriteVolumeCacheResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.Volume.ListVolumesOnDisk:input_type -> v1.ListVolumesOnDiskRequest - 2, // 1: v1.Volume.MountVolume:input_type -> v1.MountVolumeRequest - 4, // 2: v1.Volume.DismountVolume:input_type -> v1.DismountVolumeRequest - 6, // 3: v1.Volume.IsVolumeFormatted:input_type -> v1.IsVolumeFormattedRequest - 8, // 4: v1.Volume.FormatVolume:input_type -> v1.FormatVolumeRequest - 10, // 5: v1.Volume.ResizeVolume:input_type -> v1.ResizeVolumeRequest - 12, // 6: v1.Volume.VolumeStats:input_type -> v1.VolumeStatsRequest - 14, // 7: v1.Volume.GetVolumeDiskNumber:input_type -> v1.VolumeDiskNumberRequest - 16, // 8: v1.Volume.GetVolumeIDFromMount:input_type -> v1.VolumeIDFromMountRequest - 18, // 9: v1.Volume.WriteVolumeCache:input_type -> v1.WriteVolumeCacheRequest - 1, // 10: v1.Volume.ListVolumesOnDisk:output_type -> v1.ListVolumesOnDiskResponse - 3, // 11: v1.Volume.MountVolume:output_type -> v1.MountVolumeResponse - 5, // 12: v1.Volume.DismountVolume:output_type -> v1.DismountVolumeResponse - 7, // 13: v1.Volume.IsVolumeFormatted:output_type -> v1.IsVolumeFormattedResponse - 9, // 14: v1.Volume.FormatVolume:output_type -> v1.FormatVolumeResponse - 11, // 15: v1.Volume.ResizeVolume:output_type -> v1.ResizeVolumeResponse - 13, // 16: v1.Volume.VolumeStats:output_type -> v1.VolumeStatsResponse - 15, // 17: v1.Volume.GetVolumeDiskNumber:output_type -> v1.VolumeDiskNumberResponse - 17, // 18: v1.Volume.GetVolumeIDFromMount:output_type -> v1.VolumeIDFromMountResponse - 19, // 19: v1.Volume.WriteVolumeCache:output_type -> v1.WriteVolumeCacheResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta3.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta3.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta3.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta3.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta3.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta3.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta3.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta3.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta3.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta3.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta3.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta3.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta3.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta3.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta3.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta3.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta3.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta3.VolumeIDFromMountResponse + (*WriteVolumeCacheRequest)(nil), // 18: v1beta3.WriteVolumeCacheRequest + (*WriteVolumeCacheResponse)(nil), // 19: v1beta3.WriteVolumeCacheResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs = []int32{ + 0, // 0: v1beta3.Volume.ListVolumesOnDisk:input_type -> v1beta3.ListVolumesOnDiskRequest + 2, // 1: v1beta3.Volume.MountVolume:input_type -> v1beta3.MountVolumeRequest + 4, // 2: v1beta3.Volume.DismountVolume:input_type -> v1beta3.DismountVolumeRequest + 6, // 3: v1beta3.Volume.IsVolumeFormatted:input_type -> v1beta3.IsVolumeFormattedRequest + 8, // 4: v1beta3.Volume.FormatVolume:input_type -> v1beta3.FormatVolumeRequest + 10, // 5: v1beta3.Volume.ResizeVolume:input_type -> v1beta3.ResizeVolumeRequest + 12, // 6: v1beta3.Volume.VolumeStats:input_type -> v1beta3.VolumeStatsRequest + 14, // 7: v1beta3.Volume.GetVolumeDiskNumber:input_type -> v1beta3.VolumeDiskNumberRequest + 16, // 8: v1beta3.Volume.GetVolumeIDFromMount:input_type -> v1beta3.VolumeIDFromMountRequest + 18, // 9: v1beta3.Volume.WriteVolumeCache:input_type -> v1beta3.WriteVolumeCacheRequest + 1, // 10: v1beta3.Volume.ListVolumesOnDisk:output_type -> v1beta3.ListVolumesOnDiskResponse + 3, // 11: v1beta3.Volume.MountVolume:output_type -> v1beta3.MountVolumeResponse + 5, // 12: v1beta3.Volume.DismountVolume:output_type -> v1beta3.DismountVolumeResponse + 7, // 13: v1beta3.Volume.IsVolumeFormatted:output_type -> v1beta3.IsVolumeFormattedResponse + 9, // 14: v1beta3.Volume.FormatVolume:output_type -> v1beta3.FormatVolumeResponse + 11, // 15: v1beta3.Volume.ResizeVolume:output_type -> v1beta3.ResizeVolumeResponse + 13, // 16: v1beta3.Volume.VolumeStats:output_type -> v1beta3.VolumeStatsResponse + 15, // 17: v1beta3.Volume.GetVolumeDiskNumber:output_type -> v1beta3.VolumeDiskNumberResponse + 17, // 18: v1beta3.Volume.GetVolumeIDFromMount:output_type -> v1beta3.VolumeIDFromMountResponse + 19, // 19: v1beta3.Volume.WriteVolumeCache:output_type -> v1beta3.WriteVolumeCacheResponse 10, // [10:20] is the sub-list for method output_type 0, // [0:10] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -1161,13 +1168,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depI 0, // [0:0] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVolumesOnDiskRequest); i { case 0: return &v.state @@ -1179,7 +1186,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVolumesOnDiskResponse); i { case 0: return &v.state @@ -1191,7 +1198,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MountVolumeRequest); i { case 0: return &v.state @@ -1203,7 +1210,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MountVolumeResponse); i { case 0: return &v.state @@ -1215,7 +1222,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DismountVolumeRequest); i { case 0: return &v.state @@ -1227,7 +1234,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DismountVolumeResponse); i { case 0: return &v.state @@ -1239,7 +1246,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsVolumeFormattedRequest); i { case 0: return &v.state @@ -1251,7 +1258,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsVolumeFormattedResponse); i { case 0: return &v.state @@ -1263,7 +1270,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FormatVolumeRequest); i { case 0: return &v.state @@ -1275,7 +1282,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FormatVolumeResponse); i { case 0: return &v.state @@ -1287,7 +1294,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResizeVolumeRequest); i { case 0: return &v.state @@ -1299,7 +1306,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResizeVolumeResponse); i { case 0: return &v.state @@ -1311,7 +1318,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeStatsRequest); i { case 0: return &v.state @@ -1323,7 +1330,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeStatsResponse); i { case 0: return &v.state @@ -1335,7 +1342,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeDiskNumberRequest); i { case 0: return &v.state @@ -1347,7 +1354,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeDiskNumberResponse); i { case 0: return &v.state @@ -1359,7 +1366,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeIDFromMountRequest); i { case 0: return &v.state @@ -1371,7 +1378,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeIDFromMountResponse); i { case 0: return &v.state @@ -1383,7 +1390,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteVolumeCacheRequest); i { case 0: return &v.state @@ -1395,7 +1402,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteVolumeCacheResponse); i { case 0: return &v.state @@ -1412,20 +1419,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc, NumEnums: 0, NumMessages: 20, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1473,7 +1480,7 @@ func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { func (c *volumeClient) ListVolumesOnDisk(ctx context.Context, in *ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*ListVolumesOnDiskResponse, error) { out := new(ListVolumesOnDiskResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/ListVolumesOnDisk", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/ListVolumesOnDisk", in, out, opts...) if err != nil { return nil, err } @@ -1482,7 +1489,7 @@ func (c *volumeClient) ListVolumesOnDisk(ctx context.Context, in *ListVolumesOnD func (c *volumeClient) MountVolume(ctx context.Context, in *MountVolumeRequest, opts ...grpc.CallOption) (*MountVolumeResponse, error) { out := new(MountVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/MountVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/MountVolume", in, out, opts...) if err != nil { return nil, err } @@ -1491,7 +1498,7 @@ func (c *volumeClient) MountVolume(ctx context.Context, in *MountVolumeRequest, func (c *volumeClient) DismountVolume(ctx context.Context, in *DismountVolumeRequest, opts ...grpc.CallOption) (*DismountVolumeResponse, error) { out := new(DismountVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/DismountVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/DismountVolume", in, out, opts...) if err != nil { return nil, err } @@ -1500,7 +1507,7 @@ func (c *volumeClient) DismountVolume(ctx context.Context, in *DismountVolumeReq func (c *volumeClient) IsVolumeFormatted(ctx context.Context, in *IsVolumeFormattedRequest, opts ...grpc.CallOption) (*IsVolumeFormattedResponse, error) { out := new(IsVolumeFormattedResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/IsVolumeFormatted", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/IsVolumeFormatted", in, out, opts...) if err != nil { return nil, err } @@ -1509,7 +1516,7 @@ func (c *volumeClient) IsVolumeFormatted(ctx context.Context, in *IsVolumeFormat func (c *volumeClient) FormatVolume(ctx context.Context, in *FormatVolumeRequest, opts ...grpc.CallOption) (*FormatVolumeResponse, error) { out := new(FormatVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/FormatVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/FormatVolume", in, out, opts...) if err != nil { return nil, err } @@ -1518,7 +1525,7 @@ func (c *volumeClient) FormatVolume(ctx context.Context, in *FormatVolumeRequest func (c *volumeClient) ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, opts ...grpc.CallOption) (*ResizeVolumeResponse, error) { out := new(ResizeVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/ResizeVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/ResizeVolume", in, out, opts...) if err != nil { return nil, err } @@ -1527,7 +1534,7 @@ func (c *volumeClient) ResizeVolume(ctx context.Context, in *ResizeVolumeRequest func (c *volumeClient) VolumeStats(ctx context.Context, in *VolumeStatsRequest, opts ...grpc.CallOption) (*VolumeStatsResponse, error) { out := new(VolumeStatsResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/VolumeStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/VolumeStats", in, out, opts...) if err != nil { return nil, err } @@ -1536,7 +1543,7 @@ func (c *volumeClient) VolumeStats(ctx context.Context, in *VolumeStatsRequest, func (c *volumeClient) GetVolumeDiskNumber(ctx context.Context, in *VolumeDiskNumberRequest, opts ...grpc.CallOption) (*VolumeDiskNumberResponse, error) { out := new(VolumeDiskNumberResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/GetVolumeDiskNumber", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/GetVolumeDiskNumber", in, out, opts...) if err != nil { return nil, err } @@ -1545,7 +1552,7 @@ func (c *volumeClient) GetVolumeDiskNumber(ctx context.Context, in *VolumeDiskNu func (c *volumeClient) GetVolumeIDFromMount(ctx context.Context, in *VolumeIDFromMountRequest, opts ...grpc.CallOption) (*VolumeIDFromMountResponse, error) { out := new(VolumeIDFromMountResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/GetVolumeIDFromMount", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/GetVolumeIDFromMount", in, out, opts...) if err != nil { return nil, err } @@ -1554,7 +1561,7 @@ func (c *volumeClient) GetVolumeIDFromMount(ctx context.Context, in *VolumeIDFro func (c *volumeClient) WriteVolumeCache(ctx context.Context, in *WriteVolumeCacheRequest, opts ...grpc.CallOption) (*WriteVolumeCacheResponse, error) { out := new(WriteVolumeCacheResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/WriteVolumeCache", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/WriteVolumeCache", in, out, opts...) if err != nil { return nil, err } @@ -1635,7 +1642,7 @@ func _Volume_ListVolumesOnDisk_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/ListVolumesOnDisk", + FullMethod: "/v1beta3.Volume/ListVolumesOnDisk", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).ListVolumesOnDisk(ctx, req.(*ListVolumesOnDiskRequest)) @@ -1653,7 +1660,7 @@ func _Volume_MountVolume_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/MountVolume", + FullMethod: "/v1beta3.Volume/MountVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).MountVolume(ctx, req.(*MountVolumeRequest)) @@ -1671,7 +1678,7 @@ func _Volume_DismountVolume_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/DismountVolume", + FullMethod: "/v1beta3.Volume/DismountVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).DismountVolume(ctx, req.(*DismountVolumeRequest)) @@ -1689,7 +1696,7 @@ func _Volume_IsVolumeFormatted_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/IsVolumeFormatted", + FullMethod: "/v1beta3.Volume/IsVolumeFormatted", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).IsVolumeFormatted(ctx, req.(*IsVolumeFormattedRequest)) @@ -1707,7 +1714,7 @@ func _Volume_FormatVolume_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/FormatVolume", + FullMethod: "/v1beta3.Volume/FormatVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).FormatVolume(ctx, req.(*FormatVolumeRequest)) @@ -1725,7 +1732,7 @@ func _Volume_ResizeVolume_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/ResizeVolume", + FullMethod: "/v1beta3.Volume/ResizeVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).ResizeVolume(ctx, req.(*ResizeVolumeRequest)) @@ -1743,7 +1750,7 @@ func _Volume_VolumeStats_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/VolumeStats", + FullMethod: "/v1beta3.Volume/VolumeStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).VolumeStats(ctx, req.(*VolumeStatsRequest)) @@ -1761,7 +1768,7 @@ func _Volume_GetVolumeDiskNumber_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/GetVolumeDiskNumber", + FullMethod: "/v1beta3.Volume/GetVolumeDiskNumber", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).GetVolumeDiskNumber(ctx, req.(*VolumeDiskNumberRequest)) @@ -1779,7 +1786,7 @@ func _Volume_GetVolumeIDFromMount_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/GetVolumeIDFromMount", + FullMethod: "/v1beta3.Volume/GetVolumeIDFromMount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).GetVolumeIDFromMount(ctx, req.(*VolumeIDFromMountRequest)) @@ -1797,7 +1804,7 @@ func _Volume_WriteVolumeCache_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/WriteVolumeCache", + FullMethod: "/v1beta3.Volume/WriteVolumeCache", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).WriteVolumeCache(ctx, req.(*WriteVolumeCacheRequest)) @@ -1806,7 +1813,7 @@ func _Volume_WriteVolumeCache_Handler(srv interface{}, ctx context.Context, dec } var _Volume_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Volume", + ServiceName: "v1beta3.Volume", HandlerType: (*VolumeServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1851,5 +1858,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto b/client/api/volume/v1beta3/api.proto similarity index 99% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto rename to client/api/volume/v1beta3/api.proto index e2577db7..e15931f7 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto +++ b/client/api/volume/v1beta3/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta3; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3"; service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1/client_generated.go b/client/groups/disk/v1beta3/client_generated.go similarity index 67% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1/client_generated.go rename to client/groups/disk/v1beta3/client_generated.go index 600c9e70..e16f595a 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1/client_generated.go +++ b/client/groups/disk/v1beta3/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta3 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "disk" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta3") type Client struct { - client v1.DiskClient + client v1beta3.DiskClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the disk API group version v1. +// NewClient returns a client to make calls to the disk API group version v1beta3. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewDiskClient(connection) + client := v1beta3.NewDiskClient(connection) return &Client{ client: client, connection: connection, @@ -63,32 +63,32 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.DiskClient = &Client{} +var _ v1beta3.DiskClient = &Client{} -func (w *Client) DiskStats(context context.Context, request *v1.DiskStatsRequest, opts ...grpc.CallOption) (*v1.DiskStatsResponse, error) { +func (w *Client) DiskStats(context context.Context, request *v1beta3.DiskStatsRequest, opts ...grpc.CallOption) (*v1beta3.DiskStatsResponse, error) { return w.client.DiskStats(context, request, opts...) } -func (w *Client) GetAttachState(context context.Context, request *v1.GetAttachStateRequest, opts ...grpc.CallOption) (*v1.GetAttachStateResponse, error) { +func (w *Client) GetAttachState(context context.Context, request *v1beta3.GetAttachStateRequest, opts ...grpc.CallOption) (*v1beta3.GetAttachStateResponse, error) { return w.client.GetAttachState(context, request, opts...) } -func (w *Client) ListDiskIDs(context context.Context, request *v1.ListDiskIDsRequest, opts ...grpc.CallOption) (*v1.ListDiskIDsResponse, error) { +func (w *Client) ListDiskIDs(context context.Context, request *v1beta3.ListDiskIDsRequest, opts ...grpc.CallOption) (*v1beta3.ListDiskIDsResponse, error) { return w.client.ListDiskIDs(context, request, opts...) } -func (w *Client) ListDiskLocations(context context.Context, request *v1.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1.ListDiskLocationsResponse, error) { +func (w *Client) ListDiskLocations(context context.Context, request *v1beta3.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1beta3.ListDiskLocationsResponse, error) { return w.client.ListDiskLocations(context, request, opts...) } -func (w *Client) PartitionDisk(context context.Context, request *v1.PartitionDiskRequest, opts ...grpc.CallOption) (*v1.PartitionDiskResponse, error) { +func (w *Client) PartitionDisk(context context.Context, request *v1beta3.PartitionDiskRequest, opts ...grpc.CallOption) (*v1beta3.PartitionDiskResponse, error) { return w.client.PartitionDisk(context, request, opts...) } -func (w *Client) Rescan(context context.Context, request *v1.RescanRequest, opts ...grpc.CallOption) (*v1.RescanResponse, error) { +func (w *Client) Rescan(context context.Context, request *v1beta3.RescanRequest, opts ...grpc.CallOption) (*v1beta3.RescanResponse, error) { return w.client.Rescan(context, request, opts...) } -func (w *Client) SetAttachState(context context.Context, request *v1.SetAttachStateRequest, opts ...grpc.CallOption) (*v1.SetAttachStateResponse, error) { +func (w *Client) SetAttachState(context context.Context, request *v1beta3.SetAttachStateRequest, opts ...grpc.CallOption) (*v1beta3.SetAttachStateResponse, error) { return w.client.SetAttachState(context, request, opts...) } diff --git a/client/groups/filesystem/v1/client_generated.go b/client/groups/filesystem/v1beta2/client_generated.go similarity index 68% rename from client/groups/filesystem/v1/client_generated.go rename to client/groups/filesystem/v1beta2/client_generated.go index d3c9d858..de152607 100644 --- a/client/groups/filesystem/v1/client_generated.go +++ b/client/groups/filesystem/v1beta2/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "filesystem" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta2") type Client struct { - client v1.FilesystemClient + client v1beta2.FilesystemClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the filesystem API group version v1. +// NewClient returns a client to make calls to the filesystem API group version v1beta2. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewFilesystemClient(connection) + client := v1beta2.NewFilesystemClient(connection) return &Client{ client: client, connection: connection, @@ -63,24 +63,24 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.FilesystemClient = &Client{} +var _ v1beta2.FilesystemClient = &Client{} -func (w *Client) IsMountPoint(context context.Context, request *v1.IsMountPointRequest, opts ...grpc.CallOption) (*v1.IsMountPointResponse, error) { +func (w *Client) IsMountPoint(context context.Context, request *v1beta2.IsMountPointRequest, opts ...grpc.CallOption) (*v1beta2.IsMountPointResponse, error) { return w.client.IsMountPoint(context, request, opts...) } -func (w *Client) LinkPath(context context.Context, request *v1.LinkPathRequest, opts ...grpc.CallOption) (*v1.LinkPathResponse, error) { +func (w *Client) LinkPath(context context.Context, request *v1beta2.LinkPathRequest, opts ...grpc.CallOption) (*v1beta2.LinkPathResponse, error) { return w.client.LinkPath(context, request, opts...) } -func (w *Client) Mkdir(context context.Context, request *v1.MkdirRequest, opts ...grpc.CallOption) (*v1.MkdirResponse, error) { +func (w *Client) Mkdir(context context.Context, request *v1beta2.MkdirRequest, opts ...grpc.CallOption) (*v1beta2.MkdirResponse, error) { return w.client.Mkdir(context, request, opts...) } -func (w *Client) PathExists(context context.Context, request *v1.PathExistsRequest, opts ...grpc.CallOption) (*v1.PathExistsResponse, error) { +func (w *Client) PathExists(context context.Context, request *v1beta2.PathExistsRequest, opts ...grpc.CallOption) (*v1beta2.PathExistsResponse, error) { return w.client.PathExists(context, request, opts...) } -func (w *Client) Rmdir(context context.Context, request *v1.RmdirRequest, opts ...grpc.CallOption) (*v1.RmdirResponse, error) { +func (w *Client) Rmdir(context context.Context, request *v1beta2.RmdirRequest, opts ...grpc.CallOption) (*v1beta2.RmdirResponse, error) { return w.client.Rmdir(context, request, opts...) } diff --git a/client/groups/smb/v1/client_generated.go b/client/groups/smb/v1beta2/client_generated.go similarity index 77% rename from client/groups/smb/v1/client_generated.go rename to client/groups/smb/v1beta2/client_generated.go index a154fd33..94a92547 100644 --- a/client/groups/smb/v1/client_generated.go +++ b/client/groups/smb/v1beta2/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "smb" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta2") type Client struct { - client v1.SmbClient + client v1beta2.SmbClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the smb API group version v1. +// NewClient returns a client to make calls to the smb API group version v1beta2. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewSmbClient(connection) + client := v1beta2.NewSmbClient(connection) return &Client{ client: client, connection: connection, @@ -63,12 +63,12 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.SmbClient = &Client{} +var _ v1beta2.SmbClient = &Client{} -func (w *Client) NewSmbGlobalMapping(context context.Context, request *v1.NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1.NewSmbGlobalMappingResponse, error) { +func (w *Client) NewSmbGlobalMapping(context context.Context, request *v1beta2.NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1beta2.NewSmbGlobalMappingResponse, error) { return w.client.NewSmbGlobalMapping(context, request, opts...) } -func (w *Client) RemoveSmbGlobalMapping(context context.Context, request *v1.RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1.RemoveSmbGlobalMappingResponse, error) { +func (w *Client) RemoveSmbGlobalMapping(context context.Context, request *v1beta2.RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1beta2.RemoveSmbGlobalMappingResponse, error) { return w.client.RemoveSmbGlobalMapping(context, request, opts...) } diff --git a/client/groups/volume/v1/client_generated.go b/client/groups/volume/v1beta3/client_generated.go similarity index 68% rename from client/groups/volume/v1/client_generated.go rename to client/groups/volume/v1beta3/client_generated.go index 7bf386b6..5467dc78 100644 --- a/client/groups/volume/v1/client_generated.go +++ b/client/groups/volume/v1beta3/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta3 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "volume" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta3") type Client struct { - client v1.VolumeClient + client v1beta3.VolumeClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the volume API group version v1. +// NewClient returns a client to make calls to the volume API group version v1beta3. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewVolumeClient(connection) + client := v1beta3.NewVolumeClient(connection) return &Client{ client: client, connection: connection, @@ -63,44 +63,44 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.VolumeClient = &Client{} +var _ v1beta3.VolumeClient = &Client{} -func (w *Client) DismountVolume(context context.Context, request *v1.DismountVolumeRequest, opts ...grpc.CallOption) (*v1.DismountVolumeResponse, error) { +func (w *Client) DismountVolume(context context.Context, request *v1beta3.DismountVolumeRequest, opts ...grpc.CallOption) (*v1beta3.DismountVolumeResponse, error) { return w.client.DismountVolume(context, request, opts...) } -func (w *Client) FormatVolume(context context.Context, request *v1.FormatVolumeRequest, opts ...grpc.CallOption) (*v1.FormatVolumeResponse, error) { +func (w *Client) FormatVolume(context context.Context, request *v1beta3.FormatVolumeRequest, opts ...grpc.CallOption) (*v1beta3.FormatVolumeResponse, error) { return w.client.FormatVolume(context, request, opts...) } -func (w *Client) GetVolumeDiskNumber(context context.Context, request *v1.VolumeDiskNumberRequest, opts ...grpc.CallOption) (*v1.VolumeDiskNumberResponse, error) { +func (w *Client) GetVolumeDiskNumber(context context.Context, request *v1beta3.VolumeDiskNumberRequest, opts ...grpc.CallOption) (*v1beta3.VolumeDiskNumberResponse, error) { return w.client.GetVolumeDiskNumber(context, request, opts...) } -func (w *Client) GetVolumeIDFromMount(context context.Context, request *v1.VolumeIDFromMountRequest, opts ...grpc.CallOption) (*v1.VolumeIDFromMountResponse, error) { +func (w *Client) GetVolumeIDFromMount(context context.Context, request *v1beta3.VolumeIDFromMountRequest, opts ...grpc.CallOption) (*v1beta3.VolumeIDFromMountResponse, error) { return w.client.GetVolumeIDFromMount(context, request, opts...) } -func (w *Client) IsVolumeFormatted(context context.Context, request *v1.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1.IsVolumeFormattedResponse, error) { +func (w *Client) IsVolumeFormatted(context context.Context, request *v1beta3.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1beta3.IsVolumeFormattedResponse, error) { return w.client.IsVolumeFormatted(context, request, opts...) } -func (w *Client) ListVolumesOnDisk(context context.Context, request *v1.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1.ListVolumesOnDiskResponse, error) { +func (w *Client) ListVolumesOnDisk(context context.Context, request *v1beta3.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1beta3.ListVolumesOnDiskResponse, error) { return w.client.ListVolumesOnDisk(context, request, opts...) } -func (w *Client) MountVolume(context context.Context, request *v1.MountVolumeRequest, opts ...grpc.CallOption) (*v1.MountVolumeResponse, error) { +func (w *Client) MountVolume(context context.Context, request *v1beta3.MountVolumeRequest, opts ...grpc.CallOption) (*v1beta3.MountVolumeResponse, error) { return w.client.MountVolume(context, request, opts...) } -func (w *Client) ResizeVolume(context context.Context, request *v1.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1.ResizeVolumeResponse, error) { +func (w *Client) ResizeVolume(context context.Context, request *v1beta3.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1beta3.ResizeVolumeResponse, error) { return w.client.ResizeVolume(context, request, opts...) } -func (w *Client) VolumeStats(context context.Context, request *v1.VolumeStatsRequest, opts ...grpc.CallOption) (*v1.VolumeStatsResponse, error) { +func (w *Client) VolumeStats(context context.Context, request *v1beta3.VolumeStatsRequest, opts ...grpc.CallOption) (*v1beta3.VolumeStatsResponse, error) { return w.client.VolumeStats(context, request, opts...) } -func (w *Client) WriteVolumeCache(context context.Context, request *v1.WriteVolumeCacheRequest, opts ...grpc.CallOption) (*v1.WriteVolumeCacheResponse, error) { +func (w *Client) WriteVolumeCache(context context.Context, request *v1beta3.WriteVolumeCacheRequest, opts ...grpc.CallOption) (*v1beta3.WriteVolumeCacheResponse, error) { return w.client.WriteVolumeCache(context, request, opts...) } diff --git a/go.mod b/go.mod index 9b569eb7..19c3097e 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,6 @@ replace ( require ( github.com/Microsoft/go-winio v0.4.16 - github.com/golang/protobuf v1.4.1 github.com/google/go-cmp v0.5.0 github.com/iancoleman/strcase v0.0.0-20190422225806-e506e3ef7365 github.com/kubernetes-csi/csi-proxy/client v0.0.0-00010101000000-000000000000 diff --git a/integrationtests/apigroups/api/dummy/v1/api.pb.go b/integrationtests/apigroups/api/dummy/v1/api.pb.go index 920a2f0c..d9b70d81 100644 --- a/integrationtests/apigroups/api/dummy/v1/api.pb.go +++ b/integrationtests/apigroups/api/dummy/v1/api.pb.go @@ -1,225 +1,371 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1/api.proto package v1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ComputeDoubleRequest struct { - Input64 int64 `protobuf:"varint,1,opt,name=input64,proto3" json:"input64,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ComputeDoubleRequest) Reset() { *m = ComputeDoubleRequest{} } -func (m *ComputeDoubleRequest) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleRequest) ProtoMessage() {} -func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2fd7f62e8390d1d5, []int{0} + Input64 int64 `protobuf:"varint,1,opt,name=input64,proto3" json:"input64,omitempty"` } -func (m *ComputeDoubleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleRequest.Unmarshal(m, b) -} -func (m *ComputeDoubleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleRequest.Marshal(b, m, deterministic) -} -func (m *ComputeDoubleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleRequest.Merge(m, src) +func (x *ComputeDoubleRequest) Reset() { + *x = ComputeDoubleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleRequest) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleRequest.Size(m) + +func (x *ComputeDoubleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleRequest.DiscardUnknown(m) + +func (*ComputeDoubleRequest) ProtoMessage() {} + +func (x *ComputeDoubleRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_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) } -var xxx_messageInfo_ComputeDoubleRequest proto.InternalMessageInfo +// Deprecated: Use ComputeDoubleRequest.ProtoReflect.Descriptor instead. +func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescGZIP(), []int{0} +} -func (m *ComputeDoubleRequest) GetInput64() int64 { - if m != nil { - return m.Input64 +func (x *ComputeDoubleRequest) GetInput64() int64 { + if x != nil { + return x.Input64 } return 0 } type ComputeDoubleResponse struct { - Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ComputeDoubleResponse) Reset() { *m = ComputeDoubleResponse{} } -func (m *ComputeDoubleResponse) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleResponse) ProtoMessage() {} -func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2fd7f62e8390d1d5, []int{1} + Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` } -func (m *ComputeDoubleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleResponse.Unmarshal(m, b) -} -func (m *ComputeDoubleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleResponse.Marshal(b, m, deterministic) -} -func (m *ComputeDoubleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleResponse.Merge(m, src) +func (x *ComputeDoubleResponse) Reset() { + *x = ComputeDoubleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleResponse) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleResponse.Size(m) + +func (x *ComputeDoubleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleResponse.DiscardUnknown(m) + +func (*ComputeDoubleResponse) ProtoMessage() {} + +func (x *ComputeDoubleResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_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) } -var xxx_messageInfo_ComputeDoubleResponse proto.InternalMessageInfo +// Deprecated: Use ComputeDoubleResponse.ProtoReflect.Descriptor instead. +func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescGZIP(), []int{1} +} -func (m *ComputeDoubleResponse) GetResponse() int64 { - if m != nil { - return m.Response +func (x *ComputeDoubleResponse) GetResponse() int64 { + if x != nil { + return x.Response } return 0 } type TellMeAPoemRequest struct { - IWantATitle bool `protobuf:"varint,1,opt,name=i_want_a_title,json=iWantATitle,proto3" json:"i_want_a_title,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TellMeAPoemRequest) Reset() { *m = TellMeAPoemRequest{} } -func (m *TellMeAPoemRequest) String() string { return proto.CompactTextString(m) } -func (*TellMeAPoemRequest) ProtoMessage() {} -func (*TellMeAPoemRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2fd7f62e8390d1d5, []int{2} + IWantATitle bool `protobuf:"varint,1,opt,name=i_want_a_title,json=iWantATitle,proto3" json:"i_want_a_title,omitempty"` } -func (m *TellMeAPoemRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TellMeAPoemRequest.Unmarshal(m, b) -} -func (m *TellMeAPoemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TellMeAPoemRequest.Marshal(b, m, deterministic) -} -func (m *TellMeAPoemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TellMeAPoemRequest.Merge(m, src) +func (x *TellMeAPoemRequest) Reset() { + *x = TellMeAPoemRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TellMeAPoemRequest) XXX_Size() int { - return xxx_messageInfo_TellMeAPoemRequest.Size(m) + +func (x *TellMeAPoemRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TellMeAPoemRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TellMeAPoemRequest.DiscardUnknown(m) + +func (*TellMeAPoemRequest) ProtoMessage() {} + +func (x *TellMeAPoemRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_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) } -var xxx_messageInfo_TellMeAPoemRequest proto.InternalMessageInfo +// Deprecated: Use TellMeAPoemRequest.ProtoReflect.Descriptor instead. +func (*TellMeAPoemRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescGZIP(), []int{2} +} -func (m *TellMeAPoemRequest) GetIWantATitle() bool { - if m != nil { - return m.IWantATitle +func (x *TellMeAPoemRequest) GetIWantATitle() bool { + if x != nil { + return x.IWantATitle } return false } type TellMeAPoemResponse struct { - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Lines []string `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TellMeAPoemResponse) Reset() { *m = TellMeAPoemResponse{} } -func (m *TellMeAPoemResponse) String() string { return proto.CompactTextString(m) } -func (*TellMeAPoemResponse) ProtoMessage() {} -func (*TellMeAPoemResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2fd7f62e8390d1d5, []int{3} + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Lines []string `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"` } -func (m *TellMeAPoemResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TellMeAPoemResponse.Unmarshal(m, b) -} -func (m *TellMeAPoemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TellMeAPoemResponse.Marshal(b, m, deterministic) -} -func (m *TellMeAPoemResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TellMeAPoemResponse.Merge(m, src) +func (x *TellMeAPoemResponse) Reset() { + *x = TellMeAPoemResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TellMeAPoemResponse) XXX_Size() int { - return xxx_messageInfo_TellMeAPoemResponse.Size(m) + +func (x *TellMeAPoemResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TellMeAPoemResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TellMeAPoemResponse.DiscardUnknown(m) + +func (*TellMeAPoemResponse) ProtoMessage() {} + +func (x *TellMeAPoemResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TellMeAPoemResponse proto.InternalMessageInfo +// Deprecated: Use TellMeAPoemResponse.ProtoReflect.Descriptor instead. +func (*TellMeAPoemResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescGZIP(), []int{3} +} -func (m *TellMeAPoemResponse) GetTitle() string { - if m != nil { - return m.Title +func (x *TellMeAPoemResponse) GetTitle() string { + if x != nil { + return x.Title } return "" } -func (m *TellMeAPoemResponse) GetLines() []string { - if m != nil { - return m.Lines +func (x *TellMeAPoemResponse) GetLines() []string { + if x != nil { + return x.Lines } return nil } -func init() { - proto.RegisterType((*ComputeDoubleRequest)(nil), "v1.ComputeDoubleRequest") - proto.RegisterType((*ComputeDoubleResponse)(nil), "v1.ComputeDoubleResponse") - proto.RegisterType((*TellMeAPoemRequest)(nil), "v1.TellMeAPoemRequest") - proto.RegisterType((*TellMeAPoemResponse)(nil), "v1.TellMeAPoemResponse") +var File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDesc = []byte{ + 0x0a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x30, 0x0a, 0x14, 0x43, + 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x36, 0x34, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x36, 0x34, 0x22, 0x33, 0x0a, + 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x39, 0x0a, 0x12, 0x54, 0x65, 0x6c, 0x6c, 0x4d, 0x65, 0x41, 0x50, 0x6f, 0x65, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0e, 0x69, 0x5f, 0x77, 0x61, + 0x6e, 0x74, 0x5f, 0x61, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x69, 0x57, 0x61, 0x6e, 0x74, 0x41, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x41, 0x0a, + 0x13, 0x54, 0x65, 0x6c, 0x6c, 0x4d, 0x65, 0x41, 0x50, 0x6f, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6e, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, + 0x32, 0x91, 0x01, 0x0a, 0x05, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x12, 0x46, 0x0a, 0x0d, 0x43, 0x6f, + 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, + 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x54, 0x65, 0x6c, 0x6c, 0x4d, 0x65, 0x41, 0x50, 0x6f, 0x65, + 0x6d, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x6c, 0x6c, 0x4d, 0x65, 0x41, 0x50, 0x6f, + 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x65, 0x6c, 0x6c, 0x4d, 0x65, 0x41, 0x50, 0x6f, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, + 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, + 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_goTypes = []interface{}{ + (*ComputeDoubleRequest)(nil), // 0: v1.ComputeDoubleRequest + (*ComputeDoubleResponse)(nil), // 1: v1.ComputeDoubleResponse + (*TellMeAPoemRequest)(nil), // 2: v1.TellMeAPoemRequest + (*TellMeAPoemResponse)(nil), // 3: v1.TellMeAPoemResponse +} +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_depIdxs = []int32{ + 0, // 0: v1.Dummy.ComputeDouble:input_type -> v1.ComputeDoubleRequest + 2, // 1: v1.Dummy.TellMeAPoem:input_type -> v1.TellMeAPoemRequest + 1, // 2: v1.Dummy.ComputeDouble:output_type -> v1.ComputeDoubleResponse + 3, // 3: v1.Dummy.TellMeAPoem:output_type -> v1.TellMeAPoemResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] 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() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1/api.proto", fileDescriptor_2fd7f62e8390d1d5) -} - -var fileDescriptor_2fd7f62e8390d1d5 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x41, 0x4f, 0x3a, 0x31, - 0x10, 0xc5, 0xff, 0x40, 0xf8, 0x8b, 0x43, 0xf4, 0x50, 0x51, 0x57, 0x4e, 0x64, 0xbd, 0x78, 0x61, - 0x2b, 0x62, 0x4c, 0xbc, 0x49, 0x24, 0xde, 0x4c, 0xcc, 0x06, 0xe3, 0x91, 0xec, 0xe2, 0x04, 0x1b, - 0x77, 0xdb, 0xda, 0x4e, 0x51, 0x3e, 0x86, 0xdf, 0xd8, 0x74, 0xd9, 0x55, 0x11, 0x6e, 0xf3, 0x5e, - 0xfb, 0xeb, 0xcc, 0xeb, 0xc0, 0xe3, 0x5c, 0xd0, 0x8b, 0x4b, 0xa3, 0x99, 0xca, 0xf9, 0xab, 0x4b, - 0xd1, 0x48, 0x24, 0xb4, 0xfd, 0x99, 0x15, 0x7c, 0x66, 0x45, 0x5f, 0x1b, 0xf5, 0xb1, 0xe4, 0x42, - 0x12, 0xce, 0x4d, 0x42, 0x42, 0x49, 0x42, 0x4b, 0x96, 0x27, 0x5a, 0xcc, 0x8d, 0x72, 0xba, 0xa8, - 0xf8, 0xb3, 0xcb, 0xf3, 0x25, 0x5f, 0x0c, 0xbc, 0x88, 0xb4, 0x51, 0xa4, 0x58, 0x7d, 0x31, 0x08, - 0xcf, 0xa1, 0x73, 0xab, 0x72, 0xed, 0x08, 0xc7, 0xca, 0xa5, 0x19, 0xc6, 0xf8, 0xe6, 0xd0, 0x12, - 0x0b, 0x60, 0x47, 0x48, 0xed, 0xe8, 0xea, 0x32, 0xa8, 0xf5, 0x6a, 0x67, 0x8d, 0xb8, 0x92, 0xe1, - 0x10, 0x0e, 0xff, 0x10, 0x56, 0x2b, 0x69, 0x91, 0x75, 0xa1, 0x65, 0xca, 0xba, 0x64, 0xbe, 0x75, - 0x78, 0x0d, 0x6c, 0x82, 0x59, 0x76, 0x8f, 0xa3, 0x07, 0x85, 0x79, 0xd5, 0xe4, 0x14, 0xf6, 0xc5, - 0xf4, 0x3d, 0x91, 0x34, 0x4d, 0xa6, 0x24, 0x28, 0x5b, 0x71, 0xad, 0xb8, 0x2d, 0x9e, 0x12, 0x49, - 0xa3, 0x89, 0xb7, 0xc2, 0x11, 0x1c, 0xac, 0xa1, 0x65, 0xb7, 0x0e, 0x34, 0x7f, 0x90, 0xdd, 0x78, - 0x25, 0xbc, 0x9b, 0x09, 0x89, 0x36, 0xa8, 0xf7, 0x1a, 0xde, 0x2d, 0xc4, 0xc5, 0x67, 0x0d, 0x9a, - 0x63, 0x9f, 0x9f, 0xdd, 0xc1, 0xde, 0xda, 0xf0, 0x2c, 0x88, 0x16, 0x83, 0x68, 0xdb, 0x0f, 0x74, - 0x4f, 0xb6, 0x9c, 0x94, 0x69, 0xfe, 0xb1, 0x1b, 0x68, 0xff, 0x1a, 0x8a, 0x1d, 0xf9, 0xbb, 0x9b, - 0x01, 0xbb, 0xc7, 0x1b, 0x7e, 0xf5, 0x42, 0xfa, 0xbf, 0xd8, 0xc1, 0xf0, 0x2b, 0x00, 0x00, 0xff, - 0xff, 0x35, 0x08, 0x39, 0xb6, 0xdc, 0x01, 0x00, 0x00, + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_init() +} +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TellMeAPoemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TellMeAPoemResponse); 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_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -278,10 +424,10 @@ type DummyServer interface { type UnimplementedDummyServer struct { } -func (*UnimplementedDummyServer) ComputeDouble(ctx context.Context, req *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { +func (*UnimplementedDummyServer) ComputeDouble(context.Context, *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ComputeDouble not implemented") } -func (*UnimplementedDummyServer) TellMeAPoem(ctx context.Context, req *TellMeAPoemRequest) (*TellMeAPoemResponse, error) { +func (*UnimplementedDummyServer) TellMeAPoem(context.Context, *TellMeAPoemRequest) (*TellMeAPoemResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TellMeAPoem not implemented") } diff --git a/integrationtests/apigroups/api/dummy/v1/api.proto b/integrationtests/apigroups/api/dummy/v1/api.proto index 146759e9..5e28e424 100644 --- a/integrationtests/apigroups/api/dummy/v1/api.proto +++ b/integrationtests/apigroups/api/dummy/v1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1; +option go_package = "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1"; + service Dummy { // ComputeDouble computes the double of the input. Real smart stuff! rpc ComputeDouble(ComputeDoubleRequest) returns (ComputeDoubleResponse) {} diff --git a/integrationtests/apigroups/api/dummy/v1alpha1/api.pb.go b/integrationtests/apigroups/api/dummy/v1alpha1/api.pb.go index cdfda39f..732218b4 100644 --- a/integrationtests/apigroups/api/dummy/v1alpha1/api.pb.go +++ b/integrationtests/apigroups/api/dummy/v1alpha1/api.pb.go @@ -1,4 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha1/api.proto // Deprecated: Do not use. @@ -8,129 +11,227 @@ package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ComputeDoubleRequest struct { - Input32 int32 `protobuf:"varint,1,opt,name=input32,proto3" json:"input32,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ComputeDoubleRequest) Reset() { *m = ComputeDoubleRequest{} } -func (m *ComputeDoubleRequest) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleRequest) ProtoMessage() {} -func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_07d739019a1ce9cc, []int{0} + // Deprecated: Do not use. + Input32 int32 `protobuf:"varint,1,opt,name=input32,proto3" json:"input32,omitempty"` } -func (m *ComputeDoubleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleRequest.Unmarshal(m, b) -} -func (m *ComputeDoubleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleRequest.Marshal(b, m, deterministic) -} -func (m *ComputeDoubleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleRequest.Merge(m, src) +func (x *ComputeDoubleRequest) Reset() { + *x = ComputeDoubleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleRequest) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleRequest.Size(m) + +func (x *ComputeDoubleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleRequest.DiscardUnknown(m) + +func (*ComputeDoubleRequest) ProtoMessage() {} + +func (x *ComputeDoubleRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_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) } -var xxx_messageInfo_ComputeDoubleRequest proto.InternalMessageInfo +// Deprecated: Use ComputeDoubleRequest.ProtoReflect.Descriptor instead. +func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} // Deprecated: Do not use. -func (m *ComputeDoubleRequest) GetInput32() int32 { - if m != nil { - return m.Input32 +func (x *ComputeDoubleRequest) GetInput32() int32 { + if x != nil { + return x.Input32 } return 0 } type ComputeDoubleResponse struct { - Response32 int32 `protobuf:"varint,1,opt,name=response32,proto3" json:"response32,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response32 int32 `protobuf:"varint,1,opt,name=response32,proto3" json:"response32,omitempty"` } -func (m *ComputeDoubleResponse) Reset() { *m = ComputeDoubleResponse{} } -func (m *ComputeDoubleResponse) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleResponse) ProtoMessage() {} -func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_07d739019a1ce9cc, []int{1} +func (x *ComputeDoubleResponse) Reset() { + *x = ComputeDoubleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleResponse.Unmarshal(m, b) +func (x *ComputeDoubleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleResponse.Marshal(b, m, deterministic) + +func (*ComputeDoubleResponse) ProtoMessage() {} + +func (x *ComputeDoubleResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_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) } -func (m *ComputeDoubleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleResponse.Merge(m, src) + +// Deprecated: Use ComputeDoubleResponse.ProtoReflect.Descriptor instead. +func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescGZIP(), []int{1} } -func (m *ComputeDoubleResponse) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleResponse.Size(m) + +func (x *ComputeDoubleResponse) GetResponse32() int32 { + if x != nil { + return x.Response32 + } + return 0 } -func (m *ComputeDoubleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleResponse.DiscardUnknown(m) + +var File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x34, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x75, + 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1c, 0x0a, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x33, 0x32, 0x22, 0x37, 0x0a, + 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x33, 0x32, 0x32, 0x5e, 0x0a, 0x05, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x12, + 0x55, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, + 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, + 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x61, + 0x70, 0x69, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x75, 0x6d, + 0x6d, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } -var xxx_messageInfo_ComputeDoubleResponse proto.InternalMessageInfo +var ( + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDesc +) -func (m *ComputeDoubleResponse) GetResponse32() int32 { - if m != nil { - return m.Response32 - } - return 0 +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDescData } -func init() { - proto.RegisterType((*ComputeDoubleRequest)(nil), "v1alpha1.ComputeDoubleRequest") - proto.RegisterType((*ComputeDoubleResponse)(nil), "v1alpha1.ComputeDoubleResponse") +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_goTypes = []interface{}{ + (*ComputeDoubleRequest)(nil), // 0: v1alpha1.ComputeDoubleRequest + (*ComputeDoubleResponse)(nil), // 1: v1alpha1.ComputeDoubleResponse +} +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.Dummy.ComputeDouble:input_type -> v1alpha1.ComputeDoubleRequest + 1, // 1: v1alpha1.Dummy.ComputeDouble:output_type -> v1alpha1.ComputeDoubleResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] 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() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha1/api.proto", fileDescriptor_07d739019a1ce9cc) -} - -var fileDescriptor_07d739019a1ce9cc = []byte{ - // 223 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8f, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x86, 0x49, 0xa5, 0x2a, 0x03, 0x5e, 0x16, 0x85, 0x22, 0x52, 0x25, 0x27, 0x2f, 0xcd, 0xd2, - 0x56, 0xf0, 0xae, 0x7d, 0x82, 0x80, 0x27, 0x41, 0x48, 0xe2, 0x90, 0x2e, 0x36, 0x3b, 0xe3, 0xce, - 0x8c, 0xd8, 0x37, 0xf0, 0xb1, 0xa5, 0xd1, 0x80, 0x8a, 0xbd, 0xfd, 0x7c, 0xc3, 0xff, 0xf3, 0x0d, - 0x3c, 0xb6, 0x41, 0xd7, 0x56, 0x17, 0x0d, 0x75, 0xfe, 0xc5, 0x6a, 0x4c, 0x11, 0x15, 0x65, 0xd6, - 0x48, 0xf0, 0x8d, 0x84, 0x19, 0x27, 0x7a, 0xdf, 0xfa, 0x10, 0x15, 0xdb, 0x54, 0x69, 0xa0, 0xa8, - 0x28, 0x2a, 0xbe, 0xe2, 0xd0, 0x26, 0x32, 0xee, 0x93, 0x7f, 0xb6, 0xae, 0xdb, 0xfa, 0xb7, 0x79, - 0xb5, 0xe1, 0x75, 0x35, 0xdf, 0xa1, 0x82, 0x13, 0x29, 0xb9, 0xe3, 0x81, 0xe5, 0x37, 0x70, 0x7a, - 0x4f, 0x1d, 0x9b, 0xe2, 0x8a, 0xac, 0xde, 0x60, 0x89, 0xaf, 0x86, 0xa2, 0xee, 0x02, 0x8e, 0x42, - 0x64, 0xd3, 0xe5, 0x62, 0x92, 0x5d, 0x65, 0xd7, 0xe3, 0xbb, 0xd1, 0x24, 0x2b, 0x07, 0x94, 0xdf, - 0xc2, 0xd9, 0x9f, 0x96, 0x30, 0x45, 0x41, 0x37, 0x05, 0x48, 0xdf, 0x79, 0x68, 0x96, 0x3f, 0xc8, - 0xe2, 0x09, 0xc6, 0xab, 0x9d, 0x94, 0x7b, 0x80, 0x93, 0x5f, 0x0b, 0x6e, 0x5a, 0x0c, 0x4e, 0xc5, - 0x7f, 0x42, 0xe7, 0x97, 0x7b, 0xef, 0x5f, 0xe3, 0xf9, 0xc1, 0xc7, 0x28, 0xab, 0x0f, 0xfb, 0xff, - 0x96, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x93, 0xe6, 0xf6, 0x57, 0x3e, 0x01, 0x00, 0x00, + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_init() +} +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleResponse); 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_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -145,9 +246,8 @@ const _ = grpc.SupportPackageIsVersion6 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type DummyClient interface { - // ComputeDouble computes the double of the input. Real smart stuff! - // // Deprecated: Do not use. + // ComputeDouble computes the double of the input. Real smart stuff! ComputeDouble(ctx context.Context, in *ComputeDoubleRequest, opts ...grpc.CallOption) (*ComputeDoubleResponse, error) } @@ -171,9 +271,8 @@ func (c *dummyClient) ComputeDouble(ctx context.Context, in *ComputeDoubleReques // DummyServer is the server API for Dummy service. type DummyServer interface { - // ComputeDouble computes the double of the input. Real smart stuff! - // // Deprecated: Do not use. + // ComputeDouble computes the double of the input. Real smart stuff! ComputeDouble(context.Context, *ComputeDoubleRequest) (*ComputeDoubleResponse, error) } @@ -181,7 +280,7 @@ type DummyServer interface { type UnimplementedDummyServer struct { } -func (*UnimplementedDummyServer) ComputeDouble(ctx context.Context, req *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { +func (*UnimplementedDummyServer) ComputeDouble(context.Context, *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ComputeDouble not implemented") } diff --git a/integrationtests/apigroups/api/dummy/v1alpha1/api.proto b/integrationtests/apigroups/api/dummy/v1alpha1/api.proto index 8351208b..cb172836 100644 --- a/integrationtests/apigroups/api/dummy/v1alpha1/api.proto +++ b/integrationtests/apigroups/api/dummy/v1alpha1/api.proto @@ -4,6 +4,8 @@ syntax = "proto3"; // v1alpha1 is no longer maintained, and will be removed soon. package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha1"; + service Dummy { // ComputeDouble computes the double of the input. Real smart stuff! rpc ComputeDouble(ComputeDoubleRequest) returns (ComputeDoubleResponse) { diff --git a/integrationtests/apigroups/api/dummy/v1alpha2/api.pb.go b/integrationtests/apigroups/api/dummy/v1alpha2/api.pb.go index e8205e9a..1e80e387 100644 --- a/integrationtests/apigroups/api/dummy/v1alpha2/api.pb.go +++ b/integrationtests/apigroups/api/dummy/v1alpha2/api.pb.go @@ -1,133 +1,232 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha2/api.proto package v1alpha2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ComputeDoubleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // we changed in favor of an int64 field here - Input64 int64 `protobuf:"varint,1,opt,name=input64,proto3" json:"input64,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Input64 int64 `protobuf:"varint,1,opt,name=input64,proto3" json:"input64,omitempty"` } -func (m *ComputeDoubleRequest) Reset() { *m = ComputeDoubleRequest{} } -func (m *ComputeDoubleRequest) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleRequest) ProtoMessage() {} -func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d6e927673725b01a, []int{0} +func (x *ComputeDoubleRequest) Reset() { + *x = ComputeDoubleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleRequest.Unmarshal(m, b) -} -func (m *ComputeDoubleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleRequest.Marshal(b, m, deterministic) -} -func (m *ComputeDoubleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleRequest.Merge(m, src) -} -func (m *ComputeDoubleRequest) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleRequest.Size(m) +func (x *ComputeDoubleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleRequest.DiscardUnknown(m) + +func (*ComputeDoubleRequest) ProtoMessage() {} + +func (x *ComputeDoubleRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_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) } -var xxx_messageInfo_ComputeDoubleRequest proto.InternalMessageInfo +// Deprecated: Use ComputeDoubleRequest.ProtoReflect.Descriptor instead. +func (*ComputeDoubleRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescGZIP(), []int{0} +} -func (m *ComputeDoubleRequest) GetInput64() int64 { - if m != nil { - return m.Input64 +func (x *ComputeDoubleRequest) GetInput64() int64 { + if x != nil { + return x.Input64 } return 0 } type ComputeDoubleResponse struct { - Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` } -func (m *ComputeDoubleResponse) Reset() { *m = ComputeDoubleResponse{} } -func (m *ComputeDoubleResponse) String() string { return proto.CompactTextString(m) } -func (*ComputeDoubleResponse) ProtoMessage() {} -func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6e927673725b01a, []int{1} +func (x *ComputeDoubleResponse) Reset() { + *x = ComputeDoubleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComputeDoubleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeDoubleResponse.Unmarshal(m, b) +func (x *ComputeDoubleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComputeDoubleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeDoubleResponse.Marshal(b, m, deterministic) + +func (*ComputeDoubleResponse) ProtoMessage() {} + +func (x *ComputeDoubleResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_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) } -func (m *ComputeDoubleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeDoubleResponse.Merge(m, src) + +// Deprecated: Use ComputeDoubleResponse.ProtoReflect.Descriptor instead. +func (*ComputeDoubleResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescGZIP(), []int{1} } -func (m *ComputeDoubleResponse) XXX_Size() int { - return xxx_messageInfo_ComputeDoubleResponse.Size(m) + +func (x *ComputeDoubleResponse) GetResponse() int64 { + if x != nil { + return x.Response + } + return 0 } -func (m *ComputeDoubleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeDoubleResponse.DiscardUnknown(m) + +var File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDesc = []byte{ + 0x0a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x22, 0x30, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x75, + 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x36, 0x34, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x36, 0x34, 0x22, 0x33, 0x0a, 0x15, 0x43, 0x6f, 0x6d, + 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x5b, + 0x0a, 0x05, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x12, 0x52, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x75, + 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x53, 0x5a, 0x51, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, + 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x65, + 0x73, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var xxx_messageInfo_ComputeDoubleResponse proto.InternalMessageInfo +var ( + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDesc +) -func (m *ComputeDoubleResponse) GetResponse() int64 { - if m != nil { - return m.Response - } - return 0 +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDescData } -func init() { - proto.RegisterType((*ComputeDoubleRequest)(nil), "v1alpha2.ComputeDoubleRequest") - proto.RegisterType((*ComputeDoubleResponse)(nil), "v1alpha2.ComputeDoubleResponse") +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_goTypes = []interface{}{ + (*ComputeDoubleRequest)(nil), // 0: v1alpha2.ComputeDoubleRequest + (*ComputeDoubleResponse)(nil), // 1: v1alpha2.ComputeDoubleResponse +} +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha2.Dummy.ComputeDouble:input_type -> v1alpha2.ComputeDoubleRequest + 1, // 1: v1alpha2.Dummy.ComputeDouble:output_type -> v1alpha2.ComputeDoubleResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] 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() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha2/api.proto", fileDescriptor_d6e927673725b01a) -} - -var fileDescriptor_d6e927673725b01a = []byte{ - // 213 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8f, 0xc1, 0x4a, 0x03, 0x31, - 0x10, 0x86, 0x2d, 0xa2, 0x96, 0x80, 0x97, 0xa0, 0x50, 0x7a, 0x50, 0xd9, 0x93, 0x97, 0x26, 0xda, - 0x8a, 0x2f, 0x60, 0x9f, 0x60, 0xaf, 0x3d, 0x25, 0xeb, 0xb0, 0x0d, 0x36, 0x99, 0x31, 0x33, 0x23, - 0xf6, 0xed, 0xa5, 0xb5, 0x2b, 0x28, 0xf6, 0xf6, 0xff, 0x7f, 0xf8, 0xc2, 0x37, 0x66, 0xd5, 0x27, - 0x59, 0x6b, 0x74, 0x1d, 0x66, 0xff, 0xa6, 0x11, 0x6a, 0x01, 0x01, 0x9e, 0x75, 0x9c, 0x7c, 0xc7, - 0x69, 0x46, 0x15, 0x3f, 0xb7, 0x3e, 0x15, 0x81, 0xbe, 0x06, 0x49, 0x58, 0x04, 0x58, 0xd8, 0x07, - 0x4a, 0x7d, 0x45, 0xa5, 0x7d, 0xf2, 0xaf, 0x9a, 0xf3, 0xd6, 0x7f, 0x3c, 0x86, 0x0d, 0xad, 0xc3, - 0x7c, 0x37, 0x39, 0xaa, 0x28, 0x68, 0xc7, 0xc3, 0xd6, 0x3c, 0x98, 0xab, 0x17, 0xcc, 0xa4, 0x02, - 0x4b, 0xd4, 0xb8, 0x81, 0x16, 0xde, 0x15, 0x58, 0xec, 0xc4, 0x5c, 0xa4, 0x42, 0x2a, 0xcf, 0x4f, - 0x93, 0xd1, 0xdd, 0xe8, 0xfe, 0xb4, 0x1d, 0x6a, 0xb3, 0x30, 0xd7, 0x7f, 0x08, 0x26, 0x2c, 0x0c, - 0x76, 0x6a, 0xc6, 0xf5, 0x90, 0x0f, 0xcc, 0x4f, 0x9f, 0xaf, 0xcc, 0xd9, 0x72, 0x27, 0x63, 0x5b, - 0x73, 0xf9, 0x8b, 0xb6, 0x37, 0x6e, 0x70, 0x71, 0xff, 0x89, 0x4c, 0x6f, 0x8f, 0xbe, 0x7f, 0x7f, - 0xdd, 0x9c, 0xc4, 0xf3, 0xfd, 0x51, 0x8b, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82, 0xb7, 0xdf, - 0x2c, 0x33, 0x01, 0x00, 0x00, + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_init() +} +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComputeDoubleResponse); 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_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1alpha2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -173,7 +272,7 @@ type DummyServer interface { type UnimplementedDummyServer struct { } -func (*UnimplementedDummyServer) ComputeDouble(ctx context.Context, req *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { +func (*UnimplementedDummyServer) ComputeDouble(context.Context, *ComputeDoubleRequest) (*ComputeDoubleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ComputeDouble not implemented") } diff --git a/integrationtests/apigroups/api/dummy/v1alpha2/api.proto b/integrationtests/apigroups/api/dummy/v1alpha2/api.proto index 0d179e9d..594d4526 100644 --- a/integrationtests/apigroups/api/dummy/v1alpha2/api.proto +++ b/integrationtests/apigroups/api/dummy/v1alpha2/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha2; +option go_package = "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1alpha2"; + service Dummy { // ComputeDouble computes the double of the input. Real smart stuff! rpc ComputeDouble(ComputeDoubleRequest) returns (ComputeDoubleResponse) {} diff --git a/integrationtests/apigroups/client/dummy/v1/client_generated.go b/integrationtests/apigroups/client/dummy/v1/client_generated.go index 7eed6341..e97fbecd 100644 --- a/integrationtests/apigroups/client/dummy/v1/client_generated.go +++ b/integrationtests/apigroups/client/dummy/v1/client_generated.go @@ -9,7 +9,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" "github.com/kubernetes-csi/csi-proxy/client/apiversion" - "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" + v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" "google.golang.org/grpc" ) diff --git a/integrationtests/apigroups/server/dummy/api_group_generated.go b/integrationtests/apigroups/server/dummy/api_group_generated.go index 1bb67d46..8a8ea9bb 100644 --- a/integrationtests/apigroups/server/dummy/api_group_generated.go +++ b/integrationtests/apigroups/server/dummy/api_group_generated.go @@ -5,7 +5,7 @@ package dummy import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal" - "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1" + v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1alpha2" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" diff --git a/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go b/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go index 349566d1..cac51292 100644 --- a/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go +++ b/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go @@ -6,7 +6,7 @@ import ( "context" "github.com/kubernetes-csi/csi-proxy/client/apiversion" - "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" + v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal" "google.golang.org/grpc" ) diff --git a/integrationtests/csiapigen/new_group/api/v1alpha1/api.pb.go b/integrationtests/csiapigen/new_group/api/v1alpha1/api.pb.go index 8a5fd3f5..19d3a4ca 100644 --- a/integrationtests/csiapigen/new_group/api/v1alpha1/api.pb.go +++ b/integrationtests/csiapigen/new_group/api/v1alpha1/api.pb.go @@ -1,241 +1,394 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 FooRequest struct { - SubMessage *FooRequestSubMessage `protobuf:"bytes,1,opt,name=subMessage,proto3" json:"subMessage,omitempty"` - Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FooRequest) Reset() { *m = FooRequest{} } -func (m *FooRequest) String() string { return proto.CompactTextString(m) } -func (*FooRequest) ProtoMessage() {} -func (*FooRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a7dd87cd619726cb, []int{0} + SubMessage *FooRequestSubMessage `protobuf:"bytes,1,opt,name=subMessage,proto3" json:"subMessage,omitempty"` + Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"` } -func (m *FooRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FooRequest.Unmarshal(m, b) -} -func (m *FooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FooRequest.Marshal(b, m, deterministic) -} -func (m *FooRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FooRequest.Merge(m, src) +func (x *FooRequest) Reset() { + *x = FooRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FooRequest) XXX_Size() int { - return xxx_messageInfo_FooRequest.Size(m) + +func (x *FooRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FooRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FooRequest.DiscardUnknown(m) + +func (*FooRequest) ProtoMessage() {} + +func (x *FooRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_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) } -var xxx_messageInfo_FooRequest proto.InternalMessageInfo +// Deprecated: Use FooRequest.ProtoReflect.Descriptor instead. +func (*FooRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *FooRequest) GetSubMessage() *FooRequestSubMessage { - if m != nil { - return m.SubMessage +func (x *FooRequest) GetSubMessage() *FooRequestSubMessage { + if x != nil { + return x.SubMessage } return nil } -func (m *FooRequest) GetBlob() []byte { - if m != nil { - return m.Blob +func (x *FooRequest) GetBlob() []byte { + if x != nil { + return x.Blob } return nil } type FooRequestSubMessage struct { - Blah int32 `protobuf:"varint,1,opt,name=blah,proto3" json:"blah,omitempty"` - SubSubMessage []*FooRequestSubSubMessage `protobuf:"bytes,2,rep,name=subSubMessage,proto3" json:"subSubMessage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FooRequestSubMessage) Reset() { *m = FooRequestSubMessage{} } -func (m *FooRequestSubMessage) String() string { return proto.CompactTextString(m) } -func (*FooRequestSubMessage) ProtoMessage() {} -func (*FooRequestSubMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_a7dd87cd619726cb, []int{1} + Blah int32 `protobuf:"varint,1,opt,name=blah,proto3" json:"blah,omitempty"` + SubSubMessage []*FooRequestSubSubMessage `protobuf:"bytes,2,rep,name=subSubMessage,proto3" json:"subSubMessage,omitempty"` } -func (m *FooRequestSubMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FooRequestSubMessage.Unmarshal(m, b) -} -func (m *FooRequestSubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FooRequestSubMessage.Marshal(b, m, deterministic) -} -func (m *FooRequestSubMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_FooRequestSubMessage.Merge(m, src) +func (x *FooRequestSubMessage) Reset() { + *x = FooRequestSubMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FooRequestSubMessage) XXX_Size() int { - return xxx_messageInfo_FooRequestSubMessage.Size(m) + +func (x *FooRequestSubMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FooRequestSubMessage) XXX_DiscardUnknown() { - xxx_messageInfo_FooRequestSubMessage.DiscardUnknown(m) + +func (*FooRequestSubMessage) ProtoMessage() {} + +func (x *FooRequestSubMessage) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_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) } -var xxx_messageInfo_FooRequestSubMessage proto.InternalMessageInfo +// Deprecated: Use FooRequestSubMessage.ProtoReflect.Descriptor instead. +func (*FooRequestSubMessage) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *FooRequestSubMessage) GetBlah() int32 { - if m != nil { - return m.Blah +func (x *FooRequestSubMessage) GetBlah() int32 { + if x != nil { + return x.Blah } return 0 } -func (m *FooRequestSubMessage) GetSubSubMessage() []*FooRequestSubSubMessage { - if m != nil { - return m.SubSubMessage +func (x *FooRequestSubMessage) GetSubSubMessage() []*FooRequestSubSubMessage { + if x != nil { + return x.SubSubMessage } return nil } type FooRequestSubSubMessage struct { - Bools []bool `protobuf:"varint,1,rep,packed,name=bools,proto3" json:"bools,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FooRequestSubSubMessage) Reset() { *m = FooRequestSubSubMessage{} } -func (m *FooRequestSubSubMessage) String() string { return proto.CompactTextString(m) } -func (*FooRequestSubSubMessage) ProtoMessage() {} -func (*FooRequestSubSubMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_a7dd87cd619726cb, []int{2} + Bools []bool `protobuf:"varint,1,rep,packed,name=bools,proto3" json:"bools,omitempty"` } -func (m *FooRequestSubSubMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FooRequestSubSubMessage.Unmarshal(m, b) -} -func (m *FooRequestSubSubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FooRequestSubSubMessage.Marshal(b, m, deterministic) -} -func (m *FooRequestSubSubMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_FooRequestSubSubMessage.Merge(m, src) +func (x *FooRequestSubSubMessage) Reset() { + *x = FooRequestSubSubMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FooRequestSubSubMessage) XXX_Size() int { - return xxx_messageInfo_FooRequestSubSubMessage.Size(m) + +func (x *FooRequestSubSubMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FooRequestSubSubMessage) XXX_DiscardUnknown() { - xxx_messageInfo_FooRequestSubSubMessage.DiscardUnknown(m) + +func (*FooRequestSubSubMessage) ProtoMessage() {} + +func (x *FooRequestSubSubMessage) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_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) } -var xxx_messageInfo_FooRequestSubSubMessage proto.InternalMessageInfo +// Deprecated: Use FooRequestSubSubMessage.ProtoReflect.Descriptor instead. +func (*FooRequestSubSubMessage) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *FooRequestSubSubMessage) GetBools() []bool { - if m != nil { - return m.Bools +func (x *FooRequestSubSubMessage) GetBools() []bool { + if x != nil { + return x.Bools } return nil } type FooResponse struct { - Response32 int32 `protobuf:"varint,1,opt,name=response32,proto3" json:"response32,omitempty"` - SubMessage *FooRequestSubMessage `protobuf:"bytes,2,opt,name=subMessage,proto3" json:"subMessage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FooResponse) Reset() { *m = FooResponse{} } -func (m *FooResponse) String() string { return proto.CompactTextString(m) } -func (*FooResponse) ProtoMessage() {} -func (*FooResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a7dd87cd619726cb, []int{3} + Response32 int32 `protobuf:"varint,1,opt,name=response32,proto3" json:"response32,omitempty"` + SubMessage *FooRequestSubMessage `protobuf:"bytes,2,opt,name=subMessage,proto3" json:"subMessage,omitempty"` } -func (m *FooResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FooResponse.Unmarshal(m, b) -} -func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FooResponse.Marshal(b, m, deterministic) -} -func (m *FooResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FooResponse.Merge(m, src) +func (x *FooResponse) Reset() { + *x = FooResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FooResponse) XXX_Size() int { - return xxx_messageInfo_FooResponse.Size(m) + +func (x *FooResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FooResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FooResponse.DiscardUnknown(m) + +func (*FooResponse) ProtoMessage() {} + +func (x *FooResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FooResponse proto.InternalMessageInfo +// Deprecated: Use FooResponse.ProtoReflect.Descriptor instead. +func (*FooResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *FooResponse) GetResponse32() int32 { - if m != nil { - return m.Response32 +func (x *FooResponse) GetResponse32() int32 { + if x != nil { + return x.Response32 } return 0 } -func (m *FooResponse) GetSubMessage() *FooRequestSubMessage { - if m != nil { - return m.SubMessage +func (x *FooResponse) GetSubMessage() *FooRequestSubMessage { + if x != nil { + return x.SubMessage } return nil } -func init() { - proto.RegisterType((*FooRequest)(nil), "v1alpha1.FooRequest") - proto.RegisterType((*FooRequestSubMessage)(nil), "v1alpha1.FooRequestSubMessage") - proto.RegisterType((*FooRequestSubSubMessage)(nil), "v1alpha1.FooRequestSubSubMessage") - proto.RegisterType((*FooResponse)(nil), "v1alpha1.FooResponse") +var File_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x63, 0x73, 0x69, 0x61, 0x70, 0x69, 0x67, 0x65, 0x6e, + 0x2f, 0x6e, 0x65, 0x77, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x60, 0x0a, 0x0a, 0x46, + 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x75, 0x62, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a, 0x73, + 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c, 0x6f, + 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x22, 0x73, 0x0a, + 0x14, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x75, 0x62, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c, 0x61, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x04, 0x62, 0x6c, 0x61, 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x75, 0x62, + 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x75, 0x62, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x2f, 0x0a, 0x17, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x53, 0x75, 0x62, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x62, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6f, + 0x6f, 0x6c, 0x73, 0x22, 0x6d, 0x0a, 0x0b, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x33, 0x32, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x33, 0x32, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x75, 0x62, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x32, 0x40, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, + 0x0a, 0x03, 0x46, 0x6f, 0x6f, 0x12, 0x14, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x57, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, + 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x63, 0x73, 0x69, + 0x61, 0x70, 0x69, 0x67, 0x65, 0x6e, 0x2f, 0x6e, 0x65, 0x77, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_goTypes = []interface{}{ + (*FooRequest)(nil), // 0: v1alpha1.FooRequest + (*FooRequestSubMessage)(nil), // 1: v1alpha1.FooRequestSubMessage + (*FooRequestSubSubMessage)(nil), // 2: v1alpha1.FooRequestSubSubMessage + (*FooResponse)(nil), // 3: v1alpha1.FooResponse +} +var file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha1.FooRequest.subMessage:type_name -> v1alpha1.FooRequestSubMessage + 2, // 1: v1alpha1.FooRequestSubMessage.subSubMessage:type_name -> v1alpha1.FooRequestSubSubMessage + 1, // 2: v1alpha1.FooResponse.subMessage:type_name -> v1alpha1.FooRequestSubMessage + 0, // 3: v1alpha1.NewGroup.Foo:input_type -> v1alpha1.FooRequest + 3, // 4: v1alpha1.NewGroup.Foo:output_type -> v1alpha1.FooResponse + 4, // [4:5] is the sub-list for method output_type + 3, // [3:4] 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 } func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto", fileDescriptor_a7dd87cd619726cb) -} - -var fileDescriptor_a7dd87cd619726cb = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x41, 0x4f, 0xfa, 0x40, - 0x10, 0xc5, 0xff, 0x85, 0x3f, 0x86, 0x0c, 0x7a, 0xd9, 0x60, 0x6c, 0x3c, 0x90, 0xda, 0x53, 0x2f, - 0x74, 0x43, 0xf1, 0x6c, 0x3c, 0xc1, 0x49, 0x0f, 0xf5, 0x03, 0xe0, 0x2e, 0x99, 0x94, 0x8d, 0xd0, - 0x59, 0x3b, 0xbb, 0xa2, 0xdf, 0xde, 0x50, 0x40, 0x2a, 0x81, 0x83, 0xb7, 0x37, 0x6f, 0x7f, 0x2f, - 0xfb, 0x32, 0x03, 0xb3, 0xc2, 0xb8, 0x85, 0xd7, 0xe9, 0x9c, 0x56, 0xf2, 0xcd, 0x6b, 0xac, 0x4a, - 0x74, 0xc8, 0xc3, 0x39, 0x1b, 0x39, 0x67, 0x33, 0xb4, 0x15, 0x7d, 0x7e, 0x49, 0x53, 0x3a, 0x2c, - 0x2a, 0xe5, 0x0c, 0x95, 0x0e, 0xd9, 0xf1, 0xe6, 0x49, 0x59, 0x53, 0x60, 0x29, 0x4b, 0x5c, 0xcf, - 0x8a, 0x8a, 0xbc, 0x95, 0xca, 0x1a, 0xf9, 0x31, 0x52, 0x4b, 0xbb, 0x50, 0xa3, 0xcd, 0x90, 0xda, - 0x8a, 0x1c, 0x89, 0xee, 0xde, 0x8b, 0x5f, 0x01, 0x26, 0x44, 0x39, 0xbe, 0x7b, 0x64, 0x27, 0x1e, - 0x00, 0xd8, 0xeb, 0x27, 0x64, 0x56, 0x05, 0x86, 0x41, 0x14, 0x24, 0xbd, 0x6c, 0x90, 0xee, 0xe1, - 0xf4, 0x40, 0xbe, 0xfc, 0x50, 0x79, 0x23, 0x21, 0x04, 0xfc, 0xd7, 0x4b, 0xd2, 0x61, 0x2b, 0x0a, - 0x92, 0xcb, 0xbc, 0xd6, 0x31, 0x43, 0xff, 0x54, 0x6e, 0xcb, 0xaa, 0x45, 0xfd, 0x4b, 0x27, 0xaf, - 0xb5, 0x98, 0xc2, 0x15, 0x7b, 0x7d, 0x80, 0xc2, 0x56, 0xd4, 0x4e, 0x7a, 0xd9, 0xdd, 0x99, 0x0a, - 0x8d, 0x16, 0xbf, 0x73, 0xb1, 0x84, 0x9b, 0x33, 0xa4, 0xe8, 0x43, 0x47, 0x13, 0x2d, 0x39, 0x0c, - 0xa2, 0x76, 0xd2, 0xcd, 0xb7, 0x43, 0xbc, 0x82, 0x5e, 0x1d, 0x60, 0x4b, 0x25, 0xa3, 0x18, 0x00, - 0x54, 0x3b, 0x3d, 0xce, 0x76, 0x15, 0x1b, 0xce, 0xd1, 0xa2, 0x5a, 0x7f, 0x5d, 0x54, 0xf6, 0x08, - 0xdd, 0x67, 0x5c, 0x4f, 0x37, 0x37, 0x12, 0xf7, 0xd0, 0x9e, 0x10, 0x89, 0xfe, 0xa9, 0xf8, 0xed, - 0xf5, 0x91, 0xbb, 0x6d, 0x10, 0xff, 0xd3, 0x17, 0xf5, 0x25, 0xc7, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xcb, 0x4c, 0xdd, 0x4c, 0x2c, 0x02, 0x00, 0x00, + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_init() +} +func file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FooRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FooRequestSubMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FooRequestSubSubMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FooResponse); 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_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_integrationtests_csiapigen_new_group_api_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -279,7 +432,7 @@ type NewGroupServer interface { type UnimplementedNewGroupServer struct { } -func (*UnimplementedNewGroupServer) Foo(ctx context.Context, req *FooRequest) (*FooResponse, error) { +func (*UnimplementedNewGroupServer) Foo(context.Context, *FooRequest) (*FooResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Foo not implemented") } diff --git a/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto b/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto index b17469a4..b89a5ce8 100644 --- a/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto +++ b/integrationtests/csiapigen/new_group/api/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/integrationtests/csiapigen/new_group/api/v1alpha1"; + service NewGroup { rpc Foo(FooRequest) returns (FooResponse) {} } diff --git a/integrationtests/disk_test.go b/integrationtests/disk_test.go index 868b72f2..33540b2f 100644 --- a/integrationtests/disk_test.go +++ b/integrationtests/disk_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" - v1client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1" + v1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" + v1beta3client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -21,13 +21,13 @@ import ( func TestDiskAPIGroup(t *testing.T) { t.Run("ListDiskIDs", func(t *testing.T) { skipTestOnCondition(t, isRunningOnGhActions()) - client, err := v1client.NewClient() + client, err := v1beta3client.NewClient() require.Nil(t, err) defer client.Close() diskNumber := 0 id := "page83" - listRequest := &v1.ListDiskIDsRequest{} + listRequest := &v1beta3.ListDiskIDsRequest{} diskIDsResponse, err := client.ListDiskIDs(context.TODO(), listRequest) require.Nil(t, err) @@ -60,7 +60,7 @@ func TestDiskAPIGroup(t *testing.T) { t.Run("Get/SetAttachState", func(t *testing.T) { skipTestOnCondition(t, isRunningOnGhActions()) - client, err := v1client.NewClient() + client, err := v1beta3client.NewClient() require.NoError(t, err) defer client.Close() @@ -78,14 +78,14 @@ func TestDiskAPIGroup(t *testing.T) { out, err := runPowershellCmd(fmt.Sprintf("Get-Disk -Number %s | Set-Disk -IsOffline $true", diskNum)) require.NoError(t, err, "failed setting disk offline, out=%v", out) - getReq := &v1.GetAttachStateRequest{DiskID: diskNum} + getReq := &v1beta3.GetAttachStateRequest{DiskID: diskNum} getResp, err := client.GetAttachState(context.TODO(), getReq) if assert.NoError(t, err) { assert.False(t, getResp.IsOnline, "Expected disk to be offline") } - setReq := &v1.SetAttachStateRequest{DiskID: diskNum, IsOnline: true} + setReq := &v1beta3.SetAttachStateRequest{DiskID: diskNum, IsOnline: true} _, err = client.SetAttachState(context.TODO(), setReq) assert.NoError(t, err) @@ -96,14 +96,14 @@ func TestDiskAPIGroup(t *testing.T) { assert.NoError(t, err) assert.False(t, result, "Expected disk to be online") - getReq = &v1.GetAttachStateRequest{DiskID: diskNum} + getReq = &v1beta3.GetAttachStateRequest{DiskID: diskNum} getResp, err = client.GetAttachState(context.TODO(), getReq) if assert.NoError(t, err) { assert.True(t, getResp.IsOnline, "Expected disk is online") } - setReq = &v1.SetAttachStateRequest{DiskID: diskNum, IsOnline: false} + setReq = &v1beta3.SetAttachStateRequest{DiskID: diskNum, IsOnline: false} _, err = client.SetAttachState(context.TODO(), setReq) assert.NoError(t, err) diff --git a/integrationtests/filesystem_test.go b/integrationtests/filesystem_test.go index dd07a0c1..cc2be549 100644 --- a/integrationtests/filesystem_test.go +++ b/integrationtests/filesystem_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1" - v1client "github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1" + v1beta2 "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2" + v1beta2client "github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1beta2" ) func pathExists(path string) (bool, error) { @@ -30,7 +30,7 @@ func TestFilesystemAPIGroup(t *testing.T) { t.Run("PathExists positive", func(t *testing.T) { skipTestOnCondition(t, isRunningOnGhActions()) - client, err := v1client.NewClient() + client, err := v1beta2client.NewClient() require.Nil(t, err) defer client.Close() @@ -39,9 +39,9 @@ func TestFilesystemAPIGroup(t *testing.T) { // simulate FS operations around staging a volume on a node stagepath := getWorkDirPath(fmt.Sprintf("testplugin-%d.csi.io\\volume%d", r1.Intn(100), r1.Intn(100)), t) - mkdirReq := &v1.MkdirRequest{ + mkdirReq := &v1beta2.MkdirRequest{ Path: stagepath, - Context: v1.PathContext_PLUGIN, + Context: v1beta2.PathContext_PLUGIN, } mkdirRsp, err := client.Mkdir(context.Background(), mkdirReq) if assert.Nil(t, err) { @@ -53,15 +53,15 @@ func TestFilesystemAPIGroup(t *testing.T) { // simulate operations around publishing a volume to a pod podpath := getWorkDirPath(fmt.Sprintf("test-pod-id\\volumes\\kubernetes.io~csi\\pvc-test%d", r1.Intn(100)), t) - mkdirReq = &v1.MkdirRequest{ + mkdirReq = &v1beta2.MkdirRequest{ Path: podpath, - Context: v1.PathContext_POD, + Context: v1beta2.PathContext_POD, } mkdirRsp, err = client.Mkdir(context.Background(), mkdirReq) if assert.Nil(t, err) { assert.Equal(t, "", mkdirRsp.Error) } - linkReq := &v1.LinkPathRequest{ + linkReq := &v1beta2.LinkPathRequest{ TargetPath: stagepath, SourcePath: podpath + "\\rootvol", } @@ -74,9 +74,9 @@ func TestFilesystemAPIGroup(t *testing.T) { assert.True(t, exists, err) // cleanup pvpath - rmdirReq := &v1.RmdirRequest{ + rmdirReq := &v1beta2.RmdirRequest{ Path: podpath, - Context: v1.PathContext_POD, + Context: v1beta2.PathContext_POD, Force: true, } rmdirRsp, err := client.Rmdir(context.Background(), rmdirReq) @@ -88,9 +88,9 @@ func TestFilesystemAPIGroup(t *testing.T) { assert.False(t, exists, err) // cleanup plugin path - rmdirReq = &v1.RmdirRequest{ + rmdirReq = &v1beta2.RmdirRequest{ Path: stagepath, - Context: v1.PathContext_PLUGIN, + Context: v1beta2.PathContext_PLUGIN, Force: true, } rmdirRsp, err = client.Rmdir(context.Background(), rmdirReq) @@ -102,7 +102,7 @@ func TestFilesystemAPIGroup(t *testing.T) { assert.False(t, exists, err) }) t.Run("IsMount", func(t *testing.T) { - client, err := v1client.NewClient() + client, err := v1beta2client.NewClient() require.Nil(t, err) defer client.Close() @@ -118,7 +118,7 @@ func TestFilesystemAPIGroup(t *testing.T) { // 1. Check the isMount on a path which does not exist. Failure scenario. stagepath := getWorkDirPath(fmt.Sprintf("testplugin-%d.csi.io\\volume%d", rand1, rand2), t) - isMountRequest := &v1.IsMountPointRequest{ + isMountRequest := &v1beta2.IsMountPointRequest{ Path: stagepath, } isMountResponse, err := client.IsMountPoint(context.Background(), isMountRequest) @@ -128,7 +128,7 @@ func TestFilesystemAPIGroup(t *testing.T) { err = os.Mkdir(stagepath, os.ModeDir) require.Nil(t, err) defer os.Remove(stagepath) - isMountRequest = &v1.IsMountPointRequest{ + isMountRequest = &v1beta2.IsMountPointRequest{ Path: stagepath, } isMountResponse, err = client.IsMountPoint(context.Background(), isMountRequest) @@ -149,7 +149,7 @@ func TestFilesystemAPIGroup(t *testing.T) { require.Nil(t, err) defer os.Remove(lnTargetStagePath) - isMountRequest = &v1.IsMountPointRequest{ + isMountRequest = &v1beta2.IsMountPointRequest{ Path: lnTargetStagePath, } isMountResponse, err = client.IsMountPoint(context.Background(), isMountRequest) @@ -159,7 +159,7 @@ func TestFilesystemAPIGroup(t *testing.T) { // 4. Remove the path. Failure scenario. err = os.Remove(targetStagePath) require.Nil(t, err) - isMountRequest = &v1.IsMountPointRequest{ + isMountRequest = &v1beta2.IsMountPointRequest{ Path: lnTargetStagePath, } isMountResponse, err = client.IsMountPoint(context.Background(), isMountRequest) diff --git a/integrationtests/iscsi_test.go b/integrationtests/iscsi_test.go index 45f33ef7..ad0a7d88 100644 --- a/integrationtests/iscsi_test.go +++ b/integrationtests/iscsi_test.go @@ -5,12 +5,13 @@ import ( "fmt" "testing" - diskApi "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" + diskApi "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" iscsiApi "github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2" systemApi "github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1" - diskClient "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1" + diskClient "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3" iscsiClient "github.com/kubernetes-csi/csi-proxy/client/groups/iscsi/v1alpha2" systemClient "github.com/kubernetes-csi/csi-proxy/client/groups/system/v1alpha1" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/integrationtests/smb_test.go b/integrationtests/smb_test.go index d0d386f4..b279ac8d 100644 --- a/integrationtests/smb_test.go +++ b/integrationtests/smb_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1" - v1client "github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2" + v1beta2client "github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1beta2" ) const letterset = "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" @@ -130,7 +130,7 @@ func writeReadFile(path string) error { func TestSmbAPIGroup(t *testing.T) { t.Run("Smb positive", func(t *testing.T) { - client, err := v1client.NewClient() + client, err := v1beta2client.NewClient() if err != nil { t.Fatalf("Fail to get smb API group client %v", err) } @@ -159,7 +159,7 @@ func TestSmbAPIGroup(t *testing.T) { username = "domain\\" + username remotePath := "\\\\" + hostname + "\\" + smbShare // simulate Mount SMB operations around staging a volume on a node - mountSmbShareReq := &v1.NewSmbGlobalMappingRequest{ + mountSmbShareReq := &v1beta2.NewSmbGlobalMappingRequest{ RemotePath: remotePath, Username: username, Password: password, @@ -178,7 +178,7 @@ func TestSmbAPIGroup(t *testing.T) { err = writeReadFile(remotePath) assert.Nil(t, err) - unmountSmbShareReq := &v1.RemoveSmbGlobalMappingRequest{ + unmountSmbShareReq := &v1beta2.RemoveSmbGlobalMappingRequest{ RemotePath: remotePath, } unmountSmbShareRsp, err := client.RemoveSmbGlobalMapping(context.Background(), unmountSmbShareReq) diff --git a/integrationtests/volume_test.go b/integrationtests/volume_test.go index e9a5d7a0..48a0c392 100644 --- a/integrationtests/volume_test.go +++ b/integrationtests/volume_test.go @@ -9,12 +9,10 @@ import ( "testing" "time" - diskv1 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" - v1 "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1" - "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1" - diskv1client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1" - v1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1" - v1alpha1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1" + diskv1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" + "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3" + diskv1beta3client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3" + v1beta3client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1beta3" ) func runPowershellCmd(cmd string) (string, error) { @@ -95,8 +93,8 @@ func diskInit(t *testing.T, vhdxPath, mountPath, testPluginPath string) string { return diskNum } -func runNegativeListVolumeRequest(t *testing.T, client *v1alpha1client.Client, diskNum string) { - listRequest := &v1alpha1.ListVolumesOnDiskRequest{ +func runNegativeListVolumeRequest(t *testing.T, client *v1beta3client.Client, diskNum string) { + listRequest := &v1beta3.ListVolumesOnDiskRequest{ DiskId: diskNum, } _, err := client.ListVolumesOnDisk(context.TODO(), listRequest) @@ -105,8 +103,8 @@ func runNegativeListVolumeRequest(t *testing.T, client *v1alpha1client.Client, d } } -func runNegativeIsVolumeFormattedRequest(t *testing.T, client *v1alpha1client.Client, volumeID string) { - isVolumeFormattedRequest := &v1alpha1.IsVolumeFormattedRequest{ +func runNegativeIsVolumeFormattedRequest(t *testing.T, client *v1beta3client.Client, volumeID string) { + isVolumeFormattedRequest := &v1beta3.IsVolumeFormattedRequest{ VolumeId: volumeID, } _, err := client.IsVolumeFormatted(context.TODO(), isVolumeFormattedRequest) @@ -115,8 +113,8 @@ func runNegativeIsVolumeFormattedRequest(t *testing.T, client *v1alpha1client.Cl } } -func runNegativeFormatVolumeRequest(t *testing.T, client *v1alpha1client.Client, volumeID string) { - formatVolumeRequest := &v1alpha1.FormatVolumeRequest{ +func runNegativeFormatVolumeRequest(t *testing.T, client *v1beta3client.Client, volumeID string) { + formatVolumeRequest := &v1beta3.FormatVolumeRequest{ VolumeId: volumeID, } _, err := client.FormatVolume(context.TODO(), formatVolumeRequest) @@ -125,8 +123,8 @@ func runNegativeFormatVolumeRequest(t *testing.T, client *v1alpha1client.Client, } } -func runNegativeResizeVolumeRequest(t *testing.T, client *v1alpha1client.Client, volumeID string, size int64) { - resizeVolumeRequest := &v1alpha1.ResizeVolumeRequest{ +func runNegativeResizeVolumeRequest(t *testing.T, client *v1beta3client.Client, volumeID string, size int64) { + resizeVolumeRequest := &v1beta3.ResizeVolumeRequest{ VolumeId: volumeID, Size: size, } @@ -136,9 +134,9 @@ func runNegativeResizeVolumeRequest(t *testing.T, client *v1alpha1client.Client, } } -func runNegativeMountVolumeRequest(t *testing.T, client *v1alpha1client.Client, volumeID, mountPath string) { +func runNegativeMountVolumeRequest(t *testing.T, client *v1beta3client.Client, volumeID, mountPath string) { // Mount the volume - mountVolumeRequest := &v1alpha1.MountVolumeRequest{ + mountVolumeRequest := &v1beta3.MountVolumeRequest{ VolumeId: volumeID, Path: mountPath, } @@ -149,9 +147,9 @@ func runNegativeMountVolumeRequest(t *testing.T, client *v1alpha1client.Client, } } -func runNegativeDismountVolumeRequest(t *testing.T, client *v1alpha1client.Client, volumeID, mountPath string) { +func runNegativeDismountVolumeRequest(t *testing.T, client *v1beta3client.Client, volumeID, mountPath string) { // Dismount the volume - dismountVolumeRequest := &v1alpha1.DismountVolumeRequest{ + dismountVolumeRequest := &v1beta3.DismountVolumeRequest{ VolumeId: volumeID, Path: mountPath, } @@ -161,9 +159,9 @@ func runNegativeDismountVolumeRequest(t *testing.T, client *v1alpha1client.Clien } } -func runNegativeVolumeStatsRequest(t *testing.T, client *v1client.Client, volumeID string) { +func runNegativeVolumeStatsRequest(t *testing.T, client *v1beta3client.Client, volumeID string) { // Get VolumeStats - volumeStatsRequest := &v1.VolumeStatsRequest{ + volumeStatsRequest := &v1beta3.VolumeStatsRequest{ VolumeId: volumeID, } _, err := client.VolumeStats(context.TODO(), volumeStatsRequest) @@ -173,20 +171,14 @@ func runNegativeVolumeStatsRequest(t *testing.T, client *v1client.Client, volume } func negativeVolumeTests(t *testing.T) { - var client *v1alpha1client.Client - var betaClient *v1client.Client + var client *v1beta3client.Client var err error - if client, err = v1alpha1client.NewClient(); err != nil { + if client, err = v1beta3client.NewClient(); err != nil { t.Fatalf("Client new error: %v", err) } defer client.Close() - if betaClient, err = v1client.NewClient(); err != nil { - t.Fatalf("BetaClient new error: %v", err) - } - defer betaClient.Close() - // Empty volume test runNegativeIsVolumeFormattedRequest(t, client, "") // -ve volume id @@ -208,15 +200,15 @@ func negativeVolumeTests(t *testing.T) { runNegativeDismountVolumeRequest(t, client, "", "") runNegativeDismountVolumeRequest(t, client, "-1", "") - runNegativeVolumeStatsRequest(t, betaClient, "") - runNegativeVolumeStatsRequest(t, betaClient, "-1") + runNegativeVolumeStatsRequest(t, client, "") + runNegativeVolumeStatsRequest(t, client, "-1") } func negativeDiskTests(t *testing.T) { - var client *v1alpha1client.Client + var client *v1beta3client.Client var err error - if client, err = v1alpha1client.NewClient(); err != nil { + if client, err = v1beta3client.NewClient(); err != nil { t.Fatalf("Client new error: %v", err) } defer client.Close() @@ -228,25 +220,19 @@ func negativeDiskTests(t *testing.T) { } func simpleE2e(t *testing.T) { - var client *v1alpha1client.Client - var betaClient *v1client.Client - var diskBetaClient *diskv1client.Client + var volumeClient *v1beta3client.Client + var diskClient *diskv1beta3client.Client var err error - if client, err = v1alpha1client.NewClient(); err != nil { + if volumeClient, err = v1beta3client.NewClient(); err != nil { t.Fatalf("Client new error: %v", err) } - defer client.Close() - - if betaClient, err = v1client.NewClient(); err != nil { - t.Fatalf("BetaClient new error: %v", err) - } - defer betaClient.Close() + defer volumeClient.Close() - if diskBetaClient, err = diskv1client.NewClient(); err != nil { - t.Fatalf("DiskBetaClient new error: %v", err) + if diskClient, err = diskv1beta3client.NewClient(); err != nil { + t.Fatalf("DiskClient new error: %v", err) } - defer diskBetaClient.Close() + defer diskClient.Close() s1 := rand.NewSource(time.Now().UTC().UnixNano()) r1 := rand.New(s1) @@ -258,10 +244,10 @@ func simpleE2e(t *testing.T) { defer diskCleanup(t, vhdxPath, mountPath, testPluginPath) diskNum := diskInit(t, vhdxPath, mountPath, testPluginPath) - listRequest := &v1alpha1.ListVolumesOnDiskRequest{ + listRequest := &v1beta3.ListVolumesOnDiskRequest{ DiskId: diskNum, } - listResponse, err := client.ListVolumesOnDisk(context.TODO(), listRequest) + listResponse, err := volumeClient.ListVolumesOnDisk(context.TODO(), listRequest) if err != nil { t.Fatalf("List response: %v", err) } @@ -272,10 +258,10 @@ func simpleE2e(t *testing.T) { } volumeID := listResponse.VolumeIds[0] - isVolumeFormattedRequest := &v1alpha1.IsVolumeFormattedRequest{ + isVolumeFormattedRequest := &v1beta3.IsVolumeFormattedRequest{ VolumeId: volumeID, } - isVolumeFormattedResponse, err := client.IsVolumeFormatted(context.TODO(), isVolumeFormattedRequest) + isVolumeFormattedResponse, err := volumeClient.IsVolumeFormatted(context.TODO(), isVolumeFormattedRequest) if err != nil { t.Fatalf("Is volume formatted request error: %v", err) } @@ -283,15 +269,15 @@ func simpleE2e(t *testing.T) { t.Fatal("Volume formatted. Unexpected !!") } - formatVolumeRequest := &v1alpha1.FormatVolumeRequest{ + formatVolumeRequest := &v1beta3.FormatVolumeRequest{ VolumeId: volumeID, } - _, err = client.FormatVolume(context.TODO(), formatVolumeRequest) + _, err = volumeClient.FormatVolume(context.TODO(), formatVolumeRequest) if err != nil { t.Fatalf("Volume format failed. Error: %v", err) } - isVolumeFormattedResponse, err = client.IsVolumeFormatted(context.TODO(), isVolumeFormattedRequest) + isVolumeFormattedResponse, err = volumeClient.IsVolumeFormatted(context.TODO(), isVolumeFormattedRequest) if err != nil { t.Fatalf("Is volume formatted request error: %v", err) } @@ -300,11 +286,11 @@ func simpleE2e(t *testing.T) { } t.Logf("VolumeId %v", volumeID) - volumeStatsRequest := &v1.VolumeStatsRequest{ + volumeStatsRequest := &v1beta3.VolumeStatsRequest{ VolumeId: volumeID, } - volumeStatsResponse, err := betaClient.VolumeStats(context.TODO(), volumeStatsRequest) + volumeStatsResponse, err := volumeClient.VolumeStats(context.TODO(), volumeStatsRequest) if err != nil { t.Fatalf("VolumeStats request error: %v", err) } @@ -315,18 +301,18 @@ func simpleE2e(t *testing.T) { oldSize := volumeStatsResponse.VolumeSize - resizeVolumeRequest := &v1alpha1.ResizeVolumeRequest{ + resizeVolumeRequest := &v1beta3.ResizeVolumeRequest{ VolumeId: volumeID, // Resize from 5G to 2G Size: 2 * 1024 * 1024 * 1024, } - _, err = client.ResizeVolume(context.TODO(), resizeVolumeRequest) + _, err = volumeClient.ResizeVolume(context.TODO(), resizeVolumeRequest) if err != nil { t.Fatalf("Volume resize request failed. Error: %v", err) } - volumeStatsResponse, err = betaClient.VolumeStats(context.TODO(), volumeStatsRequest) + volumeStatsResponse, err = volumeClient.VolumeStats(context.TODO(), volumeStatsRequest) if err != nil { t.Fatalf("VolumeStats request after resize error: %v", err) } @@ -335,22 +321,22 @@ func simpleE2e(t *testing.T) { t.Fatalf("VolumeSize reported is not smaller after resize, it is %v", volumeStatsResponse.VolumeSize) } - volumeDiskNumberRequest := &v1.VolumeDiskNumberRequest{ + volumeDiskNumberRequest := &v1beta3.VolumeDiskNumberRequest{ VolumeId: volumeID, } - volumeDiskNumberResponse, err := betaClient.GetVolumeDiskNumber(context.TODO(), volumeDiskNumberRequest) + volumeDiskNumberResponse, err := volumeClient.GetVolumeDiskNumber(context.TODO(), volumeDiskNumberRequest) if err != nil { t.Fatalf("GetVolumeDiskNumber failed: %v", err) } diskNumberString := fmt.Sprintf("%d", volumeDiskNumberResponse.DiskNumber) - diskStatsRequest := &diskv1.DiskStatsRequest{ + diskStatsRequest := &diskv1beta3.DiskStatsRequest{ DiskID: diskNumberString, } - diskStatsResponse, err := diskBetaClient.DiskStats(context.TODO(), diskStatsRequest) + diskStatsResponse, err := diskClient.DiskStats(context.TODO(), diskStatsRequest) if err != nil { t.Fatalf("DiskStats request error: %v", err) } @@ -360,21 +346,21 @@ func simpleE2e(t *testing.T) { } // Mount the volume - mountVolumeRequest := &v1alpha1.MountVolumeRequest{ + mountVolumeRequest := &v1beta3.MountVolumeRequest{ VolumeId: volumeID, Path: mountPath, } - _, err = client.MountVolume(context.TODO(), mountVolumeRequest) + _, err = volumeClient.MountVolume(context.TODO(), mountVolumeRequest) if err != nil { t.Fatalf("Volume id %s mount to path %s failed. Error: %v", volumeID, mountPath, err) } // Dismount the volume - dismountVolumeRequest := &v1alpha1.DismountVolumeRequest{ + dismountVolumeRequest := &v1beta3.DismountVolumeRequest{ VolumeId: volumeID, Path: mountPath, } - _, err = client.DismountVolume(context.TODO(), dismountVolumeRequest) + _, err = volumeClient.DismountVolume(context.TODO(), dismountVolumeRequest) if err != nil { t.Fatalf("Volume id %s mount to path %s failed. Error: %v", volumeID, mountPath, err) } diff --git a/internal/server/disk/api_group_generated.go b/internal/server/disk/api_group_generated.go index 772590ef..b6942b18 100644 --- a/internal/server/disk/api_group_generated.go +++ b/internal/server/disk/api_group_generated.go @@ -5,10 +5,10 @@ package disk import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" - "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal/v1" "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal/v1beta1" "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal/v1beta2" + "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal/v1beta3" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" ) @@ -21,7 +21,7 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { v1alpha1Server := v1alpha1.NewVersionedServer(s) v1beta1Server := v1beta1.NewVersionedServer(s) v1beta2Server := v1beta2.NewVersionedServer(s) - v1Server := v1.NewVersionedServer(s) + v1beta3Server := v1beta3.NewVersionedServer(s) return []*srvtypes.VersionedAPI{ { @@ -41,8 +41,8 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { }, { Group: name, - Version: apiversion.NewVersionOrPanic("v1"), - Registrant: v1Server.Register, + Version: apiversion.NewVersionOrPanic("v1beta3"), + Registrant: v1beta3Server.Register, }, } } diff --git a/internal/server/disk/internal/v1/conversion.go b/internal/server/disk/internal/v1/conversion.go deleted file mode 100644 index 7f59007d..00000000 --- a/internal/server/disk/internal/v1/conversion.go +++ /dev/null @@ -1,52 +0,0 @@ -package v1 - -// Add manual conversion functions here to override automatic conversion functions - -import ( - v1 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" - internal "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" -) - -func Convert_internal_ListDiskLocationsResponse_To_v1_ListDiskLocationsResponse(in *internal.ListDiskLocationsResponse, out *v1.ListDiskLocationsResponse) error { - if in.DiskLocations != nil { - in, out := &in.DiskLocations, &out.DiskLocations - *out = make(map[string]*v1.DiskLocation, len(*in)) - for key, val := range *in { - newVal := new(v1.DiskLocation) - if err := Convert_internal_DiskLocation_To_v1_DiskLocation(val, newVal); err != nil { - return err - } - (*out)[key] = newVal - } - } else { - out.DiskLocations = nil - } - return nil -} - -func Convert_internal_ListDiskIDsResponse_To_v1_ListDiskIDsResponse(in *internal.ListDiskIDsResponse, out *v1.ListDiskIDsResponse) error { - if in.DiskIDs != nil { - in, out := &in.DiskIDs, &out.DiskIDs - *out = make(map[string]*v1.DiskIDs, len(*in)) - for key, val := range *in { - newVal := new(v1.DiskIDs) - if err := Convert_internal_DiskIDs_To_v1_DiskIDs(val, newVal); err != nil { - return err - } - (*out)[key] = newVal - } - } else { - out.DiskIDs = nil - } - return nil -} - -func Convert_internal_DiskStatsResponse_To_v1_DiskStatsResponse(in *internal.DiskStatsResponse, out *v1.DiskStatsResponse) error { - out.DiskSize = in.DiskSize - return nil -} - -func Convert_v1_DiskStatsRequest_To_internal_DiskStatsRequest(in *v1.DiskStatsRequest, out *internal.DiskStatsRequest) error { - out.DiskID = in.DiskID - return nil -} diff --git a/internal/server/disk/internal/v1/conversion_generated.go b/internal/server/disk/internal/v1/conversion_generated.go deleted file mode 100644 index 016019e1..00000000 --- a/internal/server/disk/internal/v1/conversion_generated.go +++ /dev/null @@ -1,354 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - unsafe "unsafe" - - v1 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" - internal "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" -) - -func autoConvert_v1_DiskIDs_To_internal_DiskIDs(in *v1.DiskIDs, out *internal.DiskIDs) error { - out.Identifiers = *(*map[string]string)(unsafe.Pointer(&in.Identifiers)) - return nil -} - -// Convert_v1_DiskIDs_To_internal_DiskIDs is an autogenerated conversion function. -func Convert_v1_DiskIDs_To_internal_DiskIDs(in *v1.DiskIDs, out *internal.DiskIDs) error { - return autoConvert_v1_DiskIDs_To_internal_DiskIDs(in, out) -} - -func autoConvert_internal_DiskIDs_To_v1_DiskIDs(in *internal.DiskIDs, out *v1.DiskIDs) error { - out.Identifiers = *(*map[string]string)(unsafe.Pointer(&in.Identifiers)) - return nil -} - -// Convert_internal_DiskIDs_To_v1_DiskIDs is an autogenerated conversion function. -func Convert_internal_DiskIDs_To_v1_DiskIDs(in *internal.DiskIDs, out *v1.DiskIDs) error { - return autoConvert_internal_DiskIDs_To_v1_DiskIDs(in, out) -} - -func autoConvert_v1_DiskLocation_To_internal_DiskLocation(in *v1.DiskLocation, out *internal.DiskLocation) error { - out.Adapter = in.Adapter - out.Bus = in.Bus - out.Target = in.Target - out.LUNID = in.LUNID - return nil -} - -// Convert_v1_DiskLocation_To_internal_DiskLocation is an autogenerated conversion function. -func Convert_v1_DiskLocation_To_internal_DiskLocation(in *v1.DiskLocation, out *internal.DiskLocation) error { - return autoConvert_v1_DiskLocation_To_internal_DiskLocation(in, out) -} - -func autoConvert_internal_DiskLocation_To_v1_DiskLocation(in *internal.DiskLocation, out *v1.DiskLocation) error { - out.Adapter = in.Adapter - out.Bus = in.Bus - out.Target = in.Target - out.LUNID = in.LUNID - return nil -} - -// Convert_internal_DiskLocation_To_v1_DiskLocation is an autogenerated conversion function. -func Convert_internal_DiskLocation_To_v1_DiskLocation(in *internal.DiskLocation, out *v1.DiskLocation) error { - return autoConvert_internal_DiskLocation_To_v1_DiskLocation(in, out) -} - -func autoConvert_v1_DiskStatsRequest_To_internal_DiskStatsRequest(in *v1.DiskStatsRequest, out *internal.DiskStatsRequest) error { - out.DiskID = in.DiskID - return nil -} - -func autoConvert_internal_DiskStatsRequest_To_v1_DiskStatsRequest(in *internal.DiskStatsRequest, out *v1.DiskStatsRequest) error { - out.DiskID = in.DiskID - return nil -} - -// Convert_internal_DiskStatsRequest_To_v1_DiskStatsRequest is an autogenerated conversion function. -func Convert_internal_DiskStatsRequest_To_v1_DiskStatsRequest(in *internal.DiskStatsRequest, out *v1.DiskStatsRequest) error { - return autoConvert_internal_DiskStatsRequest_To_v1_DiskStatsRequest(in, out) -} - -func autoConvert_v1_DiskStatsResponse_To_internal_DiskStatsResponse(in *v1.DiskStatsResponse, out *internal.DiskStatsResponse) error { - out.DiskSize = in.DiskSize - return nil -} - -// Convert_v1_DiskStatsResponse_To_internal_DiskStatsResponse is an autogenerated conversion function. -func Convert_v1_DiskStatsResponse_To_internal_DiskStatsResponse(in *v1.DiskStatsResponse, out *internal.DiskStatsResponse) error { - return autoConvert_v1_DiskStatsResponse_To_internal_DiskStatsResponse(in, out) -} - -func autoConvert_internal_DiskStatsResponse_To_v1_DiskStatsResponse(in *internal.DiskStatsResponse, out *v1.DiskStatsResponse) error { - out.DiskSize = in.DiskSize - return nil -} - -func autoConvert_v1_GetAttachStateRequest_To_internal_GetAttachStateRequest(in *v1.GetAttachStateRequest, out *internal.GetAttachStateRequest) error { - out.DiskID = in.DiskID - return nil -} - -// Convert_v1_GetAttachStateRequest_To_internal_GetAttachStateRequest is an autogenerated conversion function. -func Convert_v1_GetAttachStateRequest_To_internal_GetAttachStateRequest(in *v1.GetAttachStateRequest, out *internal.GetAttachStateRequest) error { - return autoConvert_v1_GetAttachStateRequest_To_internal_GetAttachStateRequest(in, out) -} - -func autoConvert_internal_GetAttachStateRequest_To_v1_GetAttachStateRequest(in *internal.GetAttachStateRequest, out *v1.GetAttachStateRequest) error { - out.DiskID = in.DiskID - return nil -} - -// Convert_internal_GetAttachStateRequest_To_v1_GetAttachStateRequest is an autogenerated conversion function. -func Convert_internal_GetAttachStateRequest_To_v1_GetAttachStateRequest(in *internal.GetAttachStateRequest, out *v1.GetAttachStateRequest) error { - return autoConvert_internal_GetAttachStateRequest_To_v1_GetAttachStateRequest(in, out) -} - -func autoConvert_v1_GetAttachStateResponse_To_internal_GetAttachStateResponse(in *v1.GetAttachStateResponse, out *internal.GetAttachStateResponse) error { - out.IsOnline = in.IsOnline - return nil -} - -// Convert_v1_GetAttachStateResponse_To_internal_GetAttachStateResponse is an autogenerated conversion function. -func Convert_v1_GetAttachStateResponse_To_internal_GetAttachStateResponse(in *v1.GetAttachStateResponse, out *internal.GetAttachStateResponse) error { - return autoConvert_v1_GetAttachStateResponse_To_internal_GetAttachStateResponse(in, out) -} - -func autoConvert_internal_GetAttachStateResponse_To_v1_GetAttachStateResponse(in *internal.GetAttachStateResponse, out *v1.GetAttachStateResponse) error { - out.IsOnline = in.IsOnline - return nil -} - -// Convert_internal_GetAttachStateResponse_To_v1_GetAttachStateResponse is an autogenerated conversion function. -func Convert_internal_GetAttachStateResponse_To_v1_GetAttachStateResponse(in *internal.GetAttachStateResponse, out *v1.GetAttachStateResponse) error { - return autoConvert_internal_GetAttachStateResponse_To_v1_GetAttachStateResponse(in, out) -} - -func autoConvert_v1_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in *v1.ListDiskIDsRequest, out *internal.ListDiskIDsRequest) error { - return nil -} - -// Convert_v1_ListDiskIDsRequest_To_internal_ListDiskIDsRequest is an autogenerated conversion function. -func Convert_v1_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in *v1.ListDiskIDsRequest, out *internal.ListDiskIDsRequest) error { - return autoConvert_v1_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in, out) -} - -func autoConvert_internal_ListDiskIDsRequest_To_v1_ListDiskIDsRequest(in *internal.ListDiskIDsRequest, out *v1.ListDiskIDsRequest) error { - return nil -} - -// Convert_internal_ListDiskIDsRequest_To_v1_ListDiskIDsRequest is an autogenerated conversion function. -func Convert_internal_ListDiskIDsRequest_To_v1_ListDiskIDsRequest(in *internal.ListDiskIDsRequest, out *v1.ListDiskIDsRequest) error { - return autoConvert_internal_ListDiskIDsRequest_To_v1_ListDiskIDsRequest(in, out) -} - -func autoConvert_v1_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in *v1.ListDiskIDsResponse, out *internal.ListDiskIDsResponse) error { - if in.DiskIDs != nil { - in, out := &in.DiskIDs, &out.DiskIDs - *out = make(map[string]*internal.DiskIDs, len(*in)) - for key, val := range *in { - newVal := new(*internal.DiskIDs) - if err := Convert_v1_DiskIDs_To_internal_DiskIDs(*&val, *newVal); err != nil { - return err - } - (*out)[key] = *newVal - } - } else { - out.DiskIDs = nil - } - return nil -} - -// Convert_v1_ListDiskIDsResponse_To_internal_ListDiskIDsResponse is an autogenerated conversion function. -func Convert_v1_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in *v1.ListDiskIDsResponse, out *internal.ListDiskIDsResponse) error { - return autoConvert_v1_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in, out) -} - -func autoConvert_internal_ListDiskIDsResponse_To_v1_ListDiskIDsResponse(in *internal.ListDiskIDsResponse, out *v1.ListDiskIDsResponse) error { - if in.DiskIDs != nil { - in, out := &in.DiskIDs, &out.DiskIDs - *out = make(map[string]*v1.DiskIDs, len(*in)) - for key, val := range *in { - newVal := new(*v1.DiskIDs) - if err := Convert_internal_DiskIDs_To_v1_DiskIDs(*&val, *newVal); err != nil { - return err - } - (*out)[key] = *newVal - } - } else { - out.DiskIDs = nil - } - return nil -} - -func autoConvert_v1_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in *v1.ListDiskLocationsRequest, out *internal.ListDiskLocationsRequest) error { - return nil -} - -// Convert_v1_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest is an autogenerated conversion function. -func Convert_v1_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in *v1.ListDiskLocationsRequest, out *internal.ListDiskLocationsRequest) error { - return autoConvert_v1_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in, out) -} - -func autoConvert_internal_ListDiskLocationsRequest_To_v1_ListDiskLocationsRequest(in *internal.ListDiskLocationsRequest, out *v1.ListDiskLocationsRequest) error { - return nil -} - -// Convert_internal_ListDiskLocationsRequest_To_v1_ListDiskLocationsRequest is an autogenerated conversion function. -func Convert_internal_ListDiskLocationsRequest_To_v1_ListDiskLocationsRequest(in *internal.ListDiskLocationsRequest, out *v1.ListDiskLocationsRequest) error { - return autoConvert_internal_ListDiskLocationsRequest_To_v1_ListDiskLocationsRequest(in, out) -} - -func autoConvert_v1_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in *v1.ListDiskLocationsResponse, out *internal.ListDiskLocationsResponse) error { - if in.DiskLocations != nil { - in, out := &in.DiskLocations, &out.DiskLocations - *out = make(map[string]*internal.DiskLocation, len(*in)) - for key, val := range *in { - newVal := new(*internal.DiskLocation) - if err := Convert_v1_DiskLocation_To_internal_DiskLocation(*&val, *newVal); err != nil { - return err - } - (*out)[key] = *newVal - } - } else { - out.DiskLocations = nil - } - return nil -} - -// Convert_v1_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse is an autogenerated conversion function. -func Convert_v1_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in *v1.ListDiskLocationsResponse, out *internal.ListDiskLocationsResponse) error { - return autoConvert_v1_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in, out) -} - -func autoConvert_internal_ListDiskLocationsResponse_To_v1_ListDiskLocationsResponse(in *internal.ListDiskLocationsResponse, out *v1.ListDiskLocationsResponse) error { - if in.DiskLocations != nil { - in, out := &in.DiskLocations, &out.DiskLocations - *out = make(map[string]*v1.DiskLocation, len(*in)) - for key, val := range *in { - newVal := new(*v1.DiskLocation) - if err := Convert_internal_DiskLocation_To_v1_DiskLocation(*&val, *newVal); err != nil { - return err - } - (*out)[key] = *newVal - } - } else { - out.DiskLocations = nil - } - return nil -} - -func autoConvert_v1_PartitionDiskRequest_To_internal_PartitionDiskRequest(in *v1.PartitionDiskRequest, out *internal.PartitionDiskRequest) error { - out.DiskID = in.DiskID - return nil -} - -// Convert_v1_PartitionDiskRequest_To_internal_PartitionDiskRequest is an autogenerated conversion function. -func Convert_v1_PartitionDiskRequest_To_internal_PartitionDiskRequest(in *v1.PartitionDiskRequest, out *internal.PartitionDiskRequest) error { - return autoConvert_v1_PartitionDiskRequest_To_internal_PartitionDiskRequest(in, out) -} - -func autoConvert_internal_PartitionDiskRequest_To_v1_PartitionDiskRequest(in *internal.PartitionDiskRequest, out *v1.PartitionDiskRequest) error { - out.DiskID = in.DiskID - return nil -} - -// Convert_internal_PartitionDiskRequest_To_v1_PartitionDiskRequest is an autogenerated conversion function. -func Convert_internal_PartitionDiskRequest_To_v1_PartitionDiskRequest(in *internal.PartitionDiskRequest, out *v1.PartitionDiskRequest) error { - return autoConvert_internal_PartitionDiskRequest_To_v1_PartitionDiskRequest(in, out) -} - -func autoConvert_v1_PartitionDiskResponse_To_internal_PartitionDiskResponse(in *v1.PartitionDiskResponse, out *internal.PartitionDiskResponse) error { - return nil -} - -// Convert_v1_PartitionDiskResponse_To_internal_PartitionDiskResponse is an autogenerated conversion function. -func Convert_v1_PartitionDiskResponse_To_internal_PartitionDiskResponse(in *v1.PartitionDiskResponse, out *internal.PartitionDiskResponse) error { - return autoConvert_v1_PartitionDiskResponse_To_internal_PartitionDiskResponse(in, out) -} - -func autoConvert_internal_PartitionDiskResponse_To_v1_PartitionDiskResponse(in *internal.PartitionDiskResponse, out *v1.PartitionDiskResponse) error { - return nil -} - -// Convert_internal_PartitionDiskResponse_To_v1_PartitionDiskResponse is an autogenerated conversion function. -func Convert_internal_PartitionDiskResponse_To_v1_PartitionDiskResponse(in *internal.PartitionDiskResponse, out *v1.PartitionDiskResponse) error { - return autoConvert_internal_PartitionDiskResponse_To_v1_PartitionDiskResponse(in, out) -} - -func autoConvert_v1_RescanRequest_To_internal_RescanRequest(in *v1.RescanRequest, out *internal.RescanRequest) error { - return nil -} - -// Convert_v1_RescanRequest_To_internal_RescanRequest is an autogenerated conversion function. -func Convert_v1_RescanRequest_To_internal_RescanRequest(in *v1.RescanRequest, out *internal.RescanRequest) error { - return autoConvert_v1_RescanRequest_To_internal_RescanRequest(in, out) -} - -func autoConvert_internal_RescanRequest_To_v1_RescanRequest(in *internal.RescanRequest, out *v1.RescanRequest) error { - return nil -} - -// Convert_internal_RescanRequest_To_v1_RescanRequest is an autogenerated conversion function. -func Convert_internal_RescanRequest_To_v1_RescanRequest(in *internal.RescanRequest, out *v1.RescanRequest) error { - return autoConvert_internal_RescanRequest_To_v1_RescanRequest(in, out) -} - -func autoConvert_v1_RescanResponse_To_internal_RescanResponse(in *v1.RescanResponse, out *internal.RescanResponse) error { - return nil -} - -// Convert_v1_RescanResponse_To_internal_RescanResponse is an autogenerated conversion function. -func Convert_v1_RescanResponse_To_internal_RescanResponse(in *v1.RescanResponse, out *internal.RescanResponse) error { - return autoConvert_v1_RescanResponse_To_internal_RescanResponse(in, out) -} - -func autoConvert_internal_RescanResponse_To_v1_RescanResponse(in *internal.RescanResponse, out *v1.RescanResponse) error { - return nil -} - -// Convert_internal_RescanResponse_To_v1_RescanResponse is an autogenerated conversion function. -func Convert_internal_RescanResponse_To_v1_RescanResponse(in *internal.RescanResponse, out *v1.RescanResponse) error { - return autoConvert_internal_RescanResponse_To_v1_RescanResponse(in, out) -} - -func autoConvert_v1_SetAttachStateRequest_To_internal_SetAttachStateRequest(in *v1.SetAttachStateRequest, out *internal.SetAttachStateRequest) error { - out.DiskID = in.DiskID - out.IsOnline = in.IsOnline - return nil -} - -// Convert_v1_SetAttachStateRequest_To_internal_SetAttachStateRequest is an autogenerated conversion function. -func Convert_v1_SetAttachStateRequest_To_internal_SetAttachStateRequest(in *v1.SetAttachStateRequest, out *internal.SetAttachStateRequest) error { - return autoConvert_v1_SetAttachStateRequest_To_internal_SetAttachStateRequest(in, out) -} - -func autoConvert_internal_SetAttachStateRequest_To_v1_SetAttachStateRequest(in *internal.SetAttachStateRequest, out *v1.SetAttachStateRequest) error { - out.DiskID = in.DiskID - out.IsOnline = in.IsOnline - return nil -} - -// Convert_internal_SetAttachStateRequest_To_v1_SetAttachStateRequest is an autogenerated conversion function. -func Convert_internal_SetAttachStateRequest_To_v1_SetAttachStateRequest(in *internal.SetAttachStateRequest, out *v1.SetAttachStateRequest) error { - return autoConvert_internal_SetAttachStateRequest_To_v1_SetAttachStateRequest(in, out) -} - -func autoConvert_v1_SetAttachStateResponse_To_internal_SetAttachStateResponse(in *v1.SetAttachStateResponse, out *internal.SetAttachStateResponse) error { - return nil -} - -// Convert_v1_SetAttachStateResponse_To_internal_SetAttachStateResponse is an autogenerated conversion function. -func Convert_v1_SetAttachStateResponse_To_internal_SetAttachStateResponse(in *v1.SetAttachStateResponse, out *internal.SetAttachStateResponse) error { - return autoConvert_v1_SetAttachStateResponse_To_internal_SetAttachStateResponse(in, out) -} - -func autoConvert_internal_SetAttachStateResponse_To_v1_SetAttachStateResponse(in *internal.SetAttachStateResponse, out *v1.SetAttachStateResponse) error { - return nil -} - -// Convert_internal_SetAttachStateResponse_To_v1_SetAttachStateResponse is an autogenerated conversion function. -func Convert_internal_SetAttachStateResponse_To_v1_SetAttachStateResponse(in *internal.SetAttachStateResponse, out *v1.SetAttachStateResponse) error { - return autoConvert_internal_SetAttachStateResponse_To_v1_SetAttachStateResponse(in, out) -} diff --git a/internal/server/disk/internal/v1/server_generated.go b/internal/server/disk/internal/v1/server_generated.go deleted file mode 100644 index f4e777a0..00000000 --- a/internal/server/disk/internal/v1/server_generated.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - "context" - - "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" - "github.com/kubernetes-csi/csi-proxy/client/apiversion" - "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" - "google.golang.org/grpc" -) - -var version = apiversion.NewVersionOrPanic("v1") - -type versionedAPI struct { - apiGroupServer internal.ServerInterface -} - -func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.VersionedAPI { - return &versionedAPI{ - apiGroupServer: apiGroupServer, - } -} - -func (s *versionedAPI) Register(grpcServer *grpc.Server) { - v1.RegisterDiskServer(grpcServer, s) -} - -func (s *versionedAPI) DiskStats(context context.Context, versionedRequest *v1.DiskStatsRequest) (*v1.DiskStatsResponse, error) { - request := &internal.DiskStatsRequest{} - if err := Convert_v1_DiskStatsRequest_To_internal_DiskStatsRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.DiskStats(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.DiskStatsResponse{} - if err := Convert_internal_DiskStatsResponse_To_v1_DiskStatsResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) GetAttachState(context context.Context, versionedRequest *v1.GetAttachStateRequest) (*v1.GetAttachStateResponse, error) { - request := &internal.GetAttachStateRequest{} - if err := Convert_v1_GetAttachStateRequest_To_internal_GetAttachStateRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.GetAttachState(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.GetAttachStateResponse{} - if err := Convert_internal_GetAttachStateResponse_To_v1_GetAttachStateResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) ListDiskIDs(context context.Context, versionedRequest *v1.ListDiskIDsRequest) (*v1.ListDiskIDsResponse, error) { - request := &internal.ListDiskIDsRequest{} - if err := Convert_v1_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.ListDiskIDs(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.ListDiskIDsResponse{} - if err := Convert_internal_ListDiskIDsResponse_To_v1_ListDiskIDsResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) ListDiskLocations(context context.Context, versionedRequest *v1.ListDiskLocationsRequest) (*v1.ListDiskLocationsResponse, error) { - request := &internal.ListDiskLocationsRequest{} - if err := Convert_v1_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.ListDiskLocations(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.ListDiskLocationsResponse{} - if err := Convert_internal_ListDiskLocationsResponse_To_v1_ListDiskLocationsResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) PartitionDisk(context context.Context, versionedRequest *v1.PartitionDiskRequest) (*v1.PartitionDiskResponse, error) { - request := &internal.PartitionDiskRequest{} - if err := Convert_v1_PartitionDiskRequest_To_internal_PartitionDiskRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.PartitionDisk(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.PartitionDiskResponse{} - if err := Convert_internal_PartitionDiskResponse_To_v1_PartitionDiskResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) Rescan(context context.Context, versionedRequest *v1.RescanRequest) (*v1.RescanResponse, error) { - request := &internal.RescanRequest{} - if err := Convert_v1_RescanRequest_To_internal_RescanRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.Rescan(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.RescanResponse{} - if err := Convert_internal_RescanResponse_To_v1_RescanResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) SetAttachState(context context.Context, versionedRequest *v1.SetAttachStateRequest) (*v1.SetAttachStateResponse, error) { - request := &internal.SetAttachStateRequest{} - if err := Convert_v1_SetAttachStateRequest_To_internal_SetAttachStateRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.SetAttachState(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.SetAttachStateResponse{} - if err := Convert_internal_SetAttachStateResponse_To_v1_SetAttachStateResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} diff --git a/internal/server/disk/internal/v1beta3/conversion.go b/internal/server/disk/internal/v1beta3/conversion.go new file mode 100644 index 00000000..816492c5 --- /dev/null +++ b/internal/server/disk/internal/v1beta3/conversion.go @@ -0,0 +1,52 @@ +package v1beta3 + +// Add manual conversion functions here to override automatic conversion functions + +import ( + v1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" + internal "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" +) + +func Convert_internal_ListDiskLocationsResponse_To_v1beta3_ListDiskLocationsResponse(in *internal.ListDiskLocationsResponse, out *v1beta3.ListDiskLocationsResponse) error { + if in.DiskLocations != nil { + in, out := &in.DiskLocations, &out.DiskLocations + *out = make(map[string]*v1beta3.DiskLocation, len(*in)) + for key, val := range *in { + newVal := new(v1beta3.DiskLocation) + if err := Convert_internal_DiskLocation_To_v1beta3_DiskLocation(val, newVal); err != nil { + return err + } + (*out)[key] = newVal + } + } else { + out.DiskLocations = nil + } + return nil +} + +func Convert_internal_ListDiskIDsResponse_To_v1beta3_ListDiskIDsResponse(in *internal.ListDiskIDsResponse, out *v1beta3.ListDiskIDsResponse) error { + if in.DiskIDs != nil { + in, out := &in.DiskIDs, &out.DiskIDs + *out = make(map[string]*v1beta3.DiskIDs, len(*in)) + for key, val := range *in { + newVal := new(v1beta3.DiskIDs) + if err := Convert_internal_DiskIDs_To_v1beta3_DiskIDs(val, newVal); err != nil { + return err + } + (*out)[key] = newVal + } + } else { + out.DiskIDs = nil + } + return nil +} + +func Convert_internal_DiskStatsResponse_To_v1beta3_DiskStatsResponse(in *internal.DiskStatsResponse, out *v1beta3.DiskStatsResponse) error { + out.DiskSize = in.DiskSize + return nil +} + +func Convert_v1beta3_DiskStatsRequest_To_internal_DiskStatsRequest(in *v1beta3.DiskStatsRequest, out *internal.DiskStatsRequest) error { + out.DiskID = in.DiskID + return nil +} diff --git a/internal/server/disk/internal/v1beta3/conversion_generated.go b/internal/server/disk/internal/v1beta3/conversion_generated.go new file mode 100644 index 00000000..9932ebd8 --- /dev/null +++ b/internal/server/disk/internal/v1beta3/conversion_generated.go @@ -0,0 +1,354 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta3 + +import ( + unsafe "unsafe" + + v1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" + internal "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" +) + +func autoConvert_v1beta3_DiskIDs_To_internal_DiskIDs(in *v1beta3.DiskIDs, out *internal.DiskIDs) error { + out.Identifiers = *(*map[string]string)(unsafe.Pointer(&in.Identifiers)) + return nil +} + +// Convert_v1beta3_DiskIDs_To_internal_DiskIDs is an autogenerated conversion function. +func Convert_v1beta3_DiskIDs_To_internal_DiskIDs(in *v1beta3.DiskIDs, out *internal.DiskIDs) error { + return autoConvert_v1beta3_DiskIDs_To_internal_DiskIDs(in, out) +} + +func autoConvert_internal_DiskIDs_To_v1beta3_DiskIDs(in *internal.DiskIDs, out *v1beta3.DiskIDs) error { + out.Identifiers = *(*map[string]string)(unsafe.Pointer(&in.Identifiers)) + return nil +} + +// Convert_internal_DiskIDs_To_v1beta3_DiskIDs is an autogenerated conversion function. +func Convert_internal_DiskIDs_To_v1beta3_DiskIDs(in *internal.DiskIDs, out *v1beta3.DiskIDs) error { + return autoConvert_internal_DiskIDs_To_v1beta3_DiskIDs(in, out) +} + +func autoConvert_v1beta3_DiskLocation_To_internal_DiskLocation(in *v1beta3.DiskLocation, out *internal.DiskLocation) error { + out.Adapter = in.Adapter + out.Bus = in.Bus + out.Target = in.Target + out.LUNID = in.LUNID + return nil +} + +// Convert_v1beta3_DiskLocation_To_internal_DiskLocation is an autogenerated conversion function. +func Convert_v1beta3_DiskLocation_To_internal_DiskLocation(in *v1beta3.DiskLocation, out *internal.DiskLocation) error { + return autoConvert_v1beta3_DiskLocation_To_internal_DiskLocation(in, out) +} + +func autoConvert_internal_DiskLocation_To_v1beta3_DiskLocation(in *internal.DiskLocation, out *v1beta3.DiskLocation) error { + out.Adapter = in.Adapter + out.Bus = in.Bus + out.Target = in.Target + out.LUNID = in.LUNID + return nil +} + +// Convert_internal_DiskLocation_To_v1beta3_DiskLocation is an autogenerated conversion function. +func Convert_internal_DiskLocation_To_v1beta3_DiskLocation(in *internal.DiskLocation, out *v1beta3.DiskLocation) error { + return autoConvert_internal_DiskLocation_To_v1beta3_DiskLocation(in, out) +} + +func autoConvert_v1beta3_DiskStatsRequest_To_internal_DiskStatsRequest(in *v1beta3.DiskStatsRequest, out *internal.DiskStatsRequest) error { + out.DiskID = in.DiskID + return nil +} + +func autoConvert_internal_DiskStatsRequest_To_v1beta3_DiskStatsRequest(in *internal.DiskStatsRequest, out *v1beta3.DiskStatsRequest) error { + out.DiskID = in.DiskID + return nil +} + +// Convert_internal_DiskStatsRequest_To_v1beta3_DiskStatsRequest is an autogenerated conversion function. +func Convert_internal_DiskStatsRequest_To_v1beta3_DiskStatsRequest(in *internal.DiskStatsRequest, out *v1beta3.DiskStatsRequest) error { + return autoConvert_internal_DiskStatsRequest_To_v1beta3_DiskStatsRequest(in, out) +} + +func autoConvert_v1beta3_DiskStatsResponse_To_internal_DiskStatsResponse(in *v1beta3.DiskStatsResponse, out *internal.DiskStatsResponse) error { + out.DiskSize = in.DiskSize + return nil +} + +// Convert_v1beta3_DiskStatsResponse_To_internal_DiskStatsResponse is an autogenerated conversion function. +func Convert_v1beta3_DiskStatsResponse_To_internal_DiskStatsResponse(in *v1beta3.DiskStatsResponse, out *internal.DiskStatsResponse) error { + return autoConvert_v1beta3_DiskStatsResponse_To_internal_DiskStatsResponse(in, out) +} + +func autoConvert_internal_DiskStatsResponse_To_v1beta3_DiskStatsResponse(in *internal.DiskStatsResponse, out *v1beta3.DiskStatsResponse) error { + out.DiskSize = in.DiskSize + return nil +} + +func autoConvert_v1beta3_GetAttachStateRequest_To_internal_GetAttachStateRequest(in *v1beta3.GetAttachStateRequest, out *internal.GetAttachStateRequest) error { + out.DiskID = in.DiskID + return nil +} + +// Convert_v1beta3_GetAttachStateRequest_To_internal_GetAttachStateRequest is an autogenerated conversion function. +func Convert_v1beta3_GetAttachStateRequest_To_internal_GetAttachStateRequest(in *v1beta3.GetAttachStateRequest, out *internal.GetAttachStateRequest) error { + return autoConvert_v1beta3_GetAttachStateRequest_To_internal_GetAttachStateRequest(in, out) +} + +func autoConvert_internal_GetAttachStateRequest_To_v1beta3_GetAttachStateRequest(in *internal.GetAttachStateRequest, out *v1beta3.GetAttachStateRequest) error { + out.DiskID = in.DiskID + return nil +} + +// Convert_internal_GetAttachStateRequest_To_v1beta3_GetAttachStateRequest is an autogenerated conversion function. +func Convert_internal_GetAttachStateRequest_To_v1beta3_GetAttachStateRequest(in *internal.GetAttachStateRequest, out *v1beta3.GetAttachStateRequest) error { + return autoConvert_internal_GetAttachStateRequest_To_v1beta3_GetAttachStateRequest(in, out) +} + +func autoConvert_v1beta3_GetAttachStateResponse_To_internal_GetAttachStateResponse(in *v1beta3.GetAttachStateResponse, out *internal.GetAttachStateResponse) error { + out.IsOnline = in.IsOnline + return nil +} + +// Convert_v1beta3_GetAttachStateResponse_To_internal_GetAttachStateResponse is an autogenerated conversion function. +func Convert_v1beta3_GetAttachStateResponse_To_internal_GetAttachStateResponse(in *v1beta3.GetAttachStateResponse, out *internal.GetAttachStateResponse) error { + return autoConvert_v1beta3_GetAttachStateResponse_To_internal_GetAttachStateResponse(in, out) +} + +func autoConvert_internal_GetAttachStateResponse_To_v1beta3_GetAttachStateResponse(in *internal.GetAttachStateResponse, out *v1beta3.GetAttachStateResponse) error { + out.IsOnline = in.IsOnline + return nil +} + +// Convert_internal_GetAttachStateResponse_To_v1beta3_GetAttachStateResponse is an autogenerated conversion function. +func Convert_internal_GetAttachStateResponse_To_v1beta3_GetAttachStateResponse(in *internal.GetAttachStateResponse, out *v1beta3.GetAttachStateResponse) error { + return autoConvert_internal_GetAttachStateResponse_To_v1beta3_GetAttachStateResponse(in, out) +} + +func autoConvert_v1beta3_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in *v1beta3.ListDiskIDsRequest, out *internal.ListDiskIDsRequest) error { + return nil +} + +// Convert_v1beta3_ListDiskIDsRequest_To_internal_ListDiskIDsRequest is an autogenerated conversion function. +func Convert_v1beta3_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in *v1beta3.ListDiskIDsRequest, out *internal.ListDiskIDsRequest) error { + return autoConvert_v1beta3_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(in, out) +} + +func autoConvert_internal_ListDiskIDsRequest_To_v1beta3_ListDiskIDsRequest(in *internal.ListDiskIDsRequest, out *v1beta3.ListDiskIDsRequest) error { + return nil +} + +// Convert_internal_ListDiskIDsRequest_To_v1beta3_ListDiskIDsRequest is an autogenerated conversion function. +func Convert_internal_ListDiskIDsRequest_To_v1beta3_ListDiskIDsRequest(in *internal.ListDiskIDsRequest, out *v1beta3.ListDiskIDsRequest) error { + return autoConvert_internal_ListDiskIDsRequest_To_v1beta3_ListDiskIDsRequest(in, out) +} + +func autoConvert_v1beta3_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in *v1beta3.ListDiskIDsResponse, out *internal.ListDiskIDsResponse) error { + if in.DiskIDs != nil { + in, out := &in.DiskIDs, &out.DiskIDs + *out = make(map[string]*internal.DiskIDs, len(*in)) + for key, val := range *in { + newVal := new(*internal.DiskIDs) + if err := Convert_v1beta3_DiskIDs_To_internal_DiskIDs(*&val, *newVal); err != nil { + return err + } + (*out)[key] = *newVal + } + } else { + out.DiskIDs = nil + } + return nil +} + +// Convert_v1beta3_ListDiskIDsResponse_To_internal_ListDiskIDsResponse is an autogenerated conversion function. +func Convert_v1beta3_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in *v1beta3.ListDiskIDsResponse, out *internal.ListDiskIDsResponse) error { + return autoConvert_v1beta3_ListDiskIDsResponse_To_internal_ListDiskIDsResponse(in, out) +} + +func autoConvert_internal_ListDiskIDsResponse_To_v1beta3_ListDiskIDsResponse(in *internal.ListDiskIDsResponse, out *v1beta3.ListDiskIDsResponse) error { + if in.DiskIDs != nil { + in, out := &in.DiskIDs, &out.DiskIDs + *out = make(map[string]*v1beta3.DiskIDs, len(*in)) + for key, val := range *in { + newVal := new(*v1beta3.DiskIDs) + if err := Convert_internal_DiskIDs_To_v1beta3_DiskIDs(*&val, *newVal); err != nil { + return err + } + (*out)[key] = *newVal + } + } else { + out.DiskIDs = nil + } + return nil +} + +func autoConvert_v1beta3_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in *v1beta3.ListDiskLocationsRequest, out *internal.ListDiskLocationsRequest) error { + return nil +} + +// Convert_v1beta3_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest is an autogenerated conversion function. +func Convert_v1beta3_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in *v1beta3.ListDiskLocationsRequest, out *internal.ListDiskLocationsRequest) error { + return autoConvert_v1beta3_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(in, out) +} + +func autoConvert_internal_ListDiskLocationsRequest_To_v1beta3_ListDiskLocationsRequest(in *internal.ListDiskLocationsRequest, out *v1beta3.ListDiskLocationsRequest) error { + return nil +} + +// Convert_internal_ListDiskLocationsRequest_To_v1beta3_ListDiskLocationsRequest is an autogenerated conversion function. +func Convert_internal_ListDiskLocationsRequest_To_v1beta3_ListDiskLocationsRequest(in *internal.ListDiskLocationsRequest, out *v1beta3.ListDiskLocationsRequest) error { + return autoConvert_internal_ListDiskLocationsRequest_To_v1beta3_ListDiskLocationsRequest(in, out) +} + +func autoConvert_v1beta3_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in *v1beta3.ListDiskLocationsResponse, out *internal.ListDiskLocationsResponse) error { + if in.DiskLocations != nil { + in, out := &in.DiskLocations, &out.DiskLocations + *out = make(map[string]*internal.DiskLocation, len(*in)) + for key, val := range *in { + newVal := new(*internal.DiskLocation) + if err := Convert_v1beta3_DiskLocation_To_internal_DiskLocation(*&val, *newVal); err != nil { + return err + } + (*out)[key] = *newVal + } + } else { + out.DiskLocations = nil + } + return nil +} + +// Convert_v1beta3_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse is an autogenerated conversion function. +func Convert_v1beta3_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in *v1beta3.ListDiskLocationsResponse, out *internal.ListDiskLocationsResponse) error { + return autoConvert_v1beta3_ListDiskLocationsResponse_To_internal_ListDiskLocationsResponse(in, out) +} + +func autoConvert_internal_ListDiskLocationsResponse_To_v1beta3_ListDiskLocationsResponse(in *internal.ListDiskLocationsResponse, out *v1beta3.ListDiskLocationsResponse) error { + if in.DiskLocations != nil { + in, out := &in.DiskLocations, &out.DiskLocations + *out = make(map[string]*v1beta3.DiskLocation, len(*in)) + for key, val := range *in { + newVal := new(*v1beta3.DiskLocation) + if err := Convert_internal_DiskLocation_To_v1beta3_DiskLocation(*&val, *newVal); err != nil { + return err + } + (*out)[key] = *newVal + } + } else { + out.DiskLocations = nil + } + return nil +} + +func autoConvert_v1beta3_PartitionDiskRequest_To_internal_PartitionDiskRequest(in *v1beta3.PartitionDiskRequest, out *internal.PartitionDiskRequest) error { + out.DiskID = in.DiskID + return nil +} + +// Convert_v1beta3_PartitionDiskRequest_To_internal_PartitionDiskRequest is an autogenerated conversion function. +func Convert_v1beta3_PartitionDiskRequest_To_internal_PartitionDiskRequest(in *v1beta3.PartitionDiskRequest, out *internal.PartitionDiskRequest) error { + return autoConvert_v1beta3_PartitionDiskRequest_To_internal_PartitionDiskRequest(in, out) +} + +func autoConvert_internal_PartitionDiskRequest_To_v1beta3_PartitionDiskRequest(in *internal.PartitionDiskRequest, out *v1beta3.PartitionDiskRequest) error { + out.DiskID = in.DiskID + return nil +} + +// Convert_internal_PartitionDiskRequest_To_v1beta3_PartitionDiskRequest is an autogenerated conversion function. +func Convert_internal_PartitionDiskRequest_To_v1beta3_PartitionDiskRequest(in *internal.PartitionDiskRequest, out *v1beta3.PartitionDiskRequest) error { + return autoConvert_internal_PartitionDiskRequest_To_v1beta3_PartitionDiskRequest(in, out) +} + +func autoConvert_v1beta3_PartitionDiskResponse_To_internal_PartitionDiskResponse(in *v1beta3.PartitionDiskResponse, out *internal.PartitionDiskResponse) error { + return nil +} + +// Convert_v1beta3_PartitionDiskResponse_To_internal_PartitionDiskResponse is an autogenerated conversion function. +func Convert_v1beta3_PartitionDiskResponse_To_internal_PartitionDiskResponse(in *v1beta3.PartitionDiskResponse, out *internal.PartitionDiskResponse) error { + return autoConvert_v1beta3_PartitionDiskResponse_To_internal_PartitionDiskResponse(in, out) +} + +func autoConvert_internal_PartitionDiskResponse_To_v1beta3_PartitionDiskResponse(in *internal.PartitionDiskResponse, out *v1beta3.PartitionDiskResponse) error { + return nil +} + +// Convert_internal_PartitionDiskResponse_To_v1beta3_PartitionDiskResponse is an autogenerated conversion function. +func Convert_internal_PartitionDiskResponse_To_v1beta3_PartitionDiskResponse(in *internal.PartitionDiskResponse, out *v1beta3.PartitionDiskResponse) error { + return autoConvert_internal_PartitionDiskResponse_To_v1beta3_PartitionDiskResponse(in, out) +} + +func autoConvert_v1beta3_RescanRequest_To_internal_RescanRequest(in *v1beta3.RescanRequest, out *internal.RescanRequest) error { + return nil +} + +// Convert_v1beta3_RescanRequest_To_internal_RescanRequest is an autogenerated conversion function. +func Convert_v1beta3_RescanRequest_To_internal_RescanRequest(in *v1beta3.RescanRequest, out *internal.RescanRequest) error { + return autoConvert_v1beta3_RescanRequest_To_internal_RescanRequest(in, out) +} + +func autoConvert_internal_RescanRequest_To_v1beta3_RescanRequest(in *internal.RescanRequest, out *v1beta3.RescanRequest) error { + return nil +} + +// Convert_internal_RescanRequest_To_v1beta3_RescanRequest is an autogenerated conversion function. +func Convert_internal_RescanRequest_To_v1beta3_RescanRequest(in *internal.RescanRequest, out *v1beta3.RescanRequest) error { + return autoConvert_internal_RescanRequest_To_v1beta3_RescanRequest(in, out) +} + +func autoConvert_v1beta3_RescanResponse_To_internal_RescanResponse(in *v1beta3.RescanResponse, out *internal.RescanResponse) error { + return nil +} + +// Convert_v1beta3_RescanResponse_To_internal_RescanResponse is an autogenerated conversion function. +func Convert_v1beta3_RescanResponse_To_internal_RescanResponse(in *v1beta3.RescanResponse, out *internal.RescanResponse) error { + return autoConvert_v1beta3_RescanResponse_To_internal_RescanResponse(in, out) +} + +func autoConvert_internal_RescanResponse_To_v1beta3_RescanResponse(in *internal.RescanResponse, out *v1beta3.RescanResponse) error { + return nil +} + +// Convert_internal_RescanResponse_To_v1beta3_RescanResponse is an autogenerated conversion function. +func Convert_internal_RescanResponse_To_v1beta3_RescanResponse(in *internal.RescanResponse, out *v1beta3.RescanResponse) error { + return autoConvert_internal_RescanResponse_To_v1beta3_RescanResponse(in, out) +} + +func autoConvert_v1beta3_SetAttachStateRequest_To_internal_SetAttachStateRequest(in *v1beta3.SetAttachStateRequest, out *internal.SetAttachStateRequest) error { + out.DiskID = in.DiskID + out.IsOnline = in.IsOnline + return nil +} + +// Convert_v1beta3_SetAttachStateRequest_To_internal_SetAttachStateRequest is an autogenerated conversion function. +func Convert_v1beta3_SetAttachStateRequest_To_internal_SetAttachStateRequest(in *v1beta3.SetAttachStateRequest, out *internal.SetAttachStateRequest) error { + return autoConvert_v1beta3_SetAttachStateRequest_To_internal_SetAttachStateRequest(in, out) +} + +func autoConvert_internal_SetAttachStateRequest_To_v1beta3_SetAttachStateRequest(in *internal.SetAttachStateRequest, out *v1beta3.SetAttachStateRequest) error { + out.DiskID = in.DiskID + out.IsOnline = in.IsOnline + return nil +} + +// Convert_internal_SetAttachStateRequest_To_v1beta3_SetAttachStateRequest is an autogenerated conversion function. +func Convert_internal_SetAttachStateRequest_To_v1beta3_SetAttachStateRequest(in *internal.SetAttachStateRequest, out *v1beta3.SetAttachStateRequest) error { + return autoConvert_internal_SetAttachStateRequest_To_v1beta3_SetAttachStateRequest(in, out) +} + +func autoConvert_v1beta3_SetAttachStateResponse_To_internal_SetAttachStateResponse(in *v1beta3.SetAttachStateResponse, out *internal.SetAttachStateResponse) error { + return nil +} + +// Convert_v1beta3_SetAttachStateResponse_To_internal_SetAttachStateResponse is an autogenerated conversion function. +func Convert_v1beta3_SetAttachStateResponse_To_internal_SetAttachStateResponse(in *v1beta3.SetAttachStateResponse, out *internal.SetAttachStateResponse) error { + return autoConvert_v1beta3_SetAttachStateResponse_To_internal_SetAttachStateResponse(in, out) +} + +func autoConvert_internal_SetAttachStateResponse_To_v1beta3_SetAttachStateResponse(in *internal.SetAttachStateResponse, out *v1beta3.SetAttachStateResponse) error { + return nil +} + +// Convert_internal_SetAttachStateResponse_To_v1beta3_SetAttachStateResponse is an autogenerated conversion function. +func Convert_internal_SetAttachStateResponse_To_v1beta3_SetAttachStateResponse(in *internal.SetAttachStateResponse, out *v1beta3.SetAttachStateResponse) error { + return autoConvert_internal_SetAttachStateResponse_To_v1beta3_SetAttachStateResponse(in, out) +} diff --git a/internal/server/disk/internal/v1beta3/server_generated.go b/internal/server/disk/internal/v1beta3/server_generated.go new file mode 100644 index 00000000..01096bce --- /dev/null +++ b/internal/server/disk/internal/v1beta3/server_generated.go @@ -0,0 +1,161 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta3 + +import ( + "context" + + "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" + "github.com/kubernetes-csi/csi-proxy/client/apiversion" + "github.com/kubernetes-csi/csi-proxy/internal/server/disk/internal" + "google.golang.org/grpc" +) + +var version = apiversion.NewVersionOrPanic("v1beta3") + +type versionedAPI struct { + apiGroupServer internal.ServerInterface +} + +func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.VersionedAPI { + return &versionedAPI{ + apiGroupServer: apiGroupServer, + } +} + +func (s *versionedAPI) Register(grpcServer *grpc.Server) { + v1beta3.RegisterDiskServer(grpcServer, s) +} + +func (s *versionedAPI) DiskStats(context context.Context, versionedRequest *v1beta3.DiskStatsRequest) (*v1beta3.DiskStatsResponse, error) { + request := &internal.DiskStatsRequest{} + if err := Convert_v1beta3_DiskStatsRequest_To_internal_DiskStatsRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.DiskStats(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.DiskStatsResponse{} + if err := Convert_internal_DiskStatsResponse_To_v1beta3_DiskStatsResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) GetAttachState(context context.Context, versionedRequest *v1beta3.GetAttachStateRequest) (*v1beta3.GetAttachStateResponse, error) { + request := &internal.GetAttachStateRequest{} + if err := Convert_v1beta3_GetAttachStateRequest_To_internal_GetAttachStateRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.GetAttachState(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.GetAttachStateResponse{} + if err := Convert_internal_GetAttachStateResponse_To_v1beta3_GetAttachStateResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) ListDiskIDs(context context.Context, versionedRequest *v1beta3.ListDiskIDsRequest) (*v1beta3.ListDiskIDsResponse, error) { + request := &internal.ListDiskIDsRequest{} + if err := Convert_v1beta3_ListDiskIDsRequest_To_internal_ListDiskIDsRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.ListDiskIDs(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.ListDiskIDsResponse{} + if err := Convert_internal_ListDiskIDsResponse_To_v1beta3_ListDiskIDsResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) ListDiskLocations(context context.Context, versionedRequest *v1beta3.ListDiskLocationsRequest) (*v1beta3.ListDiskLocationsResponse, error) { + request := &internal.ListDiskLocationsRequest{} + if err := Convert_v1beta3_ListDiskLocationsRequest_To_internal_ListDiskLocationsRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.ListDiskLocations(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.ListDiskLocationsResponse{} + if err := Convert_internal_ListDiskLocationsResponse_To_v1beta3_ListDiskLocationsResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) PartitionDisk(context context.Context, versionedRequest *v1beta3.PartitionDiskRequest) (*v1beta3.PartitionDiskResponse, error) { + request := &internal.PartitionDiskRequest{} + if err := Convert_v1beta3_PartitionDiskRequest_To_internal_PartitionDiskRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.PartitionDisk(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.PartitionDiskResponse{} + if err := Convert_internal_PartitionDiskResponse_To_v1beta3_PartitionDiskResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) Rescan(context context.Context, versionedRequest *v1beta3.RescanRequest) (*v1beta3.RescanResponse, error) { + request := &internal.RescanRequest{} + if err := Convert_v1beta3_RescanRequest_To_internal_RescanRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.Rescan(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.RescanResponse{} + if err := Convert_internal_RescanResponse_To_v1beta3_RescanResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) SetAttachState(context context.Context, versionedRequest *v1beta3.SetAttachStateRequest) (*v1beta3.SetAttachStateResponse, error) { + request := &internal.SetAttachStateRequest{} + if err := Convert_v1beta3_SetAttachStateRequest_To_internal_SetAttachStateRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.SetAttachState(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.SetAttachStateResponse{} + if err := Convert_internal_SetAttachStateResponse_To_v1beta3_SetAttachStateResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} diff --git a/internal/server/filesystem/api_group_generated.go b/internal/server/filesystem/api_group_generated.go index 4b2d776a..abd78657 100644 --- a/internal/server/filesystem/api_group_generated.go +++ b/internal/server/filesystem/api_group_generated.go @@ -5,9 +5,9 @@ package filesystem import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal" - "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal/v1" "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal/v1beta1" + "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal/v1beta2" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" ) @@ -19,7 +19,7 @@ var _ internal.ServerInterface = &Server{} func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { v1alpha1Server := v1alpha1.NewVersionedServer(s) v1beta1Server := v1beta1.NewVersionedServer(s) - v1Server := v1.NewVersionedServer(s) + v1beta2Server := v1beta2.NewVersionedServer(s) return []*srvtypes.VersionedAPI{ { @@ -34,8 +34,8 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { }, { Group: name, - Version: apiversion.NewVersionOrPanic("v1"), - Registrant: v1Server.Register, + Version: apiversion.NewVersionOrPanic("v1beta2"), + Registrant: v1beta2Server.Register, }, } } diff --git a/internal/server/filesystem/internal/v1/conversion_generated.go b/internal/server/filesystem/internal/v1/conversion_generated.go deleted file mode 100644 index 0b2cce60..00000000 --- a/internal/server/filesystem/internal/v1/conversion_generated.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - v1 "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1" - internal "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal" -) - -func autoConvert_v1_IsMountPointRequest_To_internal_IsMountPointRequest(in *v1.IsMountPointRequest, out *internal.IsMountPointRequest) error { - out.Path = in.Path - return nil -} - -// Convert_v1_IsMountPointRequest_To_internal_IsMountPointRequest is an autogenerated conversion function. -func Convert_v1_IsMountPointRequest_To_internal_IsMountPointRequest(in *v1.IsMountPointRequest, out *internal.IsMountPointRequest) error { - return autoConvert_v1_IsMountPointRequest_To_internal_IsMountPointRequest(in, out) -} - -func autoConvert_internal_IsMountPointRequest_To_v1_IsMountPointRequest(in *internal.IsMountPointRequest, out *v1.IsMountPointRequest) error { - out.Path = in.Path - return nil -} - -// Convert_internal_IsMountPointRequest_To_v1_IsMountPointRequest is an autogenerated conversion function. -func Convert_internal_IsMountPointRequest_To_v1_IsMountPointRequest(in *internal.IsMountPointRequest, out *v1.IsMountPointRequest) error { - return autoConvert_internal_IsMountPointRequest_To_v1_IsMountPointRequest(in, out) -} - -func autoConvert_v1_IsMountPointResponse_To_internal_IsMountPointResponse(in *v1.IsMountPointResponse, out *internal.IsMountPointResponse) error { - out.Error = in.Error - out.IsMountPoint = in.IsMountPoint - return nil -} - -// Convert_v1_IsMountPointResponse_To_internal_IsMountPointResponse is an autogenerated conversion function. -func Convert_v1_IsMountPointResponse_To_internal_IsMountPointResponse(in *v1.IsMountPointResponse, out *internal.IsMountPointResponse) error { - return autoConvert_v1_IsMountPointResponse_To_internal_IsMountPointResponse(in, out) -} - -func autoConvert_internal_IsMountPointResponse_To_v1_IsMountPointResponse(in *internal.IsMountPointResponse, out *v1.IsMountPointResponse) error { - out.Error = in.Error - out.IsMountPoint = in.IsMountPoint - return nil -} - -// Convert_internal_IsMountPointResponse_To_v1_IsMountPointResponse is an autogenerated conversion function. -func Convert_internal_IsMountPointResponse_To_v1_IsMountPointResponse(in *internal.IsMountPointResponse, out *v1.IsMountPointResponse) error { - return autoConvert_internal_IsMountPointResponse_To_v1_IsMountPointResponse(in, out) -} - -func autoConvert_v1_LinkPathRequest_To_internal_LinkPathRequest(in *v1.LinkPathRequest, out *internal.LinkPathRequest) error { - out.SourcePath = in.SourcePath - out.TargetPath = in.TargetPath - return nil -} - -// Convert_v1_LinkPathRequest_To_internal_LinkPathRequest is an autogenerated conversion function. -func Convert_v1_LinkPathRequest_To_internal_LinkPathRequest(in *v1.LinkPathRequest, out *internal.LinkPathRequest) error { - return autoConvert_v1_LinkPathRequest_To_internal_LinkPathRequest(in, out) -} - -func autoConvert_internal_LinkPathRequest_To_v1_LinkPathRequest(in *internal.LinkPathRequest, out *v1.LinkPathRequest) error { - out.SourcePath = in.SourcePath - out.TargetPath = in.TargetPath - return nil -} - -// Convert_internal_LinkPathRequest_To_v1_LinkPathRequest is an autogenerated conversion function. -func Convert_internal_LinkPathRequest_To_v1_LinkPathRequest(in *internal.LinkPathRequest, out *v1.LinkPathRequest) error { - return autoConvert_internal_LinkPathRequest_To_v1_LinkPathRequest(in, out) -} - -func autoConvert_v1_LinkPathResponse_To_internal_LinkPathResponse(in *v1.LinkPathResponse, out *internal.LinkPathResponse) error { - out.Error = in.Error - return nil -} - -// Convert_v1_LinkPathResponse_To_internal_LinkPathResponse is an autogenerated conversion function. -func Convert_v1_LinkPathResponse_To_internal_LinkPathResponse(in *v1.LinkPathResponse, out *internal.LinkPathResponse) error { - return autoConvert_v1_LinkPathResponse_To_internal_LinkPathResponse(in, out) -} - -func autoConvert_internal_LinkPathResponse_To_v1_LinkPathResponse(in *internal.LinkPathResponse, out *v1.LinkPathResponse) error { - out.Error = in.Error - return nil -} - -// Convert_internal_LinkPathResponse_To_v1_LinkPathResponse is an autogenerated conversion function. -func Convert_internal_LinkPathResponse_To_v1_LinkPathResponse(in *internal.LinkPathResponse, out *v1.LinkPathResponse) error { - return autoConvert_internal_LinkPathResponse_To_v1_LinkPathResponse(in, out) -} - -func autoConvert_v1_MkdirRequest_To_internal_MkdirRequest(in *v1.MkdirRequest, out *internal.MkdirRequest) error { - out.Path = in.Path - out.Context = internal.PathContext(in.Context) - return nil -} - -// Convert_v1_MkdirRequest_To_internal_MkdirRequest is an autogenerated conversion function. -func Convert_v1_MkdirRequest_To_internal_MkdirRequest(in *v1.MkdirRequest, out *internal.MkdirRequest) error { - return autoConvert_v1_MkdirRequest_To_internal_MkdirRequest(in, out) -} - -func autoConvert_internal_MkdirRequest_To_v1_MkdirRequest(in *internal.MkdirRequest, out *v1.MkdirRequest) error { - out.Path = in.Path - out.Context = v1.PathContext(in.Context) - return nil -} - -// Convert_internal_MkdirRequest_To_v1_MkdirRequest is an autogenerated conversion function. -func Convert_internal_MkdirRequest_To_v1_MkdirRequest(in *internal.MkdirRequest, out *v1.MkdirRequest) error { - return autoConvert_internal_MkdirRequest_To_v1_MkdirRequest(in, out) -} - -func autoConvert_v1_MkdirResponse_To_internal_MkdirResponse(in *v1.MkdirResponse, out *internal.MkdirResponse) error { - out.Error = in.Error - return nil -} - -// Convert_v1_MkdirResponse_To_internal_MkdirResponse is an autogenerated conversion function. -func Convert_v1_MkdirResponse_To_internal_MkdirResponse(in *v1.MkdirResponse, out *internal.MkdirResponse) error { - return autoConvert_v1_MkdirResponse_To_internal_MkdirResponse(in, out) -} - -func autoConvert_internal_MkdirResponse_To_v1_MkdirResponse(in *internal.MkdirResponse, out *v1.MkdirResponse) error { - out.Error = in.Error - return nil -} - -// Convert_internal_MkdirResponse_To_v1_MkdirResponse is an autogenerated conversion function. -func Convert_internal_MkdirResponse_To_v1_MkdirResponse(in *internal.MkdirResponse, out *v1.MkdirResponse) error { - return autoConvert_internal_MkdirResponse_To_v1_MkdirResponse(in, out) -} - -func autoConvert_v1_PathExistsRequest_To_internal_PathExistsRequest(in *v1.PathExistsRequest, out *internal.PathExistsRequest) error { - out.Path = in.Path - out.Context = internal.PathContext(in.Context) - return nil -} - -// Convert_v1_PathExistsRequest_To_internal_PathExistsRequest is an autogenerated conversion function. -func Convert_v1_PathExistsRequest_To_internal_PathExistsRequest(in *v1.PathExistsRequest, out *internal.PathExistsRequest) error { - return autoConvert_v1_PathExistsRequest_To_internal_PathExistsRequest(in, out) -} - -func autoConvert_internal_PathExistsRequest_To_v1_PathExistsRequest(in *internal.PathExistsRequest, out *v1.PathExistsRequest) error { - out.Path = in.Path - out.Context = v1.PathContext(in.Context) - return nil -} - -// Convert_internal_PathExistsRequest_To_v1_PathExistsRequest is an autogenerated conversion function. -func Convert_internal_PathExistsRequest_To_v1_PathExistsRequest(in *internal.PathExistsRequest, out *v1.PathExistsRequest) error { - return autoConvert_internal_PathExistsRequest_To_v1_PathExistsRequest(in, out) -} - -func autoConvert_v1_PathExistsResponse_To_internal_PathExistsResponse(in *v1.PathExistsResponse, out *internal.PathExistsResponse) error { - out.Error = in.Error - out.Exists = in.Exists - return nil -} - -// Convert_v1_PathExistsResponse_To_internal_PathExistsResponse is an autogenerated conversion function. -func Convert_v1_PathExistsResponse_To_internal_PathExistsResponse(in *v1.PathExistsResponse, out *internal.PathExistsResponse) error { - return autoConvert_v1_PathExistsResponse_To_internal_PathExistsResponse(in, out) -} - -func autoConvert_internal_PathExistsResponse_To_v1_PathExistsResponse(in *internal.PathExistsResponse, out *v1.PathExistsResponse) error { - out.Error = in.Error - out.Exists = in.Exists - return nil -} - -// Convert_internal_PathExistsResponse_To_v1_PathExistsResponse is an autogenerated conversion function. -func Convert_internal_PathExistsResponse_To_v1_PathExistsResponse(in *internal.PathExistsResponse, out *v1.PathExistsResponse) error { - return autoConvert_internal_PathExistsResponse_To_v1_PathExistsResponse(in, out) -} - -func autoConvert_v1_RmdirRequest_To_internal_RmdirRequest(in *v1.RmdirRequest, out *internal.RmdirRequest) error { - out.Path = in.Path - out.Context = internal.PathContext(in.Context) - out.Force = in.Force - return nil -} - -// Convert_v1_RmdirRequest_To_internal_RmdirRequest is an autogenerated conversion function. -func Convert_v1_RmdirRequest_To_internal_RmdirRequest(in *v1.RmdirRequest, out *internal.RmdirRequest) error { - return autoConvert_v1_RmdirRequest_To_internal_RmdirRequest(in, out) -} - -func autoConvert_internal_RmdirRequest_To_v1_RmdirRequest(in *internal.RmdirRequest, out *v1.RmdirRequest) error { - out.Path = in.Path - out.Context = v1.PathContext(in.Context) - out.Force = in.Force - return nil -} - -// Convert_internal_RmdirRequest_To_v1_RmdirRequest is an autogenerated conversion function. -func Convert_internal_RmdirRequest_To_v1_RmdirRequest(in *internal.RmdirRequest, out *v1.RmdirRequest) error { - return autoConvert_internal_RmdirRequest_To_v1_RmdirRequest(in, out) -} - -func autoConvert_v1_RmdirResponse_To_internal_RmdirResponse(in *v1.RmdirResponse, out *internal.RmdirResponse) error { - out.Error = in.Error - return nil -} - -// Convert_v1_RmdirResponse_To_internal_RmdirResponse is an autogenerated conversion function. -func Convert_v1_RmdirResponse_To_internal_RmdirResponse(in *v1.RmdirResponse, out *internal.RmdirResponse) error { - return autoConvert_v1_RmdirResponse_To_internal_RmdirResponse(in, out) -} - -func autoConvert_internal_RmdirResponse_To_v1_RmdirResponse(in *internal.RmdirResponse, out *v1.RmdirResponse) error { - out.Error = in.Error - return nil -} - -// Convert_internal_RmdirResponse_To_v1_RmdirResponse is an autogenerated conversion function. -func Convert_internal_RmdirResponse_To_v1_RmdirResponse(in *internal.RmdirResponse, out *v1.RmdirResponse) error { - return autoConvert_internal_RmdirResponse_To_v1_RmdirResponse(in, out) -} diff --git a/internal/server/filesystem/internal/v1/conversion.go b/internal/server/filesystem/internal/v1beta2/conversion.go similarity index 84% rename from internal/server/filesystem/internal/v1/conversion.go rename to internal/server/filesystem/internal/v1beta2/conversion.go index 7d35c7a3..82717dd1 100644 --- a/internal/server/filesystem/internal/v1/conversion.go +++ b/internal/server/filesystem/internal/v1beta2/conversion.go @@ -1,3 +1,3 @@ -package v1 +package v1beta2 // Add manual conversion functions here to override automatic conversion functions diff --git a/internal/server/filesystem/internal/v1beta2/conversion_generated.go b/internal/server/filesystem/internal/v1beta2/conversion_generated.go new file mode 100644 index 00000000..a2c41b22 --- /dev/null +++ b/internal/server/filesystem/internal/v1beta2/conversion_generated.go @@ -0,0 +1,222 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta2 + +import ( + v1beta2 "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2" + internal "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal" +) + +func autoConvert_v1beta2_IsMountPointRequest_To_internal_IsMountPointRequest(in *v1beta2.IsMountPointRequest, out *internal.IsMountPointRequest) error { + out.Path = in.Path + return nil +} + +// Convert_v1beta2_IsMountPointRequest_To_internal_IsMountPointRequest is an autogenerated conversion function. +func Convert_v1beta2_IsMountPointRequest_To_internal_IsMountPointRequest(in *v1beta2.IsMountPointRequest, out *internal.IsMountPointRequest) error { + return autoConvert_v1beta2_IsMountPointRequest_To_internal_IsMountPointRequest(in, out) +} + +func autoConvert_internal_IsMountPointRequest_To_v1beta2_IsMountPointRequest(in *internal.IsMountPointRequest, out *v1beta2.IsMountPointRequest) error { + out.Path = in.Path + return nil +} + +// Convert_internal_IsMountPointRequest_To_v1beta2_IsMountPointRequest is an autogenerated conversion function. +func Convert_internal_IsMountPointRequest_To_v1beta2_IsMountPointRequest(in *internal.IsMountPointRequest, out *v1beta2.IsMountPointRequest) error { + return autoConvert_internal_IsMountPointRequest_To_v1beta2_IsMountPointRequest(in, out) +} + +func autoConvert_v1beta2_IsMountPointResponse_To_internal_IsMountPointResponse(in *v1beta2.IsMountPointResponse, out *internal.IsMountPointResponse) error { + out.Error = in.Error + out.IsMountPoint = in.IsMountPoint + return nil +} + +// Convert_v1beta2_IsMountPointResponse_To_internal_IsMountPointResponse is an autogenerated conversion function. +func Convert_v1beta2_IsMountPointResponse_To_internal_IsMountPointResponse(in *v1beta2.IsMountPointResponse, out *internal.IsMountPointResponse) error { + return autoConvert_v1beta2_IsMountPointResponse_To_internal_IsMountPointResponse(in, out) +} + +func autoConvert_internal_IsMountPointResponse_To_v1beta2_IsMountPointResponse(in *internal.IsMountPointResponse, out *v1beta2.IsMountPointResponse) error { + out.Error = in.Error + out.IsMountPoint = in.IsMountPoint + return nil +} + +// Convert_internal_IsMountPointResponse_To_v1beta2_IsMountPointResponse is an autogenerated conversion function. +func Convert_internal_IsMountPointResponse_To_v1beta2_IsMountPointResponse(in *internal.IsMountPointResponse, out *v1beta2.IsMountPointResponse) error { + return autoConvert_internal_IsMountPointResponse_To_v1beta2_IsMountPointResponse(in, out) +} + +func autoConvert_v1beta2_LinkPathRequest_To_internal_LinkPathRequest(in *v1beta2.LinkPathRequest, out *internal.LinkPathRequest) error { + out.SourcePath = in.SourcePath + out.TargetPath = in.TargetPath + return nil +} + +// Convert_v1beta2_LinkPathRequest_To_internal_LinkPathRequest is an autogenerated conversion function. +func Convert_v1beta2_LinkPathRequest_To_internal_LinkPathRequest(in *v1beta2.LinkPathRequest, out *internal.LinkPathRequest) error { + return autoConvert_v1beta2_LinkPathRequest_To_internal_LinkPathRequest(in, out) +} + +func autoConvert_internal_LinkPathRequest_To_v1beta2_LinkPathRequest(in *internal.LinkPathRequest, out *v1beta2.LinkPathRequest) error { + out.SourcePath = in.SourcePath + out.TargetPath = in.TargetPath + return nil +} + +// Convert_internal_LinkPathRequest_To_v1beta2_LinkPathRequest is an autogenerated conversion function. +func Convert_internal_LinkPathRequest_To_v1beta2_LinkPathRequest(in *internal.LinkPathRequest, out *v1beta2.LinkPathRequest) error { + return autoConvert_internal_LinkPathRequest_To_v1beta2_LinkPathRequest(in, out) +} + +func autoConvert_v1beta2_LinkPathResponse_To_internal_LinkPathResponse(in *v1beta2.LinkPathResponse, out *internal.LinkPathResponse) error { + out.Error = in.Error + return nil +} + +// Convert_v1beta2_LinkPathResponse_To_internal_LinkPathResponse is an autogenerated conversion function. +func Convert_v1beta2_LinkPathResponse_To_internal_LinkPathResponse(in *v1beta2.LinkPathResponse, out *internal.LinkPathResponse) error { + return autoConvert_v1beta2_LinkPathResponse_To_internal_LinkPathResponse(in, out) +} + +func autoConvert_internal_LinkPathResponse_To_v1beta2_LinkPathResponse(in *internal.LinkPathResponse, out *v1beta2.LinkPathResponse) error { + out.Error = in.Error + return nil +} + +// Convert_internal_LinkPathResponse_To_v1beta2_LinkPathResponse is an autogenerated conversion function. +func Convert_internal_LinkPathResponse_To_v1beta2_LinkPathResponse(in *internal.LinkPathResponse, out *v1beta2.LinkPathResponse) error { + return autoConvert_internal_LinkPathResponse_To_v1beta2_LinkPathResponse(in, out) +} + +func autoConvert_v1beta2_MkdirRequest_To_internal_MkdirRequest(in *v1beta2.MkdirRequest, out *internal.MkdirRequest) error { + out.Path = in.Path + out.Context = internal.PathContext(in.Context) + return nil +} + +// Convert_v1beta2_MkdirRequest_To_internal_MkdirRequest is an autogenerated conversion function. +func Convert_v1beta2_MkdirRequest_To_internal_MkdirRequest(in *v1beta2.MkdirRequest, out *internal.MkdirRequest) error { + return autoConvert_v1beta2_MkdirRequest_To_internal_MkdirRequest(in, out) +} + +func autoConvert_internal_MkdirRequest_To_v1beta2_MkdirRequest(in *internal.MkdirRequest, out *v1beta2.MkdirRequest) error { + out.Path = in.Path + out.Context = v1beta2.PathContext(in.Context) + return nil +} + +// Convert_internal_MkdirRequest_To_v1beta2_MkdirRequest is an autogenerated conversion function. +func Convert_internal_MkdirRequest_To_v1beta2_MkdirRequest(in *internal.MkdirRequest, out *v1beta2.MkdirRequest) error { + return autoConvert_internal_MkdirRequest_To_v1beta2_MkdirRequest(in, out) +} + +func autoConvert_v1beta2_MkdirResponse_To_internal_MkdirResponse(in *v1beta2.MkdirResponse, out *internal.MkdirResponse) error { + out.Error = in.Error + return nil +} + +// Convert_v1beta2_MkdirResponse_To_internal_MkdirResponse is an autogenerated conversion function. +func Convert_v1beta2_MkdirResponse_To_internal_MkdirResponse(in *v1beta2.MkdirResponse, out *internal.MkdirResponse) error { + return autoConvert_v1beta2_MkdirResponse_To_internal_MkdirResponse(in, out) +} + +func autoConvert_internal_MkdirResponse_To_v1beta2_MkdirResponse(in *internal.MkdirResponse, out *v1beta2.MkdirResponse) error { + out.Error = in.Error + return nil +} + +// Convert_internal_MkdirResponse_To_v1beta2_MkdirResponse is an autogenerated conversion function. +func Convert_internal_MkdirResponse_To_v1beta2_MkdirResponse(in *internal.MkdirResponse, out *v1beta2.MkdirResponse) error { + return autoConvert_internal_MkdirResponse_To_v1beta2_MkdirResponse(in, out) +} + +func autoConvert_v1beta2_PathExistsRequest_To_internal_PathExistsRequest(in *v1beta2.PathExistsRequest, out *internal.PathExistsRequest) error { + out.Path = in.Path + out.Context = internal.PathContext(in.Context) + return nil +} + +// Convert_v1beta2_PathExistsRequest_To_internal_PathExistsRequest is an autogenerated conversion function. +func Convert_v1beta2_PathExistsRequest_To_internal_PathExistsRequest(in *v1beta2.PathExistsRequest, out *internal.PathExistsRequest) error { + return autoConvert_v1beta2_PathExistsRequest_To_internal_PathExistsRequest(in, out) +} + +func autoConvert_internal_PathExistsRequest_To_v1beta2_PathExistsRequest(in *internal.PathExistsRequest, out *v1beta2.PathExistsRequest) error { + out.Path = in.Path + out.Context = v1beta2.PathContext(in.Context) + return nil +} + +// Convert_internal_PathExistsRequest_To_v1beta2_PathExistsRequest is an autogenerated conversion function. +func Convert_internal_PathExistsRequest_To_v1beta2_PathExistsRequest(in *internal.PathExistsRequest, out *v1beta2.PathExistsRequest) error { + return autoConvert_internal_PathExistsRequest_To_v1beta2_PathExistsRequest(in, out) +} + +func autoConvert_v1beta2_PathExistsResponse_To_internal_PathExistsResponse(in *v1beta2.PathExistsResponse, out *internal.PathExistsResponse) error { + out.Error = in.Error + out.Exists = in.Exists + return nil +} + +// Convert_v1beta2_PathExistsResponse_To_internal_PathExistsResponse is an autogenerated conversion function. +func Convert_v1beta2_PathExistsResponse_To_internal_PathExistsResponse(in *v1beta2.PathExistsResponse, out *internal.PathExistsResponse) error { + return autoConvert_v1beta2_PathExistsResponse_To_internal_PathExistsResponse(in, out) +} + +func autoConvert_internal_PathExistsResponse_To_v1beta2_PathExistsResponse(in *internal.PathExistsResponse, out *v1beta2.PathExistsResponse) error { + out.Error = in.Error + out.Exists = in.Exists + return nil +} + +// Convert_internal_PathExistsResponse_To_v1beta2_PathExistsResponse is an autogenerated conversion function. +func Convert_internal_PathExistsResponse_To_v1beta2_PathExistsResponse(in *internal.PathExistsResponse, out *v1beta2.PathExistsResponse) error { + return autoConvert_internal_PathExistsResponse_To_v1beta2_PathExistsResponse(in, out) +} + +func autoConvert_v1beta2_RmdirRequest_To_internal_RmdirRequest(in *v1beta2.RmdirRequest, out *internal.RmdirRequest) error { + out.Path = in.Path + out.Context = internal.PathContext(in.Context) + out.Force = in.Force + return nil +} + +// Convert_v1beta2_RmdirRequest_To_internal_RmdirRequest is an autogenerated conversion function. +func Convert_v1beta2_RmdirRequest_To_internal_RmdirRequest(in *v1beta2.RmdirRequest, out *internal.RmdirRequest) error { + return autoConvert_v1beta2_RmdirRequest_To_internal_RmdirRequest(in, out) +} + +func autoConvert_internal_RmdirRequest_To_v1beta2_RmdirRequest(in *internal.RmdirRequest, out *v1beta2.RmdirRequest) error { + out.Path = in.Path + out.Context = v1beta2.PathContext(in.Context) + out.Force = in.Force + return nil +} + +// Convert_internal_RmdirRequest_To_v1beta2_RmdirRequest is an autogenerated conversion function. +func Convert_internal_RmdirRequest_To_v1beta2_RmdirRequest(in *internal.RmdirRequest, out *v1beta2.RmdirRequest) error { + return autoConvert_internal_RmdirRequest_To_v1beta2_RmdirRequest(in, out) +} + +func autoConvert_v1beta2_RmdirResponse_To_internal_RmdirResponse(in *v1beta2.RmdirResponse, out *internal.RmdirResponse) error { + out.Error = in.Error + return nil +} + +// Convert_v1beta2_RmdirResponse_To_internal_RmdirResponse is an autogenerated conversion function. +func Convert_v1beta2_RmdirResponse_To_internal_RmdirResponse(in *v1beta2.RmdirResponse, out *internal.RmdirResponse) error { + return autoConvert_v1beta2_RmdirResponse_To_internal_RmdirResponse(in, out) +} + +func autoConvert_internal_RmdirResponse_To_v1beta2_RmdirResponse(in *internal.RmdirResponse, out *v1beta2.RmdirResponse) error { + out.Error = in.Error + return nil +} + +// Convert_internal_RmdirResponse_To_v1beta2_RmdirResponse is an autogenerated conversion function. +func Convert_internal_RmdirResponse_To_v1beta2_RmdirResponse(in *internal.RmdirResponse, out *v1beta2.RmdirResponse) error { + return autoConvert_internal_RmdirResponse_To_v1beta2_RmdirResponse(in, out) +} diff --git a/internal/server/filesystem/internal/v1/server_generated.go b/internal/server/filesystem/internal/v1beta2/server_generated.go similarity index 50% rename from internal/server/filesystem/internal/v1/server_generated.go rename to internal/server/filesystem/internal/v1beta2/server_generated.go index 76f59b48..55426586 100644 --- a/internal/server/filesystem/internal/v1/server_generated.go +++ b/internal/server/filesystem/internal/v1beta2/server_generated.go @@ -1,17 +1,17 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" - "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/internal/server/filesystem/internal" "google.golang.org/grpc" ) -var version = apiversion.NewVersionOrPanic("v1") +var version = apiversion.NewVersionOrPanic("v1beta2") type versionedAPI struct { apiGroupServer internal.ServerInterface @@ -24,12 +24,12 @@ func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.Versio } func (s *versionedAPI) Register(grpcServer *grpc.Server) { - v1.RegisterFilesystemServer(grpcServer, s) + v1beta2.RegisterFilesystemServer(grpcServer, s) } -func (s *versionedAPI) IsMountPoint(context context.Context, versionedRequest *v1.IsMountPointRequest) (*v1.IsMountPointResponse, error) { +func (s *versionedAPI) IsMountPoint(context context.Context, versionedRequest *v1beta2.IsMountPointRequest) (*v1beta2.IsMountPointResponse, error) { request := &internal.IsMountPointRequest{} - if err := Convert_v1_IsMountPointRequest_To_internal_IsMountPointRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_IsMountPointRequest_To_internal_IsMountPointRequest(versionedRequest, request); err != nil { return nil, err } @@ -38,17 +38,17 @@ func (s *versionedAPI) IsMountPoint(context context.Context, versionedRequest *v return nil, err } - versionedResponse := &v1.IsMountPointResponse{} - if err := Convert_internal_IsMountPointResponse_To_v1_IsMountPointResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.IsMountPointResponse{} + if err := Convert_internal_IsMountPointResponse_To_v1beta2_IsMountPointResponse(response, versionedResponse); err != nil { return nil, err } return versionedResponse, err } -func (s *versionedAPI) LinkPath(context context.Context, versionedRequest *v1.LinkPathRequest) (*v1.LinkPathResponse, error) { +func (s *versionedAPI) LinkPath(context context.Context, versionedRequest *v1beta2.LinkPathRequest) (*v1beta2.LinkPathResponse, error) { request := &internal.LinkPathRequest{} - if err := Convert_v1_LinkPathRequest_To_internal_LinkPathRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_LinkPathRequest_To_internal_LinkPathRequest(versionedRequest, request); err != nil { return nil, err } @@ -57,17 +57,17 @@ func (s *versionedAPI) LinkPath(context context.Context, versionedRequest *v1.Li return nil, err } - versionedResponse := &v1.LinkPathResponse{} - if err := Convert_internal_LinkPathResponse_To_v1_LinkPathResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.LinkPathResponse{} + if err := Convert_internal_LinkPathResponse_To_v1beta2_LinkPathResponse(response, versionedResponse); err != nil { return nil, err } return versionedResponse, err } -func (s *versionedAPI) Mkdir(context context.Context, versionedRequest *v1.MkdirRequest) (*v1.MkdirResponse, error) { +func (s *versionedAPI) Mkdir(context context.Context, versionedRequest *v1beta2.MkdirRequest) (*v1beta2.MkdirResponse, error) { request := &internal.MkdirRequest{} - if err := Convert_v1_MkdirRequest_To_internal_MkdirRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_MkdirRequest_To_internal_MkdirRequest(versionedRequest, request); err != nil { return nil, err } @@ -76,17 +76,17 @@ func (s *versionedAPI) Mkdir(context context.Context, versionedRequest *v1.Mkdir return nil, err } - versionedResponse := &v1.MkdirResponse{} - if err := Convert_internal_MkdirResponse_To_v1_MkdirResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.MkdirResponse{} + if err := Convert_internal_MkdirResponse_To_v1beta2_MkdirResponse(response, versionedResponse); err != nil { return nil, err } return versionedResponse, err } -func (s *versionedAPI) PathExists(context context.Context, versionedRequest *v1.PathExistsRequest) (*v1.PathExistsResponse, error) { +func (s *versionedAPI) PathExists(context context.Context, versionedRequest *v1beta2.PathExistsRequest) (*v1beta2.PathExistsResponse, error) { request := &internal.PathExistsRequest{} - if err := Convert_v1_PathExistsRequest_To_internal_PathExistsRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_PathExistsRequest_To_internal_PathExistsRequest(versionedRequest, request); err != nil { return nil, err } @@ -95,17 +95,17 @@ func (s *versionedAPI) PathExists(context context.Context, versionedRequest *v1. return nil, err } - versionedResponse := &v1.PathExistsResponse{} - if err := Convert_internal_PathExistsResponse_To_v1_PathExistsResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.PathExistsResponse{} + if err := Convert_internal_PathExistsResponse_To_v1beta2_PathExistsResponse(response, versionedResponse); err != nil { return nil, err } return versionedResponse, err } -func (s *versionedAPI) Rmdir(context context.Context, versionedRequest *v1.RmdirRequest) (*v1.RmdirResponse, error) { +func (s *versionedAPI) Rmdir(context context.Context, versionedRequest *v1beta2.RmdirRequest) (*v1beta2.RmdirResponse, error) { request := &internal.RmdirRequest{} - if err := Convert_v1_RmdirRequest_To_internal_RmdirRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_RmdirRequest_To_internal_RmdirRequest(versionedRequest, request); err != nil { return nil, err } @@ -114,8 +114,8 @@ func (s *versionedAPI) Rmdir(context context.Context, versionedRequest *v1.Rmdir return nil, err } - versionedResponse := &v1.RmdirResponse{} - if err := Convert_internal_RmdirResponse_To_v1_RmdirResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.RmdirResponse{} + if err := Convert_internal_RmdirResponse_To_v1beta2_RmdirResponse(response, versionedResponse); err != nil { return nil, err } diff --git a/internal/server/smb/api_group_generated.go b/internal/server/smb/api_group_generated.go index ede84725..8e58734a 100644 --- a/internal/server/smb/api_group_generated.go +++ b/internal/server/smb/api_group_generated.go @@ -5,9 +5,9 @@ package smb import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal" - "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal/v1" "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal/v1beta1" + "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal/v1beta2" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" ) @@ -19,7 +19,7 @@ var _ internal.ServerInterface = &Server{} func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { v1alpha1Server := v1alpha1.NewVersionedServer(s) v1beta1Server := v1beta1.NewVersionedServer(s) - v1Server := v1.NewVersionedServer(s) + v1beta2Server := v1beta2.NewVersionedServer(s) return []*srvtypes.VersionedAPI{ { @@ -34,8 +34,8 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { }, { Group: name, - Version: apiversion.NewVersionOrPanic("v1"), - Registrant: v1Server.Register, + Version: apiversion.NewVersionOrPanic("v1beta2"), + Registrant: v1beta2Server.Register, }, } } diff --git a/internal/server/smb/internal/v1/conversion_generated.go b/internal/server/smb/internal/v1/conversion_generated.go deleted file mode 100644 index 4d448155..00000000 --- a/internal/server/smb/internal/v1/conversion_generated.go +++ /dev/null @@ -1,94 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - v1 "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1" - internal "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal" -) - -func autoConvert_v1_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in *v1.NewSmbGlobalMappingRequest, out *internal.NewSmbGlobalMappingRequest) error { - out.RemotePath = in.RemotePath - out.LocalPath = in.LocalPath - out.Username = in.Username - out.Password = in.Password - return nil -} - -// Convert_v1_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest is an autogenerated conversion function. -func Convert_v1_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in *v1.NewSmbGlobalMappingRequest, out *internal.NewSmbGlobalMappingRequest) error { - return autoConvert_v1_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in, out) -} - -func autoConvert_internal_NewSmbGlobalMappingRequest_To_v1_NewSmbGlobalMappingRequest(in *internal.NewSmbGlobalMappingRequest, out *v1.NewSmbGlobalMappingRequest) error { - out.RemotePath = in.RemotePath - out.LocalPath = in.LocalPath - out.Username = in.Username - out.Password = in.Password - return nil -} - -// Convert_internal_NewSmbGlobalMappingRequest_To_v1_NewSmbGlobalMappingRequest is an autogenerated conversion function. -func Convert_internal_NewSmbGlobalMappingRequest_To_v1_NewSmbGlobalMappingRequest(in *internal.NewSmbGlobalMappingRequest, out *v1.NewSmbGlobalMappingRequest) error { - return autoConvert_internal_NewSmbGlobalMappingRequest_To_v1_NewSmbGlobalMappingRequest(in, out) -} - -func autoConvert_v1_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in *v1.NewSmbGlobalMappingResponse, out *internal.NewSmbGlobalMappingResponse) error { - out.Error = in.Error - return nil -} - -// Convert_v1_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse is an autogenerated conversion function. -func Convert_v1_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in *v1.NewSmbGlobalMappingResponse, out *internal.NewSmbGlobalMappingResponse) error { - return autoConvert_v1_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in, out) -} - -func autoConvert_internal_NewSmbGlobalMappingResponse_To_v1_NewSmbGlobalMappingResponse(in *internal.NewSmbGlobalMappingResponse, out *v1.NewSmbGlobalMappingResponse) error { - out.Error = in.Error - return nil -} - -// Convert_internal_NewSmbGlobalMappingResponse_To_v1_NewSmbGlobalMappingResponse is an autogenerated conversion function. -func Convert_internal_NewSmbGlobalMappingResponse_To_v1_NewSmbGlobalMappingResponse(in *internal.NewSmbGlobalMappingResponse, out *v1.NewSmbGlobalMappingResponse) error { - return autoConvert_internal_NewSmbGlobalMappingResponse_To_v1_NewSmbGlobalMappingResponse(in, out) -} - -func autoConvert_v1_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in *v1.RemoveSmbGlobalMappingRequest, out *internal.RemoveSmbGlobalMappingRequest) error { - out.RemotePath = in.RemotePath - return nil -} - -// Convert_v1_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest is an autogenerated conversion function. -func Convert_v1_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in *v1.RemoveSmbGlobalMappingRequest, out *internal.RemoveSmbGlobalMappingRequest) error { - return autoConvert_v1_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in, out) -} - -func autoConvert_internal_RemoveSmbGlobalMappingRequest_To_v1_RemoveSmbGlobalMappingRequest(in *internal.RemoveSmbGlobalMappingRequest, out *v1.RemoveSmbGlobalMappingRequest) error { - out.RemotePath = in.RemotePath - return nil -} - -// Convert_internal_RemoveSmbGlobalMappingRequest_To_v1_RemoveSmbGlobalMappingRequest is an autogenerated conversion function. -func Convert_internal_RemoveSmbGlobalMappingRequest_To_v1_RemoveSmbGlobalMappingRequest(in *internal.RemoveSmbGlobalMappingRequest, out *v1.RemoveSmbGlobalMappingRequest) error { - return autoConvert_internal_RemoveSmbGlobalMappingRequest_To_v1_RemoveSmbGlobalMappingRequest(in, out) -} - -func autoConvert_v1_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in *v1.RemoveSmbGlobalMappingResponse, out *internal.RemoveSmbGlobalMappingResponse) error { - out.Error = in.Error - return nil -} - -// Convert_v1_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse is an autogenerated conversion function. -func Convert_v1_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in *v1.RemoveSmbGlobalMappingResponse, out *internal.RemoveSmbGlobalMappingResponse) error { - return autoConvert_v1_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in, out) -} - -func autoConvert_internal_RemoveSmbGlobalMappingResponse_To_v1_RemoveSmbGlobalMappingResponse(in *internal.RemoveSmbGlobalMappingResponse, out *v1.RemoveSmbGlobalMappingResponse) error { - out.Error = in.Error - return nil -} - -// Convert_internal_RemoveSmbGlobalMappingResponse_To_v1_RemoveSmbGlobalMappingResponse is an autogenerated conversion function. -func Convert_internal_RemoveSmbGlobalMappingResponse_To_v1_RemoveSmbGlobalMappingResponse(in *internal.RemoveSmbGlobalMappingResponse, out *v1.RemoveSmbGlobalMappingResponse) error { - return autoConvert_internal_RemoveSmbGlobalMappingResponse_To_v1_RemoveSmbGlobalMappingResponse(in, out) -} diff --git a/internal/server/smb/internal/v1/conversion.go b/internal/server/smb/internal/v1beta2/conversion.go similarity index 84% rename from internal/server/smb/internal/v1/conversion.go rename to internal/server/smb/internal/v1beta2/conversion.go index 7d35c7a3..82717dd1 100644 --- a/internal/server/smb/internal/v1/conversion.go +++ b/internal/server/smb/internal/v1beta2/conversion.go @@ -1,3 +1,3 @@ -package v1 +package v1beta2 // Add manual conversion functions here to override automatic conversion functions diff --git a/internal/server/smb/internal/v1beta2/conversion_generated.go b/internal/server/smb/internal/v1beta2/conversion_generated.go new file mode 100644 index 00000000..0af3540b --- /dev/null +++ b/internal/server/smb/internal/v1beta2/conversion_generated.go @@ -0,0 +1,94 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta2 + +import ( + v1beta2 "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2" + internal "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal" +) + +func autoConvert_v1beta2_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in *v1beta2.NewSmbGlobalMappingRequest, out *internal.NewSmbGlobalMappingRequest) error { + out.RemotePath = in.RemotePath + out.LocalPath = in.LocalPath + out.Username = in.Username + out.Password = in.Password + return nil +} + +// Convert_v1beta2_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest is an autogenerated conversion function. +func Convert_v1beta2_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in *v1beta2.NewSmbGlobalMappingRequest, out *internal.NewSmbGlobalMappingRequest) error { + return autoConvert_v1beta2_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(in, out) +} + +func autoConvert_internal_NewSmbGlobalMappingRequest_To_v1beta2_NewSmbGlobalMappingRequest(in *internal.NewSmbGlobalMappingRequest, out *v1beta2.NewSmbGlobalMappingRequest) error { + out.RemotePath = in.RemotePath + out.LocalPath = in.LocalPath + out.Username = in.Username + out.Password = in.Password + return nil +} + +// Convert_internal_NewSmbGlobalMappingRequest_To_v1beta2_NewSmbGlobalMappingRequest is an autogenerated conversion function. +func Convert_internal_NewSmbGlobalMappingRequest_To_v1beta2_NewSmbGlobalMappingRequest(in *internal.NewSmbGlobalMappingRequest, out *v1beta2.NewSmbGlobalMappingRequest) error { + return autoConvert_internal_NewSmbGlobalMappingRequest_To_v1beta2_NewSmbGlobalMappingRequest(in, out) +} + +func autoConvert_v1beta2_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in *v1beta2.NewSmbGlobalMappingResponse, out *internal.NewSmbGlobalMappingResponse) error { + out.Error = in.Error + return nil +} + +// Convert_v1beta2_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse is an autogenerated conversion function. +func Convert_v1beta2_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in *v1beta2.NewSmbGlobalMappingResponse, out *internal.NewSmbGlobalMappingResponse) error { + return autoConvert_v1beta2_NewSmbGlobalMappingResponse_To_internal_NewSmbGlobalMappingResponse(in, out) +} + +func autoConvert_internal_NewSmbGlobalMappingResponse_To_v1beta2_NewSmbGlobalMappingResponse(in *internal.NewSmbGlobalMappingResponse, out *v1beta2.NewSmbGlobalMappingResponse) error { + out.Error = in.Error + return nil +} + +// Convert_internal_NewSmbGlobalMappingResponse_To_v1beta2_NewSmbGlobalMappingResponse is an autogenerated conversion function. +func Convert_internal_NewSmbGlobalMappingResponse_To_v1beta2_NewSmbGlobalMappingResponse(in *internal.NewSmbGlobalMappingResponse, out *v1beta2.NewSmbGlobalMappingResponse) error { + return autoConvert_internal_NewSmbGlobalMappingResponse_To_v1beta2_NewSmbGlobalMappingResponse(in, out) +} + +func autoConvert_v1beta2_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in *v1beta2.RemoveSmbGlobalMappingRequest, out *internal.RemoveSmbGlobalMappingRequest) error { + out.RemotePath = in.RemotePath + return nil +} + +// Convert_v1beta2_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest is an autogenerated conversion function. +func Convert_v1beta2_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in *v1beta2.RemoveSmbGlobalMappingRequest, out *internal.RemoveSmbGlobalMappingRequest) error { + return autoConvert_v1beta2_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(in, out) +} + +func autoConvert_internal_RemoveSmbGlobalMappingRequest_To_v1beta2_RemoveSmbGlobalMappingRequest(in *internal.RemoveSmbGlobalMappingRequest, out *v1beta2.RemoveSmbGlobalMappingRequest) error { + out.RemotePath = in.RemotePath + return nil +} + +// Convert_internal_RemoveSmbGlobalMappingRequest_To_v1beta2_RemoveSmbGlobalMappingRequest is an autogenerated conversion function. +func Convert_internal_RemoveSmbGlobalMappingRequest_To_v1beta2_RemoveSmbGlobalMappingRequest(in *internal.RemoveSmbGlobalMappingRequest, out *v1beta2.RemoveSmbGlobalMappingRequest) error { + return autoConvert_internal_RemoveSmbGlobalMappingRequest_To_v1beta2_RemoveSmbGlobalMappingRequest(in, out) +} + +func autoConvert_v1beta2_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in *v1beta2.RemoveSmbGlobalMappingResponse, out *internal.RemoveSmbGlobalMappingResponse) error { + out.Error = in.Error + return nil +} + +// Convert_v1beta2_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse is an autogenerated conversion function. +func Convert_v1beta2_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in *v1beta2.RemoveSmbGlobalMappingResponse, out *internal.RemoveSmbGlobalMappingResponse) error { + return autoConvert_v1beta2_RemoveSmbGlobalMappingResponse_To_internal_RemoveSmbGlobalMappingResponse(in, out) +} + +func autoConvert_internal_RemoveSmbGlobalMappingResponse_To_v1beta2_RemoveSmbGlobalMappingResponse(in *internal.RemoveSmbGlobalMappingResponse, out *v1beta2.RemoveSmbGlobalMappingResponse) error { + out.Error = in.Error + return nil +} + +// Convert_internal_RemoveSmbGlobalMappingResponse_To_v1beta2_RemoveSmbGlobalMappingResponse is an autogenerated conversion function. +func Convert_internal_RemoveSmbGlobalMappingResponse_To_v1beta2_RemoveSmbGlobalMappingResponse(in *internal.RemoveSmbGlobalMappingResponse, out *v1beta2.RemoveSmbGlobalMappingResponse) error { + return autoConvert_internal_RemoveSmbGlobalMappingResponse_To_v1beta2_RemoveSmbGlobalMappingResponse(in, out) +} diff --git a/internal/server/smb/internal/v1/server_generated.go b/internal/server/smb/internal/v1beta2/server_generated.go similarity index 54% rename from internal/server/smb/internal/v1/server_generated.go rename to internal/server/smb/internal/v1beta2/server_generated.go index a6e78b76..a4cdda8c 100644 --- a/internal/server/smb/internal/v1/server_generated.go +++ b/internal/server/smb/internal/v1beta2/server_generated.go @@ -1,17 +1,17 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" - "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/internal/server/smb/internal" "google.golang.org/grpc" ) -var version = apiversion.NewVersionOrPanic("v1") +var version = apiversion.NewVersionOrPanic("v1beta2") type versionedAPI struct { apiGroupServer internal.ServerInterface @@ -24,12 +24,12 @@ func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.Versio } func (s *versionedAPI) Register(grpcServer *grpc.Server) { - v1.RegisterSmbServer(grpcServer, s) + v1beta2.RegisterSmbServer(grpcServer, s) } -func (s *versionedAPI) NewSmbGlobalMapping(context context.Context, versionedRequest *v1.NewSmbGlobalMappingRequest) (*v1.NewSmbGlobalMappingResponse, error) { +func (s *versionedAPI) NewSmbGlobalMapping(context context.Context, versionedRequest *v1beta2.NewSmbGlobalMappingRequest) (*v1beta2.NewSmbGlobalMappingResponse, error) { request := &internal.NewSmbGlobalMappingRequest{} - if err := Convert_v1_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_NewSmbGlobalMappingRequest_To_internal_NewSmbGlobalMappingRequest(versionedRequest, request); err != nil { return nil, err } @@ -38,17 +38,17 @@ func (s *versionedAPI) NewSmbGlobalMapping(context context.Context, versionedReq return nil, err } - versionedResponse := &v1.NewSmbGlobalMappingResponse{} - if err := Convert_internal_NewSmbGlobalMappingResponse_To_v1_NewSmbGlobalMappingResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.NewSmbGlobalMappingResponse{} + if err := Convert_internal_NewSmbGlobalMappingResponse_To_v1beta2_NewSmbGlobalMappingResponse(response, versionedResponse); err != nil { return nil, err } return versionedResponse, err } -func (s *versionedAPI) RemoveSmbGlobalMapping(context context.Context, versionedRequest *v1.RemoveSmbGlobalMappingRequest) (*v1.RemoveSmbGlobalMappingResponse, error) { +func (s *versionedAPI) RemoveSmbGlobalMapping(context context.Context, versionedRequest *v1beta2.RemoveSmbGlobalMappingRequest) (*v1beta2.RemoveSmbGlobalMappingResponse, error) { request := &internal.RemoveSmbGlobalMappingRequest{} - if err := Convert_v1_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(versionedRequest, request); err != nil { + if err := Convert_v1beta2_RemoveSmbGlobalMappingRequest_To_internal_RemoveSmbGlobalMappingRequest(versionedRequest, request); err != nil { return nil, err } @@ -57,8 +57,8 @@ func (s *versionedAPI) RemoveSmbGlobalMapping(context context.Context, versioned return nil, err } - versionedResponse := &v1.RemoveSmbGlobalMappingResponse{} - if err := Convert_internal_RemoveSmbGlobalMappingResponse_To_v1_RemoveSmbGlobalMappingResponse(response, versionedResponse); err != nil { + versionedResponse := &v1beta2.RemoveSmbGlobalMappingResponse{} + if err := Convert_internal_RemoveSmbGlobalMappingResponse_To_v1beta2_RemoveSmbGlobalMappingResponse(response, versionedResponse); err != nil { return nil, err } diff --git a/internal/server/volume/api_group_generated.go b/internal/server/volume/api_group_generated.go index b64366b0..3afb5f4e 100644 --- a/internal/server/volume/api_group_generated.go +++ b/internal/server/volume/api_group_generated.go @@ -6,10 +6,10 @@ import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal" - "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal/v1" "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal/v1beta1" "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal/v1beta2" + "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal/v1beta3" ) const name = "volume" @@ -21,7 +21,7 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { v1alpha1Server := v1alpha1.NewVersionedServer(s) v1beta1Server := v1beta1.NewVersionedServer(s) v1beta2Server := v1beta2.NewVersionedServer(s) - v1Server := v1.NewVersionedServer(s) + v1beta3Server := v1beta3.NewVersionedServer(s) return []*srvtypes.VersionedAPI{ { @@ -41,8 +41,8 @@ func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI { }, { Group: name, - Version: apiversion.NewVersionOrPanic("v1"), - Registrant: v1Server.Register, + Version: apiversion.NewVersionOrPanic("v1beta3"), + Registrant: v1beta3Server.Register, }, } } diff --git a/internal/server/volume/internal/v1/conversion_generated.go b/internal/server/volume/internal/v1/conversion_generated.go deleted file mode 100644 index 43d017f4..00000000 --- a/internal/server/volume/internal/v1/conversion_generated.go +++ /dev/null @@ -1,408 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - unsafe "unsafe" - - v1 "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1" - internal "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal" -) - -func autoConvert_v1_DismountVolumeRequest_To_internal_DismountVolumeRequest(in *v1.DismountVolumeRequest, out *internal.DismountVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Path = in.Path - return nil -} - -// Convert_v1_DismountVolumeRequest_To_internal_DismountVolumeRequest is an autogenerated conversion function. -func Convert_v1_DismountVolumeRequest_To_internal_DismountVolumeRequest(in *v1.DismountVolumeRequest, out *internal.DismountVolumeRequest) error { - return autoConvert_v1_DismountVolumeRequest_To_internal_DismountVolumeRequest(in, out) -} - -func autoConvert_internal_DismountVolumeRequest_To_v1_DismountVolumeRequest(in *internal.DismountVolumeRequest, out *v1.DismountVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Path = in.Path - return nil -} - -// Convert_internal_DismountVolumeRequest_To_v1_DismountVolumeRequest is an autogenerated conversion function. -func Convert_internal_DismountVolumeRequest_To_v1_DismountVolumeRequest(in *internal.DismountVolumeRequest, out *v1.DismountVolumeRequest) error { - return autoConvert_internal_DismountVolumeRequest_To_v1_DismountVolumeRequest(in, out) -} - -func autoConvert_v1_DismountVolumeResponse_To_internal_DismountVolumeResponse(in *v1.DismountVolumeResponse, out *internal.DismountVolumeResponse) error { - return nil -} - -// Convert_v1_DismountVolumeResponse_To_internal_DismountVolumeResponse is an autogenerated conversion function. -func Convert_v1_DismountVolumeResponse_To_internal_DismountVolumeResponse(in *v1.DismountVolumeResponse, out *internal.DismountVolumeResponse) error { - return autoConvert_v1_DismountVolumeResponse_To_internal_DismountVolumeResponse(in, out) -} - -func autoConvert_internal_DismountVolumeResponse_To_v1_DismountVolumeResponse(in *internal.DismountVolumeResponse, out *v1.DismountVolumeResponse) error { - return nil -} - -// Convert_internal_DismountVolumeResponse_To_v1_DismountVolumeResponse is an autogenerated conversion function. -func Convert_internal_DismountVolumeResponse_To_v1_DismountVolumeResponse(in *internal.DismountVolumeResponse, out *v1.DismountVolumeResponse) error { - return autoConvert_internal_DismountVolumeResponse_To_v1_DismountVolumeResponse(in, out) -} - -func autoConvert_v1_FormatVolumeRequest_To_internal_FormatVolumeRequest(in *v1.FormatVolumeRequest, out *internal.FormatVolumeRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_FormatVolumeRequest_To_internal_FormatVolumeRequest is an autogenerated conversion function. -func Convert_v1_FormatVolumeRequest_To_internal_FormatVolumeRequest(in *v1.FormatVolumeRequest, out *internal.FormatVolumeRequest) error { - return autoConvert_v1_FormatVolumeRequest_To_internal_FormatVolumeRequest(in, out) -} - -func autoConvert_internal_FormatVolumeRequest_To_v1_FormatVolumeRequest(in *internal.FormatVolumeRequest, out *v1.FormatVolumeRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_FormatVolumeRequest_To_v1_FormatVolumeRequest is an autogenerated conversion function. -func Convert_internal_FormatVolumeRequest_To_v1_FormatVolumeRequest(in *internal.FormatVolumeRequest, out *v1.FormatVolumeRequest) error { - return autoConvert_internal_FormatVolumeRequest_To_v1_FormatVolumeRequest(in, out) -} - -func autoConvert_v1_FormatVolumeResponse_To_internal_FormatVolumeResponse(in *v1.FormatVolumeResponse, out *internal.FormatVolumeResponse) error { - return nil -} - -// Convert_v1_FormatVolumeResponse_To_internal_FormatVolumeResponse is an autogenerated conversion function. -func Convert_v1_FormatVolumeResponse_To_internal_FormatVolumeResponse(in *v1.FormatVolumeResponse, out *internal.FormatVolumeResponse) error { - return autoConvert_v1_FormatVolumeResponse_To_internal_FormatVolumeResponse(in, out) -} - -func autoConvert_internal_FormatVolumeResponse_To_v1_FormatVolumeResponse(in *internal.FormatVolumeResponse, out *v1.FormatVolumeResponse) error { - return nil -} - -// Convert_internal_FormatVolumeResponse_To_v1_FormatVolumeResponse is an autogenerated conversion function. -func Convert_internal_FormatVolumeResponse_To_v1_FormatVolumeResponse(in *internal.FormatVolumeResponse, out *v1.FormatVolumeResponse) error { - return autoConvert_internal_FormatVolumeResponse_To_v1_FormatVolumeResponse(in, out) -} - -func autoConvert_v1_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in *v1.IsVolumeFormattedRequest, out *internal.IsVolumeFormattedRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest is an autogenerated conversion function. -func Convert_v1_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in *v1.IsVolumeFormattedRequest, out *internal.IsVolumeFormattedRequest) error { - return autoConvert_v1_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in, out) -} - -func autoConvert_internal_IsVolumeFormattedRequest_To_v1_IsVolumeFormattedRequest(in *internal.IsVolumeFormattedRequest, out *v1.IsVolumeFormattedRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_IsVolumeFormattedRequest_To_v1_IsVolumeFormattedRequest is an autogenerated conversion function. -func Convert_internal_IsVolumeFormattedRequest_To_v1_IsVolumeFormattedRequest(in *internal.IsVolumeFormattedRequest, out *v1.IsVolumeFormattedRequest) error { - return autoConvert_internal_IsVolumeFormattedRequest_To_v1_IsVolumeFormattedRequest(in, out) -} - -func autoConvert_v1_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in *v1.IsVolumeFormattedResponse, out *internal.IsVolumeFormattedResponse) error { - out.Formatted = in.Formatted - return nil -} - -// Convert_v1_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse is an autogenerated conversion function. -func Convert_v1_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in *v1.IsVolumeFormattedResponse, out *internal.IsVolumeFormattedResponse) error { - return autoConvert_v1_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in, out) -} - -func autoConvert_internal_IsVolumeFormattedResponse_To_v1_IsVolumeFormattedResponse(in *internal.IsVolumeFormattedResponse, out *v1.IsVolumeFormattedResponse) error { - out.Formatted = in.Formatted - return nil -} - -// Convert_internal_IsVolumeFormattedResponse_To_v1_IsVolumeFormattedResponse is an autogenerated conversion function. -func Convert_internal_IsVolumeFormattedResponse_To_v1_IsVolumeFormattedResponse(in *internal.IsVolumeFormattedResponse, out *v1.IsVolumeFormattedResponse) error { - return autoConvert_internal_IsVolumeFormattedResponse_To_v1_IsVolumeFormattedResponse(in, out) -} - -func autoConvert_v1_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in *v1.ListVolumesOnDiskRequest, out *internal.ListVolumesOnDiskRequest) error { - out.DiskId = in.DiskId - return nil -} - -// Convert_v1_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest is an autogenerated conversion function. -func Convert_v1_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in *v1.ListVolumesOnDiskRequest, out *internal.ListVolumesOnDiskRequest) error { - return autoConvert_v1_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in, out) -} - -func autoConvert_internal_ListVolumesOnDiskRequest_To_v1_ListVolumesOnDiskRequest(in *internal.ListVolumesOnDiskRequest, out *v1.ListVolumesOnDiskRequest) error { - out.DiskId = in.DiskId - return nil -} - -// Convert_internal_ListVolumesOnDiskRequest_To_v1_ListVolumesOnDiskRequest is an autogenerated conversion function. -func Convert_internal_ListVolumesOnDiskRequest_To_v1_ListVolumesOnDiskRequest(in *internal.ListVolumesOnDiskRequest, out *v1.ListVolumesOnDiskRequest) error { - return autoConvert_internal_ListVolumesOnDiskRequest_To_v1_ListVolumesOnDiskRequest(in, out) -} - -func autoConvert_v1_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in *v1.ListVolumesOnDiskResponse, out *internal.ListVolumesOnDiskResponse) error { - out.VolumeIds = *(*[]string)(unsafe.Pointer(&in.VolumeIds)) - return nil -} - -// Convert_v1_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse is an autogenerated conversion function. -func Convert_v1_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in *v1.ListVolumesOnDiskResponse, out *internal.ListVolumesOnDiskResponse) error { - return autoConvert_v1_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in, out) -} - -func autoConvert_internal_ListVolumesOnDiskResponse_To_v1_ListVolumesOnDiskResponse(in *internal.ListVolumesOnDiskResponse, out *v1.ListVolumesOnDiskResponse) error { - out.VolumeIds = *(*[]string)(unsafe.Pointer(&in.VolumeIds)) - return nil -} - -// Convert_internal_ListVolumesOnDiskResponse_To_v1_ListVolumesOnDiskResponse is an autogenerated conversion function. -func Convert_internal_ListVolumesOnDiskResponse_To_v1_ListVolumesOnDiskResponse(in *internal.ListVolumesOnDiskResponse, out *v1.ListVolumesOnDiskResponse) error { - return autoConvert_internal_ListVolumesOnDiskResponse_To_v1_ListVolumesOnDiskResponse(in, out) -} - -func autoConvert_v1_MountVolumeRequest_To_internal_MountVolumeRequest(in *v1.MountVolumeRequest, out *internal.MountVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Path = in.Path - return nil -} - -// Convert_v1_MountVolumeRequest_To_internal_MountVolumeRequest is an autogenerated conversion function. -func Convert_v1_MountVolumeRequest_To_internal_MountVolumeRequest(in *v1.MountVolumeRequest, out *internal.MountVolumeRequest) error { - return autoConvert_v1_MountVolumeRequest_To_internal_MountVolumeRequest(in, out) -} - -func autoConvert_internal_MountVolumeRequest_To_v1_MountVolumeRequest(in *internal.MountVolumeRequest, out *v1.MountVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Path = in.Path - return nil -} - -// Convert_internal_MountVolumeRequest_To_v1_MountVolumeRequest is an autogenerated conversion function. -func Convert_internal_MountVolumeRequest_To_v1_MountVolumeRequest(in *internal.MountVolumeRequest, out *v1.MountVolumeRequest) error { - return autoConvert_internal_MountVolumeRequest_To_v1_MountVolumeRequest(in, out) -} - -func autoConvert_v1_MountVolumeResponse_To_internal_MountVolumeResponse(in *v1.MountVolumeResponse, out *internal.MountVolumeResponse) error { - return nil -} - -// Convert_v1_MountVolumeResponse_To_internal_MountVolumeResponse is an autogenerated conversion function. -func Convert_v1_MountVolumeResponse_To_internal_MountVolumeResponse(in *v1.MountVolumeResponse, out *internal.MountVolumeResponse) error { - return autoConvert_v1_MountVolumeResponse_To_internal_MountVolumeResponse(in, out) -} - -func autoConvert_internal_MountVolumeResponse_To_v1_MountVolumeResponse(in *internal.MountVolumeResponse, out *v1.MountVolumeResponse) error { - return nil -} - -// Convert_internal_MountVolumeResponse_To_v1_MountVolumeResponse is an autogenerated conversion function. -func Convert_internal_MountVolumeResponse_To_v1_MountVolumeResponse(in *internal.MountVolumeResponse, out *v1.MountVolumeResponse) error { - return autoConvert_internal_MountVolumeResponse_To_v1_MountVolumeResponse(in, out) -} - -func autoConvert_v1_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in *v1.ResizeVolumeRequest, out *internal.ResizeVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Size = in.Size - return nil -} - -// Convert_v1_ResizeVolumeRequest_To_internal_ResizeVolumeRequest is an autogenerated conversion function. -func Convert_v1_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in *v1.ResizeVolumeRequest, out *internal.ResizeVolumeRequest) error { - return autoConvert_v1_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in, out) -} - -func autoConvert_internal_ResizeVolumeRequest_To_v1_ResizeVolumeRequest(in *internal.ResizeVolumeRequest, out *v1.ResizeVolumeRequest) error { - out.VolumeId = in.VolumeId - out.Size = in.Size - return nil -} - -// Convert_internal_ResizeVolumeRequest_To_v1_ResizeVolumeRequest is an autogenerated conversion function. -func Convert_internal_ResizeVolumeRequest_To_v1_ResizeVolumeRequest(in *internal.ResizeVolumeRequest, out *v1.ResizeVolumeRequest) error { - return autoConvert_internal_ResizeVolumeRequest_To_v1_ResizeVolumeRequest(in, out) -} - -func autoConvert_v1_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in *v1.ResizeVolumeResponse, out *internal.ResizeVolumeResponse) error { - return nil -} - -// Convert_v1_ResizeVolumeResponse_To_internal_ResizeVolumeResponse is an autogenerated conversion function. -func Convert_v1_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in *v1.ResizeVolumeResponse, out *internal.ResizeVolumeResponse) error { - return autoConvert_v1_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in, out) -} - -func autoConvert_internal_ResizeVolumeResponse_To_v1_ResizeVolumeResponse(in *internal.ResizeVolumeResponse, out *v1.ResizeVolumeResponse) error { - return nil -} - -// Convert_internal_ResizeVolumeResponse_To_v1_ResizeVolumeResponse is an autogenerated conversion function. -func Convert_internal_ResizeVolumeResponse_To_v1_ResizeVolumeResponse(in *internal.ResizeVolumeResponse, out *v1.ResizeVolumeResponse) error { - return autoConvert_internal_ResizeVolumeResponse_To_v1_ResizeVolumeResponse(in, out) -} - -func autoConvert_v1_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in *v1.VolumeDiskNumberRequest, out *internal.VolumeDiskNumberRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest is an autogenerated conversion function. -func Convert_v1_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in *v1.VolumeDiskNumberRequest, out *internal.VolumeDiskNumberRequest) error { - return autoConvert_v1_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in, out) -} - -func autoConvert_internal_VolumeDiskNumberRequest_To_v1_VolumeDiskNumberRequest(in *internal.VolumeDiskNumberRequest, out *v1.VolumeDiskNumberRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_VolumeDiskNumberRequest_To_v1_VolumeDiskNumberRequest is an autogenerated conversion function. -func Convert_internal_VolumeDiskNumberRequest_To_v1_VolumeDiskNumberRequest(in *internal.VolumeDiskNumberRequest, out *v1.VolumeDiskNumberRequest) error { - return autoConvert_internal_VolumeDiskNumberRequest_To_v1_VolumeDiskNumberRequest(in, out) -} - -func autoConvert_v1_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in *v1.VolumeDiskNumberResponse, out *internal.VolumeDiskNumberResponse) error { - out.DiskNumber = in.DiskNumber - return nil -} - -// Convert_v1_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse is an autogenerated conversion function. -func Convert_v1_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in *v1.VolumeDiskNumberResponse, out *internal.VolumeDiskNumberResponse) error { - return autoConvert_v1_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in, out) -} - -func autoConvert_internal_VolumeDiskNumberResponse_To_v1_VolumeDiskNumberResponse(in *internal.VolumeDiskNumberResponse, out *v1.VolumeDiskNumberResponse) error { - out.DiskNumber = in.DiskNumber - return nil -} - -// Convert_internal_VolumeDiskNumberResponse_To_v1_VolumeDiskNumberResponse is an autogenerated conversion function. -func Convert_internal_VolumeDiskNumberResponse_To_v1_VolumeDiskNumberResponse(in *internal.VolumeDiskNumberResponse, out *v1.VolumeDiskNumberResponse) error { - return autoConvert_internal_VolumeDiskNumberResponse_To_v1_VolumeDiskNumberResponse(in, out) -} - -func autoConvert_v1_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in *v1.VolumeIDFromMountRequest, out *internal.VolumeIDFromMountRequest) error { - out.Mount = in.Mount - return nil -} - -// Convert_v1_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest is an autogenerated conversion function. -func Convert_v1_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in *v1.VolumeIDFromMountRequest, out *internal.VolumeIDFromMountRequest) error { - return autoConvert_v1_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in, out) -} - -func autoConvert_internal_VolumeIDFromMountRequest_To_v1_VolumeIDFromMountRequest(in *internal.VolumeIDFromMountRequest, out *v1.VolumeIDFromMountRequest) error { - out.Mount = in.Mount - return nil -} - -// Convert_internal_VolumeIDFromMountRequest_To_v1_VolumeIDFromMountRequest is an autogenerated conversion function. -func Convert_internal_VolumeIDFromMountRequest_To_v1_VolumeIDFromMountRequest(in *internal.VolumeIDFromMountRequest, out *v1.VolumeIDFromMountRequest) error { - return autoConvert_internal_VolumeIDFromMountRequest_To_v1_VolumeIDFromMountRequest(in, out) -} - -func autoConvert_v1_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in *v1.VolumeIDFromMountResponse, out *internal.VolumeIDFromMountResponse) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse is an autogenerated conversion function. -func Convert_v1_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in *v1.VolumeIDFromMountResponse, out *internal.VolumeIDFromMountResponse) error { - return autoConvert_v1_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in, out) -} - -func autoConvert_internal_VolumeIDFromMountResponse_To_v1_VolumeIDFromMountResponse(in *internal.VolumeIDFromMountResponse, out *v1.VolumeIDFromMountResponse) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_VolumeIDFromMountResponse_To_v1_VolumeIDFromMountResponse is an autogenerated conversion function. -func Convert_internal_VolumeIDFromMountResponse_To_v1_VolumeIDFromMountResponse(in *internal.VolumeIDFromMountResponse, out *v1.VolumeIDFromMountResponse) error { - return autoConvert_internal_VolumeIDFromMountResponse_To_v1_VolumeIDFromMountResponse(in, out) -} - -func autoConvert_v1_VolumeStatsRequest_To_internal_VolumeStatsRequest(in *v1.VolumeStatsRequest, out *internal.VolumeStatsRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_VolumeStatsRequest_To_internal_VolumeStatsRequest is an autogenerated conversion function. -func Convert_v1_VolumeStatsRequest_To_internal_VolumeStatsRequest(in *v1.VolumeStatsRequest, out *internal.VolumeStatsRequest) error { - return autoConvert_v1_VolumeStatsRequest_To_internal_VolumeStatsRequest(in, out) -} - -func autoConvert_internal_VolumeStatsRequest_To_v1_VolumeStatsRequest(in *internal.VolumeStatsRequest, out *v1.VolumeStatsRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_VolumeStatsRequest_To_v1_VolumeStatsRequest is an autogenerated conversion function. -func Convert_internal_VolumeStatsRequest_To_v1_VolumeStatsRequest(in *internal.VolumeStatsRequest, out *v1.VolumeStatsRequest) error { - return autoConvert_internal_VolumeStatsRequest_To_v1_VolumeStatsRequest(in, out) -} - -func autoConvert_v1_VolumeStatsResponse_To_internal_VolumeStatsResponse(in *v1.VolumeStatsResponse, out *internal.VolumeStatsResponse) error { - out.VolumeSize = in.VolumeSize - out.VolumeUsedSize = in.VolumeUsedSize - return nil -} - -// Convert_v1_VolumeStatsResponse_To_internal_VolumeStatsResponse is an autogenerated conversion function. -func Convert_v1_VolumeStatsResponse_To_internal_VolumeStatsResponse(in *v1.VolumeStatsResponse, out *internal.VolumeStatsResponse) error { - return autoConvert_v1_VolumeStatsResponse_To_internal_VolumeStatsResponse(in, out) -} - -func autoConvert_internal_VolumeStatsResponse_To_v1_VolumeStatsResponse(in *internal.VolumeStatsResponse, out *v1.VolumeStatsResponse) error { - out.VolumeSize = in.VolumeSize - out.VolumeUsedSize = in.VolumeUsedSize - return nil -} - -// Convert_internal_VolumeStatsResponse_To_v1_VolumeStatsResponse is an autogenerated conversion function. -func Convert_internal_VolumeStatsResponse_To_v1_VolumeStatsResponse(in *internal.VolumeStatsResponse, out *v1.VolumeStatsResponse) error { - return autoConvert_internal_VolumeStatsResponse_To_v1_VolumeStatsResponse(in, out) -} - -func autoConvert_v1_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in *v1.WriteVolumeCacheRequest, out *internal.WriteVolumeCacheRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_v1_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest is an autogenerated conversion function. -func Convert_v1_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in *v1.WriteVolumeCacheRequest, out *internal.WriteVolumeCacheRequest) error { - return autoConvert_v1_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in, out) -} - -func autoConvert_internal_WriteVolumeCacheRequest_To_v1_WriteVolumeCacheRequest(in *internal.WriteVolumeCacheRequest, out *v1.WriteVolumeCacheRequest) error { - out.VolumeId = in.VolumeId - return nil -} - -// Convert_internal_WriteVolumeCacheRequest_To_v1_WriteVolumeCacheRequest is an autogenerated conversion function. -func Convert_internal_WriteVolumeCacheRequest_To_v1_WriteVolumeCacheRequest(in *internal.WriteVolumeCacheRequest, out *v1.WriteVolumeCacheRequest) error { - return autoConvert_internal_WriteVolumeCacheRequest_To_v1_WriteVolumeCacheRequest(in, out) -} - -func autoConvert_v1_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in *v1.WriteVolumeCacheResponse, out *internal.WriteVolumeCacheResponse) error { - return nil -} - -// Convert_v1_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse is an autogenerated conversion function. -func Convert_v1_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in *v1.WriteVolumeCacheResponse, out *internal.WriteVolumeCacheResponse) error { - return autoConvert_v1_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in, out) -} - -func autoConvert_internal_WriteVolumeCacheResponse_To_v1_WriteVolumeCacheResponse(in *internal.WriteVolumeCacheResponse, out *v1.WriteVolumeCacheResponse) error { - return nil -} - -// Convert_internal_WriteVolumeCacheResponse_To_v1_WriteVolumeCacheResponse is an autogenerated conversion function. -func Convert_internal_WriteVolumeCacheResponse_To_v1_WriteVolumeCacheResponse(in *internal.WriteVolumeCacheResponse, out *v1.WriteVolumeCacheResponse) error { - return autoConvert_internal_WriteVolumeCacheResponse_To_v1_WriteVolumeCacheResponse(in, out) -} diff --git a/internal/server/volume/internal/v1/server_generated.go b/internal/server/volume/internal/v1/server_generated.go deleted file mode 100644 index e8a2db36..00000000 --- a/internal/server/volume/internal/v1/server_generated.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1 - -import ( - "context" - - "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1" - "github.com/kubernetes-csi/csi-proxy/client/apiversion" - "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal" - "google.golang.org/grpc" -) - -var version = apiversion.NewVersionOrPanic("v1") - -type versionedAPI struct { - apiGroupServer internal.ServerInterface -} - -func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.VersionedAPI { - return &versionedAPI{ - apiGroupServer: apiGroupServer, - } -} - -func (s *versionedAPI) Register(grpcServer *grpc.Server) { - v1.RegisterVolumeServer(grpcServer, s) -} - -func (s *versionedAPI) DismountVolume(context context.Context, versionedRequest *v1.DismountVolumeRequest) (*v1.DismountVolumeResponse, error) { - request := &internal.DismountVolumeRequest{} - if err := Convert_v1_DismountVolumeRequest_To_internal_DismountVolumeRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.DismountVolume(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.DismountVolumeResponse{} - if err := Convert_internal_DismountVolumeResponse_To_v1_DismountVolumeResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) FormatVolume(context context.Context, versionedRequest *v1.FormatVolumeRequest) (*v1.FormatVolumeResponse, error) { - request := &internal.FormatVolumeRequest{} - if err := Convert_v1_FormatVolumeRequest_To_internal_FormatVolumeRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.FormatVolume(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.FormatVolumeResponse{} - if err := Convert_internal_FormatVolumeResponse_To_v1_FormatVolumeResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) GetVolumeDiskNumber(context context.Context, versionedRequest *v1.VolumeDiskNumberRequest) (*v1.VolumeDiskNumberResponse, error) { - request := &internal.VolumeDiskNumberRequest{} - if err := Convert_v1_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.GetVolumeDiskNumber(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.VolumeDiskNumberResponse{} - if err := Convert_internal_VolumeDiskNumberResponse_To_v1_VolumeDiskNumberResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) GetVolumeIDFromMount(context context.Context, versionedRequest *v1.VolumeIDFromMountRequest) (*v1.VolumeIDFromMountResponse, error) { - request := &internal.VolumeIDFromMountRequest{} - if err := Convert_v1_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.GetVolumeIDFromMount(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.VolumeIDFromMountResponse{} - if err := Convert_internal_VolumeIDFromMountResponse_To_v1_VolumeIDFromMountResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) IsVolumeFormatted(context context.Context, versionedRequest *v1.IsVolumeFormattedRequest) (*v1.IsVolumeFormattedResponse, error) { - request := &internal.IsVolumeFormattedRequest{} - if err := Convert_v1_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.IsVolumeFormatted(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.IsVolumeFormattedResponse{} - if err := Convert_internal_IsVolumeFormattedResponse_To_v1_IsVolumeFormattedResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) ListVolumesOnDisk(context context.Context, versionedRequest *v1.ListVolumesOnDiskRequest) (*v1.ListVolumesOnDiskResponse, error) { - request := &internal.ListVolumesOnDiskRequest{} - if err := Convert_v1_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.ListVolumesOnDisk(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.ListVolumesOnDiskResponse{} - if err := Convert_internal_ListVolumesOnDiskResponse_To_v1_ListVolumesOnDiskResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) MountVolume(context context.Context, versionedRequest *v1.MountVolumeRequest) (*v1.MountVolumeResponse, error) { - request := &internal.MountVolumeRequest{} - if err := Convert_v1_MountVolumeRequest_To_internal_MountVolumeRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.MountVolume(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.MountVolumeResponse{} - if err := Convert_internal_MountVolumeResponse_To_v1_MountVolumeResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) ResizeVolume(context context.Context, versionedRequest *v1.ResizeVolumeRequest) (*v1.ResizeVolumeResponse, error) { - request := &internal.ResizeVolumeRequest{} - if err := Convert_v1_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.ResizeVolume(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.ResizeVolumeResponse{} - if err := Convert_internal_ResizeVolumeResponse_To_v1_ResizeVolumeResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) VolumeStats(context context.Context, versionedRequest *v1.VolumeStatsRequest) (*v1.VolumeStatsResponse, error) { - request := &internal.VolumeStatsRequest{} - if err := Convert_v1_VolumeStatsRequest_To_internal_VolumeStatsRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.VolumeStats(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.VolumeStatsResponse{} - if err := Convert_internal_VolumeStatsResponse_To_v1_VolumeStatsResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} - -func (s *versionedAPI) WriteVolumeCache(context context.Context, versionedRequest *v1.WriteVolumeCacheRequest) (*v1.WriteVolumeCacheResponse, error) { - request := &internal.WriteVolumeCacheRequest{} - if err := Convert_v1_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(versionedRequest, request); err != nil { - return nil, err - } - - response, err := s.apiGroupServer.WriteVolumeCache(context, request, version) - if err != nil { - return nil, err - } - - versionedResponse := &v1.WriteVolumeCacheResponse{} - if err := Convert_internal_WriteVolumeCacheResponse_To_v1_WriteVolumeCacheResponse(response, versionedResponse); err != nil { - return nil, err - } - - return versionedResponse, err -} diff --git a/internal/server/volume/internal/v1/conversion.go b/internal/server/volume/internal/v1beta3/conversion.go similarity index 84% rename from internal/server/volume/internal/v1/conversion.go rename to internal/server/volume/internal/v1beta3/conversion.go index 7d35c7a3..018db1e1 100644 --- a/internal/server/volume/internal/v1/conversion.go +++ b/internal/server/volume/internal/v1beta3/conversion.go @@ -1,3 +1,3 @@ -package v1 +package v1beta3 // Add manual conversion functions here to override automatic conversion functions diff --git a/internal/server/volume/internal/v1beta3/conversion_generated.go b/internal/server/volume/internal/v1beta3/conversion_generated.go new file mode 100644 index 00000000..60901477 --- /dev/null +++ b/internal/server/volume/internal/v1beta3/conversion_generated.go @@ -0,0 +1,408 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta3 + +import ( + unsafe "unsafe" + + v1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3" + internal "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal" +) + +func autoConvert_v1beta3_DismountVolumeRequest_To_internal_DismountVolumeRequest(in *v1beta3.DismountVolumeRequest, out *internal.DismountVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Path = in.Path + return nil +} + +// Convert_v1beta3_DismountVolumeRequest_To_internal_DismountVolumeRequest is an autogenerated conversion function. +func Convert_v1beta3_DismountVolumeRequest_To_internal_DismountVolumeRequest(in *v1beta3.DismountVolumeRequest, out *internal.DismountVolumeRequest) error { + return autoConvert_v1beta3_DismountVolumeRequest_To_internal_DismountVolumeRequest(in, out) +} + +func autoConvert_internal_DismountVolumeRequest_To_v1beta3_DismountVolumeRequest(in *internal.DismountVolumeRequest, out *v1beta3.DismountVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Path = in.Path + return nil +} + +// Convert_internal_DismountVolumeRequest_To_v1beta3_DismountVolumeRequest is an autogenerated conversion function. +func Convert_internal_DismountVolumeRequest_To_v1beta3_DismountVolumeRequest(in *internal.DismountVolumeRequest, out *v1beta3.DismountVolumeRequest) error { + return autoConvert_internal_DismountVolumeRequest_To_v1beta3_DismountVolumeRequest(in, out) +} + +func autoConvert_v1beta3_DismountVolumeResponse_To_internal_DismountVolumeResponse(in *v1beta3.DismountVolumeResponse, out *internal.DismountVolumeResponse) error { + return nil +} + +// Convert_v1beta3_DismountVolumeResponse_To_internal_DismountVolumeResponse is an autogenerated conversion function. +func Convert_v1beta3_DismountVolumeResponse_To_internal_DismountVolumeResponse(in *v1beta3.DismountVolumeResponse, out *internal.DismountVolumeResponse) error { + return autoConvert_v1beta3_DismountVolumeResponse_To_internal_DismountVolumeResponse(in, out) +} + +func autoConvert_internal_DismountVolumeResponse_To_v1beta3_DismountVolumeResponse(in *internal.DismountVolumeResponse, out *v1beta3.DismountVolumeResponse) error { + return nil +} + +// Convert_internal_DismountVolumeResponse_To_v1beta3_DismountVolumeResponse is an autogenerated conversion function. +func Convert_internal_DismountVolumeResponse_To_v1beta3_DismountVolumeResponse(in *internal.DismountVolumeResponse, out *v1beta3.DismountVolumeResponse) error { + return autoConvert_internal_DismountVolumeResponse_To_v1beta3_DismountVolumeResponse(in, out) +} + +func autoConvert_v1beta3_FormatVolumeRequest_To_internal_FormatVolumeRequest(in *v1beta3.FormatVolumeRequest, out *internal.FormatVolumeRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_FormatVolumeRequest_To_internal_FormatVolumeRequest is an autogenerated conversion function. +func Convert_v1beta3_FormatVolumeRequest_To_internal_FormatVolumeRequest(in *v1beta3.FormatVolumeRequest, out *internal.FormatVolumeRequest) error { + return autoConvert_v1beta3_FormatVolumeRequest_To_internal_FormatVolumeRequest(in, out) +} + +func autoConvert_internal_FormatVolumeRequest_To_v1beta3_FormatVolumeRequest(in *internal.FormatVolumeRequest, out *v1beta3.FormatVolumeRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_FormatVolumeRequest_To_v1beta3_FormatVolumeRequest is an autogenerated conversion function. +func Convert_internal_FormatVolumeRequest_To_v1beta3_FormatVolumeRequest(in *internal.FormatVolumeRequest, out *v1beta3.FormatVolumeRequest) error { + return autoConvert_internal_FormatVolumeRequest_To_v1beta3_FormatVolumeRequest(in, out) +} + +func autoConvert_v1beta3_FormatVolumeResponse_To_internal_FormatVolumeResponse(in *v1beta3.FormatVolumeResponse, out *internal.FormatVolumeResponse) error { + return nil +} + +// Convert_v1beta3_FormatVolumeResponse_To_internal_FormatVolumeResponse is an autogenerated conversion function. +func Convert_v1beta3_FormatVolumeResponse_To_internal_FormatVolumeResponse(in *v1beta3.FormatVolumeResponse, out *internal.FormatVolumeResponse) error { + return autoConvert_v1beta3_FormatVolumeResponse_To_internal_FormatVolumeResponse(in, out) +} + +func autoConvert_internal_FormatVolumeResponse_To_v1beta3_FormatVolumeResponse(in *internal.FormatVolumeResponse, out *v1beta3.FormatVolumeResponse) error { + return nil +} + +// Convert_internal_FormatVolumeResponse_To_v1beta3_FormatVolumeResponse is an autogenerated conversion function. +func Convert_internal_FormatVolumeResponse_To_v1beta3_FormatVolumeResponse(in *internal.FormatVolumeResponse, out *v1beta3.FormatVolumeResponse) error { + return autoConvert_internal_FormatVolumeResponse_To_v1beta3_FormatVolumeResponse(in, out) +} + +func autoConvert_v1beta3_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in *v1beta3.IsVolumeFormattedRequest, out *internal.IsVolumeFormattedRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest is an autogenerated conversion function. +func Convert_v1beta3_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in *v1beta3.IsVolumeFormattedRequest, out *internal.IsVolumeFormattedRequest) error { + return autoConvert_v1beta3_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(in, out) +} + +func autoConvert_internal_IsVolumeFormattedRequest_To_v1beta3_IsVolumeFormattedRequest(in *internal.IsVolumeFormattedRequest, out *v1beta3.IsVolumeFormattedRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_IsVolumeFormattedRequest_To_v1beta3_IsVolumeFormattedRequest is an autogenerated conversion function. +func Convert_internal_IsVolumeFormattedRequest_To_v1beta3_IsVolumeFormattedRequest(in *internal.IsVolumeFormattedRequest, out *v1beta3.IsVolumeFormattedRequest) error { + return autoConvert_internal_IsVolumeFormattedRequest_To_v1beta3_IsVolumeFormattedRequest(in, out) +} + +func autoConvert_v1beta3_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in *v1beta3.IsVolumeFormattedResponse, out *internal.IsVolumeFormattedResponse) error { + out.Formatted = in.Formatted + return nil +} + +// Convert_v1beta3_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse is an autogenerated conversion function. +func Convert_v1beta3_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in *v1beta3.IsVolumeFormattedResponse, out *internal.IsVolumeFormattedResponse) error { + return autoConvert_v1beta3_IsVolumeFormattedResponse_To_internal_IsVolumeFormattedResponse(in, out) +} + +func autoConvert_internal_IsVolumeFormattedResponse_To_v1beta3_IsVolumeFormattedResponse(in *internal.IsVolumeFormattedResponse, out *v1beta3.IsVolumeFormattedResponse) error { + out.Formatted = in.Formatted + return nil +} + +// Convert_internal_IsVolumeFormattedResponse_To_v1beta3_IsVolumeFormattedResponse is an autogenerated conversion function. +func Convert_internal_IsVolumeFormattedResponse_To_v1beta3_IsVolumeFormattedResponse(in *internal.IsVolumeFormattedResponse, out *v1beta3.IsVolumeFormattedResponse) error { + return autoConvert_internal_IsVolumeFormattedResponse_To_v1beta3_IsVolumeFormattedResponse(in, out) +} + +func autoConvert_v1beta3_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in *v1beta3.ListVolumesOnDiskRequest, out *internal.ListVolumesOnDiskRequest) error { + out.DiskId = in.DiskId + return nil +} + +// Convert_v1beta3_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest is an autogenerated conversion function. +func Convert_v1beta3_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in *v1beta3.ListVolumesOnDiskRequest, out *internal.ListVolumesOnDiskRequest) error { + return autoConvert_v1beta3_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(in, out) +} + +func autoConvert_internal_ListVolumesOnDiskRequest_To_v1beta3_ListVolumesOnDiskRequest(in *internal.ListVolumesOnDiskRequest, out *v1beta3.ListVolumesOnDiskRequest) error { + out.DiskId = in.DiskId + return nil +} + +// Convert_internal_ListVolumesOnDiskRequest_To_v1beta3_ListVolumesOnDiskRequest is an autogenerated conversion function. +func Convert_internal_ListVolumesOnDiskRequest_To_v1beta3_ListVolumesOnDiskRequest(in *internal.ListVolumesOnDiskRequest, out *v1beta3.ListVolumesOnDiskRequest) error { + return autoConvert_internal_ListVolumesOnDiskRequest_To_v1beta3_ListVolumesOnDiskRequest(in, out) +} + +func autoConvert_v1beta3_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in *v1beta3.ListVolumesOnDiskResponse, out *internal.ListVolumesOnDiskResponse) error { + out.VolumeIds = *(*[]string)(unsafe.Pointer(&in.VolumeIds)) + return nil +} + +// Convert_v1beta3_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse is an autogenerated conversion function. +func Convert_v1beta3_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in *v1beta3.ListVolumesOnDiskResponse, out *internal.ListVolumesOnDiskResponse) error { + return autoConvert_v1beta3_ListVolumesOnDiskResponse_To_internal_ListVolumesOnDiskResponse(in, out) +} + +func autoConvert_internal_ListVolumesOnDiskResponse_To_v1beta3_ListVolumesOnDiskResponse(in *internal.ListVolumesOnDiskResponse, out *v1beta3.ListVolumesOnDiskResponse) error { + out.VolumeIds = *(*[]string)(unsafe.Pointer(&in.VolumeIds)) + return nil +} + +// Convert_internal_ListVolumesOnDiskResponse_To_v1beta3_ListVolumesOnDiskResponse is an autogenerated conversion function. +func Convert_internal_ListVolumesOnDiskResponse_To_v1beta3_ListVolumesOnDiskResponse(in *internal.ListVolumesOnDiskResponse, out *v1beta3.ListVolumesOnDiskResponse) error { + return autoConvert_internal_ListVolumesOnDiskResponse_To_v1beta3_ListVolumesOnDiskResponse(in, out) +} + +func autoConvert_v1beta3_MountVolumeRequest_To_internal_MountVolumeRequest(in *v1beta3.MountVolumeRequest, out *internal.MountVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Path = in.Path + return nil +} + +// Convert_v1beta3_MountVolumeRequest_To_internal_MountVolumeRequest is an autogenerated conversion function. +func Convert_v1beta3_MountVolumeRequest_To_internal_MountVolumeRequest(in *v1beta3.MountVolumeRequest, out *internal.MountVolumeRequest) error { + return autoConvert_v1beta3_MountVolumeRequest_To_internal_MountVolumeRequest(in, out) +} + +func autoConvert_internal_MountVolumeRequest_To_v1beta3_MountVolumeRequest(in *internal.MountVolumeRequest, out *v1beta3.MountVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Path = in.Path + return nil +} + +// Convert_internal_MountVolumeRequest_To_v1beta3_MountVolumeRequest is an autogenerated conversion function. +func Convert_internal_MountVolumeRequest_To_v1beta3_MountVolumeRequest(in *internal.MountVolumeRequest, out *v1beta3.MountVolumeRequest) error { + return autoConvert_internal_MountVolumeRequest_To_v1beta3_MountVolumeRequest(in, out) +} + +func autoConvert_v1beta3_MountVolumeResponse_To_internal_MountVolumeResponse(in *v1beta3.MountVolumeResponse, out *internal.MountVolumeResponse) error { + return nil +} + +// Convert_v1beta3_MountVolumeResponse_To_internal_MountVolumeResponse is an autogenerated conversion function. +func Convert_v1beta3_MountVolumeResponse_To_internal_MountVolumeResponse(in *v1beta3.MountVolumeResponse, out *internal.MountVolumeResponse) error { + return autoConvert_v1beta3_MountVolumeResponse_To_internal_MountVolumeResponse(in, out) +} + +func autoConvert_internal_MountVolumeResponse_To_v1beta3_MountVolumeResponse(in *internal.MountVolumeResponse, out *v1beta3.MountVolumeResponse) error { + return nil +} + +// Convert_internal_MountVolumeResponse_To_v1beta3_MountVolumeResponse is an autogenerated conversion function. +func Convert_internal_MountVolumeResponse_To_v1beta3_MountVolumeResponse(in *internal.MountVolumeResponse, out *v1beta3.MountVolumeResponse) error { + return autoConvert_internal_MountVolumeResponse_To_v1beta3_MountVolumeResponse(in, out) +} + +func autoConvert_v1beta3_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in *v1beta3.ResizeVolumeRequest, out *internal.ResizeVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Size = in.Size + return nil +} + +// Convert_v1beta3_ResizeVolumeRequest_To_internal_ResizeVolumeRequest is an autogenerated conversion function. +func Convert_v1beta3_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in *v1beta3.ResizeVolumeRequest, out *internal.ResizeVolumeRequest) error { + return autoConvert_v1beta3_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(in, out) +} + +func autoConvert_internal_ResizeVolumeRequest_To_v1beta3_ResizeVolumeRequest(in *internal.ResizeVolumeRequest, out *v1beta3.ResizeVolumeRequest) error { + out.VolumeId = in.VolumeId + out.Size = in.Size + return nil +} + +// Convert_internal_ResizeVolumeRequest_To_v1beta3_ResizeVolumeRequest is an autogenerated conversion function. +func Convert_internal_ResizeVolumeRequest_To_v1beta3_ResizeVolumeRequest(in *internal.ResizeVolumeRequest, out *v1beta3.ResizeVolumeRequest) error { + return autoConvert_internal_ResizeVolumeRequest_To_v1beta3_ResizeVolumeRequest(in, out) +} + +func autoConvert_v1beta3_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in *v1beta3.ResizeVolumeResponse, out *internal.ResizeVolumeResponse) error { + return nil +} + +// Convert_v1beta3_ResizeVolumeResponse_To_internal_ResizeVolumeResponse is an autogenerated conversion function. +func Convert_v1beta3_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in *v1beta3.ResizeVolumeResponse, out *internal.ResizeVolumeResponse) error { + return autoConvert_v1beta3_ResizeVolumeResponse_To_internal_ResizeVolumeResponse(in, out) +} + +func autoConvert_internal_ResizeVolumeResponse_To_v1beta3_ResizeVolumeResponse(in *internal.ResizeVolumeResponse, out *v1beta3.ResizeVolumeResponse) error { + return nil +} + +// Convert_internal_ResizeVolumeResponse_To_v1beta3_ResizeVolumeResponse is an autogenerated conversion function. +func Convert_internal_ResizeVolumeResponse_To_v1beta3_ResizeVolumeResponse(in *internal.ResizeVolumeResponse, out *v1beta3.ResizeVolumeResponse) error { + return autoConvert_internal_ResizeVolumeResponse_To_v1beta3_ResizeVolumeResponse(in, out) +} + +func autoConvert_v1beta3_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in *v1beta3.VolumeDiskNumberRequest, out *internal.VolumeDiskNumberRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest is an autogenerated conversion function. +func Convert_v1beta3_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in *v1beta3.VolumeDiskNumberRequest, out *internal.VolumeDiskNumberRequest) error { + return autoConvert_v1beta3_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(in, out) +} + +func autoConvert_internal_VolumeDiskNumberRequest_To_v1beta3_VolumeDiskNumberRequest(in *internal.VolumeDiskNumberRequest, out *v1beta3.VolumeDiskNumberRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_VolumeDiskNumberRequest_To_v1beta3_VolumeDiskNumberRequest is an autogenerated conversion function. +func Convert_internal_VolumeDiskNumberRequest_To_v1beta3_VolumeDiskNumberRequest(in *internal.VolumeDiskNumberRequest, out *v1beta3.VolumeDiskNumberRequest) error { + return autoConvert_internal_VolumeDiskNumberRequest_To_v1beta3_VolumeDiskNumberRequest(in, out) +} + +func autoConvert_v1beta3_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in *v1beta3.VolumeDiskNumberResponse, out *internal.VolumeDiskNumberResponse) error { + out.DiskNumber = in.DiskNumber + return nil +} + +// Convert_v1beta3_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse is an autogenerated conversion function. +func Convert_v1beta3_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in *v1beta3.VolumeDiskNumberResponse, out *internal.VolumeDiskNumberResponse) error { + return autoConvert_v1beta3_VolumeDiskNumberResponse_To_internal_VolumeDiskNumberResponse(in, out) +} + +func autoConvert_internal_VolumeDiskNumberResponse_To_v1beta3_VolumeDiskNumberResponse(in *internal.VolumeDiskNumberResponse, out *v1beta3.VolumeDiskNumberResponse) error { + out.DiskNumber = in.DiskNumber + return nil +} + +// Convert_internal_VolumeDiskNumberResponse_To_v1beta3_VolumeDiskNumberResponse is an autogenerated conversion function. +func Convert_internal_VolumeDiskNumberResponse_To_v1beta3_VolumeDiskNumberResponse(in *internal.VolumeDiskNumberResponse, out *v1beta3.VolumeDiskNumberResponse) error { + return autoConvert_internal_VolumeDiskNumberResponse_To_v1beta3_VolumeDiskNumberResponse(in, out) +} + +func autoConvert_v1beta3_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in *v1beta3.VolumeIDFromMountRequest, out *internal.VolumeIDFromMountRequest) error { + out.Mount = in.Mount + return nil +} + +// Convert_v1beta3_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest is an autogenerated conversion function. +func Convert_v1beta3_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in *v1beta3.VolumeIDFromMountRequest, out *internal.VolumeIDFromMountRequest) error { + return autoConvert_v1beta3_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(in, out) +} + +func autoConvert_internal_VolumeIDFromMountRequest_To_v1beta3_VolumeIDFromMountRequest(in *internal.VolumeIDFromMountRequest, out *v1beta3.VolumeIDFromMountRequest) error { + out.Mount = in.Mount + return nil +} + +// Convert_internal_VolumeIDFromMountRequest_To_v1beta3_VolumeIDFromMountRequest is an autogenerated conversion function. +func Convert_internal_VolumeIDFromMountRequest_To_v1beta3_VolumeIDFromMountRequest(in *internal.VolumeIDFromMountRequest, out *v1beta3.VolumeIDFromMountRequest) error { + return autoConvert_internal_VolumeIDFromMountRequest_To_v1beta3_VolumeIDFromMountRequest(in, out) +} + +func autoConvert_v1beta3_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in *v1beta3.VolumeIDFromMountResponse, out *internal.VolumeIDFromMountResponse) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse is an autogenerated conversion function. +func Convert_v1beta3_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in *v1beta3.VolumeIDFromMountResponse, out *internal.VolumeIDFromMountResponse) error { + return autoConvert_v1beta3_VolumeIDFromMountResponse_To_internal_VolumeIDFromMountResponse(in, out) +} + +func autoConvert_internal_VolumeIDFromMountResponse_To_v1beta3_VolumeIDFromMountResponse(in *internal.VolumeIDFromMountResponse, out *v1beta3.VolumeIDFromMountResponse) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_VolumeIDFromMountResponse_To_v1beta3_VolumeIDFromMountResponse is an autogenerated conversion function. +func Convert_internal_VolumeIDFromMountResponse_To_v1beta3_VolumeIDFromMountResponse(in *internal.VolumeIDFromMountResponse, out *v1beta3.VolumeIDFromMountResponse) error { + return autoConvert_internal_VolumeIDFromMountResponse_To_v1beta3_VolumeIDFromMountResponse(in, out) +} + +func autoConvert_v1beta3_VolumeStatsRequest_To_internal_VolumeStatsRequest(in *v1beta3.VolumeStatsRequest, out *internal.VolumeStatsRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_VolumeStatsRequest_To_internal_VolumeStatsRequest is an autogenerated conversion function. +func Convert_v1beta3_VolumeStatsRequest_To_internal_VolumeStatsRequest(in *v1beta3.VolumeStatsRequest, out *internal.VolumeStatsRequest) error { + return autoConvert_v1beta3_VolumeStatsRequest_To_internal_VolumeStatsRequest(in, out) +} + +func autoConvert_internal_VolumeStatsRequest_To_v1beta3_VolumeStatsRequest(in *internal.VolumeStatsRequest, out *v1beta3.VolumeStatsRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_VolumeStatsRequest_To_v1beta3_VolumeStatsRequest is an autogenerated conversion function. +func Convert_internal_VolumeStatsRequest_To_v1beta3_VolumeStatsRequest(in *internal.VolumeStatsRequest, out *v1beta3.VolumeStatsRequest) error { + return autoConvert_internal_VolumeStatsRequest_To_v1beta3_VolumeStatsRequest(in, out) +} + +func autoConvert_v1beta3_VolumeStatsResponse_To_internal_VolumeStatsResponse(in *v1beta3.VolumeStatsResponse, out *internal.VolumeStatsResponse) error { + out.VolumeSize = in.VolumeSize + out.VolumeUsedSize = in.VolumeUsedSize + return nil +} + +// Convert_v1beta3_VolumeStatsResponse_To_internal_VolumeStatsResponse is an autogenerated conversion function. +func Convert_v1beta3_VolumeStatsResponse_To_internal_VolumeStatsResponse(in *v1beta3.VolumeStatsResponse, out *internal.VolumeStatsResponse) error { + return autoConvert_v1beta3_VolumeStatsResponse_To_internal_VolumeStatsResponse(in, out) +} + +func autoConvert_internal_VolumeStatsResponse_To_v1beta3_VolumeStatsResponse(in *internal.VolumeStatsResponse, out *v1beta3.VolumeStatsResponse) error { + out.VolumeSize = in.VolumeSize + out.VolumeUsedSize = in.VolumeUsedSize + return nil +} + +// Convert_internal_VolumeStatsResponse_To_v1beta3_VolumeStatsResponse is an autogenerated conversion function. +func Convert_internal_VolumeStatsResponse_To_v1beta3_VolumeStatsResponse(in *internal.VolumeStatsResponse, out *v1beta3.VolumeStatsResponse) error { + return autoConvert_internal_VolumeStatsResponse_To_v1beta3_VolumeStatsResponse(in, out) +} + +func autoConvert_v1beta3_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in *v1beta3.WriteVolumeCacheRequest, out *internal.WriteVolumeCacheRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_v1beta3_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest is an autogenerated conversion function. +func Convert_v1beta3_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in *v1beta3.WriteVolumeCacheRequest, out *internal.WriteVolumeCacheRequest) error { + return autoConvert_v1beta3_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(in, out) +} + +func autoConvert_internal_WriteVolumeCacheRequest_To_v1beta3_WriteVolumeCacheRequest(in *internal.WriteVolumeCacheRequest, out *v1beta3.WriteVolumeCacheRequest) error { + out.VolumeId = in.VolumeId + return nil +} + +// Convert_internal_WriteVolumeCacheRequest_To_v1beta3_WriteVolumeCacheRequest is an autogenerated conversion function. +func Convert_internal_WriteVolumeCacheRequest_To_v1beta3_WriteVolumeCacheRequest(in *internal.WriteVolumeCacheRequest, out *v1beta3.WriteVolumeCacheRequest) error { + return autoConvert_internal_WriteVolumeCacheRequest_To_v1beta3_WriteVolumeCacheRequest(in, out) +} + +func autoConvert_v1beta3_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in *v1beta3.WriteVolumeCacheResponse, out *internal.WriteVolumeCacheResponse) error { + return nil +} + +// Convert_v1beta3_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse is an autogenerated conversion function. +func Convert_v1beta3_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in *v1beta3.WriteVolumeCacheResponse, out *internal.WriteVolumeCacheResponse) error { + return autoConvert_v1beta3_WriteVolumeCacheResponse_To_internal_WriteVolumeCacheResponse(in, out) +} + +func autoConvert_internal_WriteVolumeCacheResponse_To_v1beta3_WriteVolumeCacheResponse(in *internal.WriteVolumeCacheResponse, out *v1beta3.WriteVolumeCacheResponse) error { + return nil +} + +// Convert_internal_WriteVolumeCacheResponse_To_v1beta3_WriteVolumeCacheResponse is an autogenerated conversion function. +func Convert_internal_WriteVolumeCacheResponse_To_v1beta3_WriteVolumeCacheResponse(in *internal.WriteVolumeCacheResponse, out *v1beta3.WriteVolumeCacheResponse) error { + return autoConvert_internal_WriteVolumeCacheResponse_To_v1beta3_WriteVolumeCacheResponse(in, out) +} diff --git a/internal/server/volume/internal/v1beta3/server_generated.go b/internal/server/volume/internal/v1beta3/server_generated.go new file mode 100644 index 00000000..2e0548d4 --- /dev/null +++ b/internal/server/volume/internal/v1beta3/server_generated.go @@ -0,0 +1,218 @@ +// Code generated by csi-proxy-api-gen. DO NOT EDIT. + +package v1beta3 + +import ( + "context" + + "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3" + "github.com/kubernetes-csi/csi-proxy/client/apiversion" + "github.com/kubernetes-csi/csi-proxy/internal/server/volume/internal" + "google.golang.org/grpc" +) + +var version = apiversion.NewVersionOrPanic("v1beta3") + +type versionedAPI struct { + apiGroupServer internal.ServerInterface +} + +func NewVersionedServer(apiGroupServer internal.ServerInterface) internal.VersionedAPI { + return &versionedAPI{ + apiGroupServer: apiGroupServer, + } +} + +func (s *versionedAPI) Register(grpcServer *grpc.Server) { + v1beta3.RegisterVolumeServer(grpcServer, s) +} + +func (s *versionedAPI) DismountVolume(context context.Context, versionedRequest *v1beta3.DismountVolumeRequest) (*v1beta3.DismountVolumeResponse, error) { + request := &internal.DismountVolumeRequest{} + if err := Convert_v1beta3_DismountVolumeRequest_To_internal_DismountVolumeRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.DismountVolume(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.DismountVolumeResponse{} + if err := Convert_internal_DismountVolumeResponse_To_v1beta3_DismountVolumeResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) FormatVolume(context context.Context, versionedRequest *v1beta3.FormatVolumeRequest) (*v1beta3.FormatVolumeResponse, error) { + request := &internal.FormatVolumeRequest{} + if err := Convert_v1beta3_FormatVolumeRequest_To_internal_FormatVolumeRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.FormatVolume(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.FormatVolumeResponse{} + if err := Convert_internal_FormatVolumeResponse_To_v1beta3_FormatVolumeResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) GetVolumeDiskNumber(context context.Context, versionedRequest *v1beta3.VolumeDiskNumberRequest) (*v1beta3.VolumeDiskNumberResponse, error) { + request := &internal.VolumeDiskNumberRequest{} + if err := Convert_v1beta3_VolumeDiskNumberRequest_To_internal_VolumeDiskNumberRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.GetVolumeDiskNumber(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.VolumeDiskNumberResponse{} + if err := Convert_internal_VolumeDiskNumberResponse_To_v1beta3_VolumeDiskNumberResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) GetVolumeIDFromMount(context context.Context, versionedRequest *v1beta3.VolumeIDFromMountRequest) (*v1beta3.VolumeIDFromMountResponse, error) { + request := &internal.VolumeIDFromMountRequest{} + if err := Convert_v1beta3_VolumeIDFromMountRequest_To_internal_VolumeIDFromMountRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.GetVolumeIDFromMount(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.VolumeIDFromMountResponse{} + if err := Convert_internal_VolumeIDFromMountResponse_To_v1beta3_VolumeIDFromMountResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) IsVolumeFormatted(context context.Context, versionedRequest *v1beta3.IsVolumeFormattedRequest) (*v1beta3.IsVolumeFormattedResponse, error) { + request := &internal.IsVolumeFormattedRequest{} + if err := Convert_v1beta3_IsVolumeFormattedRequest_To_internal_IsVolumeFormattedRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.IsVolumeFormatted(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.IsVolumeFormattedResponse{} + if err := Convert_internal_IsVolumeFormattedResponse_To_v1beta3_IsVolumeFormattedResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) ListVolumesOnDisk(context context.Context, versionedRequest *v1beta3.ListVolumesOnDiskRequest) (*v1beta3.ListVolumesOnDiskResponse, error) { + request := &internal.ListVolumesOnDiskRequest{} + if err := Convert_v1beta3_ListVolumesOnDiskRequest_To_internal_ListVolumesOnDiskRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.ListVolumesOnDisk(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.ListVolumesOnDiskResponse{} + if err := Convert_internal_ListVolumesOnDiskResponse_To_v1beta3_ListVolumesOnDiskResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) MountVolume(context context.Context, versionedRequest *v1beta3.MountVolumeRequest) (*v1beta3.MountVolumeResponse, error) { + request := &internal.MountVolumeRequest{} + if err := Convert_v1beta3_MountVolumeRequest_To_internal_MountVolumeRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.MountVolume(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.MountVolumeResponse{} + if err := Convert_internal_MountVolumeResponse_To_v1beta3_MountVolumeResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) ResizeVolume(context context.Context, versionedRequest *v1beta3.ResizeVolumeRequest) (*v1beta3.ResizeVolumeResponse, error) { + request := &internal.ResizeVolumeRequest{} + if err := Convert_v1beta3_ResizeVolumeRequest_To_internal_ResizeVolumeRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.ResizeVolume(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.ResizeVolumeResponse{} + if err := Convert_internal_ResizeVolumeResponse_To_v1beta3_ResizeVolumeResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) VolumeStats(context context.Context, versionedRequest *v1beta3.VolumeStatsRequest) (*v1beta3.VolumeStatsResponse, error) { + request := &internal.VolumeStatsRequest{} + if err := Convert_v1beta3_VolumeStatsRequest_To_internal_VolumeStatsRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.VolumeStats(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.VolumeStatsResponse{} + if err := Convert_internal_VolumeStatsResponse_To_v1beta3_VolumeStatsResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} + +func (s *versionedAPI) WriteVolumeCache(context context.Context, versionedRequest *v1beta3.WriteVolumeCacheRequest) (*v1beta3.WriteVolumeCacheResponse, error) { + request := &internal.WriteVolumeCacheRequest{} + if err := Convert_v1beta3_WriteVolumeCacheRequest_To_internal_WriteVolumeCacheRequest(versionedRequest, request); err != nil { + return nil, err + } + + response, err := s.apiGroupServer.WriteVolumeCache(context, request, version) + if err != nil { + return nil, err + } + + versionedResponse := &v1beta3.WriteVolumeCacheResponse{} + if err := Convert_internal_WriteVolumeCacheResponse_To_v1beta3_WriteVolumeCacheResponse(response, versionedResponse); err != nil { + return nil, err + } + + return versionedResponse, err +} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go index 9fdaadde..881b1ecc 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go @@ -1,424 +1,693 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) -} -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) -} -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) -} -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) -} -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) -} -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (*PartitionDiskResponse) ProtoMessage() {} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} -func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{5} +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{4} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanRequest) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} -func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{6} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (*RescanRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (*RescanResponse) ProtoMessage() {} + +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (*RescanResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} type GetDiskNumberByNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk ID - DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` } -func (m *GetDiskNumberByNameRequest) Reset() { *m = GetDiskNumberByNameRequest{} } -func (m *GetDiskNumberByNameRequest) String() string { return proto.CompactTextString(m) } -func (*GetDiskNumberByNameRequest) ProtoMessage() {} -func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{7} +func (x *GetDiskNumberByNameRequest) Reset() { + *x = GetDiskNumberByNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDiskNumberByNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDiskNumberByNameRequest.Unmarshal(m, b) -} -func (m *GetDiskNumberByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDiskNumberByNameRequest.Marshal(b, m, deterministic) -} -func (m *GetDiskNumberByNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskNumberByNameRequest.Merge(m, src) -} -func (m *GetDiskNumberByNameRequest) XXX_Size() int { - return xxx_messageInfo_GetDiskNumberByNameRequest.Size(m) +func (x *GetDiskNumberByNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDiskNumberByNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDiskNumberByNameRequest.DiscardUnknown(m) + +func (*GetDiskNumberByNameRequest) ProtoMessage() {} + +func (x *GetDiskNumberByNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDiskNumberByNameRequest proto.InternalMessageInfo +// Deprecated: Use GetDiskNumberByNameRequest.ProtoReflect.Descriptor instead. +func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *GetDiskNumberByNameRequest) GetDiskName() string { - if m != nil { - return m.DiskName +func (x *GetDiskNumberByNameRequest) GetDiskName() string { + if x != nil { + return x.DiskName } return "" } type GetDiskNumberByNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk number - DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` } -func (m *GetDiskNumberByNameResponse) Reset() { *m = GetDiskNumberByNameResponse{} } -func (m *GetDiskNumberByNameResponse) String() string { return proto.CompactTextString(m) } -func (*GetDiskNumberByNameResponse) ProtoMessage() {} -func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_028ab8065db229af, []int{8} +func (x *GetDiskNumberByNameResponse) Reset() { + *x = GetDiskNumberByNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDiskNumberByNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDiskNumberByNameResponse.Unmarshal(m, b) -} -func (m *GetDiskNumberByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDiskNumberByNameResponse.Marshal(b, m, deterministic) +func (x *GetDiskNumberByNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDiskNumberByNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskNumberByNameResponse.Merge(m, src) -} -func (m *GetDiskNumberByNameResponse) XXX_Size() int { - return xxx_messageInfo_GetDiskNumberByNameResponse.Size(m) -} -func (m *GetDiskNumberByNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDiskNumberByNameResponse.DiscardUnknown(m) + +func (*GetDiskNumberByNameResponse) ProtoMessage() {} + +func (x *GetDiskNumberByNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDiskNumberByNameResponse proto.InternalMessageInfo +// Deprecated: Use GetDiskNumberByNameResponse.ProtoReflect.Descriptor instead. +func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *GetDiskNumberByNameResponse) GetDiskNumber() string { - if m != nil { - return m.DiskNumber +func (x *GetDiskNumberByNameResponse) GetDiskNumber() string { + if x != nil { + return x.DiskNumber } return "" } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1alpha1.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1alpha1.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1alpha1.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1alpha1.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1alpha1.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1alpha1.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1alpha1.RescanResponse") - proto.RegisterType((*GetDiskNumberByNameRequest)(nil), "v1alpha1.GetDiskNumberByNameRequest") - proto.RegisterType((*GetDiskNumberByNameResponse)(nil), "v1alpha1.GetDiskNumberByNameResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto", fileDescriptor_028ab8065db229af) -} - -var fileDescriptor_028ab8065db229af = []byte{ - // 464 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xef, 0x6b, 0x13, 0x41, - 0x10, 0xf5, 0x92, 0x36, 0xb6, 0x13, 0x53, 0xeb, 0x5a, 0xdb, 0xf3, 0x0a, 0xb6, 0xac, 0x0a, 0xfd, - 0x60, 0xef, 0x68, 0x04, 0x51, 0x41, 0xc1, 0x12, 0x95, 0x42, 0x08, 0x72, 0x28, 0xf8, 0x45, 0x65, - 0x73, 0x37, 0x34, 0x4b, 0x92, 0xbb, 0x73, 0x77, 0x2f, 0x98, 0xff, 0xd3, 0xef, 0xfe, 0x2b, 0xb2, - 0x7b, 0xbb, 0xf9, 0x61, 0x12, 0xf5, 0xdb, 0xcd, 0x9b, 0xf7, 0x76, 0xe6, 0xbd, 0xe1, 0xe0, 0xdd, - 0x35, 0x57, 0x83, 0xb2, 0x1f, 0x26, 0xf9, 0x38, 0x1a, 0x96, 0x7d, 0x14, 0x19, 0x2a, 0x94, 0xe7, - 0x89, 0xe4, 0x51, 0x22, 0xf9, 0x79, 0x21, 0xf2, 0x1f, 0xd3, 0x28, 0x19, 0x71, 0xcc, 0x54, 0xc4, - 0x0a, 0x1e, 0xa5, 0x5c, 0x0e, 0xa3, 0xc9, 0x05, 0x1b, 0x15, 0x03, 0x76, 0xa1, 0x91, 0xb0, 0x10, - 0xb9, 0xca, 0xc9, 0x8e, 0xc3, 0x68, 0x00, 0x7e, 0x97, 0x4b, 0xd5, 0xe1, 0x72, 0xd8, 0xcd, 0x13, - 0xa6, 0x78, 0x9e, 0xc9, 0x18, 0xbf, 0x97, 0x28, 0x15, 0x1d, 0xc0, 0xad, 0x45, 0x9c, 0xf8, 0x70, - 0xf3, 0x4d, 0xca, 0x0a, 0x85, 0xc2, 0xf7, 0x4e, 0xbd, 0xb3, 0xdd, 0xd8, 0x95, 0x64, 0x1f, 0xea, - 0x97, 0xa5, 0xf4, 0x6b, 0x06, 0xd5, 0x9f, 0xe4, 0x10, 0x1a, 0x1f, 0x99, 0xb8, 0x46, 0xe5, 0xd7, - 0x0d, 0x68, 0x2b, 0x72, 0x00, 0xdb, 0xdd, 0x4f, 0xbd, 0xab, 0x8e, 0xbf, 0x65, 0xe0, 0xaa, 0xa0, - 0x3f, 0x3d, 0xb8, 0xbf, 0x66, 0x0d, 0x59, 0xe4, 0x99, 0x44, 0xf2, 0x05, 0xf6, 0xb4, 0x91, 0x6f, - 0x23, 0xd7, 0xf1, 0xbd, 0xd3, 0xfa, 0x59, 0xb3, 0xfd, 0x2c, 0x74, 0x36, 0xc2, 0x8d, 0xe2, 0x70, - 0x09, 0x7d, 0x9b, 0x29, 0x31, 0x8d, 0x5b, 0xe9, 0x22, 0x16, 0x7c, 0x06, 0xb2, 0x4a, 0xd2, 0x96, - 0x86, 0x38, 0xb5, 0x46, 0xf5, 0x27, 0x79, 0x02, 0xdb, 0x13, 0x36, 0x2a, 0xd1, 0xd8, 0x6c, 0xb6, - 0x0f, 0xe7, 0xd3, 0x17, 0xe5, 0x71, 0x45, 0x7a, 0x59, 0x7b, 0xee, 0xd1, 0x10, 0x0e, 0x3e, 0x30, - 0xa1, 0xb8, 0xc6, 0x35, 0xc7, 0x06, 0xab, 0xc3, 0xd1, 0x2b, 0x5c, 0x75, 0xec, 0xf3, 0xb6, 0xa2, - 0x47, 0x70, 0xef, 0x0f, 0x7e, 0x65, 0x82, 0xde, 0x86, 0x56, 0x8c, 0x32, 0x61, 0x99, 0x3b, 0xcd, - 0x3e, 0xec, 0x39, 0xc0, 0x52, 0x5e, 0x40, 0xf0, 0x1e, 0x4d, 0x06, 0xbd, 0x72, 0xdc, 0x47, 0x71, - 0x39, 0xed, 0xb1, 0x31, 0xba, 0x89, 0xc7, 0xb0, 0x6b, 0x22, 0xcc, 0xd8, 0x18, 0xed, 0xd0, 0x1d, - 0x0d, 0x68, 0x0e, 0x7d, 0x0d, 0xc7, 0x6b, 0xa5, 0x36, 0xfe, 0x13, 0x68, 0x56, 0x5a, 0xd3, 0xb4, - 0x6a, 0x48, 0x67, 0xf4, 0xf6, 0xaf, 0x1a, 0x6c, 0x69, 0x35, 0xf9, 0x0a, 0x77, 0x56, 0x0e, 0x41, - 0xe8, 0x5f, 0xaf, 0x64, 0xd6, 0x0b, 0x1e, 0xfe, 0xc7, 0x25, 0xe9, 0x0d, 0x12, 0x43, 0x6b, 0x29, - 0x1f, 0xf2, 0x60, 0xae, 0x5b, 0x17, 0x74, 0x70, 0xb2, 0xb1, 0x3f, 0x7b, 0xf3, 0x15, 0x34, 0xaa, - 0x24, 0xc9, 0xd1, 0x9c, 0xbc, 0x14, 0x76, 0xe0, 0xaf, 0x36, 0x66, 0xf2, 0x14, 0xee, 0xae, 0xc9, - 0x8e, 0x3c, 0x9a, 0x4b, 0x36, 0x5f, 0x25, 0x78, 0xfc, 0x0f, 0x96, 0x9b, 0xd2, 0x6f, 0x98, 0xdf, - 0xf6, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x27, 0x76, 0x00, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, + 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, + 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd4, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, + 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x58, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, + 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, + 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, + 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xdf, 0x02, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, + 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x52, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, + 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x17, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, + 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1alpha1.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1alpha1.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1alpha1.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1alpha1.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1alpha1.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1alpha1.RescanRequest + (*RescanResponse)(nil), // 6: v1alpha1.RescanResponse + (*GetDiskNumberByNameRequest)(nil), // 7: v1alpha1.GetDiskNumberByNameRequest + (*GetDiskNumberByNameResponse)(nil), // 8: v1alpha1.GetDiskNumberByNameResponse + nil, // 9: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = []int32{ + 9, // 0: v1alpha1.ListDiskLocationsResponse.disk_locations:type_name -> v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry + 1, // 1: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1alpha1.DiskLocation + 0, // 2: v1alpha1.Disk.ListDiskLocations:input_type -> v1alpha1.ListDiskLocationsRequest + 3, // 3: v1alpha1.Disk.PartitionDisk:input_type -> v1alpha1.PartitionDiskRequest + 5, // 4: v1alpha1.Disk.Rescan:input_type -> v1alpha1.RescanRequest + 7, // 5: v1alpha1.Disk.GetDiskNumberByName:input_type -> v1alpha1.GetDiskNumberByNameRequest + 2, // 6: v1alpha1.Disk.ListDiskLocations:output_type -> v1alpha1.ListDiskLocationsResponse + 4, // 7: v1alpha1.Disk.PartitionDisk:output_type -> v1alpha1.PartitionDiskResponse + 6, // 8: v1alpha1.Disk.Rescan:output_type -> v1alpha1.RescanResponse + 8, // 9: v1alpha1.Disk.GetDiskNumberByName:output_type -> v1alpha1.GetDiskNumberByNameResponse + 6, // [6:10] is the sub-list for method output_type + 2, // [2:6] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDiskNumberByNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDiskNumberByNameResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -507,16 +776,16 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) GetDiskNumberByName(ctx context.Context, req *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { +func (*UnimplementedDiskServer) GetDiskNumberByName(context.Context, *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDiskNumberByName not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto index 03ef6121..5b84b111 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1"; + service Disk { // ListDiskLocations returns locations of all // disk devices enumerated by the host diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go index 099b9769..579f074c 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go @@ -1,554 +1,904 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: disk/v1beta1/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) -} -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) + +func (*PartitionDiskResponse) ProtoMessage() {} + +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) + +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{4} } -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) + +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RescanRequest) ProtoMessage() {} + +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanResponse) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{6} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) -} -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) +type ListDiskIDsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *ListDiskIDsRequest) Reset() { + *x = ListDiskIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (x *ListDiskIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +func (*ListDiskIDsRequest) ProtoMessage() {} -type ListDiskIDsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } -func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{7} -} - -func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) -} -func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{7} } -func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) -} -func (m *ListDiskIDsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsRequest.Size(m) -} -func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo type DiskIDs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *DiskIDs) Reset() { *m = DiskIDs{} } -func (m *DiskIDs) String() string { return proto.CompactTextString(m) } -func (*DiskIDs) ProtoMessage() {} -func (*DiskIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{8} +func (x *DiskIDs) Reset() { + *x = DiskIDs{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskIDs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskIDs.Unmarshal(m, b) -} -func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +func (x *DiskIDs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskIDs.Merge(m, src) -} -func (m *DiskIDs) XXX_Size() int { - return xxx_messageInfo_DiskIDs.Size(m) -} -func (m *DiskIDs) XXX_DiscardUnknown() { - xxx_messageInfo_DiskIDs.DiscardUnknown(m) + +func (*DiskIDs) ProtoMessage() {} + +func (x *DiskIDs) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskIDs proto.InternalMessageInfo +// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (*DiskIDs) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *DiskIDs) GetIdentifiers() map[string]string { - if m != nil { - return m.Identifiers +func (x *DiskIDs) GetIdentifiers() map[string]string { + if x != nil { + return x.Identifiers } return nil } type ListDiskIDsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } -func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsResponse) ProtoMessage() {} -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{9} +func (x *ListDiskIDsResponse) Reset() { + *x = ListDiskIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) -} -func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +func (x *ListDiskIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskIDsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsResponse.Size(m) -} -func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) + +func (*ListDiskIDsResponse) ProtoMessage() {} + +func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{9} +} -func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if m != nil { - return m.DiskIDs +func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if x != nil { + return x.DiskIDs } return nil } type DiskStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } -func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } -func (*DiskStatsRequest) ProtoMessage() {} -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{10} +func (x *DiskStatsRequest) Reset() { + *x = DiskStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) +func (x *DiskStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) -} -func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsRequest.Merge(m, src) -} -func (m *DiskStatsRequest) XXX_Size() int { - return xxx_messageInfo_DiskStatsRequest.Size(m) -} -func (m *DiskStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) + +func (*DiskStatsRequest) ProtoMessage() {} + +func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo +// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{10} +} -func (m *DiskStatsRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *DiskStatsRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type DiskStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` } -func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } -func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } -func (*DiskStatsResponse) ProtoMessage() {} -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_edb7884fca4087ac, []int{11} +func (x *DiskStatsResponse) Reset() { + *x = DiskStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) -} -func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) +func (x *DiskStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsResponse.Merge(m, src) -} -func (m *DiskStatsResponse) XXX_Size() int { - return xxx_messageInfo_DiskStatsResponse.Size(m) -} -func (m *DiskStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) + +func (*DiskStatsResponse) ProtoMessage() {} + +func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) } -var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo +// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{11} +} -func (m *DiskStatsResponse) GetDiskSize() int64 { - if m != nil { - return m.DiskSize +func (x *DiskStatsResponse) GetDiskSize() int64 { + if x != nil { + return x.DiskSize } return 0 } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta1.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1beta1.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta1.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta1.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta1.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta1.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1beta1.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1beta1.RescanResponse") - proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta1.ListDiskIDsRequest") - proto.RegisterType((*DiskIDs)(nil), "v1beta1.DiskIDs") - proto.RegisterMapType((map[string]string)(nil), "v1beta1.DiskIDs.IdentifiersEntry") - proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta1.ListDiskIDsResponse") - proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta1.ListDiskIDsResponse.DiskIDsEntry") - proto.RegisterType((*DiskStatsRequest)(nil), "v1beta1.DiskStatsRequest") - proto.RegisterType((*DiskStatsResponse)(nil), "v1beta1.DiskStatsResponse") -} - -func init() { proto.RegisterFile("disk/v1beta1/api.proto", fileDescriptor_edb7884fca4087ac) } - -var fileDescriptor_edb7884fca4087ac = []byte{ - // 564 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x5d, 0xd6, 0x6d, 0xa5, 0xb7, 0x74, 0x74, 0xa6, 0xeb, 0x32, 0xf3, 0xa1, 0x2d, 0x0f, 0x68, - 0x80, 0x96, 0x68, 0x45, 0x48, 0x88, 0x09, 0x24, 0xb6, 0xf0, 0x10, 0x54, 0xa1, 0x29, 0x03, 0x21, - 0xa1, 0x49, 0x28, 0x4d, 0xcd, 0x66, 0xb5, 0x24, 0x21, 0x76, 0x26, 0xca, 0x3b, 0xaf, 0xfc, 0x0e, - 0x7e, 0x0f, 0xbf, 0x08, 0x39, 0xb1, 0x83, 0xd3, 0x66, 0xdb, 0x5b, 0x7c, 0xee, 0xb9, 0xce, 0xbd, - 0xe7, 0x1c, 0x19, 0xfa, 0x63, 0xca, 0x26, 0xce, 0xe5, 0xc1, 0x88, 0xf0, 0xe0, 0xc0, 0x09, 0x12, - 0x6a, 0x27, 0x69, 0xcc, 0x63, 0xd4, 0x94, 0x90, 0x85, 0xc1, 0x1c, 0x52, 0xc6, 0x5d, 0xca, 0x26, - 0xc3, 0x38, 0x0c, 0x38, 0x8d, 0x23, 0xe6, 0x93, 0xef, 0x19, 0x61, 0xdc, 0xba, 0x80, 0xdb, 0x3a, - 0x8e, 0x4c, 0x68, 0xbe, 0x19, 0x07, 0x09, 0x27, 0xa9, 0x69, 0xec, 0x18, 0x7b, 0x2d, 0x5f, 0x1d, - 0x51, 0x17, 0x1a, 0x47, 0x19, 0x33, 0x97, 0x73, 0x54, 0x7c, 0xa2, 0x3e, 0xac, 0x7d, 0x08, 0xd2, - 0x73, 0xc2, 0xcd, 0x46, 0x0e, 0xca, 0x13, 0xea, 0xc1, 0xea, 0xf0, 0xe3, 0x7b, 0xcf, 0x35, 0x57, - 0x72, 0xb8, 0x38, 0x58, 0x7f, 0x0d, 0xd8, 0xae, 0x19, 0x83, 0x25, 0x71, 0xc4, 0x08, 0x3a, 0x83, - 0x75, 0xb1, 0xc6, 0x97, 0xa9, 0xaa, 0x98, 0xc6, 0x4e, 0x63, 0xaf, 0x3d, 0x78, 0x6e, 0xcb, 0x2d, - 0xec, 0x2b, 0x7b, 0xed, 0x0a, 0xfa, 0x36, 0xe2, 0xe9, 0xcc, 0xef, 0x8c, 0x75, 0x0c, 0x7f, 0x02, - 0xb4, 0x48, 0x12, 0x1b, 0x4d, 0xc8, 0x4c, 0xee, 0x29, 0x3e, 0xd1, 0x53, 0x58, 0xbd, 0x0c, 0xa6, - 0x19, 0xc9, 0xb7, 0x6c, 0x0f, 0x36, 0xcb, 0x9f, 0xeb, 0xdd, 0x7e, 0xc1, 0x79, 0xb9, 0xfc, 0xc2, - 0xb0, 0x6c, 0xe8, 0x9d, 0x04, 0x29, 0xa7, 0x02, 0x17, 0x1c, 0x29, 0xab, 0x90, 0x46, 0x4c, 0xe0, - 0xb9, 0xf2, 0x76, 0x79, 0xb2, 0xb6, 0x60, 0x73, 0x8e, 0x5f, 0xec, 0x60, 0xdd, 0x81, 0x8e, 0x4f, - 0x58, 0x18, 0x44, 0xca, 0x98, 0x2e, 0xac, 0x2b, 0x40, 0x52, 0x7a, 0x80, 0x94, 0x06, 0x9e, 0x5b, - 0x1a, 0xf8, 0xdb, 0x80, 0xa6, 0x84, 0xd0, 0x31, 0xb4, 0xe9, 0x98, 0x44, 0x9c, 0x7e, 0xa5, 0x24, - 0x55, 0x0a, 0xee, 0x56, 0x96, 0xf0, 0x5c, 0x66, 0x7b, 0xff, 0x39, 0x85, 0x5a, 0x7a, 0x17, 0x7e, - 0x0d, 0xdd, 0x79, 0x42, 0x8d, 0x52, 0x3d, 0x5d, 0xa9, 0x96, 0x2e, 0xc9, 0x1f, 0x03, 0xee, 0x56, - 0xe6, 0x94, 0x0e, 0x1f, 0x43, 0xb3, 0x10, 0x41, 0x0d, 0xf6, 0x78, 0xc1, 0x5a, 0x8d, 0xae, 0x86, - 0x2d, 0x06, 0x54, 0x9d, 0x78, 0x58, 0xc4, 0x55, 0x15, 0x6a, 0x06, 0x7b, 0x54, 0xb5, 0xb0, 0x3b, - 0xbf, 0xbd, 0x3e, 0xea, 0x13, 0xe8, 0x0a, 0xf4, 0x94, 0x07, 0x9c, 0xdd, 0xe4, 0x9c, 0x03, 0x1b, - 0x1a, 0x57, 0xee, 0x84, 0xe1, 0x96, 0x28, 0x9f, 0xd2, 0x9f, 0x24, 0xa7, 0x37, 0xfc, 0xf2, 0x3c, - 0xf8, 0xd5, 0x80, 0x15, 0xd1, 0x81, 0xce, 0x60, 0x63, 0x21, 0xbb, 0x68, 0xf7, 0xba, 0x5c, 0xe7, - 0x93, 0x60, 0xeb, 0xe6, 0xe8, 0x5b, 0x4b, 0xe8, 0x04, 0x3a, 0x95, 0x44, 0xa1, 0x07, 0x65, 0x5b, - 0x5d, 0x32, 0xf1, 0xc3, 0xab, 0xca, 0xe5, 0x8d, 0x87, 0xb0, 0x56, 0x24, 0x0f, 0xf5, 0x4b, 0x6e, - 0x25, 0x9b, 0x78, 0x6b, 0x01, 0x2f, 0x9b, 0xdf, 0x41, 0x5b, 0x73, 0x13, 0xdd, 0xab, 0xf7, 0xb8, - 0xb8, 0xe6, 0xfe, 0x75, 0x01, 0xb0, 0x96, 0x90, 0x0b, 0xad, 0x52, 0x72, 0xb4, 0x5d, 0x31, 0x52, - 0xb7, 0x0c, 0xe3, 0xba, 0x92, 0xba, 0xe5, 0xe8, 0xd5, 0xe7, 0xc3, 0x73, 0xca, 0x2f, 0xb2, 0x91, - 0x1d, 0xc6, 0xdf, 0x9c, 0x49, 0x36, 0x22, 0x69, 0x44, 0x38, 0x61, 0xfb, 0x21, 0xa3, 0x4e, 0xc8, - 0xe8, 0x7e, 0x92, 0xc6, 0x3f, 0x66, 0x4e, 0x38, 0xa5, 0x24, 0xe2, 0xe2, 0xf9, 0x74, 0xf4, 0xf7, - 0x74, 0xb4, 0x96, 0x3f, 0xa6, 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb4, 0x44, 0xda, - 0x66, 0x05, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x32, 0x85, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, + 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, + 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x3b, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, + 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, + 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta1.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta1.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta1.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta1.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta1.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta1.RescanRequest + (*RescanResponse)(nil), // 6: v1beta1.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta1.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta1.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta1.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta1.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta1.DiskStatsResponse + nil, // 12: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 13: v1beta1.DiskIDs.IdentifiersEntry + nil, // 14: v1beta1.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = []int32{ + 12, // 0: v1beta1.ListDiskLocationsResponse.disk_locations:type_name -> v1beta1.ListDiskLocationsResponse.DiskLocationsEntry + 13, // 1: v1beta1.DiskIDs.identifiers:type_name -> v1beta1.DiskIDs.IdentifiersEntry + 14, // 2: v1beta1.ListDiskIDsResponse.diskIDs:type_name -> v1beta1.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta1.DiskLocation + 8, // 4: v1beta1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta1.DiskIDs + 0, // 5: v1beta1.Disk.ListDiskLocations:input_type -> v1beta1.ListDiskLocationsRequest + 3, // 6: v1beta1.Disk.PartitionDisk:input_type -> v1beta1.PartitionDiskRequest + 5, // 7: v1beta1.Disk.Rescan:input_type -> v1beta1.RescanRequest + 7, // 8: v1beta1.Disk.ListDiskIDs:input_type -> v1beta1.ListDiskIDsRequest + 10, // 9: v1beta1.Disk.DiskStats:input_type -> v1beta1.DiskStatsRequest + 2, // 10: v1beta1.Disk.ListDiskLocations:output_type -> v1beta1.ListDiskLocationsResponse + 4, // 11: v1beta1.Disk.PartitionDisk:output_type -> v1beta1.PartitionDiskResponse + 6, // 12: v1beta1.Disk.Rescan:output_type -> v1beta1.RescanResponse + 9, // 13: v1beta1.Disk.ListDiskIDs:output_type -> v1beta1.ListDiskIDsResponse + 11, // 14: v1beta1.Disk.DiskStats:output_type -> v1beta1.DiskStatsResponse + 10, // [10:15] is the sub-list for method output_type + 5, // [5:10] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskIDs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // DiskClient is the client API for Disk service. // @@ -564,14 +914,15 @@ type DiskClient interface { Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) + // DiskStats returns the stats for the disk DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) } type diskClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewDiskClient(cc *grpc.ClientConn) DiskClient { +func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { return &diskClient{cc} } @@ -632,6 +983,7 @@ type DiskServer interface { Rescan(context.Context, *RescanRequest) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) + // DiskStats returns the stats for the disk DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) } @@ -639,19 +991,19 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } @@ -775,5 +1127,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "disk/v1beta1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go index 27324f1e..9a5dfa77 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go @@ -1,716 +1,1165 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto package v1beta2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListDiskLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } -func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsRequest) ProtoMessage() {} -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{0} +func (x *ListDiskLocationsRequest) Reset() { + *x = ListDiskLocationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) -} -func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) -} -func (m *ListDiskLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsRequest.Size(m) -} -func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) +func (x *ListDiskLocationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo +func (*ListDiskLocationsRequest) ProtoMessage() {} -type DiskLocation struct { - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiskLocation) Reset() { *m = DiskLocation{} } -func (m *DiskLocation) String() string { return proto.CompactTextString(m) } -func (*DiskLocation) ProtoMessage() {} -func (*DiskLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{1} +func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -func (m *DiskLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskLocation.Unmarshal(m, b) -} -func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{0} } -func (m *DiskLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskLocation.Merge(m, src) + +type DiskLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` +} + +func (x *DiskLocation) Reset() { + *x = DiskLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskLocation) XXX_Size() int { - return xxx_messageInfo_DiskLocation.Size(m) + +func (x *DiskLocation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DiskLocation.DiscardUnknown(m) + +func (*DiskLocation) ProtoMessage() {} + +func (x *DiskLocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_DiskLocation proto.InternalMessageInfo +// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. +func (*DiskLocation) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{1} +} -func (m *DiskLocation) GetAdapter() string { - if m != nil { - return m.Adapter +func (x *DiskLocation) GetAdapter() string { + if x != nil { + return x.Adapter } return "" } -func (m *DiskLocation) GetBus() string { - if m != nil { - return m.Bus +func (x *DiskLocation) GetBus() string { + if x != nil { + return x.Bus } return "" } -func (m *DiskLocation) GetTarget() string { - if m != nil { - return m.Target +func (x *DiskLocation) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *DiskLocation) GetLUNID() string { - if m != nil { - return m.LUNID +func (x *DiskLocation) GetLUNID() string { + if x != nil { + return x.LUNID } return "" } type ListDiskLocationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } -func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskLocationsResponse) ProtoMessage() {} -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{2} +func (x *ListDiskLocationsResponse) Reset() { + *x = ListDiskLocationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) -} -func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +func (x *ListDiskLocationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskLocationsResponse.Size(m) -} -func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) + +func (*ListDiskLocationsResponse) ProtoMessage() {} + +func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{2} +} -func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if m != nil { - return m.DiskLocations +func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if x != nil { + return x.DiskLocations } return nil } type PartitionDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } -func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskRequest) ProtoMessage() {} -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{3} +func (x *PartitionDiskRequest) Reset() { + *x = PartitionDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) -} -func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) +func (x *PartitionDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskRequest.Merge(m, src) -} -func (m *PartitionDiskRequest) XXX_Size() int { - return xxx_messageInfo_PartitionDiskRequest.Size(m) -} -func (m *PartitionDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) + +func (*PartitionDiskRequest) ProtoMessage() {} + +func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo +// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{3} +} -func (m *PartitionDiskRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *PartitionDiskRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type PartitionDiskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } -func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } -func (*PartitionDiskResponse) ProtoMessage() {} -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{4} +func (x *PartitionDiskResponse) Reset() { + *x = PartitionDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) +func (x *PartitionDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) + +func (*PartitionDiskResponse) ProtoMessage() {} + +func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionDiskResponse.Merge(m, src) + +// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{4} } -func (m *PartitionDiskResponse) XXX_Size() int { - return xxx_messageInfo_PartitionDiskResponse.Size(m) + +type RescanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PartitionDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) + +func (x *RescanRequest) Reset() { + *x = RescanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo +func (x *RescanRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RescanRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RescanRequest) ProtoMessage() {} + +func (x *RescanRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanRequest) Reset() { *m = RescanRequest{} } -func (m *RescanRequest) String() string { return proto.CompactTextString(m) } -func (*RescanRequest) ProtoMessage() {} +// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{5} } -func (m *RescanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanRequest.Unmarshal(m, b) -} -func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) -} -func (m *RescanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanRequest.Merge(m, src) +type RescanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanRequest) XXX_Size() int { - return xxx_messageInfo_RescanRequest.Size(m) + +func (x *RescanResponse) Reset() { + *x = RescanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RescanRequest.DiscardUnknown(m) + +func (x *RescanResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanRequest proto.InternalMessageInfo +func (*RescanResponse) ProtoMessage() {} -type RescanResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RescanResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *RescanResponse) Reset() { *m = RescanResponse{} } -func (m *RescanResponse) String() string { return proto.CompactTextString(m) } -func (*RescanResponse) ProtoMessage() {} +// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{6} } -func (m *RescanResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResponse.Unmarshal(m, b) -} -func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) -} -func (m *RescanResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResponse.Merge(m, src) +type ListDiskIDsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RescanResponse) XXX_Size() int { - return xxx_messageInfo_RescanResponse.Size(m) + +func (x *ListDiskIDsRequest) Reset() { + *x = ListDiskIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResponse.DiscardUnknown(m) + +func (x *ListDiskIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RescanResponse proto.InternalMessageInfo +func (*ListDiskIDsRequest) ProtoMessage() {} -type ListDiskIDsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } -func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{7} -} - -func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) -} -func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{7} } -func (m *ListDiskIDsRequest) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsRequest.Size(m) -} -func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo type DiskIDs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *DiskIDs) Reset() { *m = DiskIDs{} } -func (m *DiskIDs) String() string { return proto.CompactTextString(m) } -func (*DiskIDs) ProtoMessage() {} -func (*DiskIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{8} +func (x *DiskIDs) Reset() { + *x = DiskIDs{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskIDs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskIDs.Unmarshal(m, b) -} -func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) -} -func (m *DiskIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskIDs.Merge(m, src) +func (x *DiskIDs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskIDs) XXX_Size() int { - return xxx_messageInfo_DiskIDs.Size(m) -} -func (m *DiskIDs) XXX_DiscardUnknown() { - xxx_messageInfo_DiskIDs.DiscardUnknown(m) + +func (*DiskIDs) ProtoMessage() {} + +func (x *DiskIDs) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskIDs proto.InternalMessageInfo +// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (*DiskIDs) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{8} +} -func (m *DiskIDs) GetIdentifiers() map[string]string { - if m != nil { - return m.Identifiers +func (x *DiskIDs) GetIdentifiers() map[string]string { + if x != nil { + return x.Identifiers } return nil } type ListDiskIDsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } -func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDiskIDsResponse) ProtoMessage() {} -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{9} +func (x *ListDiskIDsResponse) Reset() { + *x = ListDiskIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) -} -func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) -} -func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) -} -func (m *ListDiskIDsResponse) XXX_Size() int { - return xxx_messageInfo_ListDiskIDsResponse.Size(m) +func (x *ListDiskIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) + +func (*ListDiskIDsResponse) ProtoMessage() {} + +func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo +// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{9} +} -func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if m != nil { - return m.DiskIDs +func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if x != nil { + return x.DiskIDs } return nil } type DiskStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } -func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } -func (*DiskStatsRequest) ProtoMessage() {} -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{10} +func (x *DiskStatsRequest) Reset() { + *x = DiskStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) -} -func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) -} -func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsRequest.Merge(m, src) +func (x *DiskStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsRequest) XXX_Size() int { - return xxx_messageInfo_DiskStatsRequest.Size(m) -} -func (m *DiskStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) + +func (*DiskStatsRequest) ProtoMessage() {} + +func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo +// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{10} +} -func (m *DiskStatsRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *DiskStatsRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type DiskStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` } -func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } -func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } -func (*DiskStatsResponse) ProtoMessage() {} -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{11} +func (x *DiskStatsResponse) Reset() { + *x = DiskStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) -} -func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) -} -func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatsResponse.Merge(m, src) +func (x *DiskStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatsResponse) XXX_Size() int { - return xxx_messageInfo_DiskStatsResponse.Size(m) -} -func (m *DiskStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) + +func (*DiskStatsResponse) ProtoMessage() {} + +func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo +// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{11} +} -func (m *DiskStatsResponse) GetDiskSize() int64 { - if m != nil { - return m.DiskSize +func (x *DiskStatsResponse) GetDiskSize() int64 { + if x != nil { + return x.DiskSize } return 0 } type SetAttachStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID (number) of the disk which state will change DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` // Online state to set for the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` } -func (m *SetAttachStateRequest) Reset() { *m = SetAttachStateRequest{} } -func (m *SetAttachStateRequest) String() string { return proto.CompactTextString(m) } -func (*SetAttachStateRequest) ProtoMessage() {} -func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{12} +func (x *SetAttachStateRequest) Reset() { + *x = SetAttachStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAttachStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAttachStateRequest.Unmarshal(m, b) -} -func (m *SetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAttachStateRequest.Marshal(b, m, deterministic) -} -func (m *SetAttachStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAttachStateRequest.Merge(m, src) +func (x *SetAttachStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAttachStateRequest) XXX_Size() int { - return xxx_messageInfo_SetAttachStateRequest.Size(m) -} -func (m *SetAttachStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAttachStateRequest.DiscardUnknown(m) + +func (*SetAttachStateRequest) ProtoMessage() {} + +func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) } -var xxx_messageInfo_SetAttachStateRequest proto.InternalMessageInfo +// Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. +func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{12} +} -func (m *SetAttachStateRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *SetAttachStateRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } -func (m *SetAttachStateRequest) GetIsOnline() bool { - if m != nil { - return m.IsOnline +func (x *SetAttachStateRequest) GetIsOnline() bool { + if x != nil { + return x.IsOnline } return false } type SetAttachStateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetAttachStateResponse) Reset() { *m = SetAttachStateResponse{} } -func (m *SetAttachStateResponse) String() string { return proto.CompactTextString(m) } -func (*SetAttachStateResponse) ProtoMessage() {} -func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{13} +func (x *SetAttachStateResponse) Reset() { + *x = SetAttachStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAttachStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAttachStateResponse.Unmarshal(m, b) -} -func (m *SetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAttachStateResponse.Marshal(b, m, deterministic) -} -func (m *SetAttachStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAttachStateResponse.Merge(m, src) -} -func (m *SetAttachStateResponse) XXX_Size() int { - return xxx_messageInfo_SetAttachStateResponse.Size(m) +func (x *SetAttachStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAttachStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetAttachStateResponse.DiscardUnknown(m) + +func (*SetAttachStateResponse) ProtoMessage() {} + +func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetAttachStateResponse proto.InternalMessageInfo +// Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. +func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{13} +} type GetAttachStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID (number) of the disk - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` } -func (m *GetAttachStateRequest) Reset() { *m = GetAttachStateRequest{} } -func (m *GetAttachStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetAttachStateRequest) ProtoMessage() {} -func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{14} +func (x *GetAttachStateRequest) Reset() { + *x = GetAttachStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAttachStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAttachStateRequest.Unmarshal(m, b) -} -func (m *GetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAttachStateRequest.Marshal(b, m, deterministic) -} -func (m *GetAttachStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAttachStateRequest.Merge(m, src) +func (x *GetAttachStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAttachStateRequest) XXX_Size() int { - return xxx_messageInfo_GetAttachStateRequest.Size(m) -} -func (m *GetAttachStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAttachStateRequest.DiscardUnknown(m) + +func (*GetAttachStateRequest) ProtoMessage() {} + +func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAttachStateRequest proto.InternalMessageInfo +// Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. +func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{14} +} -func (m *GetAttachStateRequest) GetDiskID() string { - if m != nil { - return m.DiskID +func (x *GetAttachStateRequest) GetDiskID() string { + if x != nil { + return x.DiskID } return "" } type GetAttachStateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Online state of the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` } -func (m *GetAttachStateResponse) Reset() { *m = GetAttachStateResponse{} } -func (m *GetAttachStateResponse) String() string { return proto.CompactTextString(m) } -func (*GetAttachStateResponse) ProtoMessage() {} -func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b8298108b4474af1, []int{15} +func (x *GetAttachStateResponse) Reset() { + *x = GetAttachStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAttachStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAttachStateResponse.Unmarshal(m, b) -} -func (m *GetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAttachStateResponse.Marshal(b, m, deterministic) -} -func (m *GetAttachStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAttachStateResponse.Merge(m, src) +func (x *GetAttachStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAttachStateResponse) XXX_Size() int { - return xxx_messageInfo_GetAttachStateResponse.Size(m) -} -func (m *GetAttachStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAttachStateResponse.DiscardUnknown(m) + +func (*GetAttachStateResponse) ProtoMessage() {} + +func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_GetAttachStateResponse proto.InternalMessageInfo +// Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. +func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{15} +} -func (m *GetAttachStateResponse) GetIsOnline() bool { - if m != nil { - return m.IsOnline +func (x *GetAttachStateResponse) GetIsOnline() bool { + if x != nil { + return x.IsOnline } return false } -func init() { - proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta2.ListDiskLocationsRequest") - proto.RegisterType((*DiskLocation)(nil), "v1beta2.DiskLocation") - proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta2.ListDiskLocationsResponse") - proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta2.ListDiskLocationsResponse.DiskLocationsEntry") - proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta2.PartitionDiskRequest") - proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta2.PartitionDiskResponse") - proto.RegisterType((*RescanRequest)(nil), "v1beta2.RescanRequest") - proto.RegisterType((*RescanResponse)(nil), "v1beta2.RescanResponse") - proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta2.ListDiskIDsRequest") - proto.RegisterType((*DiskIDs)(nil), "v1beta2.DiskIDs") - proto.RegisterMapType((map[string]string)(nil), "v1beta2.DiskIDs.IdentifiersEntry") - proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta2.ListDiskIDsResponse") - proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta2.ListDiskIDsResponse.DiskIDsEntry") - proto.RegisterType((*DiskStatsRequest)(nil), "v1beta2.DiskStatsRequest") - proto.RegisterType((*DiskStatsResponse)(nil), "v1beta2.DiskStatsResponse") - proto.RegisterType((*SetAttachStateRequest)(nil), "v1beta2.SetAttachStateRequest") - proto.RegisterType((*SetAttachStateResponse)(nil), "v1beta2.SetAttachStateResponse") - proto.RegisterType((*GetAttachStateRequest)(nil), "v1beta2.GetAttachStateRequest") - proto.RegisterType((*GetAttachStateResponse)(nil), "v1beta2.GetAttachStateResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto", fileDescriptor_b8298108b4474af1) -} - -var fileDescriptor_b8298108b4474af1 = []byte{ - // 647 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xd3, 0x4c, - 0x10, 0xad, 0x9b, 0xb6, 0x69, 0x27, 0x5f, 0xf3, 0xa5, 0x4b, 0x92, 0xba, 0xe6, 0xaf, 0xdd, 0x0b, - 0x54, 0x40, 0xb5, 0x45, 0x00, 0x09, 0x51, 0x81, 0xd4, 0xd6, 0x55, 0x14, 0x88, 0xa0, 0x72, 0x40, - 0x48, 0xa8, 0x12, 0x72, 0x9c, 0xa5, 0x59, 0x25, 0xd8, 0xc1, 0xbb, 0xa9, 0x08, 0x0f, 0xc1, 0x73, - 0x70, 0xc7, 0xbb, 0xf0, 0x44, 0x68, 0xed, 0xb5, 0xbb, 0x4e, 0x9c, 0x46, 0x88, 0x3b, 0xcf, 0x99, - 0x99, 0xb3, 0x67, 0xfe, 0x64, 0x38, 0xbd, 0xa0, 0xbc, 0x3f, 0xee, 0x9a, 0x5e, 0xf0, 0xc5, 0x1a, - 0x8c, 0xbb, 0x24, 0xf4, 0x09, 0x27, 0xec, 0xc0, 0x63, 0xd4, 0xf2, 0x18, 0x3d, 0x18, 0x85, 0xc1, - 0xb7, 0x89, 0xe5, 0x0d, 0x29, 0xf1, 0xb9, 0xe5, 0x8e, 0xa8, 0xd5, 0xa3, 0x6c, 0x60, 0x5d, 0x3e, - 0xea, 0x12, 0xee, 0x36, 0x04, 0x60, 0x8e, 0xc2, 0x80, 0x07, 0xa8, 0x28, 0x21, 0x6c, 0x80, 0xde, - 0xa6, 0x8c, 0xdb, 0x94, 0x0d, 0xda, 0x81, 0xe7, 0x72, 0x1a, 0xf8, 0xcc, 0x21, 0x5f, 0xc7, 0x84, - 0x71, 0xdc, 0x87, 0xff, 0x54, 0x1c, 0xe9, 0x50, 0x3c, 0xea, 0xb9, 0x23, 0x4e, 0x42, 0x5d, 0xdb, - 0xd5, 0xf6, 0x37, 0x9c, 0xc4, 0x44, 0x15, 0x28, 0x1c, 0x8f, 0x99, 0xbe, 0x1c, 0xa1, 0xe2, 0x13, - 0xd5, 0x61, 0xed, 0x9d, 0x1b, 0x5e, 0x10, 0xae, 0x17, 0x22, 0x50, 0x5a, 0xa8, 0x0a, 0xab, 0xed, - 0xf7, 0x6f, 0x5a, 0xb6, 0xbe, 0x12, 0xc1, 0xb1, 0x81, 0x7f, 0x6b, 0xb0, 0x93, 0x23, 0x83, 0x8d, - 0x02, 0x9f, 0x11, 0x74, 0x0e, 0x65, 0x51, 0xc6, 0xa7, 0x61, 0xe2, 0xd1, 0xb5, 0xdd, 0xc2, 0x7e, - 0xa9, 0xf1, 0xd4, 0x94, 0x55, 0x98, 0x73, 0x73, 0xcd, 0x0c, 0x7a, 0xea, 0xf3, 0x70, 0xe2, 0x6c, - 0xf6, 0x54, 0xcc, 0xf8, 0x00, 0x68, 0x36, 0x48, 0x54, 0x34, 0x20, 0x13, 0x59, 0xa7, 0xf8, 0x44, - 0x0f, 0x61, 0xf5, 0xd2, 0x1d, 0x8e, 0x49, 0x54, 0x65, 0xa9, 0x51, 0x4b, 0x1f, 0x57, 0xb3, 0x9d, - 0x38, 0xe6, 0xf9, 0xf2, 0x33, 0x0d, 0x9b, 0x50, 0x3d, 0x73, 0x43, 0x4e, 0x05, 0x2e, 0x62, 0x64, - 0x5b, 0x45, 0x6b, 0x84, 0x82, 0x96, 0x2d, 0xd9, 0xa5, 0x85, 0xb7, 0xa1, 0x36, 0x15, 0x1f, 0xd7, - 0x80, 0xff, 0x87, 0x4d, 0x87, 0x30, 0xcf, 0xf5, 0x93, 0xc1, 0x54, 0xa0, 0x9c, 0x00, 0x32, 0xa4, - 0x0a, 0x28, 0xe9, 0x41, 0xcb, 0x4e, 0x07, 0xf8, 0x43, 0x83, 0xa2, 0x84, 0xd0, 0x09, 0x94, 0x68, - 0x8f, 0xf8, 0x9c, 0x7e, 0xa6, 0x24, 0x4c, 0x3a, 0xb8, 0x97, 0x29, 0xa2, 0x65, 0x33, 0xb3, 0x75, - 0x15, 0x13, 0x77, 0x4b, 0xcd, 0x32, 0x5e, 0x42, 0x65, 0x3a, 0x20, 0xa7, 0x53, 0x55, 0xb5, 0x53, - 0x1b, 0x6a, 0x4b, 0x7e, 0x6a, 0x70, 0x23, 0xa3, 0x53, 0x4e, 0xf8, 0x04, 0x8a, 0x71, 0x13, 0x12, - 0x61, 0xf7, 0x67, 0x46, 0xab, 0x84, 0x27, 0x62, 0x63, 0x81, 0x49, 0xa6, 0xd1, 0x8e, 0xd7, 0x35, - 0x71, 0xe4, 0x08, 0xbb, 0x97, 0x1d, 0x61, 0x65, 0xba, 0x7a, 0x55, 0xea, 0x03, 0xa8, 0x08, 0xb4, - 0xc3, 0x5d, 0xce, 0x16, 0x4d, 0xce, 0x82, 0x2d, 0x25, 0x56, 0xd6, 0x64, 0xc0, 0xba, 0x70, 0x77, - 0xe8, 0x77, 0x12, 0x85, 0x17, 0x9c, 0xd4, 0xc6, 0xaf, 0xa1, 0xd6, 0x21, 0xfc, 0x88, 0x73, 0xd7, - 0xeb, 0x8b, 0x2c, 0xb2, 0xe0, 0x05, 0x41, 0x46, 0xd9, 0x5b, 0x7f, 0x48, 0xfd, 0x58, 0xfc, 0xba, - 0x93, 0xda, 0x58, 0x87, 0xfa, 0x34, 0x99, 0xdc, 0x0a, 0x0b, 0x6a, 0xcd, 0xbf, 0x79, 0x06, 0x3f, - 0x81, 0x7a, 0x33, 0x97, 0x2a, 0x23, 0x40, 0xcb, 0x0a, 0x68, 0xfc, 0x5a, 0x81, 0x15, 0x51, 0x3f, - 0x3a, 0x87, 0xad, 0x99, 0x4b, 0x44, 0x7b, 0xd7, 0x5d, 0x69, 0x24, 0xc7, 0xc0, 0x8b, 0x0f, 0x19, - 0x2f, 0xa1, 0x33, 0xd8, 0xcc, 0xdc, 0x07, 0xba, 0x9d, 0xa6, 0xe5, 0xdd, 0x99, 0x71, 0x67, 0x9e, - 0x3b, 0x65, 0x3c, 0x84, 0xb5, 0xf8, 0x8e, 0x50, 0x3d, 0x8d, 0xcd, 0x5c, 0x9a, 0xb1, 0x3d, 0x83, - 0xa7, 0xc9, 0xaf, 0xa0, 0xa4, 0xec, 0x26, 0xba, 0x99, 0xbf, 0xb1, 0x31, 0xcd, 0xad, 0xeb, 0xd6, - 0x19, 0x2f, 0x21, 0x1b, 0x36, 0xd2, 0x05, 0x42, 0x3b, 0x99, 0xb5, 0x54, 0x17, 0xd0, 0x30, 0xf2, - 0x5c, 0x29, 0x4b, 0x07, 0xca, 0xd9, 0x45, 0x40, 0x57, 0x2d, 0xc8, 0x5d, 0x37, 0xe3, 0xee, 0x5c, - 0xbf, 0x4a, 0xda, 0x9c, 0x47, 0xda, 0x5c, 0x40, 0xda, 0x9c, 0x43, 0x7a, 0xfc, 0xe2, 0xe3, 0xe1, - 0x3f, 0xfc, 0xc7, 0xba, 0x6b, 0xd1, 0x4f, 0xec, 0xf1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, - 0x06, 0xb4, 0xd5, 0x0d, 0x07, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, + 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, + 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, + 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, + 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta2.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta2.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta2.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta2.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta2.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta2.RescanRequest + (*RescanResponse)(nil), // 6: v1beta2.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta2.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta2.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta2.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta2.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta2.DiskStatsResponse + (*SetAttachStateRequest)(nil), // 12: v1beta2.SetAttachStateRequest + (*SetAttachStateResponse)(nil), // 13: v1beta2.SetAttachStateResponse + (*GetAttachStateRequest)(nil), // 14: v1beta2.GetAttachStateRequest + (*GetAttachStateResponse)(nil), // 15: v1beta2.GetAttachStateResponse + nil, // 16: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 17: v1beta2.DiskIDs.IdentifiersEntry + nil, // 18: v1beta2.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = []int32{ + 16, // 0: v1beta2.ListDiskLocationsResponse.disk_locations:type_name -> v1beta2.ListDiskLocationsResponse.DiskLocationsEntry + 17, // 1: v1beta2.DiskIDs.identifiers:type_name -> v1beta2.DiskIDs.IdentifiersEntry + 18, // 2: v1beta2.ListDiskIDsResponse.diskIDs:type_name -> v1beta2.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta2.DiskLocation + 8, // 4: v1beta2.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta2.DiskIDs + 0, // 5: v1beta2.Disk.ListDiskLocations:input_type -> v1beta2.ListDiskLocationsRequest + 3, // 6: v1beta2.Disk.PartitionDisk:input_type -> v1beta2.PartitionDiskRequest + 5, // 7: v1beta2.Disk.Rescan:input_type -> v1beta2.RescanRequest + 7, // 8: v1beta2.Disk.ListDiskIDs:input_type -> v1beta2.ListDiskIDsRequest + 10, // 9: v1beta2.Disk.DiskStats:input_type -> v1beta2.DiskStatsRequest + 12, // 10: v1beta2.Disk.SetAttachState:input_type -> v1beta2.SetAttachStateRequest + 14, // 11: v1beta2.Disk.GetAttachState:input_type -> v1beta2.GetAttachStateRequest + 2, // 12: v1beta2.Disk.ListDiskLocations:output_type -> v1beta2.ListDiskLocationsResponse + 4, // 13: v1beta2.Disk.PartitionDisk:output_type -> v1beta2.PartitionDiskResponse + 6, // 14: v1beta2.Disk.Rescan:output_type -> v1beta2.RescanResponse + 9, // 15: v1beta2.Disk.ListDiskIDs:output_type -> v1beta2.ListDiskIDsResponse + 11, // 16: v1beta2.Disk.DiskStats:output_type -> v1beta2.DiskStatsResponse + 13, // 17: v1beta2.Disk.SetAttachState:output_type -> v1beta2.SetAttachStateResponse + 15, // 18: v1beta2.Disk.GetAttachState:output_type -> v1beta2.GetAttachStateResponse + 12, // [12:19] is the sub-list for method output_type + 5, // [5:12] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskIDs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDiskIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAttachStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAttachStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAttachStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAttachStateResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -838,25 +1287,25 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } -func (*UnimplementedDiskServer) SetAttachState(ctx context.Context, req *SetAttachStateRequest) (*SetAttachStateResponse, error) { +func (*UnimplementedDiskServer) SetAttachState(context.Context, *SetAttachStateRequest) (*SetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAttachState not implemented") } -func (*UnimplementedDiskServer) GetAttachState(ctx context.Context, req *GetAttachStateRequest) (*GetAttachStateResponse, error) { +func (*UnimplementedDiskServer) GetAttachState(context.Context, *GetAttachStateRequest) (*GetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttachState not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.pb.go similarity index 66% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.pb.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.pb.go index 444962e3..8e9a8de4 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto -package v1 +package v1beta3 import ( context "context" @@ -33,7 +33,7 @@ type ListDiskLocationsRequest struct { func (x *ListDiskLocationsRequest) Reset() { *x = ListDiskLocationsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -46,7 +46,7 @@ func (x *ListDiskLocationsRequest) String() string { func (*ListDiskLocationsRequest) ProtoMessage() {} func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -59,7 +59,7 @@ func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{0} } type DiskLocation struct { @@ -76,7 +76,7 @@ type DiskLocation struct { func (x *DiskLocation) Reset() { *x = DiskLocation{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -89,7 +89,7 @@ func (x *DiskLocation) String() string { func (*DiskLocation) ProtoMessage() {} func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -102,7 +102,7 @@ func (x *DiskLocation) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{1} } func (x *DiskLocation) GetAdapter() string { @@ -145,7 +145,7 @@ type ListDiskLocationsResponse struct { func (x *ListDiskLocationsResponse) Reset() { *x = ListDiskLocationsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -158,7 +158,7 @@ func (x *ListDiskLocationsResponse) String() string { func (*ListDiskLocationsResponse) ProtoMessage() {} func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -171,7 +171,7 @@ func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{2} } func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { @@ -193,7 +193,7 @@ type PartitionDiskRequest struct { func (x *PartitionDiskRequest) Reset() { *x = PartitionDiskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -206,7 +206,7 @@ func (x *PartitionDiskRequest) String() string { func (*PartitionDiskRequest) ProtoMessage() {} func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -219,7 +219,7 @@ func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{3} } func (x *PartitionDiskRequest) GetDiskID() string { @@ -238,7 +238,7 @@ type PartitionDiskResponse struct { func (x *PartitionDiskResponse) Reset() { *x = PartitionDiskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -251,7 +251,7 @@ func (x *PartitionDiskResponse) String() string { func (*PartitionDiskResponse) ProtoMessage() {} func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -264,7 +264,7 @@ func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{4} } type RescanRequest struct { @@ -276,7 +276,7 @@ type RescanRequest struct { func (x *RescanRequest) Reset() { *x = RescanRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -289,7 +289,7 @@ func (x *RescanRequest) String() string { func (*RescanRequest) ProtoMessage() {} func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -302,7 +302,7 @@ func (x *RescanRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{5} } type RescanResponse struct { @@ -314,7 +314,7 @@ type RescanResponse struct { func (x *RescanResponse) Reset() { *x = RescanResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -327,7 +327,7 @@ func (x *RescanResponse) String() string { func (*RescanResponse) ProtoMessage() {} func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -340,7 +340,7 @@ func (x *RescanResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{6} } type ListDiskIDsRequest struct { @@ -352,7 +352,7 @@ type ListDiskIDsRequest struct { func (x *ListDiskIDsRequest) Reset() { *x = ListDiskIDsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -365,7 +365,7 @@ func (x *ListDiskIDsRequest) String() string { func (*ListDiskIDsRequest) ProtoMessage() {} func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -378,7 +378,7 @@ func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{7} } type DiskIDs struct { @@ -393,7 +393,7 @@ type DiskIDs struct { func (x *DiskIDs) Reset() { *x = DiskIDs{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -406,7 +406,7 @@ func (x *DiskIDs) String() string { func (*DiskIDs) ProtoMessage() {} func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -419,7 +419,7 @@ func (x *DiskIDs) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{8} } func (x *DiskIDs) GetIdentifiers() map[string]string { @@ -441,7 +441,7 @@ type ListDiskIDsResponse struct { func (x *ListDiskIDsResponse) Reset() { *x = ListDiskIDsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +454,7 @@ func (x *ListDiskIDsResponse) String() string { func (*ListDiskIDsResponse) ProtoMessage() {} func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +467,7 @@ func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{9} } func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { @@ -489,7 +489,7 @@ type DiskStatsRequest struct { func (x *DiskStatsRequest) Reset() { *x = DiskStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -502,7 +502,7 @@ func (x *DiskStatsRequest) String() string { func (*DiskStatsRequest) ProtoMessage() {} func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -515,7 +515,7 @@ func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{10} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{10} } func (x *DiskStatsRequest) GetDiskID() string { @@ -537,7 +537,7 @@ type DiskStatsResponse struct { func (x *DiskStatsResponse) Reset() { *x = DiskStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -550,7 +550,7 @@ func (x *DiskStatsResponse) String() string { func (*DiskStatsResponse) ProtoMessage() {} func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -563,7 +563,7 @@ func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{11} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{11} } func (x *DiskStatsResponse) GetDiskSize() int64 { @@ -587,7 +587,7 @@ type SetAttachStateRequest struct { func (x *SetAttachStateRequest) Reset() { *x = SetAttachStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -600,7 +600,7 @@ func (x *SetAttachStateRequest) String() string { func (*SetAttachStateRequest) ProtoMessage() {} func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -613,7 +613,7 @@ func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{12} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{12} } func (x *SetAttachStateRequest) GetDiskID() string { @@ -639,7 +639,7 @@ type SetAttachStateResponse struct { func (x *SetAttachStateResponse) Reset() { *x = SetAttachStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -652,7 +652,7 @@ func (x *SetAttachStateResponse) String() string { func (*SetAttachStateResponse) ProtoMessage() {} func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -665,7 +665,7 @@ func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{13} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{13} } type GetAttachStateRequest struct { @@ -680,7 +680,7 @@ type GetAttachStateRequest struct { func (x *GetAttachStateRequest) Reset() { *x = GetAttachStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -693,7 +693,7 @@ func (x *GetAttachStateRequest) String() string { func (*GetAttachStateRequest) ProtoMessage() {} func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -706,7 +706,7 @@ func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{14} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{14} } func (x *GetAttachStateRequest) GetDiskID() string { @@ -728,7 +728,7 @@ type GetAttachStateResponse struct { func (x *GetAttachStateResponse) Reset() { *x = GetAttachStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -741,7 +741,7 @@ func (x *GetAttachStateResponse) String() string { func (*GetAttachStateResponse) ProtoMessage() {} func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -754,7 +754,7 @@ func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP(), []int{15} + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP(), []int{15} } func (x *GetAttachStateResponse) GetIsOnline() bool { @@ -764,171 +764,178 @@ func (x *GetAttachStateResponse) GetIsOnline() bool { return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, - 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xc8, 0x01, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x64, 0x69, - 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x52, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, - 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x89, 0x01, 0x0a, 0x07, 0x44, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, - 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x47, 0x0a, - 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, - 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x53, - 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, - 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, - 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, + 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, + 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, 0x0a, 0x16, 0x47, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, - 0x65, 0x32, 0xe9, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x11, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, - 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, - 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, - 0x12, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x09, 0x44, - 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, - 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x38, 0x5a, - 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, - 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, + 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, + 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, + 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, + 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, + 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x33, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, + 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, + 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, + 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1.RescanRequest - (*RescanResponse)(nil), // 6: v1.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1.DiskStatsResponse - (*SetAttachStateRequest)(nil), // 12: v1.SetAttachStateRequest - (*SetAttachStateResponse)(nil), // 13: v1.SetAttachStateResponse - (*GetAttachStateRequest)(nil), // 14: v1.GetAttachStateRequest - (*GetAttachStateResponse)(nil), // 15: v1.GetAttachStateResponse - nil, // 16: v1.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 17: v1.DiskIDs.IdentifiersEntry - nil, // 18: v1.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs = []int32{ - 16, // 0: v1.ListDiskLocationsResponse.disk_locations:type_name -> v1.ListDiskLocationsResponse.DiskLocationsEntry - 17, // 1: v1.DiskIDs.identifiers:type_name -> v1.DiskIDs.IdentifiersEntry - 18, // 2: v1.ListDiskIDsResponse.diskIDs:type_name -> v1.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1.DiskLocation - 8, // 4: v1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1.DiskIDs - 0, // 5: v1.Disk.ListDiskLocations:input_type -> v1.ListDiskLocationsRequest - 3, // 6: v1.Disk.PartitionDisk:input_type -> v1.PartitionDiskRequest - 5, // 7: v1.Disk.Rescan:input_type -> v1.RescanRequest - 7, // 8: v1.Disk.ListDiskIDs:input_type -> v1.ListDiskIDsRequest - 10, // 9: v1.Disk.DiskStats:input_type -> v1.DiskStatsRequest - 12, // 10: v1.Disk.SetAttachState:input_type -> v1.SetAttachStateRequest - 14, // 11: v1.Disk.GetAttachState:input_type -> v1.GetAttachStateRequest - 2, // 12: v1.Disk.ListDiskLocations:output_type -> v1.ListDiskLocationsResponse - 4, // 13: v1.Disk.PartitionDisk:output_type -> v1.PartitionDiskResponse - 6, // 14: v1.Disk.Rescan:output_type -> v1.RescanResponse - 9, // 15: v1.Disk.ListDiskIDs:output_type -> v1.ListDiskIDsResponse - 11, // 16: v1.Disk.DiskStats:output_type -> v1.DiskStatsResponse - 13, // 17: v1.Disk.SetAttachState:output_type -> v1.SetAttachStateResponse - 15, // 18: v1.Disk.GetAttachState:output_type -> v1.GetAttachStateResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes = []interface{}{ + (*ListDiskLocationsRequest)(nil), // 0: v1beta3.ListDiskLocationsRequest + (*DiskLocation)(nil), // 1: v1beta3.DiskLocation + (*ListDiskLocationsResponse)(nil), // 2: v1beta3.ListDiskLocationsResponse + (*PartitionDiskRequest)(nil), // 3: v1beta3.PartitionDiskRequest + (*PartitionDiskResponse)(nil), // 4: v1beta3.PartitionDiskResponse + (*RescanRequest)(nil), // 5: v1beta3.RescanRequest + (*RescanResponse)(nil), // 6: v1beta3.RescanResponse + (*ListDiskIDsRequest)(nil), // 7: v1beta3.ListDiskIDsRequest + (*DiskIDs)(nil), // 8: v1beta3.DiskIDs + (*ListDiskIDsResponse)(nil), // 9: v1beta3.ListDiskIDsResponse + (*DiskStatsRequest)(nil), // 10: v1beta3.DiskStatsRequest + (*DiskStatsResponse)(nil), // 11: v1beta3.DiskStatsResponse + (*SetAttachStateRequest)(nil), // 12: v1beta3.SetAttachStateRequest + (*SetAttachStateResponse)(nil), // 13: v1beta3.SetAttachStateResponse + (*GetAttachStateRequest)(nil), // 14: v1beta3.GetAttachStateRequest + (*GetAttachStateResponse)(nil), // 15: v1beta3.GetAttachStateResponse + nil, // 16: v1beta3.ListDiskLocationsResponse.DiskLocationsEntry + nil, // 17: v1beta3.DiskIDs.IdentifiersEntry + nil, // 18: v1beta3.ListDiskIDsResponse.DiskIDsEntry +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs = []int32{ + 16, // 0: v1beta3.ListDiskLocationsResponse.disk_locations:type_name -> v1beta3.ListDiskLocationsResponse.DiskLocationsEntry + 17, // 1: v1beta3.DiskIDs.identifiers:type_name -> v1beta3.DiskIDs.IdentifiersEntry + 18, // 2: v1beta3.ListDiskIDsResponse.diskIDs:type_name -> v1beta3.ListDiskIDsResponse.DiskIDsEntry + 1, // 3: v1beta3.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta3.DiskLocation + 8, // 4: v1beta3.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta3.DiskIDs + 0, // 5: v1beta3.Disk.ListDiskLocations:input_type -> v1beta3.ListDiskLocationsRequest + 3, // 6: v1beta3.Disk.PartitionDisk:input_type -> v1beta3.PartitionDiskRequest + 5, // 7: v1beta3.Disk.Rescan:input_type -> v1beta3.RescanRequest + 7, // 8: v1beta3.Disk.ListDiskIDs:input_type -> v1beta3.ListDiskIDsRequest + 10, // 9: v1beta3.Disk.DiskStats:input_type -> v1beta3.DiskStatsRequest + 12, // 10: v1beta3.Disk.SetAttachState:input_type -> v1beta3.SetAttachStateRequest + 14, // 11: v1beta3.Disk.GetAttachState:input_type -> v1beta3.GetAttachStateRequest + 2, // 12: v1beta3.Disk.ListDiskLocations:output_type -> v1beta3.ListDiskLocationsResponse + 4, // 13: v1beta3.Disk.PartitionDisk:output_type -> v1beta3.PartitionDiskResponse + 6, // 14: v1beta3.Disk.Rescan:output_type -> v1beta3.RescanResponse + 9, // 15: v1beta3.Disk.ListDiskIDs:output_type -> v1beta3.ListDiskIDsResponse + 11, // 16: v1beta3.Disk.DiskStats:output_type -> v1beta3.DiskStatsResponse + 13, // 17: v1beta3.Disk.SetAttachState:output_type -> v1beta3.SetAttachStateResponse + 15, // 18: v1beta3.Disk.GetAttachState:output_type -> v1beta3.GetAttachStateResponse 12, // [12:19] is the sub-list for method output_type 5, // [5:12] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -936,13 +943,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdx 0, // [0:5] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskLocationsRequest); i { case 0: return &v.state @@ -954,7 +961,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskLocation); i { case 0: return &v.state @@ -966,7 +973,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskLocationsResponse); i { case 0: return &v.state @@ -978,7 +985,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PartitionDiskRequest); i { case 0: return &v.state @@ -990,7 +997,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PartitionDiskResponse); i { case 0: return &v.state @@ -1002,7 +1009,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RescanRequest); i { case 0: return &v.state @@ -1014,7 +1021,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RescanResponse); i { case 0: return &v.state @@ -1026,7 +1033,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskIDsRequest); i { case 0: return &v.state @@ -1038,7 +1045,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskIDs); i { case 0: return &v.state @@ -1050,7 +1057,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListDiskIDsResponse); i { case 0: return &v.state @@ -1062,7 +1069,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskStatsRequest); i { case 0: return &v.state @@ -1074,7 +1081,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskStatsResponse); i { case 0: return &v.state @@ -1086,7 +1093,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAttachStateRequest); i { case 0: return &v.state @@ -1098,7 +1105,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAttachStateResponse); i { case 0: return &v.state @@ -1110,7 +1117,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachStateRequest); i { case 0: return &v.state @@ -1122,7 +1129,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachStateResponse); i { case 0: return &v.state @@ -1139,20 +1146,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_init( out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc, NumEnums: 0, NumMessages: 19, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta3_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1195,7 +1202,7 @@ func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { func (c *diskClient) ListDiskLocations(ctx context.Context, in *ListDiskLocationsRequest, opts ...grpc.CallOption) (*ListDiskLocationsResponse, error) { out := new(ListDiskLocationsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/ListDiskLocations", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/ListDiskLocations", in, out, opts...) if err != nil { return nil, err } @@ -1204,7 +1211,7 @@ func (c *diskClient) ListDiskLocations(ctx context.Context, in *ListDiskLocation func (c *diskClient) PartitionDisk(ctx context.Context, in *PartitionDiskRequest, opts ...grpc.CallOption) (*PartitionDiskResponse, error) { out := new(PartitionDiskResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/PartitionDisk", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/PartitionDisk", in, out, opts...) if err != nil { return nil, err } @@ -1213,7 +1220,7 @@ func (c *diskClient) PartitionDisk(ctx context.Context, in *PartitionDiskRequest func (c *diskClient) Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) { out := new(RescanResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/Rescan", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/Rescan", in, out, opts...) if err != nil { return nil, err } @@ -1222,7 +1229,7 @@ func (c *diskClient) Rescan(ctx context.Context, in *RescanRequest, opts ...grpc func (c *diskClient) ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) { out := new(ListDiskIDsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/ListDiskIDs", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/ListDiskIDs", in, out, opts...) if err != nil { return nil, err } @@ -1231,7 +1238,7 @@ func (c *diskClient) ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, op func (c *diskClient) DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) { out := new(DiskStatsResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/DiskStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/DiskStats", in, out, opts...) if err != nil { return nil, err } @@ -1240,7 +1247,7 @@ func (c *diskClient) DiskStats(ctx context.Context, in *DiskStatsRequest, opts . func (c *diskClient) SetAttachState(ctx context.Context, in *SetAttachStateRequest, opts ...grpc.CallOption) (*SetAttachStateResponse, error) { out := new(SetAttachStateResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/SetAttachState", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/SetAttachState", in, out, opts...) if err != nil { return nil, err } @@ -1249,7 +1256,7 @@ func (c *diskClient) SetAttachState(ctx context.Context, in *SetAttachStateReque func (c *diskClient) GetAttachState(ctx context.Context, in *GetAttachStateRequest, opts ...grpc.CallOption) (*GetAttachStateResponse, error) { out := new(GetAttachStateResponse) - err := c.cc.Invoke(ctx, "/v1.Disk/GetAttachState", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Disk/GetAttachState", in, out, opts...) if err != nil { return nil, err } @@ -1316,7 +1323,7 @@ func _Disk_ListDiskLocations_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/ListDiskLocations", + FullMethod: "/v1beta3.Disk/ListDiskLocations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).ListDiskLocations(ctx, req.(*ListDiskLocationsRequest)) @@ -1334,7 +1341,7 @@ func _Disk_PartitionDisk_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/PartitionDisk", + FullMethod: "/v1beta3.Disk/PartitionDisk", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).PartitionDisk(ctx, req.(*PartitionDiskRequest)) @@ -1352,7 +1359,7 @@ func _Disk_Rescan_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/Rescan", + FullMethod: "/v1beta3.Disk/Rescan", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).Rescan(ctx, req.(*RescanRequest)) @@ -1370,7 +1377,7 @@ func _Disk_ListDiskIDs_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/ListDiskIDs", + FullMethod: "/v1beta3.Disk/ListDiskIDs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).ListDiskIDs(ctx, req.(*ListDiskIDsRequest)) @@ -1388,7 +1395,7 @@ func _Disk_DiskStats_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/DiskStats", + FullMethod: "/v1beta3.Disk/DiskStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).DiskStats(ctx, req.(*DiskStatsRequest)) @@ -1406,7 +1413,7 @@ func _Disk_SetAttachState_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/SetAttachState", + FullMethod: "/v1beta3.Disk/SetAttachState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).SetAttachState(ctx, req.(*SetAttachStateRequest)) @@ -1424,7 +1431,7 @@ func _Disk_GetAttachState_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Disk/GetAttachState", + FullMethod: "/v1beta3.Disk/GetAttachState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DiskServer).GetAttachState(ctx, req.(*GetAttachStateRequest)) @@ -1433,7 +1440,7 @@ func _Disk_GetAttachState_Handler(srv interface{}, ctx context.Context, dec func } var _Disk_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Disk", + ServiceName: "v1beta3.Disk", HandlerType: (*DiskServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1466,5 +1473,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto similarity index 98% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto index ef870254..89234524 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta3; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3"; service Disk { // ListDiskLocations returns locations of all diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go index 9d10268b..15806ce0 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Context of the paths used for path prefix validation type PathContext int32 @@ -40,124 +40,165 @@ const ( PathContext_POD PathContext = 1 ) -var PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", -} +// Enum value maps for PathContext. +var ( + PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", + } + PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, + } +) -var PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, +func (x PathContext) Enum() *PathContext { + p := new(PathContext) + *p = x + return p } func (x PathContext) String() string { - return proto.EnumName(PathContext_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PathContext) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (PathContext) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0] +} + +func (x PathContext) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` } -func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } -func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } -func (*PathExistsRequest) ProtoMessage() {} -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{0} +func (x *PathExistsRequest) Reset() { + *x = PathExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) -} -func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) -} -func (m *PathExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsRequest.Merge(m, src) -} -func (m *PathExistsRequest) XXX_Size() int { - return xxx_messageInfo_PathExistsRequest.Size(m) +func (x *PathExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) + +func (*PathExistsRequest) ProtoMessage() {} + +func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo +// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *PathExistsRequest) GetPath() string { - if m != nil { - return m.Path +func (x *PathExistsRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *PathExistsRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *PathExistsRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type PathExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } -func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } -func (*PathExistsResponse) ProtoMessage() {} -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{1} +func (x *PathExistsResponse) Reset() { + *x = PathExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) +func (x *PathExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) -} -func (m *PathExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsResponse.Merge(m, src) -} -func (m *PathExistsResponse) XXX_Size() int { - return xxx_messageInfo_PathExistsResponse.Size(m) -} -func (m *PathExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) + +func (*PathExistsResponse) ProtoMessage() {} + +func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo +// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *PathExistsResponse) GetError() string { - if m != nil { - return m.Error +func (x *PathExistsResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *PathExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *PathExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type MkdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -179,92 +220,108 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` } -func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } -func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } -func (*MkdirRequest) ProtoMessage() {} -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{2} +func (x *MkdirRequest) Reset() { + *x = MkdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) -} -func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) +func (x *MkdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirRequest.Merge(m, src) -} -func (m *MkdirRequest) XXX_Size() int { - return xxx_messageInfo_MkdirRequest.Size(m) -} -func (m *MkdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirRequest.DiscardUnknown(m) + +func (*MkdirRequest) ProtoMessage() {} + +func (x *MkdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) } -var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo +// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MkdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MkdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *MkdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *MkdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type MkdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } -func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } -func (*MkdirResponse) ProtoMessage() {} -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{3} +func (x *MkdirResponse) Reset() { + *x = MkdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) -} -func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) -} -func (m *MkdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirResponse.Merge(m, src) +func (x *MkdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirResponse) XXX_Size() int { - return xxx_messageInfo_MkdirResponse.Size(m) -} -func (m *MkdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirResponse.DiscardUnknown(m) + +func (*MkdirResponse) ProtoMessage() {} + +func (x *MkdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo +// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *MkdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *MkdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RmdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -285,99 +342,115 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } -func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } -func (*RmdirRequest) ProtoMessage() {} -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{4} +func (x *RmdirRequest) Reset() { + *x = RmdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) -} -func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) -} -func (m *RmdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirRequest.Merge(m, src) -} -func (m *RmdirRequest) XXX_Size() int { - return xxx_messageInfo_RmdirRequest.Size(m) +func (x *RmdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirRequest.DiscardUnknown(m) + +func (*RmdirRequest) ProtoMessage() {} + +func (x *RmdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo +// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *RmdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *RmdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *RmdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *RmdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } -func (m *RmdirRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *RmdirRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type RmdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } -func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } -func (*RmdirResponse) ProtoMessage() {} -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{5} +func (x *RmdirResponse) Reset() { + *x = RmdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) +func (x *RmdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) -} -func (m *RmdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirResponse.Merge(m, src) -} -func (m *RmdirResponse) XXX_Size() int { - return xxx_messageInfo_RmdirResponse.Size(m) -} -func (m *RmdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirResponse.DiscardUnknown(m) + +func (*RmdirResponse) ProtoMessage() {} + +func (x *RmdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo +// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RmdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *RmdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type LinkPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -408,229 +481,485 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` } -func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } -func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } -func (*LinkPathRequest) ProtoMessage() {} -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{6} +func (x *LinkPathRequest) Reset() { + *x = LinkPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) -} -func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) -} -func (m *LinkPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathRequest.Merge(m, src) +func (x *LinkPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathRequest) XXX_Size() int { - return xxx_messageInfo_LinkPathRequest.Size(m) -} -func (m *LinkPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) + +func (*LinkPathRequest) ProtoMessage() {} + +func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo +// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *LinkPathRequest) GetSourcePath() string { - if m != nil { - return m.SourcePath +func (x *LinkPathRequest) GetSourcePath() string { + if x != nil { + return x.SourcePath } return "" } -func (m *LinkPathRequest) GetTargetPath() string { - if m != nil { - return m.TargetPath +func (x *LinkPathRequest) GetTargetPath() string { + if x != nil { + return x.TargetPath } return "" } type LinkPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } -func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } -func (*LinkPathResponse) ProtoMessage() {} -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{7} +func (x *LinkPathResponse) Reset() { + *x = LinkPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) -} -func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) -} -func (m *LinkPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathResponse.Merge(m, src) +func (x *LinkPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathResponse) XXX_Size() int { - return xxx_messageInfo_LinkPathResponse.Size(m) -} -func (m *LinkPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) + +func (*LinkPathResponse) ProtoMessage() {} + +func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo +// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *LinkPathResponse) GetError() string { - if m != nil { - return m.Error +func (x *LinkPathResponse) GetError() string { + if x != nil { + return x.Error } return "" } type IsMountPointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } -func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } -func (*IsMountPointRequest) ProtoMessage() {} -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{8} +func (x *IsMountPointRequest) Reset() { + *x = IsMountPointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) -} -func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) -} -func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointRequest.Merge(m, src) -} -func (m *IsMountPointRequest) XXX_Size() int { - return xxx_messageInfo_IsMountPointRequest.Size(m) +func (x *IsMountPointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) + +func (*IsMountPointRequest) ProtoMessage() {} + +func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo +// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *IsMountPointRequest) GetPath() string { - if m != nil { - return m.Path +func (x *IsMountPointRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type IsMountPointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` } -func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } -func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } -func (*IsMountPointResponse) ProtoMessage() {} -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78274760fcbff95c, []int{9} +func (x *IsMountPointResponse) Reset() { + *x = IsMountPointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) -} -func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) +func (x *IsMountPointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointResponse.Merge(m, src) -} -func (m *IsMountPointResponse) XXX_Size() int { - return xxx_messageInfo_IsMountPointResponse.Size(m) -} -func (m *IsMountPointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) + +func (*IsMountPointResponse) ProtoMessage() {} + +func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo +// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} -func (m *IsMountPointResponse) GetError() string { - if m != nil { - return m.Error +func (x *IsMountPointResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *IsMountPointResponse) GetIsMountPoint() bool { - if m != nil { - return m.IsMountPoint +func (x *IsMountPointResponse) GetIsMountPoint() bool { + if x != nil { + return x.IsMountPoint } return false } -func init() { - proto.RegisterEnum("v1alpha1.PathContext", PathContext_name, PathContext_value) - proto.RegisterType((*PathExistsRequest)(nil), "v1alpha1.PathExistsRequest") - proto.RegisterType((*PathExistsResponse)(nil), "v1alpha1.PathExistsResponse") - proto.RegisterType((*MkdirRequest)(nil), "v1alpha1.MkdirRequest") - proto.RegisterType((*MkdirResponse)(nil), "v1alpha1.MkdirResponse") - proto.RegisterType((*RmdirRequest)(nil), "v1alpha1.RmdirRequest") - proto.RegisterType((*RmdirResponse)(nil), "v1alpha1.RmdirResponse") - proto.RegisterType((*LinkPathRequest)(nil), "v1alpha1.LinkPathRequest") - proto.RegisterType((*LinkPathResponse)(nil), "v1alpha1.LinkPathResponse") - proto.RegisterType((*IsMountPointRequest)(nil), "v1alpha1.IsMountPointRequest") - proto.RegisterType((*IsMountPointResponse)(nil), "v1alpha1.IsMountPointResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto", fileDescriptor_78274760fcbff95c) -} - -var fileDescriptor_78274760fcbff95c = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x5f, 0x6f, 0xd3, 0x30, - 0x14, 0xc5, 0xdb, 0x8e, 0x75, 0xe5, 0xae, 0x8c, 0x72, 0x19, 0xa3, 0x84, 0x7f, 0x93, 0x05, 0x52, - 0x41, 0x5a, 0xa2, 0x8d, 0x37, 0x1e, 0x19, 0x7f, 0x54, 0xa9, 0x63, 0x51, 0x26, 0x24, 0xde, 0xaa, - 0x34, 0x78, 0x8b, 0xd5, 0x26, 0x0e, 0xb6, 0x83, 0xba, 0x0f, 0xcc, 0xf7, 0x40, 0x8e, 0x93, 0xc5, - 0x81, 0x92, 0xa7, 0xbd, 0xd5, 0xf7, 0xfe, 0x7c, 0xee, 0xa9, 0xef, 0x51, 0x60, 0x76, 0xc5, 0x54, - 0x9c, 0x2f, 0xdc, 0x88, 0x27, 0xde, 0x32, 0x5f, 0x50, 0x91, 0x52, 0x45, 0xe5, 0x51, 0x24, 0x99, - 0x17, 0x49, 0x76, 0x94, 0x09, 0xbe, 0xbe, 0xf6, 0xa2, 0x15, 0xa3, 0xa9, 0xf2, 0xc2, 0x8c, 0x79, - 0x97, 0x6c, 0x45, 0xe5, 0xb5, 0x54, 0x34, 0xf1, 0x7e, 0x1d, 0x87, 0xab, 0x2c, 0x0e, 0x8f, 0x75, - 0xdd, 0xcd, 0x04, 0x57, 0x1c, 0x07, 0x55, 0x8d, 0x7c, 0x87, 0x07, 0x7e, 0xa8, 0xe2, 0x4f, 0x6b, - 0x26, 0x95, 0x0c, 0xe8, 0xcf, 0x9c, 0x4a, 0x85, 0x08, 0x77, 0xb2, 0x50, 0xc5, 0xe3, 0xee, 0x61, - 0x77, 0x72, 0x37, 0x28, 0x7e, 0xa3, 0x07, 0x3b, 0x11, 0x4f, 0x15, 0x5d, 0xab, 0x71, 0xef, 0xb0, - 0x3b, 0xd9, 0x3b, 0x79, 0xe4, 0x56, 0x22, 0xae, 0x56, 0x38, 0x35, 0xcd, 0xa0, 0xa2, 0xc8, 0x07, - 0x40, 0x5b, 0x59, 0x66, 0x3c, 0x95, 0x14, 0xf7, 0x61, 0x9b, 0x0a, 0xc1, 0x45, 0xa9, 0x6d, 0x0e, - 0x78, 0x00, 0x7d, 0x5a, 0x70, 0x85, 0xf6, 0x20, 0x28, 0x4f, 0xe4, 0x02, 0x86, 0x67, 0xcb, 0x1f, - 0x4c, 0xdc, 0xaa, 0xb1, 0xd7, 0x70, 0xaf, 0x14, 0x6d, 0xf3, 0x44, 0x18, 0x0c, 0x83, 0xe4, 0x96, - 0x67, 0xeb, 0x51, 0x97, 0x5c, 0x44, 0x74, 0xbc, 0x55, 0xfc, 0x4f, 0x73, 0xd0, 0x8e, 0xca, 0x51, - 0xad, 0x8e, 0x2e, 0xe0, 0xfe, 0x8c, 0xa5, 0x4b, 0x2d, 0x5c, 0x99, 0x7a, 0x09, 0xbb, 0x92, 0xe7, - 0x22, 0xa2, 0x73, 0xcb, 0x1b, 0x98, 0x92, 0xe6, 0x34, 0xa0, 0x42, 0x71, 0x45, 0x95, 0x01, 0x7a, - 0x06, 0x30, 0x25, 0x0d, 0x90, 0x09, 0x8c, 0x6a, 0xd1, 0xd6, 0xf1, 0x6f, 0xe0, 0xe1, 0x54, 0x9e, - 0xf1, 0x3c, 0x55, 0x3e, 0x67, 0xa9, 0x6a, 0x79, 0x17, 0x12, 0xc0, 0x7e, 0x13, 0x6d, 0xdd, 0xfe, - 0x2b, 0xd8, 0x63, 0x72, 0x9e, 0x68, 0x7c, 0x9e, 0x69, 0xbe, 0x4c, 0xc1, 0x90, 0x59, 0x1a, 0x6f, - 0x09, 0xec, 0x5a, 0x4f, 0x8a, 0x00, 0x7d, 0x7f, 0xf6, 0xed, 0xcb, 0xf4, 0xeb, 0xa8, 0x83, 0x3b, - 0xb0, 0xe5, 0x9f, 0x7f, 0x1c, 0x75, 0x4f, 0x7e, 0xf7, 0x00, 0x3e, 0xdf, 0x24, 0x1f, 0xa7, 0x00, - 0x75, 0x04, 0xf1, 0x69, 0x73, 0x37, 0x8d, 0xc8, 0x3b, 0xcf, 0x36, 0x37, 0x8d, 0x6f, 0xd2, 0xc1, - 0xf7, 0xb0, 0x5d, 0x84, 0x06, 0x0f, 0x6a, 0xd0, 0x8e, 0xa6, 0xf3, 0xf8, 0x9f, 0xba, 0x7d, 0xb7, - 0x58, 0xaf, 0x7d, 0xd7, 0x8e, 0x96, 0x7d, 0xb7, 0x91, 0x03, 0xd2, 0xc1, 0x53, 0x18, 0x54, 0xeb, - 0xc1, 0x27, 0x35, 0xf6, 0x57, 0x0e, 0x1c, 0x67, 0x53, 0xeb, 0x46, 0xe4, 0x1c, 0x86, 0xf6, 0x3a, - 0xf0, 0x79, 0x4d, 0x6f, 0xd8, 0xa8, 0xf3, 0xe2, 0x7f, 0xed, 0x4a, 0x70, 0xd1, 0x2f, 0x3e, 0x23, - 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0xc0, 0xa2, 0x65, 0x96, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, + 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, + 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, + 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, + 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, + 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, + 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, + 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xe5, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x49, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x3a, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, + 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, + 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x44, + 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1alpha1.PathContext + (*PathExistsRequest)(nil), // 1: v1alpha1.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1alpha1.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1alpha1.MkdirRequest + (*MkdirResponse)(nil), // 4: v1alpha1.MkdirResponse + (*RmdirRequest)(nil), // 5: v1alpha1.RmdirRequest + (*RmdirResponse)(nil), // 6: v1alpha1.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1alpha1.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1alpha1.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1alpha1.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1alpha1.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.PathExistsRequest.context:type_name -> v1alpha1.PathContext + 0, // 1: v1alpha1.MkdirRequest.context:type_name -> v1alpha1.PathContext + 0, // 2: v1alpha1.RmdirRequest.context:type_name -> v1alpha1.PathContext + 1, // 3: v1alpha1.Filesystem.PathExists:input_type -> v1alpha1.PathExistsRequest + 3, // 4: v1alpha1.Filesystem.Mkdir:input_type -> v1alpha1.MkdirRequest + 5, // 5: v1alpha1.Filesystem.Rmdir:input_type -> v1alpha1.RmdirRequest + 7, // 6: v1alpha1.Filesystem.LinkPath:input_type -> v1alpha1.LinkPathRequest + 9, // 7: v1alpha1.Filesystem.IsMountPoint:input_type -> v1alpha1.IsMountPointRequest + 2, // 8: v1alpha1.Filesystem.PathExists:output_type -> v1alpha1.PathExistsResponse + 4, // 9: v1alpha1.Filesystem.Mkdir:output_type -> v1alpha1.MkdirResponse + 6, // 10: v1alpha1.Filesystem.Rmdir:output_type -> v1alpha1.RmdirResponse + 8, // 11: v1alpha1.Filesystem.LinkPath:output_type -> v1alpha1.LinkPathResponse + 10, // 12: v1alpha1.Filesystem.IsMountPoint:output_type -> v1alpha1.IsMountPointResponse + 8, // [8:13] is the sub-list for method output_type + 3, // [3:8] 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 +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -732,19 +1061,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto index 8856da5c..b01ce85f 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1"; + service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -13,7 +15,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -63,7 +65,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -91,7 +93,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -122,7 +124,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -153,7 +155,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go index 9b8f897b..e87222a7 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // Context of the paths used for path prefix validation type PathContext int32 @@ -40,124 +40,165 @@ const ( PathContext_POD PathContext = 1 ) -var PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", -} +// Enum value maps for PathContext. +var ( + PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", + } + PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, + } +) -var PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, +func (x PathContext) Enum() *PathContext { + p := new(PathContext) + *p = x + return p } func (x PathContext) String() string { - return proto.EnumName(PathContext_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PathContext) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0].Descriptor() +} + +func (PathContext) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0] +} + +func (x PathContext) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` } -func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } -func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } -func (*PathExistsRequest) ProtoMessage() {} -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{0} +func (x *PathExistsRequest) Reset() { + *x = PathExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) -} -func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) -} -func (m *PathExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsRequest.Merge(m, src) -} -func (m *PathExistsRequest) XXX_Size() int { - return xxx_messageInfo_PathExistsRequest.Size(m) +func (x *PathExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) + +func (*PathExistsRequest) ProtoMessage() {} + +func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo +// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *PathExistsRequest) GetPath() string { - if m != nil { - return m.Path +func (x *PathExistsRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *PathExistsRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *PathExistsRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type PathExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } -func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } -func (*PathExistsResponse) ProtoMessage() {} -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{1} +func (x *PathExistsResponse) Reset() { + *x = PathExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) +func (x *PathExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) -} -func (m *PathExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PathExistsResponse.Merge(m, src) -} -func (m *PathExistsResponse) XXX_Size() int { - return xxx_messageInfo_PathExistsResponse.Size(m) -} -func (m *PathExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) + +func (*PathExistsResponse) ProtoMessage() {} + +func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo +// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *PathExistsResponse) GetError() string { - if m != nil { - return m.Error +func (x *PathExistsResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *PathExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *PathExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type MkdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -179,92 +220,108 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` } -func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } -func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } -func (*MkdirRequest) ProtoMessage() {} -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{2} +func (x *MkdirRequest) Reset() { + *x = MkdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) -} -func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) +func (x *MkdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirRequest.Merge(m, src) -} -func (m *MkdirRequest) XXX_Size() int { - return xxx_messageInfo_MkdirRequest.Size(m) -} -func (m *MkdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirRequest.DiscardUnknown(m) + +func (*MkdirRequest) ProtoMessage() {} + +func (x *MkdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) } -var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo +// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MkdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MkdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *MkdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *MkdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } type MkdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } -func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } -func (*MkdirResponse) ProtoMessage() {} -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{3} +func (x *MkdirResponse) Reset() { + *x = MkdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) -} -func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) -} -func (m *MkdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MkdirResponse.Merge(m, src) +func (x *MkdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MkdirResponse) XXX_Size() int { - return xxx_messageInfo_MkdirResponse.Size(m) -} -func (m *MkdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MkdirResponse.DiscardUnknown(m) + +func (*MkdirResponse) ProtoMessage() {} + +func (x *MkdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo +// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *MkdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *MkdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RmdirRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -285,99 +342,115 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } -func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } -func (*RmdirRequest) ProtoMessage() {} -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{4} +func (x *RmdirRequest) Reset() { + *x = RmdirRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) -} -func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) -} -func (m *RmdirRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirRequest.Merge(m, src) -} -func (m *RmdirRequest) XXX_Size() int { - return xxx_messageInfo_RmdirRequest.Size(m) +func (x *RmdirRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirRequest.DiscardUnknown(m) + +func (*RmdirRequest) ProtoMessage() {} + +func (x *RmdirRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo +// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{4} +} -func (m *RmdirRequest) GetPath() string { - if m != nil { - return m.Path +func (x *RmdirRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *RmdirRequest) GetContext() PathContext { - if m != nil { - return m.Context +func (x *RmdirRequest) GetContext() PathContext { + if x != nil { + return x.Context } return PathContext_PLUGIN } -func (m *RmdirRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *RmdirRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type RmdirResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } -func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } -func (*RmdirResponse) ProtoMessage() {} -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{5} +func (x *RmdirResponse) Reset() { + *x = RmdirResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) +func (x *RmdirResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) -} -func (m *RmdirResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RmdirResponse.Merge(m, src) -} -func (m *RmdirResponse) XXX_Size() int { - return xxx_messageInfo_RmdirResponse.Size(m) -} -func (m *RmdirResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RmdirResponse.DiscardUnknown(m) + +func (*RmdirResponse) ProtoMessage() {} + +func (x *RmdirResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo +// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RmdirResponse) GetError() string { - if m != nil { - return m.Error +func (x *RmdirResponse) GetError() string { + if x != nil { + return x.Error } return "" } type LinkPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -408,238 +481,493 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` } -func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } -func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } -func (*LinkPathRequest) ProtoMessage() {} -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{6} +func (x *LinkPathRequest) Reset() { + *x = LinkPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) -} -func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) -} -func (m *LinkPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathRequest.Merge(m, src) +func (x *LinkPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathRequest) XXX_Size() int { - return xxx_messageInfo_LinkPathRequest.Size(m) -} -func (m *LinkPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) + +func (*LinkPathRequest) ProtoMessage() {} + +func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo +// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{6} +} -func (m *LinkPathRequest) GetSourcePath() string { - if m != nil { - return m.SourcePath +func (x *LinkPathRequest) GetSourcePath() string { + if x != nil { + return x.SourcePath } return "" } -func (m *LinkPathRequest) GetTargetPath() string { - if m != nil { - return m.TargetPath +func (x *LinkPathRequest) GetTargetPath() string { + if x != nil { + return x.TargetPath } return "" } type LinkPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } -func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } -func (*LinkPathResponse) ProtoMessage() {} -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{7} +func (x *LinkPathResponse) Reset() { + *x = LinkPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) -} -func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) -} -func (m *LinkPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkPathResponse.Merge(m, src) +func (x *LinkPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkPathResponse) XXX_Size() int { - return xxx_messageInfo_LinkPathResponse.Size(m) -} -func (m *LinkPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) + +func (*LinkPathResponse) ProtoMessage() {} + +func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo +// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{7} +} -func (m *LinkPathResponse) GetError() string { - if m != nil { - return m.Error +func (x *LinkPathResponse) GetError() string { + if x != nil { + return x.Error } return "" } type IsMountPointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } -func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } -func (*IsMountPointRequest) ProtoMessage() {} -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{8} +func (x *IsMountPointRequest) Reset() { + *x = IsMountPointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) -} -func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) -} -func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointRequest.Merge(m, src) -} -func (m *IsMountPointRequest) XXX_Size() int { - return xxx_messageInfo_IsMountPointRequest.Size(m) +func (x *IsMountPointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) + +func (*IsMountPointRequest) ProtoMessage() {} + +func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo +// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *IsMountPointRequest) GetPath() string { - if m != nil { - return m.Path +func (x *IsMountPointRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type IsMountPointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` } -func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } -func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } -func (*IsMountPointResponse) ProtoMessage() {} -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b03a6091226f91c2, []int{9} +func (x *IsMountPointResponse) Reset() { + *x = IsMountPointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) -} -func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) +func (x *IsMountPointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsMountPointResponse.Merge(m, src) -} -func (m *IsMountPointResponse) XXX_Size() int { - return xxx_messageInfo_IsMountPointResponse.Size(m) -} -func (m *IsMountPointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) + +func (*IsMountPointResponse) ProtoMessage() {} + +func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo +// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{9} +} -func (m *IsMountPointResponse) GetError() string { - if m != nil { - return m.Error +func (x *IsMountPointResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *IsMountPointResponse) GetIsMountPoint() bool { - if m != nil { - return m.IsMountPoint +func (x *IsMountPointResponse) GetIsMountPoint() bool { + if x != nil { + return x.IsMountPoint } return false } -func init() { - proto.RegisterEnum("v1beta1.PathContext", PathContext_name, PathContext_value) - proto.RegisterType((*PathExistsRequest)(nil), "v1beta1.PathExistsRequest") - proto.RegisterType((*PathExistsResponse)(nil), "v1beta1.PathExistsResponse") - proto.RegisterType((*MkdirRequest)(nil), "v1beta1.MkdirRequest") - proto.RegisterType((*MkdirResponse)(nil), "v1beta1.MkdirResponse") - proto.RegisterType((*RmdirRequest)(nil), "v1beta1.RmdirRequest") - proto.RegisterType((*RmdirResponse)(nil), "v1beta1.RmdirResponse") - proto.RegisterType((*LinkPathRequest)(nil), "v1beta1.LinkPathRequest") - proto.RegisterType((*LinkPathResponse)(nil), "v1beta1.LinkPathResponse") - proto.RegisterType((*IsMountPointRequest)(nil), "v1beta1.IsMountPointRequest") - proto.RegisterType((*IsMountPointResponse)(nil), "v1beta1.IsMountPointResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto", fileDescriptor_b03a6091226f91c2) -} - -var fileDescriptor_b03a6091226f91c2 = []byte{ - // 461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0xd3, 0x40, - 0x10, 0xc5, 0x93, 0x94, 0x26, 0x65, 0x1a, 0x4a, 0x18, 0x42, 0x15, 0x0c, 0x88, 0x6a, 0x05, 0x52, - 0x40, 0xaa, 0xad, 0x96, 0x0b, 0x57, 0xfe, 0x56, 0x15, 0x0d, 0x44, 0x46, 0x88, 0x63, 0xe4, 0x98, - 0x69, 0xb3, 0x4a, 0xe3, 0x35, 0xbb, 0x63, 0x94, 0x7e, 0x56, 0xbe, 0x0c, 0x5a, 0xdb, 0x71, 0x37, - 0x55, 0xf0, 0xa9, 0xb7, 0xec, 0xcc, 0x6f, 0xdf, 0xbc, 0xec, 0x3c, 0x19, 0xbe, 0x5c, 0x48, 0x9e, - 0x65, 0x53, 0x3f, 0x56, 0x8b, 0x60, 0x9e, 0x4d, 0x49, 0x27, 0xc4, 0x64, 0x0e, 0x63, 0x23, 0x83, - 0xd8, 0xc8, 0xc3, 0x54, 0xab, 0xe5, 0x55, 0x10, 0x5f, 0x4a, 0x4a, 0x38, 0x88, 0x52, 0x19, 0x9c, - 0xcb, 0x4b, 0x32, 0x57, 0x86, 0x69, 0x11, 0xfc, 0x39, 0x9a, 0x12, 0x47, 0x47, 0xb6, 0xec, 0xa7, - 0x5a, 0xb1, 0xc2, 0x4e, 0x59, 0x12, 0x3f, 0xe1, 0xc1, 0x38, 0xe2, 0xd9, 0xa7, 0xa5, 0x34, 0x6c, - 0x42, 0xfa, 0x9d, 0x91, 0x61, 0x44, 0xb8, 0x93, 0x46, 0x3c, 0x1b, 0x34, 0x0f, 0x9a, 0xc3, 0xbb, - 0x61, 0xfe, 0x1b, 0x7d, 0xe8, 0xc4, 0x2a, 0x61, 0x5a, 0xf2, 0xa0, 0x75, 0xd0, 0x1c, 0xee, 0x1d, - 0xf7, 0xfd, 0x52, 0xc3, 0xb7, 0x02, 0x1f, 0x8a, 0x5e, 0xb8, 0x82, 0xc4, 0x7b, 0x40, 0x57, 0xd8, - 0xa4, 0x2a, 0x31, 0x84, 0x7d, 0xd8, 0x26, 0xad, 0x95, 0x2e, 0xa5, 0x8b, 0x03, 0xee, 0x43, 0x9b, - 0x72, 0x2e, 0x97, 0xde, 0x09, 0xcb, 0x93, 0x08, 0xa1, 0x3b, 0x9a, 0xff, 0x92, 0xfa, 0x36, 0x7d, - 0xbd, 0x84, 0x7b, 0xa5, 0x66, 0x9d, 0x25, 0x31, 0x83, 0x6e, 0xb8, 0xb8, 0xdd, 0xd1, 0x76, 0xd2, - 0xb9, 0xd2, 0x31, 0x0d, 0xb6, 0xf2, 0x7f, 0x59, 0x1c, 0xac, 0xa1, 0x72, 0x52, 0xad, 0xa1, 0xef, - 0x70, 0xff, 0x4c, 0x26, 0x73, 0x2b, 0xbc, 0xf2, 0xf4, 0x1c, 0x76, 0x8d, 0xca, 0x74, 0x4c, 0x13, - 0xc7, 0x1a, 0x14, 0x25, 0xcb, 0x59, 0x80, 0x23, 0x7d, 0x41, 0x5c, 0x00, 0xad, 0x02, 0x28, 0x4a, - 0x16, 0x10, 0x43, 0xe8, 0x5d, 0x8b, 0xd6, 0x8e, 0x7f, 0x05, 0x0f, 0x4f, 0xcd, 0x48, 0x65, 0x09, - 0x8f, 0x95, 0x4c, 0xb8, 0xe6, 0x59, 0x44, 0x08, 0xfd, 0x75, 0xb4, 0x76, 0xf7, 0x2f, 0x60, 0x4f, - 0x9a, 0xc9, 0xc2, 0xe2, 0x93, 0xd4, 0xf2, 0x65, 0x06, 0xba, 0xd2, 0xd1, 0x78, 0x2d, 0x60, 0xd7, - 0x79, 0x52, 0x04, 0x68, 0x8f, 0xcf, 0x7e, 0x9c, 0x9c, 0x7e, 0xed, 0x35, 0xb0, 0x03, 0x5b, 0xe3, - 0x6f, 0x1f, 0x7b, 0xcd, 0xe3, 0xbf, 0x2d, 0x80, 0xcf, 0x55, 0xe8, 0xf1, 0x04, 0xe0, 0x3a, 0x80, - 0xe8, 0xad, 0xad, 0x66, 0x2d, 0xee, 0xde, 0x93, 0x8d, 0xbd, 0xc2, 0xb5, 0x68, 0xe0, 0x5b, 0xd8, - 0xce, 0x13, 0x83, 0x8f, 0x2a, 0xce, 0x4d, 0xa5, 0xb7, 0x7f, 0xb3, 0xec, 0xde, 0xcc, 0x57, 0xeb, - 0xdc, 0x74, 0x43, 0xe5, 0xdc, 0x5c, 0x4b, 0x80, 0x68, 0xe0, 0x3b, 0xd8, 0x59, 0x2d, 0x06, 0x07, - 0x15, 0x75, 0x23, 0x00, 0xde, 0xe3, 0x0d, 0x9d, 0x4a, 0x62, 0x04, 0x5d, 0x77, 0x0d, 0xf8, 0xb4, - 0x82, 0x37, 0x2c, 0xd2, 0x7b, 0xf6, 0x9f, 0xee, 0x4a, 0x6e, 0xda, 0xce, 0x3f, 0x1c, 0x6f, 0xfe, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x54, 0x94, 0x73, 0xfe, 0x87, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, + 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, + 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, + 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, + 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, + 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, + 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, + 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, + 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, + 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1beta1.PathContext + (*PathExistsRequest)(nil), // 1: v1beta1.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1beta1.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1beta1.MkdirRequest + (*MkdirResponse)(nil), // 4: v1beta1.MkdirResponse + (*RmdirRequest)(nil), // 5: v1beta1.RmdirRequest + (*RmdirResponse)(nil), // 6: v1beta1.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1beta1.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1beta1.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1beta1.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1beta1.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.PathExistsRequest.context:type_name -> v1beta1.PathContext + 0, // 1: v1beta1.MkdirRequest.context:type_name -> v1beta1.PathContext + 0, // 2: v1beta1.RmdirRequest.context:type_name -> v1beta1.PathContext + 1, // 3: v1beta1.Filesystem.PathExists:input_type -> v1beta1.PathExistsRequest + 3, // 4: v1beta1.Filesystem.Mkdir:input_type -> v1beta1.MkdirRequest + 5, // 5: v1beta1.Filesystem.Rmdir:input_type -> v1beta1.RmdirRequest + 7, // 6: v1beta1.Filesystem.LinkPath:input_type -> v1beta1.LinkPathRequest + 9, // 7: v1beta1.Filesystem.IsMountPoint:input_type -> v1beta1.IsMountPointRequest + 2, // 8: v1beta1.Filesystem.PathExists:output_type -> v1beta1.PathExistsResponse + 4, // 9: v1beta1.Filesystem.Mkdir:output_type -> v1beta1.MkdirResponse + 6, // 10: v1beta1.Filesystem.Rmdir:output_type -> v1beta1.RmdirResponse + 8, // 11: v1beta1.Filesystem.LinkPath:output_type -> v1beta1.LinkPathResponse + 10, // 12: v1beta1.Filesystem.IsMountPoint:output_type -> v1beta1.IsMountPointResponse + 8, // [8:13] is the sub-list for method output_type + 3, // [3:8] 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 +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PathExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MkdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RmdirResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // FilesystemClient is the client API for Filesystem service. // @@ -660,10 +988,10 @@ type FilesystemClient interface { } type filesystemClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewFilesystemClient(cc *grpc.ClientConn) FilesystemClient { +func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { return &filesystemClient{cc} } @@ -732,19 +1060,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto index 3b4c0ab2..421f23cd 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1beta1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1"; + service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -13,7 +15,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -63,7 +65,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -91,7 +93,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -122,7 +124,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -153,7 +155,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.pb.go similarity index 72% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.pb.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.pb.go index 0a0297f0..ed8bf3e3 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto -package v1 +package v1beta2 import ( context "context" @@ -63,11 +63,11 @@ func (x PathContext) String() string { } func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes[0].Descriptor() + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes[0].Descriptor() } func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes[0] + return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes[0] } func (x PathContext) Number() protoreflect.EnumNumber { @@ -76,7 +76,7 @@ func (x PathContext) Number() protoreflect.EnumNumber { // Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{0} } type PathExistsRequest struct { @@ -88,13 +88,13 @@ type PathExistsRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` } func (x *PathExistsRequest) Reset() { *x = PathExistsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -107,7 +107,7 @@ func (x *PathExistsRequest) String() string { func (*PathExistsRequest) ProtoMessage() {} func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -120,7 +120,7 @@ func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{0} } func (x *PathExistsRequest) GetPath() string { @@ -151,7 +151,7 @@ type PathExistsResponse struct { func (x *PathExistsResponse) Reset() { *x = PathExistsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -164,7 +164,7 @@ func (x *PathExistsResponse) String() string { func (*PathExistsResponse) ProtoMessage() {} func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -177,7 +177,7 @@ func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{1} } func (x *PathExistsResponse) GetError() string { @@ -220,13 +220,13 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` } func (x *MkdirRequest) Reset() { *x = MkdirRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -239,7 +239,7 @@ func (x *MkdirRequest) String() string { func (*MkdirRequest) ProtoMessage() {} func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -252,7 +252,7 @@ func (x *MkdirRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{2} } func (x *MkdirRequest) GetPath() string { @@ -281,7 +281,7 @@ type MkdirResponse struct { func (x *MkdirResponse) Reset() { *x = MkdirResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *MkdirResponse) String() string { func (*MkdirResponse) ProtoMessage() {} func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *MkdirResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{3} } func (x *MkdirResponse) GetError() string { @@ -340,7 +340,7 @@ type RmdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta2.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` } @@ -348,7 +348,7 @@ type RmdirRequest struct { func (x *RmdirRequest) Reset() { *x = RmdirRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -361,7 +361,7 @@ func (x *RmdirRequest) String() string { func (*RmdirRequest) ProtoMessage() {} func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -374,7 +374,7 @@ func (x *RmdirRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{4} } func (x *RmdirRequest) GetPath() string { @@ -410,7 +410,7 @@ type RmdirResponse struct { func (x *RmdirResponse) Reset() { *x = RmdirResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -423,7 +423,7 @@ func (x *RmdirResponse) String() string { func (*RmdirResponse) ProtoMessage() {} func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -436,7 +436,7 @@ func (x *RmdirResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{5} } func (x *RmdirResponse) GetError() string { @@ -487,7 +487,7 @@ type LinkPathRequest struct { func (x *LinkPathRequest) Reset() { *x = LinkPathRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -500,7 +500,7 @@ func (x *LinkPathRequest) String() string { func (*LinkPathRequest) ProtoMessage() {} func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -513,7 +513,7 @@ func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{6} } func (x *LinkPathRequest) GetSourcePath() string { @@ -542,7 +542,7 @@ type LinkPathResponse struct { func (x *LinkPathResponse) Reset() { *x = LinkPathResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -555,7 +555,7 @@ func (x *LinkPathResponse) String() string { func (*LinkPathResponse) ProtoMessage() {} func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -568,7 +568,7 @@ func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{7} } func (x *LinkPathResponse) GetError() string { @@ -590,7 +590,7 @@ type IsMountPointRequest struct { func (x *IsMountPointRequest) Reset() { *x = IsMountPointRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -603,7 +603,7 @@ func (x *IsMountPointRequest) String() string { func (*IsMountPointRequest) ProtoMessage() {} func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -616,7 +616,7 @@ func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{8} } func (x *IsMountPointRequest) GetPath() string { @@ -640,7 +640,7 @@ type IsMountPointResponse struct { func (x *IsMountPointResponse) Reset() { *x = IsMountPointResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -653,7 +653,7 @@ func (x *IsMountPointResponse) String() string { func (*IsMountPointResponse) ProtoMessage() {} func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -666,7 +666,7 @@ func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP(), []int{9} } func (x *IsMountPointResponse) GetError() string { @@ -683,124 +683,129 @@ func (x *IsMountPointResponse) GetIsMountPoint() bool { return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x61, - 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x52, 0x0a, 0x11, - 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x0c, 0x52, 0x6d, - 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, - 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, - 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, - 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, + 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, - 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, - 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, - 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xa9, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x3d, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, - 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, - 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, - 0x74, 0x68, 0x12, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6e, - 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x43, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, - 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, - 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, - 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, + 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, + 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, + 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, + 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, + 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6b, 0x64, + 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x6d, + 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, + 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, + 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, + 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1.PathContext - (*PathExistsRequest)(nil), // 1: v1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.PathExistsRequest.context:type_name -> v1.PathContext - 0, // 1: v1.MkdirRequest.context:type_name -> v1.PathContext - 0, // 2: v1.RmdirRequest.context:type_name -> v1.PathContext - 1, // 3: v1.Filesystem.PathExists:input_type -> v1.PathExistsRequest - 3, // 4: v1.Filesystem.Mkdir:input_type -> v1.MkdirRequest - 5, // 5: v1.Filesystem.Rmdir:input_type -> v1.RmdirRequest - 7, // 6: v1.Filesystem.LinkPath:input_type -> v1.LinkPathRequest - 9, // 7: v1.Filesystem.IsMountPoint:input_type -> v1.IsMountPointRequest - 2, // 8: v1.Filesystem.PathExists:output_type -> v1.PathExistsResponse - 4, // 9: v1.Filesystem.Mkdir:output_type -> v1.MkdirResponse - 6, // 10: v1.Filesystem.Rmdir:output_type -> v1.RmdirResponse - 8, // 11: v1.Filesystem.LinkPath:output_type -> v1.LinkPathResponse - 10, // 12: v1.Filesystem.IsMountPoint:output_type -> v1.IsMountPointResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes = []interface{}{ + (PathContext)(0), // 0: v1beta2.PathContext + (*PathExistsRequest)(nil), // 1: v1beta2.PathExistsRequest + (*PathExistsResponse)(nil), // 2: v1beta2.PathExistsResponse + (*MkdirRequest)(nil), // 3: v1beta2.MkdirRequest + (*MkdirResponse)(nil), // 4: v1beta2.MkdirResponse + (*RmdirRequest)(nil), // 5: v1beta2.RmdirRequest + (*RmdirResponse)(nil), // 6: v1beta2.RmdirResponse + (*LinkPathRequest)(nil), // 7: v1beta2.LinkPathRequest + (*LinkPathResponse)(nil), // 8: v1beta2.LinkPathResponse + (*IsMountPointRequest)(nil), // 9: v1beta2.IsMountPointRequest + (*IsMountPointResponse)(nil), // 10: v1beta2.IsMountPointResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.PathExistsRequest.context:type_name -> v1beta2.PathContext + 0, // 1: v1beta2.MkdirRequest.context:type_name -> v1beta2.PathContext + 0, // 2: v1beta2.RmdirRequest.context:type_name -> v1beta2.PathContext + 1, // 3: v1beta2.Filesystem.PathExists:input_type -> v1beta2.PathExistsRequest + 3, // 4: v1beta2.Filesystem.Mkdir:input_type -> v1beta2.MkdirRequest + 5, // 5: v1beta2.Filesystem.Rmdir:input_type -> v1beta2.RmdirRequest + 7, // 6: v1beta2.Filesystem.LinkPath:input_type -> v1beta2.LinkPathRequest + 9, // 7: v1beta2.Filesystem.IsMountPoint:input_type -> v1beta2.IsMountPointRequest + 2, // 8: v1beta2.Filesystem.PathExists:output_type -> v1beta2.PathExistsResponse + 4, // 9: v1beta2.Filesystem.Mkdir:output_type -> v1beta2.MkdirResponse + 6, // 10: v1beta2.Filesystem.Rmdir:output_type -> v1beta2.RmdirResponse + 8, // 11: v1beta2.Filesystem.LinkPath:output_type -> v1beta2.LinkPathResponse + 10, // 12: v1beta2.Filesystem.IsMountPoint:output_type -> v1beta2.IsMountPointResponse 8, // [8:13] is the sub-list for method output_type 3, // [3:8] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -808,13 +813,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_ 0, // [0:3] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PathExistsRequest); i { case 0: return &v.state @@ -826,7 +831,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PathExistsResponse); i { case 0: return &v.state @@ -838,7 +843,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MkdirRequest); i { case 0: return &v.state @@ -850,7 +855,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MkdirResponse); i { case 0: return &v.state @@ -862,7 +867,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RmdirRequest); i { case 0: return &v.state @@ -874,7 +879,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RmdirResponse); i { case 0: return &v.state @@ -886,7 +891,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LinkPathRequest); i { case 0: return &v.state @@ -898,7 +903,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LinkPathResponse); i { case 0: return &v.state @@ -910,7 +915,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsMountPointRequest); i { case 0: return &v.state @@ -922,7 +927,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsMountPointResponse); i { case 0: return &v.state @@ -939,21 +944,21 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc, NumEnums: 1, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -992,7 +997,7 @@ func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { func (c *filesystemClient) PathExists(ctx context.Context, in *PathExistsRequest, opts ...grpc.CallOption) (*PathExistsResponse, error) { out := new(PathExistsResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/PathExists", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/PathExists", in, out, opts...) if err != nil { return nil, err } @@ -1001,7 +1006,7 @@ func (c *filesystemClient) PathExists(ctx context.Context, in *PathExistsRequest func (c *filesystemClient) Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*MkdirResponse, error) { out := new(MkdirResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/Mkdir", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/Mkdir", in, out, opts...) if err != nil { return nil, err } @@ -1010,7 +1015,7 @@ func (c *filesystemClient) Mkdir(ctx context.Context, in *MkdirRequest, opts ... func (c *filesystemClient) Rmdir(ctx context.Context, in *RmdirRequest, opts ...grpc.CallOption) (*RmdirResponse, error) { out := new(RmdirResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/Rmdir", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/Rmdir", in, out, opts...) if err != nil { return nil, err } @@ -1019,7 +1024,7 @@ func (c *filesystemClient) Rmdir(ctx context.Context, in *RmdirRequest, opts ... func (c *filesystemClient) LinkPath(ctx context.Context, in *LinkPathRequest, opts ...grpc.CallOption) (*LinkPathResponse, error) { out := new(LinkPathResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/LinkPath", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/LinkPath", in, out, opts...) if err != nil { return nil, err } @@ -1028,7 +1033,7 @@ func (c *filesystemClient) LinkPath(ctx context.Context, in *LinkPathRequest, op func (c *filesystemClient) IsMountPoint(ctx context.Context, in *IsMountPointRequest, opts ...grpc.CallOption) (*IsMountPointResponse, error) { out := new(IsMountPointResponse) - err := c.cc.Invoke(ctx, "/v1.Filesystem/IsMountPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Filesystem/IsMountPoint", in, out, opts...) if err != nil { return nil, err } @@ -1085,7 +1090,7 @@ func _Filesystem_PathExists_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/PathExists", + FullMethod: "/v1beta2.Filesystem/PathExists", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).PathExists(ctx, req.(*PathExistsRequest)) @@ -1103,7 +1108,7 @@ func _Filesystem_Mkdir_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/Mkdir", + FullMethod: "/v1beta2.Filesystem/Mkdir", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).Mkdir(ctx, req.(*MkdirRequest)) @@ -1121,7 +1126,7 @@ func _Filesystem_Rmdir_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/Rmdir", + FullMethod: "/v1beta2.Filesystem/Rmdir", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).Rmdir(ctx, req.(*RmdirRequest)) @@ -1139,7 +1144,7 @@ func _Filesystem_LinkPath_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/LinkPath", + FullMethod: "/v1beta2.Filesystem/LinkPath", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).LinkPath(ctx, req.(*LinkPathRequest)) @@ -1157,7 +1162,7 @@ func _Filesystem_IsMountPoint_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Filesystem/IsMountPoint", + FullMethod: "/v1beta2.Filesystem/IsMountPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FilesystemServer).IsMountPoint(ctx, req.(*IsMountPointRequest)) @@ -1166,7 +1171,7 @@ func _Filesystem_IsMountPoint_Handler(srv interface{}, ctx context.Context, dec } var _Filesystem_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Filesystem", + ServiceName: "v1beta2.Filesystem", HandlerType: (*FilesystemServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1191,5 +1196,5 @@ var _Filesystem_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto", } diff --git a/client/api/filesystem/v1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto similarity index 99% rename from client/api/filesystem/v1/api.proto rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto index 03f294fb..411fd5a0 100644 --- a/client/api/filesystem/v1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta2; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2"; service Filesystem { // PathExists checks if the requested path exists in the host's filesystem diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go index 9ba7f6a4..3d2edaa0 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 AuthenticationType int32 @@ -36,372 +36,466 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -var AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", -} +// Enum value maps for AuthenticationType. +var ( + AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", + } + AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, + } +) -var AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, +func (x AuthenticationType) Enum() *AuthenticationType { + p := new(AuthenticationType) + *p = x + return p } func (x AuthenticationType) String() string { - return proto.EnumName(AuthenticationType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (AuthenticationType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0] +} + +func (x AuthenticationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` } -func (m *TargetPortal) Reset() { *m = TargetPortal{} } -func (m *TargetPortal) String() string { return proto.CompactTextString(m) } -func (*TargetPortal) ProtoMessage() {} -func (*TargetPortal) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{0} +func (x *TargetPortal) Reset() { + *x = TargetPortal{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TargetPortal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetPortal.Unmarshal(m, b) +func (x *TargetPortal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) -} -func (m *TargetPortal) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetPortal.Merge(m, src) -} -func (m *TargetPortal) XXX_Size() int { - return xxx_messageInfo_TargetPortal.Size(m) -} -func (m *TargetPortal) XXX_DiscardUnknown() { - xxx_messageInfo_TargetPortal.DiscardUnknown(m) + +func (*TargetPortal) ProtoMessage() {} + +func (x *TargetPortal) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_TargetPortal proto.InternalMessageInfo +// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. +func (*TargetPortal) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *TargetPortal) GetTargetAddress() string { - if m != nil { - return m.TargetAddress +func (x *TargetPortal) GetTargetAddress() string { + if x != nil { + return x.TargetAddress } return "" } -func (m *TargetPortal) GetTargetPort() uint32 { - if m != nil { - return m.TargetPort +func (x *TargetPortal) GetTargetPort() uint32 { + if x != nil { + return x.TargetPort } return 0 } type AddTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } -func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalRequest) ProtoMessage() {} -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{1} +func (x *AddTargetPortalRequest) Reset() { + *x = AddTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) -} -func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) +func (x *AddTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalRequest.Size(m) -} -func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) + +func (*AddTargetPortalRequest) ProtoMessage() {} + +func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type AddTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } -func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalResponse) ProtoMessage() {} -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{2} +func (x *AddTargetPortalResponse) Reset() { + *x = AddTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) -} -func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) +func (x *AddTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) -} -func (m *AddTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalResponse.Size(m) -} -func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) + +func (*AddTargetPortalResponse) ProtoMessage() {} + +func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} type DiscoverTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } -func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalRequest) ProtoMessage() {} -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{3} +func (x *DiscoverTargetPortalRequest) Reset() { + *x = DiscoverTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) +func (x *DiscoverTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) -} -func (m *DiscoverTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) -} -func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) + +func (*DiscoverTargetPortalRequest) ProtoMessage() {} + +func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` } -func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } -func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalResponse) ProtoMessage() {} -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{4} +func (x *DiscoverTargetPortalResponse) Reset() { + *x = DiscoverTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) -} -func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) +func (x *DiscoverTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) -} -func (m *DiscoverTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) -} -func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) + +func (*DiscoverTargetPortalResponse) ProtoMessage() {} + +func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DiscoverTargetPortalResponse) GetIqns() []string { - if m != nil { - return m.Iqns +func (x *DiscoverTargetPortalResponse) GetIqns() []string { + if x != nil { + return x.Iqns } return nil } type RemoveTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } -func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalRequest) ProtoMessage() {} -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{5} +func (x *RemoveTargetPortalRequest) Reset() { + *x = RemoveTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) +func (x *RemoveTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) -} -func (m *RemoveTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) -} -func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) + +func (*RemoveTargetPortalRequest) ProtoMessage() {} + +func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} -func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } -func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalResponse) ProtoMessage() {} -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{6} +func (x *RemoveTargetPortalResponse) Reset() { + *x = RemoveTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) -} -func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) -} -func (m *RemoveTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) -} -func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +func (x *RemoveTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo +func (*RemoveTargetPortalResponse) ProtoMessage() {} -type ListTargetPortalsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } -func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsRequest) ProtoMessage() {} -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{7} +// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{6} } -func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) -} -func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) +type ListTargetPortalsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) + +func (x *ListTargetPortalsRequest) Reset() { + *x = ListTargetPortalsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsRequest) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsRequest.Size(m) + +func (x *ListTargetPortalsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) + +func (*ListTargetPortalsRequest) ProtoMessage() {} + +func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} type ListTargetPortalsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` } -func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } -func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsResponse) ProtoMessage() {} -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{8} +func (x *ListTargetPortalsResponse) Reset() { + *x = ListTargetPortalsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) -} -func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) +func (x *ListTargetPortalsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) -} -func (m *ListTargetPortalsResponse) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsResponse.Size(m) -} -func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) + +func (*ListTargetPortalsResponse) ProtoMessage() {} + +func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if m != nil { - return m.TargetPortals +func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if x != nil { + return x.TargetPortals } return nil } type ConnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -417,339 +511,715 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` } -func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } -func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetRequest) ProtoMessage() {} -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{9} +func (x *ConnectTargetRequest) Reset() { + *x = ConnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) -} -func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) +func (x *ConnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetRequest.Merge(m, src) -} -func (m *ConnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_ConnectTargetRequest.Size(m) -} -func (m *ConnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) + +func (*ConnectTargetRequest) ProtoMessage() {} + +func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} -func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *ConnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *ConnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } -func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { - if m != nil { - return m.AuthType +func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { + if x != nil { + return x.AuthType } return AuthenticationType_NONE } -func (m *ConnectTargetRequest) GetChapUsername() string { - if m != nil { - return m.ChapUsername +func (x *ConnectTargetRequest) GetChapUsername() string { + if x != nil { + return x.ChapUsername } return "" } -func (m *ConnectTargetRequest) GetChapSecret() string { - if m != nil { - return m.ChapSecret +func (x *ConnectTargetRequest) GetChapSecret() string { + if x != nil { + return x.ChapSecret } return "" } type ConnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } -func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetResponse) ProtoMessage() {} -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{10} +func (x *ConnectTargetResponse) Reset() { + *x = ConnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) +func (x *ConnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetResponse.Merge(m, src) -} -func (m *ConnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_ConnectTargetResponse.Size(m) -} -func (m *ConnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) + +func (*ConnectTargetResponse) ProtoMessage() {} + +func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{10} +} type GetTargetDisksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } -func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksRequest) ProtoMessage() {} -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{11} +func (x *GetTargetDisksRequest) Reset() { + *x = GetTargetDisksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) -} -func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) +func (x *GetTargetDisksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksRequest) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksRequest.Size(m) -} -func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) + +func (*GetTargetDisksRequest) ProtoMessage() {} + +func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *GetTargetDisksRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *GetTargetDisksRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type GetTargetDisksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` } -func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } -func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksResponse) ProtoMessage() {} -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{12} +func (x *GetTargetDisksResponse) Reset() { + *x = GetTargetDisksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) +func (x *GetTargetDisksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) -} -func (m *GetTargetDisksResponse) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksResponse.Size(m) -} -func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) + +func (*GetTargetDisksResponse) ProtoMessage() {} + +func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) } -var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{12} +} -func (m *GetTargetDisksResponse) GetDiskIDs() []string { - if m != nil { - return m.DiskIDs +func (x *GetTargetDisksResponse) GetDiskIDs() []string { + if x != nil { + return x.DiskIDs } return nil } type DisconnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } -func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetRequest) ProtoMessage() {} -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{13} +func (x *DisconnectTargetRequest) Reset() { + *x = DisconnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) -} -func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +func (x *DisconnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetRequest.Size(m) -} -func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) + +func (*DisconnectTargetRequest) ProtoMessage() {} + +func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{13} +} -func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *DisconnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *DisconnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type DisconnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisconnectTargetResponse) Reset() { + *x = DisconnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } -func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetResponse) ProtoMessage() {} +func (x *DisconnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectTargetResponse) ProtoMessage() {} + +func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0438d9bfe30f1df4, []int{14} -} - -func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) -} -func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) -} -func (m *DisconnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetResponse.Size(m) -} -func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("v1alpha1.AuthenticationType", AuthenticationType_name, AuthenticationType_value) - proto.RegisterType((*TargetPortal)(nil), "v1alpha1.TargetPortal") - proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha1.AddTargetPortalRequest") - proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha1.AddTargetPortalResponse") - proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha1.DiscoverTargetPortalRequest") - proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha1.DiscoverTargetPortalResponse") - proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha1.RemoveTargetPortalRequest") - proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha1.RemoveTargetPortalResponse") - proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha1.ListTargetPortalsRequest") - proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha1.ListTargetPortalsResponse") - proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha1.ConnectTargetRequest") - proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha1.ConnectTargetResponse") - proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha1.GetTargetDisksRequest") - proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha1.GetTargetDisksResponse") - proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha1.DisconnectTargetRequest") - proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha1.DisconnectTargetResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto", fileDescriptor_0438d9bfe30f1df4) -} - -var fileDescriptor_0438d9bfe30f1df4 = []byte{ - // 649 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x6d, 0x4f, 0xd3, 0x50, - 0x14, 0xa6, 0xbc, 0x28, 0x3b, 0xac, 0x30, 0x6f, 0x78, 0x29, 0x95, 0xc8, 0xb8, 0x88, 0x59, 0x4c, - 0xd8, 0xc2, 0xfc, 0x64, 0x0c, 0x31, 0x15, 0x08, 0x92, 0x20, 0x90, 0xca, 0x14, 0x67, 0xe2, 0x72, - 0xd7, 0x5d, 0xd7, 0x9b, 0x6d, 0x6d, 0xd7, 0x7b, 0xbb, 0xb8, 0x1f, 0xe2, 0x5f, 0xf4, 0x77, 0x98, - 0xbe, 0xac, 0xeb, 0xb6, 0x6e, 0x7e, 0x70, 0x7c, 0xeb, 0x7d, 0xee, 0x73, 0x9e, 0x73, 0xee, 0x79, - 0x2b, 0x5c, 0x36, 0x99, 0x30, 0xbd, 0x7a, 0xd1, 0xb0, 0x3b, 0xa5, 0x96, 0x57, 0xa7, 0xae, 0x45, - 0x05, 0xe5, 0xc7, 0x06, 0x67, 0x25, 0x83, 0xb3, 0x63, 0xc7, 0xb5, 0x7f, 0xf5, 0x4b, 0x46, 0x9b, - 0x51, 0x4b, 0x94, 0x88, 0xc3, 0x4a, 0x8c, 0xfb, 0x57, 0xbd, 0x13, 0xd2, 0x76, 0x4c, 0x72, 0xe2, - 0x43, 0x45, 0xc7, 0xb5, 0x85, 0x8d, 0x56, 0x07, 0x18, 0xfe, 0x02, 0xd9, 0x7b, 0xe2, 0x36, 0xa9, - 0xb8, 0xb3, 0x5d, 0x41, 0xda, 0xe8, 0x08, 0xd6, 0x45, 0x70, 0xae, 0x91, 0x46, 0xc3, 0xa5, 0x9c, - 0x2b, 0x52, 0x5e, 0x2a, 0x64, 0x74, 0x39, 0x44, 0xb5, 0x10, 0x44, 0xfb, 0xb0, 0x16, 0xd1, 0x1c, - 0xdb, 0x15, 0xca, 0x62, 0x5e, 0x2a, 0xc8, 0x3a, 0x88, 0x58, 0x09, 0x57, 0x60, 0x5b, 0x6b, 0x34, - 0x92, 0xd2, 0x3a, 0xed, 0x7a, 0x94, 0x0b, 0xf4, 0x0e, 0xe4, 0x84, 0x29, 0x69, 0x07, 0x0e, 0xd6, - 0xca, 0xdb, 0xc5, 0x41, 0x4c, 0xc5, 0x11, 0xab, 0xac, 0x48, 0x9c, 0xf0, 0x2e, 0xec, 0x4c, 0xc8, - 0x72, 0xc7, 0xb6, 0x38, 0xc5, 0x55, 0x78, 0x7e, 0xce, 0xb8, 0x61, 0xf7, 0xa8, 0x3b, 0x77, 0xb7, - 0x65, 0xd8, 0x4b, 0xd7, 0x0e, 0x7d, 0x23, 0x04, 0xcb, 0xac, 0x6b, 0xf9, 0xb9, 0x5a, 0x2a, 0x64, - 0xf4, 0xe0, 0x1b, 0x3f, 0xc0, 0xae, 0x4e, 0x3b, 0x76, 0x8f, 0xce, 0x3d, 0x9a, 0x3d, 0x50, 0xd3, - 0x94, 0xa3, 0x3c, 0xa8, 0xa0, 0x5c, 0x33, 0x2e, 0x92, 0x77, 0x3c, 0x72, 0x8b, 0xab, 0xb0, 0x9b, - 0x72, 0x17, 0x3d, 0xe2, 0x34, 0x2e, 0x7d, 0x18, 0x53, 0xf8, 0x9c, 0xe9, 0x41, 0xc9, 0xc9, 0xa0, - 0x38, 0xfe, 0x23, 0xc1, 0xe6, 0x99, 0x6d, 0x59, 0xd4, 0x88, 0xf4, 0xe7, 0xf1, 0x56, 0x94, 0x83, - 0x25, 0xd6, 0xb5, 0x82, 0x06, 0xcb, 0xe8, 0xfe, 0x27, 0x7a, 0x0b, 0x19, 0xe2, 0x09, 0xb3, 0x26, - 0xfa, 0x0e, 0x55, 0x96, 0xf2, 0x52, 0x61, 0xbd, 0xbc, 0x37, 0x94, 0xd2, 0x3c, 0x61, 0x52, 0x4b, - 0x30, 0x83, 0x08, 0x66, 0x5b, 0xf7, 0x7d, 0x87, 0xea, 0xab, 0x3e, 0xdd, 0xff, 0x42, 0x87, 0x20, - 0x1b, 0x26, 0x71, 0x6a, 0x1e, 0xa7, 0xae, 0x45, 0x3a, 0x54, 0x59, 0x0e, 0x64, 0xb3, 0x3e, 0x58, - 0x89, 0x30, 0xbf, 0xb5, 0x03, 0x12, 0xa7, 0x86, 0x4b, 0x85, 0xb2, 0x12, 0x50, 0xc0, 0x87, 0x3e, - 0x07, 0x08, 0xde, 0x81, 0xad, 0xb1, 0x77, 0x46, 0x99, 0xff, 0x09, 0x5b, 0x97, 0x34, 0x02, 0xcf, - 0x19, 0x6f, 0xf1, 0xc7, 0xc9, 0x00, 0x2e, 0xc3, 0xf6, 0xb8, 0x9f, 0xa8, 0x84, 0x0a, 0x3c, 0x6d, - 0x30, 0xde, 0xba, 0x3a, 0x1f, 0xb4, 0xe2, 0xe0, 0x88, 0x4d, 0xd8, 0x09, 0x3a, 0xf8, 0xd1, 0xeb, - 0xe3, 0xf7, 0xdf, 0xa4, 0xa7, 0x30, 0xbe, 0xd7, 0x1a, 0xa0, 0xc9, 0x02, 0xa1, 0x55, 0x58, 0xbe, - 0xb9, 0xbd, 0xb9, 0xc8, 0x2d, 0xa0, 0x1c, 0x64, 0x6f, 0x6f, 0x2e, 0x6a, 0x5f, 0xb5, 0x6f, 0xb5, - 0xb3, 0x8f, 0xda, 0x5d, 0x4e, 0x42, 0x1b, 0xb0, 0xf6, 0xa9, 0x72, 0x5f, 0xd1, 0xae, 0x43, 0x60, - 0xb1, 0xfc, 0x7b, 0x05, 0x56, 0xae, 0xfc, 0xbd, 0x86, 0x1e, 0x60, 0x63, 0x6c, 0x17, 0xa0, 0x7c, - 0xa2, 0x11, 0x52, 0xb7, 0x8f, 0x7a, 0x30, 0x83, 0x11, 0x95, 0x71, 0x01, 0x35, 0x61, 0x33, 0x6d, - 0xdc, 0xd1, 0xd1, 0xd0, 0x78, 0xc6, 0xaa, 0x51, 0x5f, 0xfd, 0x8b, 0x16, 0x3b, 0x22, 0x80, 0x26, - 0x27, 0x19, 0x1d, 0x0e, 0xed, 0xa7, 0x6e, 0x10, 0xf5, 0xe5, 0x6c, 0x52, 0xec, 0xe2, 0x07, 0x3c, - 0x9b, 0x18, 0x79, 0x84, 0x87, 0xc6, 0xd3, 0x76, 0x85, 0x7a, 0x38, 0x93, 0x13, 0xeb, 0xeb, 0x20, - 0x8f, 0x4c, 0x03, 0x7a, 0x31, 0xb4, 0x4b, 0x5b, 0x07, 0xea, 0xfe, 0xd4, 0xfb, 0x58, 0xf3, 0x3b, - 0xe4, 0xc6, 0x5b, 0x08, 0x1d, 0x8c, 0x25, 0x35, 0x45, 0x19, 0xcf, 0xa2, 0xc4, 0xe2, 0x15, 0x58, - 0x1f, 0x9d, 0x1e, 0x94, 0x88, 0x28, 0x75, 0x7e, 0xd5, 0xfc, 0x74, 0xc2, 0x40, 0xf6, 0xc3, 0xfb, - 0xea, 0xe9, 0x7f, 0xfd, 0x9d, 0xeb, 0x4f, 0x82, 0x5f, 0xf3, 0x9b, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xbb, 0x3d, 0x8f, 0x5c, 0xe5, 0x07, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{14} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, + 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, + 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, + 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, + 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, + 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, + 0x41, 0x50, 0x10, 0x02, 0x32, 0x95, 0x05, 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, + 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, + 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, + 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, + 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = []interface{}{ + (AuthenticationType)(0), // 0: v1alpha1.AuthenticationType + (*TargetPortal)(nil), // 1: v1alpha1.TargetPortal + (*AddTargetPortalRequest)(nil), // 2: v1alpha1.AddTargetPortalRequest + (*AddTargetPortalResponse)(nil), // 3: v1alpha1.AddTargetPortalResponse + (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha1.DiscoverTargetPortalRequest + (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha1.DiscoverTargetPortalResponse + (*RemoveTargetPortalRequest)(nil), // 6: v1alpha1.RemoveTargetPortalRequest + (*RemoveTargetPortalResponse)(nil), // 7: v1alpha1.RemoveTargetPortalResponse + (*ListTargetPortalsRequest)(nil), // 8: v1alpha1.ListTargetPortalsRequest + (*ListTargetPortalsResponse)(nil), // 9: v1alpha1.ListTargetPortalsResponse + (*ConnectTargetRequest)(nil), // 10: v1alpha1.ConnectTargetRequest + (*ConnectTargetResponse)(nil), // 11: v1alpha1.ConnectTargetResponse + (*GetTargetDisksRequest)(nil), // 12: v1alpha1.GetTargetDisksRequest + (*GetTargetDisksResponse)(nil), // 13: v1alpha1.GetTargetDisksResponse + (*DisconnectTargetRequest)(nil), // 14: v1alpha1.DisconnectTargetRequest + (*DisconnectTargetResponse)(nil), // 15: v1alpha1.DisconnectTargetResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha1.AddTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 1: v1alpha1.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 2: v1alpha1.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 3: v1alpha1.ListTargetPortalsResponse.target_portals:type_name -> v1alpha1.TargetPortal + 1, // 4: v1alpha1.ConnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal + 0, // 5: v1alpha1.ConnectTargetRequest.auth_type:type_name -> v1alpha1.AuthenticationType + 1, // 6: v1alpha1.GetTargetDisksRequest.target_portal:type_name -> v1alpha1.TargetPortal + 1, // 7: v1alpha1.DisconnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal + 2, // 8: v1alpha1.Iscsi.AddTargetPortal:input_type -> v1alpha1.AddTargetPortalRequest + 4, // 9: v1alpha1.Iscsi.DiscoverTargetPortal:input_type -> v1alpha1.DiscoverTargetPortalRequest + 6, // 10: v1alpha1.Iscsi.RemoveTargetPortal:input_type -> v1alpha1.RemoveTargetPortalRequest + 8, // 11: v1alpha1.Iscsi.ListTargetPortals:input_type -> v1alpha1.ListTargetPortalsRequest + 10, // 12: v1alpha1.Iscsi.ConnectTarget:input_type -> v1alpha1.ConnectTargetRequest + 14, // 13: v1alpha1.Iscsi.DisconnectTarget:input_type -> v1alpha1.DisconnectTargetRequest + 12, // 14: v1alpha1.Iscsi.GetTargetDisks:input_type -> v1alpha1.GetTargetDisksRequest + 3, // 15: v1alpha1.Iscsi.AddTargetPortal:output_type -> v1alpha1.AddTargetPortalResponse + 5, // 16: v1alpha1.Iscsi.DiscoverTargetPortal:output_type -> v1alpha1.DiscoverTargetPortalResponse + 7, // 17: v1alpha1.Iscsi.RemoveTargetPortal:output_type -> v1alpha1.RemoveTargetPortalResponse + 9, // 18: v1alpha1.Iscsi.ListTargetPortals:output_type -> v1alpha1.ListTargetPortalsResponse + 11, // 19: v1alpha1.Iscsi.ConnectTarget:output_type -> v1alpha1.ConnectTargetResponse + 15, // 20: v1alpha1.Iscsi.DisconnectTarget:output_type -> v1alpha1.DisconnectTargetResponse + 13, // 21: v1alpha1.Iscsi.GetTargetDisks:output_type -> v1alpha1.GetTargetDisksResponse + 15, // [15:22] is the sub-list for method output_type + 8, // [8:15] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TargetPortal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -887,25 +1357,25 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go index d3ffff5b..0f8d3406 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto package v1alpha2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // iSCSI logon authentication type type AuthenticationType int32 @@ -37,372 +37,466 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -var AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", -} +// Enum value maps for AuthenticationType. +var ( + AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", + } + AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, + } +) -var AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, +func (x AuthenticationType) Enum() *AuthenticationType { + p := new(AuthenticationType) + *p = x + return p } func (x AuthenticationType) String() string { - return proto.EnumName(AuthenticationType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0].Descriptor() +} + +func (AuthenticationType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0] } +func (x AuthenticationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` } -func (m *TargetPortal) Reset() { *m = TargetPortal{} } -func (m *TargetPortal) String() string { return proto.CompactTextString(m) } -func (*TargetPortal) ProtoMessage() {} -func (*TargetPortal) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{0} +func (x *TargetPortal) Reset() { + *x = TargetPortal{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TargetPortal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetPortal.Unmarshal(m, b) -} -func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) -} -func (m *TargetPortal) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetPortal.Merge(m, src) +func (x *TargetPortal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TargetPortal) XXX_Size() int { - return xxx_messageInfo_TargetPortal.Size(m) -} -func (m *TargetPortal) XXX_DiscardUnknown() { - xxx_messageInfo_TargetPortal.DiscardUnknown(m) + +func (*TargetPortal) ProtoMessage() {} + +func (x *TargetPortal) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_TargetPortal proto.InternalMessageInfo +// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. +func (*TargetPortal) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} +} -func (m *TargetPortal) GetTargetAddress() string { - if m != nil { - return m.TargetAddress +func (x *TargetPortal) GetTargetAddress() string { + if x != nil { + return x.TargetAddress } return "" } -func (m *TargetPortal) GetTargetPort() uint32 { - if m != nil { - return m.TargetPort +func (x *TargetPortal) GetTargetPort() uint32 { + if x != nil { + return x.TargetPort } return 0 } type AddTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } -func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalRequest) ProtoMessage() {} -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{1} +func (x *AddTargetPortalRequest) Reset() { + *x = AddTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) -} -func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) -} -func (m *AddTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalRequest.Size(m) +func (x *AddTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) + +func (*AddTargetPortalRequest) ProtoMessage() {} + +func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{1} +} -func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type AddTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } -func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*AddTargetPortalResponse) ProtoMessage() {} -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{2} +func (x *AddTargetPortalResponse) Reset() { + *x = AddTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) -} -func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) -} -func (m *AddTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_AddTargetPortalResponse.Size(m) +func (x *AddTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) + +func (*AddTargetPortalResponse) ProtoMessage() {} + +func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{2} +} type DiscoverTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } -func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalRequest) ProtoMessage() {} -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{3} +func (x *DiscoverTargetPortalRequest) Reset() { + *x = DiscoverTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) +func (x *DiscoverTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) -} -func (m *DiscoverTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) -} -func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) + +func (*DiscoverTargetPortalRequest) ProtoMessage() {} + +func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{3} +} -func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` } -func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } -func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*DiscoverTargetPortalResponse) ProtoMessage() {} -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{4} +func (x *DiscoverTargetPortalResponse) Reset() { + *x = DiscoverTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) -} -func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +func (x *DiscoverTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiscoverTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) -} -func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) + +func (*DiscoverTargetPortalResponse) ProtoMessage() {} + +func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo +// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{4} +} -func (m *DiscoverTargetPortalResponse) GetIqns() []string { - if m != nil { - return m.Iqns +func (x *DiscoverTargetPortalResponse) GetIqns() []string { + if x != nil { + return x.Iqns } return nil } type RemoveTargetPortalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` } -func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } -func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalRequest) ProtoMessage() {} -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{5} +func (x *RemoveTargetPortalRequest) Reset() { + *x = RemoveTargetPortalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) -} -func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) -} -func (m *RemoveTargetPortalRequest) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) +func (x *RemoveTargetPortalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) + +func (*RemoveTargetPortalRequest) ProtoMessage() {} + +func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo +// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{5} +} -func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } -func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveTargetPortalResponse) ProtoMessage() {} -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{6} +func (x *RemoveTargetPortalResponse) Reset() { + *x = RemoveTargetPortalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) -} -func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) -} -func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) -} -func (m *RemoveTargetPortalResponse) XXX_Size() int { - return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) -} -func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +func (x *RemoveTargetPortalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo +func (*RemoveTargetPortalResponse) ProtoMessage() {} -type ListTargetPortalsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } -func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsRequest) ProtoMessage() {} -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{7} +// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{6} } -func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) -} -func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) +type ListTargetPortalsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) + +func (x *ListTargetPortalsRequest) Reset() { + *x = ListTargetPortalsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsRequest) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsRequest.Size(m) + +func (x *ListTargetPortalsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) + +func (*ListTargetPortalsRequest) ProtoMessage() {} + +func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{7} +} type ListTargetPortalsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` } -func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } -func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTargetPortalsResponse) ProtoMessage() {} -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{8} +func (x *ListTargetPortalsResponse) Reset() { + *x = ListTargetPortalsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) -} -func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) +func (x *ListTargetPortalsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) -} -func (m *ListTargetPortalsResponse) XXX_Size() int { - return xxx_messageInfo_ListTargetPortalsResponse.Size(m) -} -func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) + +func (*ListTargetPortalsResponse) ProtoMessage() {} + +func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo +// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{8} +} -func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if m != nil { - return m.TargetPortals +func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if x != nil { + return x.TargetPortals } return nil } type ConnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -419,418 +513,845 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` } -func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } -func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetRequest) ProtoMessage() {} -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{9} +func (x *ConnectTargetRequest) Reset() { + *x = ConnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) -} -func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetRequest.Merge(m, src) -} -func (m *ConnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_ConnectTargetRequest.Size(m) +func (x *ConnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) + +func (*ConnectTargetRequest) ProtoMessage() {} + +func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{9} +} -func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *ConnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *ConnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } -func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { - if m != nil { - return m.AuthType +func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { + if x != nil { + return x.AuthType } return AuthenticationType_NONE } -func (m *ConnectTargetRequest) GetChapUsername() string { - if m != nil { - return m.ChapUsername +func (x *ConnectTargetRequest) GetChapUsername() string { + if x != nil { + return x.ChapUsername } return "" } -func (m *ConnectTargetRequest) GetChapSecret() string { - if m != nil { - return m.ChapSecret +func (x *ConnectTargetRequest) GetChapSecret() string { + if x != nil { + return x.ChapSecret } return "" } type ConnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } -func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*ConnectTargetResponse) ProtoMessage() {} -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{10} +func (x *ConnectTargetResponse) Reset() { + *x = ConnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) -} -func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +func (x *ConnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_ConnectTargetResponse.Size(m) -} -func (m *ConnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) + +func (*ConnectTargetResponse) ProtoMessage() {} + +func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{10} +} type GetTargetDisksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } -func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksRequest) ProtoMessage() {} -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{11} +func (x *GetTargetDisksRequest) Reset() { + *x = GetTargetDisksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) -} -func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) -} -func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) -} -func (m *GetTargetDisksRequest) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksRequest.Size(m) +func (x *GetTargetDisksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) + +func (*GetTargetDisksRequest) ProtoMessage() {} + +func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{11} +} -func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *GetTargetDisksRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *GetTargetDisksRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type GetTargetDisksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` } -func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } -func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } -func (*GetTargetDisksResponse) ProtoMessage() {} -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{12} +func (x *GetTargetDisksResponse) Reset() { + *x = GetTargetDisksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) -} -func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) +func (x *GetTargetDisksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) -} -func (m *GetTargetDisksResponse) XXX_Size() int { - return xxx_messageInfo_GetTargetDisksResponse.Size(m) -} -func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) + +func (*GetTargetDisksResponse) ProtoMessage() {} + +func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) } -var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo +// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{12} +} -func (m *GetTargetDisksResponse) GetDiskIDs() []string { - if m != nil { - return m.DiskIDs +func (x *GetTargetDisksResponse) GetDiskIDs() []string { + if x != nil { + return x.DiskIDs } return nil } type DisconnectTargetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` } -func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } -func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetRequest) ProtoMessage() {} -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{13} +func (x *DisconnectTargetRequest) Reset() { + *x = DisconnectTargetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) -} -func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +func (x *DisconnectTargetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetRequest.Size(m) -} -func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) + +func (*DisconnectTargetRequest) ProtoMessage() {} + +func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{13} +} -func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if m != nil { - return m.TargetPortal +func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if x != nil { + return x.TargetPortal } return nil } -func (m *DisconnectTargetRequest) GetIqn() string { - if m != nil { - return m.Iqn +func (x *DisconnectTargetRequest) GetIqn() string { + if x != nil { + return x.Iqn } return "" } type DisconnectTargetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } -func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectTargetResponse) ProtoMessage() {} -func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{14} +func (x *DisconnectTargetResponse) Reset() { + *x = DisconnectTargetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) -} -func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +func (x *DisconnectTargetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectTargetResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectTargetResponse.Size(m) -} -func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) + +func (*DisconnectTargetResponse) ProtoMessage() {} + +func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo +// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. +func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{14} +} type SetMutualChapSecretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the default CHAP secret that all initiators on this machine (node) use to // authenticate the target on mutual CHAP authentication. // Must be at least 12 byte long for non-Ipsec connections, at least one // byte long for Ipsec connections, and at most 16 bytes long. - MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` } -func (m *SetMutualChapSecretRequest) Reset() { *m = SetMutualChapSecretRequest{} } -func (m *SetMutualChapSecretRequest) String() string { return proto.CompactTextString(m) } -func (*SetMutualChapSecretRequest) ProtoMessage() {} -func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{15} +func (x *SetMutualChapSecretRequest) Reset() { + *x = SetMutualChapSecretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetMutualChapSecretRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMutualChapSecretRequest.Unmarshal(m, b) -} -func (m *SetMutualChapSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMutualChapSecretRequest.Marshal(b, m, deterministic) +func (x *SetMutualChapSecretRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetMutualChapSecretRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMutualChapSecretRequest.Merge(m, src) -} -func (m *SetMutualChapSecretRequest) XXX_Size() int { - return xxx_messageInfo_SetMutualChapSecretRequest.Size(m) -} -func (m *SetMutualChapSecretRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMutualChapSecretRequest.DiscardUnknown(m) + +func (*SetMutualChapSecretRequest) ProtoMessage() {} + +func (x *SetMutualChapSecretRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_SetMutualChapSecretRequest proto.InternalMessageInfo +// Deprecated: Use SetMutualChapSecretRequest.ProtoReflect.Descriptor instead. +func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{15} +} -func (m *SetMutualChapSecretRequest) GetMutualChapSecret() string { - if m != nil { - return m.MutualChapSecret +func (x *SetMutualChapSecretRequest) GetMutualChapSecret() string { + if x != nil { + return x.MutualChapSecret } return "" } type SetMutualChapSecretResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetMutualChapSecretResponse) Reset() { *m = SetMutualChapSecretResponse{} } -func (m *SetMutualChapSecretResponse) String() string { return proto.CompactTextString(m) } -func (*SetMutualChapSecretResponse) ProtoMessage() {} +func (x *SetMutualChapSecretResponse) Reset() { + *x = SetMutualChapSecretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMutualChapSecretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMutualChapSecretResponse) ProtoMessage() {} + +func (x *SetMutualChapSecretResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] + 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 SetMutualChapSecretResponse.ProtoReflect.Descriptor instead. func (*SetMutualChapSecretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2a5b20b77faa63, []int{16} -} - -func (m *SetMutualChapSecretResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMutualChapSecretResponse.Unmarshal(m, b) -} -func (m *SetMutualChapSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMutualChapSecretResponse.Marshal(b, m, deterministic) -} -func (m *SetMutualChapSecretResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMutualChapSecretResponse.Merge(m, src) -} -func (m *SetMutualChapSecretResponse) XXX_Size() int { - return xxx_messageInfo_SetMutualChapSecretResponse.Size(m) -} -func (m *SetMutualChapSecretResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetMutualChapSecretResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMutualChapSecretResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("v1alpha2.AuthenticationType", AuthenticationType_name, AuthenticationType_value) - proto.RegisterType((*TargetPortal)(nil), "v1alpha2.TargetPortal") - proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha2.AddTargetPortalRequest") - proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha2.AddTargetPortalResponse") - proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha2.DiscoverTargetPortalRequest") - proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha2.DiscoverTargetPortalResponse") - proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha2.RemoveTargetPortalRequest") - proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha2.RemoveTargetPortalResponse") - proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha2.ListTargetPortalsRequest") - proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha2.ListTargetPortalsResponse") - proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha2.ConnectTargetRequest") - proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha2.ConnectTargetResponse") - proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha2.GetTargetDisksRequest") - proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha2.GetTargetDisksResponse") - proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha2.DisconnectTargetRequest") - proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha2.DisconnectTargetResponse") - proto.RegisterType((*SetMutualChapSecretRequest)(nil), "v1alpha2.SetMutualChapSecretRequest") - proto.RegisterType((*SetMutualChapSecretResponse)(nil), "v1alpha2.SetMutualChapSecretResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto", fileDescriptor_3d2a5b20b77faa63) -} - -var fileDescriptor_3d2a5b20b77faa63 = []byte{ - // 697 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5b, 0x4f, 0xdb, 0x4c, - 0x10, 0x25, 0x5c, 0xbe, 0x8f, 0x0c, 0x09, 0xa4, 0x53, 0x2e, 0xc6, 0xd0, 0x12, 0x96, 0x52, 0x45, - 0x48, 0x24, 0x6a, 0xfa, 0x54, 0x55, 0xa8, 0x72, 0x01, 0x01, 0x12, 0x37, 0x19, 0xd2, 0x52, 0x2a, - 0x35, 0x5a, 0x9c, 0x2d, 0x59, 0x11, 0x6c, 0xe3, 0x5d, 0xa3, 0xf2, 0x87, 0xfb, 0x27, 0xfa, 0x52, - 0xd9, 0xde, 0x38, 0x26, 0x71, 0xc2, 0x43, 0xc3, 0x9b, 0xf7, 0xec, 0x99, 0x33, 0xb3, 0xb3, 0xb3, - 0x47, 0x86, 0xbd, 0x6b, 0x2e, 0x9b, 0xfe, 0x55, 0xd9, 0x72, 0x6e, 0x2b, 0x37, 0xfe, 0x15, 0xf3, - 0x6c, 0x26, 0x99, 0xd8, 0xb4, 0x04, 0xaf, 0x58, 0x82, 0x6f, 0xba, 0x9e, 0xf3, 0xeb, 0xa1, 0x62, - 0xb5, 0x38, 0xb3, 0x65, 0x85, 0xba, 0xbc, 0xc2, 0x45, 0xb0, 0x75, 0xff, 0x8e, 0xb6, 0xdc, 0x26, - 0xad, 0x06, 0x50, 0xd9, 0xf5, 0x1c, 0xe9, 0xe0, 0x64, 0x1b, 0x23, 0x5f, 0x20, 0x77, 0x4e, 0xbd, - 0x6b, 0x26, 0x4f, 0x1d, 0x4f, 0xd2, 0x16, 0xae, 0xc3, 0xb4, 0x0c, 0xd7, 0x75, 0xda, 0x68, 0x78, - 0x4c, 0x08, 0x2d, 0x53, 0xcc, 0x94, 0xb2, 0x66, 0x3e, 0x42, 0x8d, 0x08, 0xc4, 0x15, 0x98, 0x52, - 0x34, 0xd7, 0xf1, 0xa4, 0x36, 0x5a, 0xcc, 0x94, 0xf2, 0x26, 0xc8, 0x58, 0x89, 0xd4, 0x60, 0xde, - 0x68, 0x34, 0x92, 0xd2, 0x26, 0xbb, 0xf3, 0x99, 0x90, 0xf8, 0x11, 0xf2, 0x89, 0x50, 0xda, 0x0a, - 0x13, 0x4c, 0x55, 0xe7, 0xcb, 0xed, 0x9a, 0xca, 0x8f, 0xa2, 0x72, 0x32, 0xb1, 0x22, 0x8b, 0xb0, - 0xd0, 0x23, 0x2b, 0x5c, 0xc7, 0x16, 0x8c, 0x5c, 0xc2, 0xd2, 0x0e, 0x17, 0x96, 0x73, 0xcf, 0xbc, - 0xa1, 0xa7, 0xad, 0xc2, 0x72, 0xba, 0x76, 0x94, 0x1b, 0x11, 0xc6, 0xf9, 0x9d, 0x1d, 0xf4, 0x6a, - 0xac, 0x94, 0x35, 0xc3, 0x6f, 0x72, 0x01, 0x8b, 0x26, 0xbb, 0x75, 0xee, 0xd9, 0xd0, 0xab, 0x59, - 0x06, 0x3d, 0x4d, 0x59, 0xf5, 0x41, 0x07, 0xed, 0x90, 0x0b, 0x99, 0xdc, 0x13, 0x2a, 0x2d, 0xb9, - 0x84, 0xc5, 0x94, 0x3d, 0x75, 0x88, 0xad, 0xf8, 0xea, 0xa3, 0x9a, 0xa2, 0xe3, 0xf4, 0x2f, 0x2a, - 0x9f, 0x2c, 0x4a, 0x90, 0xdf, 0x19, 0x98, 0xdd, 0x76, 0x6c, 0x9b, 0x59, 0x4a, 0x7f, 0x18, 0x67, - 0xc5, 0x02, 0x8c, 0xf1, 0x3b, 0x3b, 0x1c, 0xb0, 0xac, 0x19, 0x7c, 0xe2, 0x07, 0xc8, 0x52, 0x5f, - 0x36, 0xeb, 0xf2, 0xc1, 0x65, 0xda, 0x58, 0x31, 0x53, 0x9a, 0xae, 0x2e, 0x77, 0xa4, 0x0c, 0x5f, - 0x36, 0x99, 0x2d, 0xb9, 0x45, 0x25, 0x77, 0xec, 0xf3, 0x07, 0x97, 0x99, 0x93, 0x01, 0x3d, 0xf8, - 0xc2, 0x35, 0xc8, 0x5b, 0x4d, 0xea, 0xd6, 0x7d, 0xc1, 0x3c, 0x9b, 0xde, 0x32, 0x6d, 0x3c, 0x94, - 0xcd, 0x05, 0x60, 0x4d, 0x61, 0xc1, 0x68, 0x87, 0x24, 0xc1, 0x2c, 0x8f, 0x49, 0x6d, 0x22, 0xa4, - 0x40, 0x00, 0x9d, 0x85, 0x08, 0x59, 0x80, 0xb9, 0xae, 0x73, 0xaa, 0xce, 0xff, 0x84, 0xb9, 0x3d, - 0xa6, 0xc0, 0x1d, 0x2e, 0x6e, 0xc4, 0xf3, 0x74, 0x80, 0x54, 0x61, 0xbe, 0x3b, 0x8f, 0xba, 0x42, - 0x0d, 0xfe, 0x6f, 0x70, 0x71, 0x73, 0xb0, 0xd3, 0x1e, 0xc5, 0xf6, 0x92, 0x34, 0x61, 0x21, 0x9c, - 0xe0, 0x67, 0xbf, 0x9f, 0x60, 0xfe, 0x7a, 0x33, 0xa9, 0x0e, 0xed, 0x83, 0x7e, 0xc6, 0xe4, 0x91, - 0x2f, 0x7d, 0xda, 0xda, 0x8e, 0x3b, 0xda, 0x2e, 0x64, 0x03, 0x0a, 0xdd, 0x5b, 0xca, 0x7d, 0x7a, - 0x70, 0xf2, 0x0a, 0x96, 0x52, 0x95, 0xa2, 0x44, 0x1b, 0x06, 0x60, 0xef, 0x24, 0xe0, 0x24, 0x8c, - 0x1f, 0x9f, 0x1c, 0xef, 0x16, 0x46, 0xb0, 0x00, 0xb9, 0x93, 0xe3, 0xdd, 0xfa, 0x57, 0xe3, 0x5b, - 0x7d, 0x7b, 0xdf, 0x38, 0x2d, 0x64, 0x70, 0x06, 0xa6, 0x8e, 0x6a, 0xe7, 0x35, 0xe3, 0x30, 0x02, - 0x46, 0xab, 0x7f, 0x26, 0x60, 0xe2, 0x20, 0x30, 0x50, 0xbc, 0x80, 0x99, 0x2e, 0xd3, 0xc1, 0x62, - 0x62, 0xe2, 0x52, 0x6d, 0x4e, 0x5f, 0x1d, 0xc0, 0x50, 0xdd, 0x18, 0xc1, 0x6b, 0x98, 0x4d, 0xf3, - 0x15, 0x5c, 0xef, 0x04, 0x0f, 0xf0, 0x34, 0xfd, 0xed, 0x53, 0xb4, 0x38, 0x11, 0x05, 0xec, 0xb5, - 0x0c, 0x5c, 0xeb, 0xc4, 0xf7, 0xb5, 0x2a, 0xfd, 0xcd, 0x60, 0x52, 0x9c, 0xe2, 0x07, 0xbc, 0xe8, - 0xf1, 0x16, 0x24, 0x9d, 0xe0, 0x7e, 0xa6, 0xa4, 0xaf, 0x0d, 0xe4, 0xc4, 0xfa, 0x26, 0xe4, 0x1f, - 0x3d, 0x3b, 0x7c, 0xdd, 0x89, 0x4b, 0xf3, 0x1d, 0x7d, 0xa5, 0xef, 0x7e, 0xac, 0xf9, 0x1d, 0x0a, - 0xdd, 0xb3, 0x8a, 0xab, 0x5d, 0x4d, 0x4d, 0x51, 0x26, 0x83, 0x28, 0xb1, 0x78, 0x0d, 0xa6, 0x1f, - 0x3f, 0x53, 0x4c, 0x54, 0x94, 0x6a, 0x14, 0x7a, 0xb1, 0x3f, 0x21, 0x96, 0x6d, 0xc0, 0xcb, 0x94, - 0xc9, 0xc7, 0xc4, 0x35, 0xf5, 0x7f, 0x62, 0xfa, 0xfa, 0x13, 0xac, 0x76, 0x96, 0xcf, 0x9f, 0x2e, - 0xb7, 0xfe, 0xe9, 0x67, 0xe3, 0xea, 0xbf, 0xf0, 0x4f, 0xe3, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xaf, 0xbf, 0xa1, 0x93, 0xb4, 0x08, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{16} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, + 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, + 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, + 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, + 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, + 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, + 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x53, + 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, + 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, + 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x02, 0x32, 0xfb, 0x05, + 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, + 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, + 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, + 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, + 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, + 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, + 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, + 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, + 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, + 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x73, + 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = []interface{}{ + (AuthenticationType)(0), // 0: v1alpha2.AuthenticationType + (*TargetPortal)(nil), // 1: v1alpha2.TargetPortal + (*AddTargetPortalRequest)(nil), // 2: v1alpha2.AddTargetPortalRequest + (*AddTargetPortalResponse)(nil), // 3: v1alpha2.AddTargetPortalResponse + (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha2.DiscoverTargetPortalRequest + (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha2.DiscoverTargetPortalResponse + (*RemoveTargetPortalRequest)(nil), // 6: v1alpha2.RemoveTargetPortalRequest + (*RemoveTargetPortalResponse)(nil), // 7: v1alpha2.RemoveTargetPortalResponse + (*ListTargetPortalsRequest)(nil), // 8: v1alpha2.ListTargetPortalsRequest + (*ListTargetPortalsResponse)(nil), // 9: v1alpha2.ListTargetPortalsResponse + (*ConnectTargetRequest)(nil), // 10: v1alpha2.ConnectTargetRequest + (*ConnectTargetResponse)(nil), // 11: v1alpha2.ConnectTargetResponse + (*GetTargetDisksRequest)(nil), // 12: v1alpha2.GetTargetDisksRequest + (*GetTargetDisksResponse)(nil), // 13: v1alpha2.GetTargetDisksResponse + (*DisconnectTargetRequest)(nil), // 14: v1alpha2.DisconnectTargetRequest + (*DisconnectTargetResponse)(nil), // 15: v1alpha2.DisconnectTargetResponse + (*SetMutualChapSecretRequest)(nil), // 16: v1alpha2.SetMutualChapSecretRequest + (*SetMutualChapSecretResponse)(nil), // 17: v1alpha2.SetMutualChapSecretResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha2.AddTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 1: v1alpha2.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 2: v1alpha2.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 3: v1alpha2.ListTargetPortalsResponse.target_portals:type_name -> v1alpha2.TargetPortal + 1, // 4: v1alpha2.ConnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal + 0, // 5: v1alpha2.ConnectTargetRequest.auth_type:type_name -> v1alpha2.AuthenticationType + 1, // 6: v1alpha2.GetTargetDisksRequest.target_portal:type_name -> v1alpha2.TargetPortal + 1, // 7: v1alpha2.DisconnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal + 2, // 8: v1alpha2.Iscsi.AddTargetPortal:input_type -> v1alpha2.AddTargetPortalRequest + 4, // 9: v1alpha2.Iscsi.DiscoverTargetPortal:input_type -> v1alpha2.DiscoverTargetPortalRequest + 6, // 10: v1alpha2.Iscsi.RemoveTargetPortal:input_type -> v1alpha2.RemoveTargetPortalRequest + 8, // 11: v1alpha2.Iscsi.ListTargetPortals:input_type -> v1alpha2.ListTargetPortalsRequest + 10, // 12: v1alpha2.Iscsi.ConnectTarget:input_type -> v1alpha2.ConnectTargetRequest + 14, // 13: v1alpha2.Iscsi.DisconnectTarget:input_type -> v1alpha2.DisconnectTargetRequest + 12, // 14: v1alpha2.Iscsi.GetTargetDisks:input_type -> v1alpha2.GetTargetDisksRequest + 16, // 15: v1alpha2.Iscsi.SetMutualChapSecret:input_type -> v1alpha2.SetMutualChapSecretRequest + 3, // 16: v1alpha2.Iscsi.AddTargetPortal:output_type -> v1alpha2.AddTargetPortalResponse + 5, // 17: v1alpha2.Iscsi.DiscoverTargetPortal:output_type -> v1alpha2.DiscoverTargetPortalResponse + 7, // 18: v1alpha2.Iscsi.RemoveTargetPortal:output_type -> v1alpha2.RemoveTargetPortalResponse + 9, // 19: v1alpha2.Iscsi.ListTargetPortals:output_type -> v1alpha2.ListTargetPortalsResponse + 11, // 20: v1alpha2.Iscsi.ConnectTarget:output_type -> v1alpha2.ConnectTargetResponse + 15, // 21: v1alpha2.Iscsi.DisconnectTarget:output_type -> v1alpha2.DisconnectTargetResponse + 13, // 22: v1alpha2.Iscsi.GetTargetDisks:output_type -> v1alpha2.GetTargetDisksResponse + 17, // 23: v1alpha2.Iscsi.SetMutualChapSecret:output_type -> v1alpha2.SetMutualChapSecretResponse + 16, // [16:24] is the sub-list for method output_type + 8, // [8:16] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TargetPortal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTargetPortalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTargetPortalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTargetDisksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectTargetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMutualChapSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMutualChapSecretResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc, + NumEnums: 1, + NumMessages: 17, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -989,28 +1510,28 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } -func (*UnimplementedIscsiServer) SetMutualChapSecret(ctx context.Context, req *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { +func (*UnimplementedIscsiServer) SetMutualChapSecret(context.Context, *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetMutualChapSecret not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go index 67c8fffa..906d2eba 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go @@ -1,30 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 NewSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -40,107 +44,123 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` } -func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } -func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{0} +func (x *NewSmbGlobalMappingRequest) Reset() { + *x = NewSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) +func (x *NewSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) -} -func (m *NewSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) -} -func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } -func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { - if m != nil { - return m.LocalPath +func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { + if x != nil { + return x.LocalPath } return "" } -func (m *NewSmbGlobalMappingRequest) GetUsername() string { - if m != nil { - return m.Username +func (x *NewSmbGlobalMappingRequest) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *NewSmbGlobalMappingRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *NewSmbGlobalMappingRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type NewSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } -func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{1} +func (x *NewSmbGlobalMappingResponse) Reset() { + *x = NewSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) -} -func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) -} -func (m *NewSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) +func (x *NewSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *NewSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *NewSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RemoveSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -150,117 +170,250 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` } -func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } -func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{2} +func (x *RemoveSmbGlobalMappingRequest) Reset() { + *x = RemoveSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) +func (x *RemoveSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) } -var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } -func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76c5c101454f8b9a, []int{3} +func (x *RemoveSmbGlobalMappingResponse) Reset() { + *x = RemoveSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) +func (x *RemoveSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} -func (m *RemoveSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *RemoveSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func init() { - proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1alpha1.NewSmbGlobalMappingRequest") - proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1alpha1.NewSmbGlobalMappingResponse") - proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1alpha1.RemoveSmbGlobalMappingRequest") - proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1alpha1.RemoveSmbGlobalMappingResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto", fileDescriptor_76c5c101454f8b9a) -} - -var fileDescriptor_76c5c101454f8b9a = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4a, 0x03, 0x31, - 0x10, 0xc6, 0x5d, 0xab, 0xd2, 0x8e, 0xb7, 0x28, 0x52, 0x56, 0xaa, 0xb2, 0x28, 0xf6, 0xd2, 0x0d, - 0xb5, 0xe0, 0xd9, 0x8b, 0x78, 0x52, 0xa4, 0x7d, 0x00, 0x49, 0xb6, 0x43, 0x37, 0x98, 0xec, 0xc4, - 0x24, 0xdb, 0xea, 0x7b, 0xf8, 0x74, 0x3e, 0x8d, 0x74, 0xd7, 0xd5, 0x4b, 0xff, 0x80, 0xc7, 0xef, - 0xfb, 0x0d, 0x33, 0x5f, 0x3e, 0x02, 0xf7, 0x33, 0x15, 0xf2, 0x52, 0xa6, 0x19, 0x19, 0xfe, 0x5a, - 0x4a, 0x74, 0x05, 0x06, 0xf4, 0x83, 0xcc, 0x2b, 0x9e, 0x79, 0x35, 0xb0, 0x8e, 0xde, 0x3f, 0x78, - 0xa6, 0x15, 0x16, 0x81, 0x0b, 0xab, 0xb8, 0x37, 0x92, 0xcf, 0x87, 0x42, 0xdb, 0x5c, 0x0c, 0x97, - 0x46, 0x6a, 0x1d, 0x05, 0x62, 0xed, 0xc6, 0x4b, 0x3e, 0x23, 0x88, 0x9f, 0x70, 0x31, 0x31, 0xf2, - 0x41, 0x93, 0x14, 0xfa, 0x51, 0x58, 0xab, 0x8a, 0xd9, 0x18, 0xdf, 0x4a, 0xf4, 0x81, 0x9d, 0xc3, - 0xa1, 0x43, 0x43, 0x01, 0x5f, 0xac, 0x08, 0x79, 0x37, 0xba, 0x88, 0xfa, 0x9d, 0x31, 0xd4, 0xd6, - 0xb3, 0x08, 0x39, 0xeb, 0x01, 0x68, 0xca, 0x84, 0xae, 0xf9, 0x6e, 0xc5, 0x3b, 0x95, 0x53, 0xe1, - 0x18, 0xda, 0xa5, 0x47, 0x57, 0x08, 0x83, 0xdd, 0x56, 0x05, 0x7f, 0xf5, 0x92, 0x59, 0xe1, 0xfd, - 0x82, 0xdc, 0xb4, 0xbb, 0x57, 0xb3, 0x46, 0x27, 0x23, 0x38, 0x5d, 0x99, 0xca, 0x5b, 0x2a, 0x3c, - 0xb2, 0x63, 0xd8, 0x47, 0xe7, 0xc8, 0xfd, 0x04, 0xaa, 0x45, 0x72, 0x07, 0xbd, 0x31, 0x1a, 0x9a, - 0xe3, 0x7f, 0x5f, 0x93, 0xdc, 0xc2, 0xd9, 0xba, 0x0d, 0x9b, 0x2e, 0xdf, 0x7c, 0x45, 0xd0, 0x9a, - 0x18, 0xc9, 0xa6, 0x70, 0xb4, 0x22, 0x36, 0xbb, 0x4c, 0x9b, 0xbe, 0xd3, 0xf5, 0x5d, 0xc7, 0x57, - 0x5b, 0xa6, 0xea, 0x04, 0xc9, 0x0e, 0x33, 0x70, 0xb2, 0x3a, 0x25, 0xbb, 0xfe, 0x5b, 0xb1, 0xb1, - 0x89, 0xb8, 0xbf, 0x7d, 0xb0, 0x39, 0x27, 0x0f, 0xaa, 0x3f, 0x33, 0xfa, 0x0e, 0x00, 0x00, 0xff, - 0xff, 0x75, 0x05, 0x64, 0xd1, 0x7c, 0x02, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, + 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, + 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, + 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, + 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xda, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, + 0x64, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, + 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, + 0x27, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, + 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1alpha1.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1alpha1.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1alpha1.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1alpha1.RemoveSmbGlobalMappingResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.Smb.NewSmbGlobalMapping:input_type -> v1alpha1.NewSmbGlobalMappingRequest + 2, // 1: v1alpha1.Smb.RemoveSmbGlobalMapping:input_type -> v1alpha1.RemoveSmbGlobalMappingRequest + 1, // 2: v1alpha1.Smb.NewSmbGlobalMapping:output_type -> v1alpha1.NewSmbGlobalMappingResponse + 3, // 3: v1alpha1.Smb.RemoveSmbGlobalMapping:output_type -> v1alpha1.RemoveSmbGlobalMappingResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -319,10 +472,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto index f4d96e9c..2c9eb221 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1"; + service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} @@ -56,4 +58,4 @@ message RemoveSmbGlobalMappingResponse { // Windows error code // Success is represented as 0 string error = 1; -} \ No newline at end of file +} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go index fbeb6c91..c83a08d9 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go @@ -1,30 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 NewSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -40,107 +44,123 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` } -func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } -func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{0} +func (x *NewSmbGlobalMappingRequest) Reset() { + *x = NewSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) +func (x *NewSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) -} -func (m *NewSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) -} -func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } -func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { - if m != nil { - return m.LocalPath +func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { + if x != nil { + return x.LocalPath } return "" } -func (m *NewSmbGlobalMappingRequest) GetUsername() string { - if m != nil { - return m.Username +func (x *NewSmbGlobalMappingRequest) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *NewSmbGlobalMappingRequest) GetPassword() string { - if m != nil { - return m.Password +func (x *NewSmbGlobalMappingRequest) GetPassword() string { + if x != nil { + return x.Password } return "" } type NewSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } -func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{1} +func (x *NewSmbGlobalMappingResponse) Reset() { + *x = NewSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) -} -func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) -} -func (m *NewSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) +func (x *NewSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *NewSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *NewSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } type RemoveSmbGlobalMappingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -150,126 +170,259 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` } -func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } -func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{2} +func (x *RemoveSmbGlobalMappingRequest) Reset() { + *x = RemoveSmbGlobalMappingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) +func (x *RemoveSmbGlobalMappingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) -} -func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) } -var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if m != nil { - return m.RemotePath +func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if x != nil { + return x.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } -func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_795681d29a954457, []int{3} +func (x *RemoveSmbGlobalMappingResponse) Reset() { + *x = RemoveSmbGlobalMappingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) +func (x *RemoveSmbGlobalMappingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { - return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) -} -func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) + +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} + +func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo +// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{3} +} -func (m *RemoveSmbGlobalMappingResponse) GetError() string { - if m != nil { - return m.Error +func (x *RemoveSmbGlobalMappingResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func init() { - proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1beta1.NewSmbGlobalMappingRequest") - proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1beta1.NewSmbGlobalMappingResponse") - proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1beta1.RemoveSmbGlobalMappingRequest") - proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1beta1.RemoveSmbGlobalMappingResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto", fileDescriptor_795681d29a954457) -} - -var fileDescriptor_795681d29a954457 = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x4e, 0xc3, 0x30, - 0x10, 0x85, 0x09, 0xe5, 0xaf, 0xc3, 0xce, 0x20, 0x54, 0x05, 0x15, 0x50, 0x40, 0xc0, 0xa6, 0xb1, - 0x4a, 0x25, 0xd6, 0x2c, 0x90, 0x58, 0x81, 0x50, 0x7b, 0x00, 0x64, 0x87, 0x51, 0x63, 0x35, 0xce, - 0x18, 0xdb, 0x69, 0xe1, 0x1e, 0x9c, 0x8d, 0xf3, 0xa0, 0x26, 0x69, 0x57, 0x69, 0x90, 0x58, 0xbe, - 0xf9, 0x46, 0xf3, 0x9e, 0x9f, 0x0c, 0x8f, 0x53, 0xe5, 0xd3, 0x42, 0xc6, 0x09, 0x69, 0x3e, 0x2b, - 0x24, 0xda, 0x1c, 0x3d, 0xba, 0x41, 0xe2, 0x14, 0x4f, 0x9c, 0x1a, 0x18, 0x4b, 0x9f, 0x5f, 0x3c, - 0xc9, 0x14, 0xe6, 0x9e, 0x0b, 0xa3, 0xb8, 0xd3, 0x92, 0xcf, 0x87, 0x12, 0xbd, 0x18, 0x2e, 0x75, - 0x6c, 0x2c, 0x79, 0x62, 0xfb, 0xf5, 0x28, 0xfa, 0x0e, 0x20, 0x7c, 0xc1, 0xc5, 0x44, 0xcb, 0xa7, - 0x8c, 0xa4, 0xc8, 0x9e, 0x85, 0x31, 0x2a, 0x9f, 0x8e, 0xf1, 0xa3, 0x40, 0xe7, 0xd9, 0x39, 0x1c, - 0x5a, 0xd4, 0xe4, 0xf1, 0xcd, 0x08, 0x9f, 0xf6, 0x82, 0x8b, 0xe0, 0xb6, 0x3b, 0x86, 0x6a, 0xf4, - 0x2a, 0x7c, 0xca, 0xfa, 0x00, 0x19, 0x25, 0x22, 0xab, 0xf8, 0x76, 0xc9, 0xbb, 0xe5, 0xa4, 0xc4, - 0x21, 0x1c, 0x14, 0x0e, 0x6d, 0x2e, 0x34, 0xf6, 0x3a, 0x25, 0x5c, 0xeb, 0x25, 0x33, 0xc2, 0xb9, - 0x05, 0xd9, 0xf7, 0xde, 0x4e, 0xc5, 0x56, 0x3a, 0x1a, 0xc1, 0x69, 0x63, 0x2a, 0x67, 0x28, 0x77, - 0xc8, 0x8e, 0x61, 0x17, 0xad, 0x25, 0x5b, 0x07, 0xaa, 0x44, 0xf4, 0x00, 0xfd, 0x31, 0x6a, 0x9a, - 0xe3, 0x7f, 0x5f, 0x13, 0xdd, 0xc3, 0xd9, 0xa6, 0x0b, 0x6d, 0xce, 0x77, 0x3f, 0x01, 0x74, 0x26, - 0x5a, 0x32, 0x09, 0x47, 0x0d, 0xb1, 0xd9, 0x65, 0x5c, 0xd7, 0x1d, 0x6f, 0xae, 0x3a, 0xbc, 0x6a, - 0x5f, 0xaa, 0xfc, 0xa3, 0x2d, 0x36, 0x83, 0x93, 0xe6, 0x8c, 0xec, 0x7a, 0x7d, 0xa1, 0xb5, 0x86, - 0xf0, 0xe6, 0xcf, 0xbd, 0x95, 0x99, 0xdc, 0x2b, 0xbf, 0xcb, 0xe8, 0x37, 0x00, 0x00, 0xff, 0xff, - 0xbe, 0xd0, 0x14, 0x1b, 0x76, 0x02, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, + 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, + 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, + 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, + 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta1.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta1.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta1.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta1.RemoveSmbGlobalMappingResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.Smb.NewSmbGlobalMapping:input_type -> v1beta1.NewSmbGlobalMappingRequest + 2, // 1: v1beta1.Smb.RemoveSmbGlobalMapping:input_type -> v1beta1.RemoveSmbGlobalMappingRequest + 1, // 2: v1beta1.Smb.NewSmbGlobalMapping:output_type -> v1beta1.NewSmbGlobalMappingResponse + 3, // 3: v1beta1.Smb.RemoveSmbGlobalMapping:output_type -> v1beta1.RemoveSmbGlobalMappingResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewSmbGlobalMappingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // SmbClient is the client API for Smb service. // @@ -282,10 +435,10 @@ type SmbClient interface { } type smbClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSmbClient(cc *grpc.ClientConn) SmbClient { +func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { return &smbClient{cc} } @@ -319,10 +472,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto index 8a2b515a..2e0a4d6a 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1beta1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1"; + service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.pb.go similarity index 66% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.pb.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.pb.go index 96f8ce74..ce2f6b07 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto -package v1 +package v1beta2 import ( context "context" @@ -50,7 +50,7 @@ type NewSmbGlobalMappingRequest struct { func (x *NewSmbGlobalMappingRequest) Reset() { *x = NewSmbGlobalMappingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -63,7 +63,7 @@ func (x *NewSmbGlobalMappingRequest) String() string { func (*NewSmbGlobalMappingRequest) ProtoMessage() {} func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -76,7 +76,7 @@ func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{0} } func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { @@ -120,7 +120,7 @@ type NewSmbGlobalMappingResponse struct { func (x *NewSmbGlobalMappingResponse) Reset() { *x = NewSmbGlobalMappingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -133,7 +133,7 @@ func (x *NewSmbGlobalMappingResponse) String() string { func (*NewSmbGlobalMappingResponse) ProtoMessage() {} func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -146,7 +146,7 @@ func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{1} } func (x *NewSmbGlobalMappingResponse) GetError() string { @@ -176,7 +176,7 @@ type RemoveSmbGlobalMappingRequest struct { func (x *RemoveSmbGlobalMappingRequest) Reset() { *x = RemoveSmbGlobalMappingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -189,7 +189,7 @@ func (x *RemoveSmbGlobalMappingRequest) String() string { func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -202,7 +202,7 @@ func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{2} } func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { @@ -225,7 +225,7 @@ type RemoveSmbGlobalMappingResponse struct { func (x *RemoveSmbGlobalMappingResponse) Reset() { *x = RemoveSmbGlobalMappingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -238,7 +238,7 @@ func (x *RemoveSmbGlobalMappingResponse) String() string { func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -251,7 +251,7 @@ func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP(), []int{3} } func (x *RemoveSmbGlobalMappingResponse) GetError() string { @@ -261,77 +261,79 @@ func (x *RemoveSmbGlobalMappingResponse) GetError() string { return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, - 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x22, + 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xc2, 0x01, 0x0a, 0x03, - 0x53, 0x6d, 0x62, 0x12, 0x58, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, - 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, - 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, - 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, - 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, + 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, + 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4e, + 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x32, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDescData + return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDescData } -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1.RemoveSmbGlobalMappingResponse +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes = []interface{}{ + (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta2.NewSmbGlobalMappingRequest + (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta2.NewSmbGlobalMappingResponse + (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta2.RemoveSmbGlobalMappingRequest + (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta2.RemoveSmbGlobalMappingResponse } -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.Smb.NewSmbGlobalMapping:input_type -> v1.NewSmbGlobalMappingRequest - 2, // 1: v1.Smb.RemoveSmbGlobalMapping:input_type -> v1.RemoveSmbGlobalMappingRequest - 1, // 2: v1.Smb.NewSmbGlobalMapping:output_type -> v1.NewSmbGlobalMappingResponse - 3, // 3: v1.Smb.RemoveSmbGlobalMapping:output_type -> v1.RemoveSmbGlobalMappingResponse +var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.Smb.NewSmbGlobalMapping:input_type -> v1beta2.NewSmbGlobalMappingRequest + 2, // 1: v1beta2.Smb.RemoveSmbGlobalMapping:input_type -> v1beta2.RemoveSmbGlobalMappingRequest + 1, // 2: v1beta2.Smb.NewSmbGlobalMapping:output_type -> v1beta2.NewSmbGlobalMappingResponse + 3, // 3: v1beta2.Smb.RemoveSmbGlobalMapping:output_type -> v1beta2.RemoveSmbGlobalMappingResponse 2, // [2:4] is the sub-list for method output_type 0, // [0:2] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -339,13 +341,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs 0, // [0:0] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSmbGlobalMappingRequest); i { case 0: return &v.state @@ -357,7 +359,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NewSmbGlobalMappingResponse); i { case 0: return &v.state @@ -369,7 +371,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSmbGlobalMappingRequest); i { case 0: return &v.state @@ -381,7 +383,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSmbGlobalMappingResponse); i { case 0: return &v.state @@ -398,20 +400,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_init() out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -442,7 +444,7 @@ func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { func (c *smbClient) NewSmbGlobalMapping(ctx context.Context, in *NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*NewSmbGlobalMappingResponse, error) { out := new(NewSmbGlobalMappingResponse) - err := c.cc.Invoke(ctx, "/v1.Smb/NewSmbGlobalMapping", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Smb/NewSmbGlobalMapping", in, out, opts...) if err != nil { return nil, err } @@ -451,7 +453,7 @@ func (c *smbClient) NewSmbGlobalMapping(ctx context.Context, in *NewSmbGlobalMap func (c *smbClient) RemoveSmbGlobalMapping(ctx context.Context, in *RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*RemoveSmbGlobalMappingResponse, error) { out := new(RemoveSmbGlobalMappingResponse) - err := c.cc.Invoke(ctx, "/v1.Smb/RemoveSmbGlobalMapping", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta2.Smb/RemoveSmbGlobalMapping", in, out, opts...) if err != nil { return nil, err } @@ -491,7 +493,7 @@ func _Smb_NewSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Smb/NewSmbGlobalMapping", + FullMethod: "/v1beta2.Smb/NewSmbGlobalMapping", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmbServer).NewSmbGlobalMapping(ctx, req.(*NewSmbGlobalMappingRequest)) @@ -509,7 +511,7 @@ func _Smb_RemoveSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Smb/RemoveSmbGlobalMapping", + FullMethod: "/v1beta2.Smb/RemoveSmbGlobalMapping", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmbServer).RemoveSmbGlobalMapping(ctx, req.(*RemoveSmbGlobalMappingRequest)) @@ -518,7 +520,7 @@ func _Smb_RemoveSmbGlobalMapping_Handler(srv interface{}, ctx context.Context, d } var _Smb_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Smb", + ServiceName: "v1beta2.Smb", HandlerType: (*SmbServer)(nil), Methods: []grpc.MethodDesc{ { @@ -531,5 +533,5 @@ var _Smb_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto similarity index 98% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto index dec25612..b30e69bf 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta2; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2"; service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go index 6204cf55..bb828fd3 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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) +) // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_status#members type ServiceStatus int32 @@ -38,34 +38,55 @@ const ( ServiceStatus_PAUSED ServiceStatus = 7 ) -var ServiceStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "STOPPED", - 2: "START_PENDING", - 3: "STOP_PENDING", - 4: "RUNNING", - 5: "CONTINUE_PENDING", - 6: "PAUSE_PENDING", - 7: "PAUSED", -} +// Enum value maps for ServiceStatus. +var ( + ServiceStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "STOPPED", + 2: "START_PENDING", + 3: "STOP_PENDING", + 4: "RUNNING", + 5: "CONTINUE_PENDING", + 6: "PAUSE_PENDING", + 7: "PAUSED", + } + ServiceStatus_value = map[string]int32{ + "UNKNOWN": 0, + "STOPPED": 1, + "START_PENDING": 2, + "STOP_PENDING": 3, + "RUNNING": 4, + "CONTINUE_PENDING": 5, + "PAUSE_PENDING": 6, + "PAUSED": 7, + } +) -var ServiceStatus_value = map[string]int32{ - "UNKNOWN": 0, - "STOPPED": 1, - "START_PENDING": 2, - "STOP_PENDING": 3, - "RUNNING": 4, - "CONTINUE_PENDING": 5, - "PAUSE_PENDING": 6, - "PAUSED": 7, +func (x ServiceStatus) Enum() *ServiceStatus { + p := new(ServiceStatus) + *p = x + return p } func (x ServiceStatus) String() string { - return proto.EnumName(ServiceStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0].Descriptor() +} + +func (ServiceStatus) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0] +} + +func (x ServiceStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ServiceStatus.Descriptor instead. func (ServiceStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} } // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-changeserviceconfiga @@ -79,293 +100,371 @@ const ( StartType_DISABLED StartType = 4 ) -var StartType_name = map[int32]string{ - 0: "BOOT", - 1: "SYSTEM", - 2: "AUTOMATIC", - 3: "MANUAL", - 4: "DISABLED", -} +// Enum value maps for StartType. +var ( + StartType_name = map[int32]string{ + 0: "BOOT", + 1: "SYSTEM", + 2: "AUTOMATIC", + 3: "MANUAL", + 4: "DISABLED", + } + StartType_value = map[string]int32{ + "BOOT": 0, + "SYSTEM": 1, + "AUTOMATIC": 2, + "MANUAL": 3, + "DISABLED": 4, + } +) -var StartType_value = map[string]int32{ - "BOOT": 0, - "SYSTEM": 1, - "AUTOMATIC": 2, - "MANUAL": 3, - "DISABLED": 4, +func (x StartType) Enum() *StartType { + p := new(StartType) + *p = x + return p } func (x StartType) String() string { - return proto.EnumName(StartType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (StartType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{1} +func (StartType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1].Descriptor() } -type GetBIOSSerialNumberRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (StartType) Type() protoreflect.EnumType { + return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1] } -func (m *GetBIOSSerialNumberRequest) Reset() { *m = GetBIOSSerialNumberRequest{} } -func (m *GetBIOSSerialNumberRequest) String() string { return proto.CompactTextString(m) } -func (*GetBIOSSerialNumberRequest) ProtoMessage() {} -func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{0} +func (x StartType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *GetBIOSSerialNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Unmarshal(m, b) +// Deprecated: Use StartType.Descriptor instead. +func (StartType) EnumDescriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} } -func (m *GetBIOSSerialNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Marshal(b, m, deterministic) + +type GetBIOSSerialNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetBIOSSerialNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBIOSSerialNumberRequest.Merge(m, src) + +func (x *GetBIOSSerialNumberRequest) Reset() { + *x = GetBIOSSerialNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBIOSSerialNumberRequest) XXX_Size() int { - return xxx_messageInfo_GetBIOSSerialNumberRequest.Size(m) + +func (x *GetBIOSSerialNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBIOSSerialNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBIOSSerialNumberRequest.DiscardUnknown(m) + +func (*GetBIOSSerialNumberRequest) ProtoMessage() {} + +func (x *GetBIOSSerialNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_GetBIOSSerialNumberRequest proto.InternalMessageInfo +// Deprecated: Use GetBIOSSerialNumberRequest.ProtoReflect.Descriptor instead. +func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} type GetBIOSSerialNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Serial number - SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` } -func (m *GetBIOSSerialNumberResponse) Reset() { *m = GetBIOSSerialNumberResponse{} } -func (m *GetBIOSSerialNumberResponse) String() string { return proto.CompactTextString(m) } -func (*GetBIOSSerialNumberResponse) ProtoMessage() {} -func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{1} +func (x *GetBIOSSerialNumberResponse) Reset() { + *x = GetBIOSSerialNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBIOSSerialNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Unmarshal(m, b) -} -func (m *GetBIOSSerialNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Marshal(b, m, deterministic) +func (x *GetBIOSSerialNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBIOSSerialNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBIOSSerialNumberResponse.Merge(m, src) -} -func (m *GetBIOSSerialNumberResponse) XXX_Size() int { - return xxx_messageInfo_GetBIOSSerialNumberResponse.Size(m) -} -func (m *GetBIOSSerialNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBIOSSerialNumberResponse.DiscardUnknown(m) + +func (*GetBIOSSerialNumberResponse) ProtoMessage() {} + +func (x *GetBIOSSerialNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_GetBIOSSerialNumberResponse proto.InternalMessageInfo +// Deprecated: Use GetBIOSSerialNumberResponse.ProtoReflect.Descriptor instead. +func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *GetBIOSSerialNumberResponse) GetSerialNumber() string { - if m != nil { - return m.SerialNumber +func (x *GetBIOSSerialNumberResponse) GetSerialNumber() string { + if x != nil { + return x.SerialNumber } return "" } type StartServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *StartServiceRequest) Reset() { *m = StartServiceRequest{} } -func (m *StartServiceRequest) String() string { return proto.CompactTextString(m) } -func (*StartServiceRequest) ProtoMessage() {} -func (*StartServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{2} +func (x *StartServiceRequest) Reset() { + *x = StartServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartServiceRequest.Unmarshal(m, b) -} -func (m *StartServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartServiceRequest.Marshal(b, m, deterministic) -} -func (m *StartServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartServiceRequest.Merge(m, src) -} -func (m *StartServiceRequest) XXX_Size() int { - return xxx_messageInfo_StartServiceRequest.Size(m) +func (x *StartServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartServiceRequest.DiscardUnknown(m) + +func (*StartServiceRequest) ProtoMessage() {} + +func (x *StartServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) } -var xxx_messageInfo_StartServiceRequest proto.InternalMessageInfo +// Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead. +func (*StartServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *StartServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *StartServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type StartServiceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StartServiceResponse) Reset() { *m = StartServiceResponse{} } -func (m *StartServiceResponse) String() string { return proto.CompactTextString(m) } -func (*StartServiceResponse) ProtoMessage() {} -func (*StartServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{3} +func (x *StartServiceResponse) Reset() { + *x = StartServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartServiceResponse.Unmarshal(m, b) +func (x *StartServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartServiceResponse.Marshal(b, m, deterministic) -} -func (m *StartServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartServiceResponse.Merge(m, src) -} -func (m *StartServiceResponse) XXX_Size() int { - return xxx_messageInfo_StartServiceResponse.Size(m) -} -func (m *StartServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartServiceResponse.DiscardUnknown(m) + +func (*StartServiceResponse) ProtoMessage() {} + +func (x *StartServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StartServiceResponse proto.InternalMessageInfo +// Deprecated: Use StartServiceResponse.ProtoReflect.Descriptor instead. +func (*StartServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} type StopServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Forces stopping of services that has dependant services - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` } -func (m *StopServiceRequest) Reset() { *m = StopServiceRequest{} } -func (m *StopServiceRequest) String() string { return proto.CompactTextString(m) } -func (*StopServiceRequest) ProtoMessage() {} -func (*StopServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{4} +func (x *StopServiceRequest) Reset() { + *x = StopServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopServiceRequest.Unmarshal(m, b) -} -func (m *StopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopServiceRequest.Marshal(b, m, deterministic) +func (x *StopServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopServiceRequest.Merge(m, src) -} -func (m *StopServiceRequest) XXX_Size() int { - return xxx_messageInfo_StopServiceRequest.Size(m) -} -func (m *StopServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopServiceRequest.DiscardUnknown(m) + +func (*StopServiceRequest) ProtoMessage() {} + +func (x *StopServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StopServiceRequest proto.InternalMessageInfo +// Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead. +func (*StopServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *StopServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *StopServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *StopServiceRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *StopServiceRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type StopServiceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StopServiceResponse) Reset() { *m = StopServiceResponse{} } -func (m *StopServiceResponse) String() string { return proto.CompactTextString(m) } -func (*StopServiceResponse) ProtoMessage() {} -func (*StopServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{5} +func (x *StopServiceResponse) Reset() { + *x = StopServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopServiceResponse.Unmarshal(m, b) -} -func (m *StopServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopServiceResponse.Marshal(b, m, deterministic) +func (x *StopServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopServiceResponse.Merge(m, src) -} -func (m *StopServiceResponse) XXX_Size() int { - return xxx_messageInfo_StopServiceResponse.Size(m) -} -func (m *StopServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StopServiceResponse.DiscardUnknown(m) + +func (*StopServiceResponse) ProtoMessage() {} + +func (x *StopServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StopServiceResponse proto.InternalMessageInfo +// Deprecated: Use StopServiceResponse.ProtoReflect.Descriptor instead. +func (*StopServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} type GetServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } -func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceRequest) ProtoMessage() {} -func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{6} +func (x *GetServiceRequest) Reset() { + *x = GetServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) -} -func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceRequest.Merge(m, src) -} -func (m *GetServiceRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceRequest.Size(m) +func (x *GetServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) + +func (*GetServiceRequest) ProtoMessage() {} + +func (x *GetServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo +// Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead. +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *GetServiceRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetServiceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type GetServiceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Service display name DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Service start type. @@ -373,112 +472,307 @@ type GetServiceResponse struct { // boot phase. StartType StartType `protobuf:"varint,2,opt,name=start_type,json=startType,proto3,enum=v1alpha1.StartType" json:"start_type,omitempty"` // Service status, e.g. stopped, running, paused - Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` } -func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } -func (m *GetServiceResponse) String() string { return proto.CompactTextString(m) } -func (*GetServiceResponse) ProtoMessage() {} -func (*GetServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4066a9d4a9264c6f, []int{7} +func (x *GetServiceResponse) Reset() { + *x = GetServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceResponse.Unmarshal(m, b) -} -func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) -} -func (m *GetServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceResponse.Merge(m, src) -} -func (m *GetServiceResponse) XXX_Size() int { - return xxx_messageInfo_GetServiceResponse.Size(m) +func (x *GetServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) + +func (*GetServiceResponse) ProtoMessage() {} + +func (x *GetServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead. +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *GetServiceResponse) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *GetServiceResponse) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *GetServiceResponse) GetStartType() StartType { - if m != nil { - return m.StartType +func (x *GetServiceResponse) GetStartType() StartType { + if x != nil { + return x.StartType } return StartType_BOOT } -func (m *GetServiceResponse) GetStatus() ServiceStatus { - if m != nil { - return m.Status +func (x *GetServiceResponse) GetStatus() ServiceStatus { + if x != nil { + return x.Status } return ServiceStatus_UNKNOWN } -func init() { - proto.RegisterEnum("v1alpha1.ServiceStatus", ServiceStatus_name, ServiceStatus_value) - proto.RegisterEnum("v1alpha1.StartType", StartType_name, StartType_value) - proto.RegisterType((*GetBIOSSerialNumberRequest)(nil), "v1alpha1.GetBIOSSerialNumberRequest") - proto.RegisterType((*GetBIOSSerialNumberResponse)(nil), "v1alpha1.GetBIOSSerialNumberResponse") - proto.RegisterType((*StartServiceRequest)(nil), "v1alpha1.StartServiceRequest") - proto.RegisterType((*StartServiceResponse)(nil), "v1alpha1.StartServiceResponse") - proto.RegisterType((*StopServiceRequest)(nil), "v1alpha1.StopServiceRequest") - proto.RegisterType((*StopServiceResponse)(nil), "v1alpha1.StopServiceResponse") - proto.RegisterType((*GetServiceRequest)(nil), "v1alpha1.GetServiceRequest") - proto.RegisterType((*GetServiceResponse)(nil), "v1alpha1.GetServiceResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto", fileDescriptor_4066a9d4a9264c6f) -} - -var fileDescriptor_4066a9d4a9264c6f = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x61, 0x6f, 0xd2, 0x40, - 0x18, 0x5e, 0x81, 0x31, 0x78, 0x01, 0xd3, 0x1d, 0xa8, 0x84, 0x31, 0x33, 0xab, 0xc6, 0xb9, 0x64, - 0x34, 0xc3, 0xef, 0x8b, 0x65, 0x10, 0xac, 0xc2, 0x95, 0xf4, 0xda, 0x18, 0xfd, 0x42, 0x4a, 0x77, - 0xba, 0x46, 0xa0, 0xb5, 0x77, 0x2c, 0xf2, 0x2f, 0xfc, 0x01, 0xfe, 0x30, 0x7f, 0x8e, 0xb9, 0x52, - 0xa0, 0x10, 0xc8, 0x4c, 0xfc, 0x76, 0xef, 0xf3, 0x3c, 0xef, 0xd3, 0xf7, 0xbd, 0x3e, 0x39, 0x78, - 0xff, 0xcd, 0xe3, 0x77, 0xb3, 0x51, 0xc3, 0xf5, 0x27, 0xea, 0xf7, 0xd9, 0x88, 0x86, 0x53, 0xca, - 0x29, 0xbb, 0x74, 0x99, 0xa7, 0xba, 0xcc, 0xbb, 0x0c, 0x42, 0xff, 0xe7, 0x5c, 0x75, 0xc7, 0x1e, - 0x9d, 0x72, 0xd5, 0x09, 0x3c, 0x95, 0xcd, 0x19, 0xa7, 0x13, 0xf5, 0xfe, 0xca, 0x19, 0x07, 0x77, - 0xce, 0x95, 0xc0, 0x1a, 0x41, 0xe8, 0x73, 0x1f, 0xe5, 0x96, 0x98, 0x52, 0x87, 0x5a, 0x97, 0xf2, - 0x96, 0x6e, 0x10, 0x42, 0x43, 0xcf, 0x19, 0xe3, 0xd9, 0x64, 0x44, 0x43, 0x93, 0xfe, 0x98, 0x51, - 0xc6, 0x95, 0x16, 0x9c, 0xec, 0x64, 0x59, 0xe0, 0x4f, 0x19, 0x45, 0x2f, 0xa0, 0xc4, 0x22, 0x7c, - 0x38, 0x8d, 0x88, 0xaa, 0x74, 0x26, 0x9d, 0xe7, 0xcd, 0x22, 0x4b, 0x88, 0x95, 0x37, 0x50, 0x26, - 0xdc, 0x09, 0x39, 0xa1, 0xe1, 0xbd, 0xe7, 0xd2, 0xd8, 0x1a, 0x21, 0xc8, 0x4c, 0x9d, 0x09, 0x8d, - 0x5b, 0xa2, 0xb3, 0xf2, 0x04, 0x2a, 0x9b, 0xd2, 0xc5, 0x77, 0x94, 0x6b, 0x40, 0x84, 0xfb, 0xc1, - 0xc3, 0x0e, 0xa8, 0x02, 0x87, 0x5f, 0xfd, 0xd0, 0xa5, 0xd5, 0xd4, 0x99, 0x74, 0x9e, 0x33, 0x17, - 0x85, 0xf2, 0x58, 0x8c, 0x90, 0xe8, 0x8f, 0x6d, 0x5f, 0xc3, 0x71, 0x97, 0xfe, 0xcb, 0x5c, 0xbf, - 0x25, 0x40, 0x49, 0x65, 0xbc, 0xfe, 0x73, 0x28, 0xde, 0x7a, 0x2c, 0x18, 0x3b, 0xf3, 0x61, 0xa2, - 0xa5, 0x10, 0x63, 0x58, 0xcc, 0xd3, 0x04, 0x60, 0x62, 0xa3, 0x21, 0x9f, 0x07, 0x8b, 0xa1, 0x1e, - 0x35, 0xcb, 0x8d, 0xe5, 0xed, 0x37, 0xa2, 0x6d, 0xad, 0x79, 0x40, 0xcd, 0x3c, 0x5b, 0x1e, 0x91, - 0x0a, 0x59, 0xc6, 0x1d, 0x3e, 0x63, 0xd5, 0x74, 0xa4, 0x7f, 0x9a, 0xd0, 0x2f, 0x26, 0x20, 0x11, - 0x6d, 0xc6, 0xb2, 0x8b, 0x5f, 0x12, 0x94, 0x36, 0x18, 0x54, 0x80, 0x23, 0x1b, 0x7f, 0xc4, 0xc6, - 0x27, 0x2c, 0x1f, 0x88, 0x82, 0x58, 0xc6, 0x60, 0xd0, 0x69, 0xcb, 0x12, 0x3a, 0x86, 0x12, 0xb1, - 0x34, 0xd3, 0x1a, 0x0e, 0x3a, 0xb8, 0xad, 0xe3, 0xae, 0x9c, 0x42, 0x32, 0x14, 0x05, 0xbf, 0x42, - 0xd2, 0xa2, 0xc3, 0xb4, 0x31, 0x16, 0x45, 0x06, 0x55, 0x40, 0xbe, 0x31, 0xb0, 0xa5, 0x63, 0xbb, - 0xb3, 0x92, 0x1c, 0x0a, 0x9f, 0x81, 0x66, 0x93, 0x35, 0x94, 0x45, 0x00, 0xd9, 0x08, 0x6a, 0xcb, - 0x47, 0x17, 0x1f, 0x20, 0xbf, 0xda, 0x0d, 0xe5, 0x20, 0xd3, 0x32, 0x0c, 0x4b, 0x3e, 0x10, 0x12, - 0xf2, 0x99, 0x58, 0x9d, 0xbe, 0x2c, 0xa1, 0x12, 0xe4, 0x35, 0xdb, 0x32, 0xfa, 0x9a, 0xa5, 0xdf, - 0xc8, 0x29, 0x41, 0xf5, 0x35, 0x6c, 0x6b, 0x3d, 0x39, 0x8d, 0x8a, 0x90, 0x6b, 0xeb, 0x44, 0x6b, - 0xf5, 0x3a, 0x6d, 0x39, 0xd3, 0xfc, 0x93, 0x82, 0x2c, 0x89, 0xa2, 0x8c, 0x6e, 0xa1, 0xbc, 0x23, - 0x8f, 0xe8, 0xe5, 0xfa, 0x86, 0xf6, 0x87, 0xb9, 0xf6, 0xea, 0x01, 0x55, 0x9c, 0x8a, 0x03, 0x64, - 0x40, 0x31, 0x19, 0x43, 0x74, 0xba, 0xf5, 0xc3, 0x36, 0x13, 0x53, 0x7b, 0xb6, 0x8f, 0x5e, 0x19, - 0xf6, 0xa0, 0x90, 0xc8, 0x1f, 0xaa, 0x27, 0x1b, 0xb6, 0x63, 0x5d, 0x3b, 0xdd, 0xc3, 0xae, 0xdc, - 0x74, 0x80, 0x75, 0x18, 0xd1, 0xc9, 0xc6, 0x56, 0x5b, 0x5e, 0xf5, 0xdd, 0xe4, 0xd2, 0xaa, 0xf5, - 0xee, 0xcb, 0xf5, 0xff, 0xbd, 0x29, 0xa3, 0x6c, 0xf4, 0xa0, 0xbc, 0xfd, 0x1b, 0x00, 0x00, 0xff, - 0xff, 0x4d, 0x70, 0x16, 0x4a, 0x9c, 0x04, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x42, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x12, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x90, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x45, + 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x4f, 0x50, 0x5f, + 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, + 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, + 0x55, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, + 0x50, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, + 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x07, 0x2a, 0x4a, 0x0a, 0x09, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x54, + 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, + 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, + 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x32, 0xd8, 0x02, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, + 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, + 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = []interface{}{ + (ServiceStatus)(0), // 0: v1alpha1.ServiceStatus + (StartType)(0), // 1: v1alpha1.StartType + (*GetBIOSSerialNumberRequest)(nil), // 2: v1alpha1.GetBIOSSerialNumberRequest + (*GetBIOSSerialNumberResponse)(nil), // 3: v1alpha1.GetBIOSSerialNumberResponse + (*StartServiceRequest)(nil), // 4: v1alpha1.StartServiceRequest + (*StartServiceResponse)(nil), // 5: v1alpha1.StartServiceResponse + (*StopServiceRequest)(nil), // 6: v1alpha1.StopServiceRequest + (*StopServiceResponse)(nil), // 7: v1alpha1.StopServiceResponse + (*GetServiceRequest)(nil), // 8: v1alpha1.GetServiceRequest + (*GetServiceResponse)(nil), // 9: v1alpha1.GetServiceResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = []int32{ + 1, // 0: v1alpha1.GetServiceResponse.start_type:type_name -> v1alpha1.StartType + 0, // 1: v1alpha1.GetServiceResponse.status:type_name -> v1alpha1.ServiceStatus + 2, // 2: v1alpha1.System.GetBIOSSerialNumber:input_type -> v1alpha1.GetBIOSSerialNumberRequest + 4, // 3: v1alpha1.System.StartService:input_type -> v1alpha1.StartServiceRequest + 6, // 4: v1alpha1.System.StopService:input_type -> v1alpha1.StopServiceRequest + 8, // 5: v1alpha1.System.GetService:input_type -> v1alpha1.GetServiceRequest + 3, // 6: v1alpha1.System.GetBIOSSerialNumber:output_type -> v1alpha1.GetBIOSSerialNumberResponse + 5, // 7: v1alpha1.System.StartService:output_type -> v1alpha1.StartServiceResponse + 7, // 8: v1alpha1.System.StopService:output_type -> v1alpha1.StopServiceResponse + 9, // 9: v1alpha1.System.GetService:output_type -> v1alpha1.GetServiceResponse + 6, // [6:10] is the sub-list for method output_type + 2, // [2:6] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBIOSSerialNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBIOSSerialNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc, + NumEnums: 2, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs, + EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -571,16 +865,16 @@ type SystemServer interface { type UnimplementedSystemServer struct { } -func (*UnimplementedSystemServer) GetBIOSSerialNumber(ctx context.Context, req *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { +func (*UnimplementedSystemServer) GetBIOSSerialNumber(context.Context, *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBIOSSerialNumber not implemented") } -func (*UnimplementedSystemServer) StartService(ctx context.Context, req *StartServiceRequest) (*StartServiceResponse, error) { +func (*UnimplementedSystemServer) StartService(context.Context, *StartServiceRequest) (*StartServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StartService not implemented") } -func (*UnimplementedSystemServer) StopService(ctx context.Context, req *StopServiceRequest) (*StopServiceResponse, error) { +func (*UnimplementedSystemServer) StopService(context.Context, *StopServiceRequest) (*StopServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopService not implemented") } -func (*UnimplementedSystemServer) GetService(ctx context.Context, req *GetServiceRequest) (*GetServiceResponse, error) { +func (*UnimplementedSystemServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go index c756e4ef..d3a5834f 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go @@ -1,548 +1,894 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto package v1alpha1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) -} -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) -} -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) -} -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) -} -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) -} -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) -} -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) -} -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) -} -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) -} -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) -} -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) -} -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) -} -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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 ResizeVolumeResponse.ProtoReflect.Descriptor instead. func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f4ca3596f93fa877, []int{11} -} - -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) -} -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1alpha1.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1alpha1.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1alpha1.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1alpha1.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1alpha1.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1alpha1.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1alpha1.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1alpha1.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1alpha1.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1alpha1.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1alpha1.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1alpha1.ResizeVolumeResponse") -} - -func init() { - proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto", fileDescriptor_f4ca3596f93fa877) -} - -var fileDescriptor_f4ca3596f93fa877 = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x5f, 0xef, 0xd2, 0x30, - 0x14, 0x05, 0x21, 0xc8, 0xae, 0xc6, 0x84, 0x22, 0x38, 0x26, 0x28, 0xa9, 0x2f, 0xbc, 0xb0, 0x05, - 0x78, 0x30, 0xfa, 0x8c, 0x04, 0x12, 0x0c, 0xc9, 0x12, 0x7d, 0x84, 0x8c, 0xad, 0x4a, 0x03, 0x5b, - 0xe7, 0xda, 0x11, 0xf5, 0x4b, 0xf8, 0x95, 0xcd, 0xfe, 0x41, 0x27, 0x9b, 0xe1, 0x97, 0xfc, 0xde, - 0xba, 0xd3, 0x7b, 0xce, 0xd9, 0xbd, 0xf7, 0xa4, 0xb0, 0xfc, 0x4e, 0xc5, 0x21, 0xdc, 0xeb, 0x36, - 0x73, 0x8d, 0x63, 0xb8, 0x27, 0x81, 0x47, 0x04, 0xe1, 0x63, 0x9b, 0x53, 0xc3, 0xe6, 0x74, 0xec, - 0x07, 0xec, 0xe7, 0x2f, 0xc3, 0x3e, 0x51, 0xe2, 0x09, 0xc3, 0xf2, 0xa9, 0x71, 0x66, 0xa7, 0xd0, - 0x25, 0xc6, 0x79, 0x62, 0x9d, 0xfc, 0x83, 0x35, 0x89, 0x30, 0xdd, 0x0f, 0x98, 0x60, 0xa8, 0x99, - 0x61, 0x78, 0x06, 0xea, 0x9a, 0x72, 0xf1, 0x35, 0x2e, 0xe5, 0x1b, 0x6f, 0x4e, 0xf9, 0xd1, 0x24, - 0x3f, 0x42, 0xc2, 0x05, 0x7a, 0x05, 0x4f, 0x1d, 0xca, 0x8f, 0x3b, 0xea, 0xa8, 0xd5, 0x61, 0x75, - 0xa4, 0x98, 0x8d, 0xe8, 0x73, 0xe5, 0xe0, 0x8f, 0xd0, 0x2b, 0x20, 0x71, 0x9f, 0x79, 0x9c, 0xa0, - 0x01, 0x40, 0x62, 0xbc, 0xa3, 0x0e, 0x57, 0xab, 0xc3, 0xda, 0x48, 0x31, 0x95, 0x04, 0x59, 0x39, - 0x1c, 0x7f, 0x02, 0xf4, 0x99, 0x85, 0x5e, 0x4a, 0xce, 0xac, 0x5e, 0x83, 0x72, 0x21, 0xa5, 0x66, - 0xcd, 0x8c, 0x83, 0x10, 0xd4, 0x7d, 0x4b, 0x1c, 0xd4, 0x27, 0x31, 0x1e, 0x9f, 0x71, 0x07, 0xda, - 0x39, 0x99, 0xc4, 0x1c, 0x2f, 0xa1, 0x33, 0xa7, 0xdc, 0x7d, 0x04, 0x03, 0x15, 0xba, 0xff, 0x2a, - 0xa5, 0x1e, 0xef, 0x41, 0x5d, 0xf1, 0x04, 0x5b, 0xb0, 0xc0, 0xb5, 0x84, 0x20, 0xce, 0x3d, 0x36, - 0xf8, 0x03, 0xf4, 0x0a, 0x88, 0xe9, 0xd8, 0xfa, 0xa0, 0x7c, 0xcb, 0xc0, 0x98, 0xd9, 0x34, 0xaf, - 0x00, 0x9e, 0x42, 0x3b, 0xa1, 0xdc, 0xdf, 0x15, 0xee, 0xc2, 0xcb, 0x3c, 0x27, 0xfd, 0xff, 0x05, - 0xb4, 0x4d, 0xc2, 0xe9, 0x6f, 0xf2, 0xb0, 0x09, 0x45, 0x8c, 0x78, 0x42, 0x35, 0x33, 0x3e, 0x47, - 0xfa, 0x79, 0x9d, 0x44, 0x7f, 0xfa, 0xa7, 0x0e, 0x8d, 0x04, 0x42, 0x5b, 0x68, 0xdd, 0x04, 0x05, - 0x61, 0x3d, 0x4b, 0x9f, 0x5e, 0x16, 0x3d, 0xed, 0xdd, 0x7f, 0x6b, 0xd2, 0x46, 0x2a, 0x68, 0x0d, - 0xcf, 0xa4, 0x14, 0xa0, 0xfe, 0x95, 0x75, 0x9b, 0x31, 0x6d, 0x50, 0x72, 0x7b, 0x51, 0xfb, 0x02, - 0x2f, 0xf2, 0x2b, 0x47, 0x6f, 0xaf, 0x94, 0xc2, 0x58, 0x69, 0xc3, 0xf2, 0x82, 0x8b, 0xec, 0x16, - 0x5a, 0x37, 0x6b, 0x97, 0x87, 0x50, 0x16, 0x26, 0x79, 0x08, 0xa5, 0xb9, 0xc1, 0x15, 0xb4, 0x81, - 0xe7, 0xf2, 0x9e, 0x91, 0xd4, 0x67, 0x41, 0x66, 0xb4, 0x37, 0x65, 0xd7, 0xb2, 0xa0, 0xbc, 0x58, - 0x59, 0xb0, 0x20, 0x38, 0xb2, 0x60, 0x51, 0x1e, 0x70, 0x65, 0xdf, 0x88, 0x5f, 0x9d, 0xd9, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x8e, 0xe9, 0xb0, 0xc1, 0x04, 0x00, 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{11} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, + 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, + 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, + 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8f, 0x04, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, + 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x55, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, + 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x22, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, + 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, + 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1alpha1.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1alpha1.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1alpha1.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1alpha1.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1alpha1.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1alpha1.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1alpha1.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1alpha1.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1alpha1.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1alpha1.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1alpha1.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1alpha1.ResizeVolumeResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = []int32{ + 0, // 0: v1alpha1.Volume.ListVolumesOnDisk:input_type -> v1alpha1.ListVolumesOnDiskRequest + 2, // 1: v1alpha1.Volume.MountVolume:input_type -> v1alpha1.MountVolumeRequest + 4, // 2: v1alpha1.Volume.DismountVolume:input_type -> v1alpha1.DismountVolumeRequest + 6, // 3: v1alpha1.Volume.IsVolumeFormatted:input_type -> v1alpha1.IsVolumeFormattedRequest + 8, // 4: v1alpha1.Volume.FormatVolume:input_type -> v1alpha1.FormatVolumeRequest + 10, // 5: v1alpha1.Volume.ResizeVolume:input_type -> v1alpha1.ResizeVolumeRequest + 1, // 6: v1alpha1.Volume.ListVolumesOnDisk:output_type -> v1alpha1.ListVolumesOnDiskResponse + 3, // 7: v1alpha1.Volume.MountVolume:output_type -> v1alpha1.MountVolumeResponse + 5, // 8: v1alpha1.Volume.DismountVolume:output_type -> v1alpha1.DismountVolumeResponse + 7, // 9: v1alpha1.Volume.IsVolumeFormatted:output_type -> v1alpha1.IsVolumeFormattedResponse + 9, // 10: v1alpha1.Volume.FormatVolume:output_type -> v1alpha1.FormatVolumeResponse + 11, // 11: v1alpha1.Volume.ResizeVolume:output_type -> v1alpha1.ResizeVolumeResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -655,22 +1001,22 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto index 5037859e..d3e74dc6 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package v1alpha1; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1"; + service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for // all volumes on a Disk device @@ -66,4 +68,4 @@ message ResizeVolumeRequest { } message ResizeVolumeResponse { // Intentionally empty -} \ No newline at end of file +} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go index 3213b4b5..c5a10257 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go @@ -1,820 +1,1323 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: volume/v1beta1/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto package v1beta1 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) -} -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) -} -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) -} -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) -} -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) -} -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) -} -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) -} -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) -} -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) -} -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) -} -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) -} -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) -} -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) -} -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) -} -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{11} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) -} -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{11} +} type VolumeStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } -func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsRequest) ProtoMessage() {} -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{12} +func (x *VolumeStatsRequest) Reset() { + *x = VolumeStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) -} -func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) -} -func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +func (x *VolumeStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsRequest) XXX_Size() int { - return xxx_messageInfo_VolumeStatsRequest.Size(m) -} -func (m *VolumeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) + +func (*VolumeStatsRequest) ProtoMessage() {} + +func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) } -var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo +// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{12} +} -func (m *VolumeStatsRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeStatsRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` } -func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } -func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsResponse) ProtoMessage() {} -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{13} +func (x *VolumeStatsResponse) Reset() { + *x = VolumeStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) -} -func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) +func (x *VolumeStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsResponse.Merge(m, src) -} -func (m *VolumeStatsResponse) XXX_Size() int { - return xxx_messageInfo_VolumeStatsResponse.Size(m) -} -func (m *VolumeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) + +func (*VolumeStatsResponse) ProtoMessage() {} + +func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo +// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{13} +} -func (m *VolumeStatsResponse) GetVolumeSize() int64 { - if m != nil { - return m.VolumeSize +func (x *VolumeStatsResponse) GetVolumeSize() int64 { + if x != nil { + return x.VolumeSize } return 0 } -func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if m != nil { - return m.VolumeUsedSize +func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if x != nil { + return x.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } -func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberRequest) ProtoMessage() {} -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{14} +func (x *VolumeDiskNumberRequest) Reset() { + *x = VolumeDiskNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) -} -func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) +func (x *VolumeDiskNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberRequest) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) -} -func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) + +func (*VolumeDiskNumberRequest) ProtoMessage() {} + +func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{14} +} -func (m *VolumeDiskNumberRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeDiskNumberRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeDiskNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` } -func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } -func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberResponse) ProtoMessage() {} -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{15} +func (x *VolumeDiskNumberResponse) Reset() { + *x = VolumeDiskNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) -} -func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) +func (x *VolumeDiskNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) -} -func (m *VolumeDiskNumberResponse) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) -} -func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) + +func (*VolumeDiskNumberResponse) ProtoMessage() {} + +func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{15} +} -func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if m != nil { - return m.DiskNumber +func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if x != nil { + return x.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` } -func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } -func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountRequest) ProtoMessage() {} -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{16} +func (x *VolumeIDFromMountRequest) Reset() { + *x = VolumeIDFromMountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) -} -func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) -} -func (m *VolumeIDFromMountRequest) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) +func (x *VolumeIDFromMountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) + +func (*VolumeIDFromMountRequest) ProtoMessage() {} + +func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{16} +} -func (m *VolumeIDFromMountRequest) GetMount() string { - if m != nil { - return m.Mount +func (x *VolumeIDFromMountRequest) GetMount() string { + if x != nil { + return x.Mount } return "" } type VolumeIDFromMountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } -func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountResponse) ProtoMessage() {} -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e25953f9b6119981, []int{17} +func (x *VolumeIDFromMountResponse) Reset() { + *x = VolumeIDFromMountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) +func (x *VolumeIDFromMountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) -} -func (m *VolumeIDFromMountResponse) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) -} -func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) + +func (*VolumeIDFromMountResponse) ProtoMessage() {} + +func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{17} +} -func (m *VolumeIDFromMountResponse) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeIDFromMountResponse) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta1.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta1.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1beta1.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1beta1.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta1.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta1.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta1.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta1.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta1.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta1.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta1.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta1.ResizeVolumeResponse") - proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta1.VolumeStatsRequest") - proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta1.VolumeStatsResponse") - proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta1.VolumeDiskNumberRequest") - proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta1.VolumeDiskNumberResponse") - proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta1.VolumeIDFromMountRequest") - proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta1.VolumeIDFromMountResponse") -} - -func init() { proto.RegisterFile("volume/v1beta1/api.proto", fileDescriptor_e25953f9b6119981) } - -var fileDescriptor_e25953f9b6119981 = []byte{ - // 588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x6f, 0xd3, 0x30, - 0x18, 0x5d, 0x19, 0x74, 0xeb, 0x07, 0x9a, 0x34, 0xb7, 0xdb, 0xd2, 0xee, 0x42, 0xe7, 0x07, 0xb4, - 0x97, 0x35, 0x74, 0x93, 0xb8, 0x4c, 0x42, 0x48, 0xa8, 0x14, 0x8a, 0x18, 0x48, 0xa9, 0xe0, 0x01, - 0x0d, 0x55, 0x6d, 0x63, 0x98, 0xd5, 0xe5, 0x42, 0xec, 0x4c, 0xc0, 0x8f, 0xe0, 0x37, 0xa3, 0xd8, - 0x4e, 0xe2, 0xdc, 0xaa, 0x22, 0xf1, 0x96, 0x1c, 0xfb, 0x9c, 0xf3, 0xd9, 0xdf, 0x77, 0x64, 0x30, - 0x6e, 0xbd, 0x9b, 0xd0, 0x21, 0xe6, 0x6d, 0x7f, 0x46, 0xf8, 0xb4, 0x6f, 0x4e, 0x7d, 0xda, 0xf3, - 0x03, 0x8f, 0x7b, 0x68, 0x43, 0x41, 0xf8, 0x1c, 0x8c, 0xf7, 0x94, 0xf1, 0xcf, 0x62, 0x23, 0xfb, - 0xe8, 0x0e, 0x28, 0x5b, 0x58, 0xe4, 0x47, 0x48, 0x18, 0x47, 0x7b, 0xb0, 0x61, 0x53, 0xb6, 0x98, - 0x50, 0xdb, 0xa8, 0x75, 0x6b, 0x27, 0x0d, 0xab, 0x1e, 0xfd, 0x8e, 0x6c, 0x7c, 0x01, 0xed, 0x12, - 0x12, 0xf3, 0x3d, 0x97, 0x11, 0x74, 0x08, 0x20, 0x6d, 0x27, 0xd4, 0x66, 0x46, 0xad, 0xbb, 0x7e, - 0xd2, 0xb0, 0x1a, 0x12, 0x19, 0xd9, 0x0c, 0xbf, 0x06, 0x74, 0xe9, 0x85, 0xae, 0x22, 0xc7, 0x56, - 0xfb, 0xd0, 0x48, 0x48, 0xca, 0x6c, 0x33, 0xe6, 0x20, 0x04, 0x77, 0xfd, 0x29, 0xbf, 0x36, 0xee, - 0x08, 0x5c, 0x7c, 0xe3, 0x1d, 0x68, 0x66, 0x64, 0xa4, 0x39, 0x7e, 0x0b, 0x3b, 0x03, 0xca, 0x9c, - 0xff, 0x60, 0x60, 0xc0, 0x6e, 0x5e, 0x49, 0x79, 0x3c, 0x05, 0x63, 0xc4, 0x24, 0x36, 0xf4, 0x02, - 0x67, 0xca, 0x39, 0xb1, 0x57, 0xb1, 0xc1, 0xcf, 0xa1, 0x5d, 0x42, 0x54, 0xd7, 0x76, 0x00, 0x8d, - 0x6f, 0x31, 0x28, 0x98, 0x9b, 0x56, 0x0a, 0xe0, 0x33, 0x68, 0x4a, 0xca, 0xea, 0xa7, 0xc2, 0xbb, - 0xd0, 0xca, 0x72, 0x54, 0xfd, 0x43, 0x68, 0x5a, 0x84, 0xd1, 0xdf, 0xe4, 0xdf, 0x6e, 0x28, 0x62, - 0x88, 0x1b, 0x5a, 0xb7, 0xc4, 0x77, 0xa4, 0x9f, 0xd5, 0x51, 0xfa, 0x7d, 0x40, 0x12, 0x19, 0xf3, - 0x29, 0x67, 0x2b, 0x95, 0xfa, 0x15, 0x9a, 0x19, 0x8a, 0xba, 0x93, 0xa3, 0x78, 0x94, 0xc6, 0x91, - 0x77, 0x4d, 0x78, 0x6b, 0x08, 0x7a, 0x04, 0x5b, 0xf2, 0xef, 0x13, 0x23, 0xf6, 0x38, 0xad, 0x2f, - 0x87, 0xe2, 0x27, 0xb0, 0x27, 0xe5, 0xa3, 0x41, 0xfd, 0x10, 0x3a, 0x33, 0x12, 0xac, 0x54, 0xd6, - 0x05, 0x18, 0x45, 0x5e, 0x5a, 0x9b, 0x9d, 0xa0, 0x71, 0x6d, 0x29, 0x82, 0x1f, 0xc7, 0xdc, 0xd1, - 0x60, 0x18, 0x78, 0x8e, 0x18, 0xd6, 0xd8, 0xb4, 0x05, 0xf7, 0xc4, 0x60, 0x29, 0x43, 0xf9, 0x83, - 0x9f, 0x41, 0xbb, 0x84, 0xa1, 0xec, 0x96, 0xd5, 0x79, 0xf6, 0xa7, 0x0e, 0x75, 0x49, 0x45, 0x57, - 0xb0, 0x5d, 0x88, 0x26, 0x3a, 0xee, 0xa9, 0xb8, 0xf7, 0xaa, 0xb2, 0xde, 0xc1, 0xcb, 0xb6, 0xa8, - 0xc6, 0xae, 0xa1, 0x77, 0x70, 0x5f, 0x4b, 0x1d, 0xda, 0x4f, 0x48, 0xc5, 0x48, 0x77, 0x0e, 0xca, - 0x17, 0x13, 0xad, 0x31, 0x6c, 0x65, 0x03, 0x86, 0x8e, 0x12, 0x46, 0x69, 0x86, 0x3b, 0x0f, 0x2b, - 0xd7, 0x13, 0xd1, 0x2b, 0xd8, 0x2e, 0x44, 0x4c, 0x3b, 0x7e, 0x55, 0x6e, 0xb5, 0xe3, 0x57, 0x26, - 0x14, 0xaf, 0xa1, 0x4b, 0x78, 0xa0, 0x27, 0x0a, 0xa5, 0x47, 0x2c, 0x09, 0x67, 0xe7, 0xb0, 0x62, - 0x55, 0x97, 0xd3, 0x03, 0xa4, 0xc9, 0x95, 0xe4, 0x53, 0x93, 0x2b, 0x4d, 0x9d, 0x68, 0x8e, 0x16, - 0x22, 0xad, 0x39, 0xc5, 0x34, 0x6a, 0xcd, 0x29, 0xc9, 0x9d, 0xb8, 0xc7, 0xe6, 0x1b, 0xc2, 0xf3, - 0xc3, 0x8f, 0xba, 0x39, 0x5a, 0x21, 0x4f, 0x9d, 0xe3, 0x25, 0x3b, 0x12, 0xf5, 0x09, 0xb4, 0x12, - 0x75, 0x6d, 0xd8, 0x51, 0x9e, 0x5c, 0x8c, 0x8e, 0xd6, 0xa8, 0xca, 0xac, 0xe0, 0xb5, 0x57, 0x2f, - 0xbf, 0xbc, 0xf8, 0x4e, 0xf9, 0x75, 0x38, 0xeb, 0xcd, 0x3d, 0xc7, 0x5c, 0x84, 0x33, 0x12, 0xb8, - 0x84, 0x13, 0x76, 0x3a, 0x67, 0xd4, 0x9c, 0x33, 0x7a, 0xea, 0x07, 0xde, 0xcf, 0x5f, 0xe6, 0xfc, - 0x86, 0x12, 0x97, 0x47, 0xcf, 0xa2, 0x99, 0x7d, 0x29, 0x67, 0x75, 0xf1, 0x4c, 0x9e, 0xff, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0xb6, 0x33, 0x17, 0x80, 0x42, 0x07, 0x00, 0x00, +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x32, 0x8e, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, + 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, + 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, + 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, + 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, + 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, + 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta1.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta1.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta1.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta1.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta1.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta1.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta1.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta1.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta1.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta1.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta1.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta1.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta1.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta1.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta1.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta1.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta1.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta1.VolumeIDFromMountResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = []int32{ + 0, // 0: v1beta1.Volume.ListVolumesOnDisk:input_type -> v1beta1.ListVolumesOnDiskRequest + 2, // 1: v1beta1.Volume.MountVolume:input_type -> v1beta1.MountVolumeRequest + 4, // 2: v1beta1.Volume.DismountVolume:input_type -> v1beta1.DismountVolumeRequest + 6, // 3: v1beta1.Volume.IsVolumeFormatted:input_type -> v1beta1.IsVolumeFormattedRequest + 8, // 4: v1beta1.Volume.FormatVolume:input_type -> v1beta1.FormatVolumeRequest + 10, // 5: v1beta1.Volume.ResizeVolume:input_type -> v1beta1.ResizeVolumeRequest + 12, // 6: v1beta1.Volume.VolumeStats:input_type -> v1beta1.VolumeStatsRequest + 14, // 7: v1beta1.Volume.GetVolumeDiskNumber:input_type -> v1beta1.VolumeDiskNumberRequest + 16, // 8: v1beta1.Volume.GetVolumeIDFromMount:input_type -> v1beta1.VolumeIDFromMountRequest + 1, // 9: v1beta1.Volume.ListVolumesOnDisk:output_type -> v1beta1.ListVolumesOnDiskResponse + 3, // 10: v1beta1.Volume.MountVolume:output_type -> v1beta1.MountVolumeResponse + 5, // 11: v1beta1.Volume.DismountVolume:output_type -> v1beta1.DismountVolumeResponse + 7, // 12: v1beta1.Volume.IsVolumeFormatted:output_type -> v1beta1.IsVolumeFormattedResponse + 9, // 13: v1beta1.Volume.FormatVolume:output_type -> v1beta1.FormatVolumeResponse + 11, // 14: v1beta1.Volume.ResizeVolume:output_type -> v1beta1.ResizeVolumeResponse + 13, // 15: v1beta1.Volume.VolumeStats:output_type -> v1beta1.VolumeStatsResponse + 15, // 16: v1beta1.Volume.GetVolumeDiskNumber:output_type -> v1beta1.VolumeDiskNumberResponse + 17, // 17: v1beta1.Volume.GetVolumeIDFromMount:output_type -> v1beta1.VolumeIDFromMountResponse + 9, // [9:18] is the sub-list for method output_type + 0, // [0:9] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 18, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // VolumeClient is the client API for Volume service. // @@ -842,10 +1345,10 @@ type VolumeClient interface { } type volumeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { +func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { return &volumeClient{cc} } @@ -957,31 +1460,31 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } @@ -1193,5 +1696,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "volume/v1beta1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go index 2bc4962c..0236c3c2 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go @@ -1,898 +1,1447 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: client/api/volume/v1beta2/api.proto +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.12.4 +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto package v1beta2 import ( context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ListVolumesOnDiskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` } -func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } -func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskRequest) ProtoMessage() {} -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{0} +func (x *ListVolumesOnDiskRequest) Reset() { + *x = ListVolumesOnDiskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) +func (x *ListVolumesOnDiskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) -} -func (m *ListVolumesOnDiskRequest) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) -} -func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) + +func (*ListVolumesOnDiskRequest) ProtoMessage() {} + +func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{0} +} -func (m *ListVolumesOnDiskRequest) GetDiskId() string { - if m != nil { - return m.DiskId +func (x *ListVolumesOnDiskRequest) GetDiskId() string { + if x != nil { + return x.DiskId } return "" } type ListVolumesOnDiskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` } -func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } -func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } -func (*ListVolumesOnDiskResponse) ProtoMessage() {} -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{1} +func (x *ListVolumesOnDiskResponse) Reset() { + *x = ListVolumesOnDiskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) -} -func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) +func (x *ListVolumesOnDiskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) -} -func (m *ListVolumesOnDiskResponse) XXX_Size() int { - return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) -} -func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) + +func (*ListVolumesOnDiskResponse) ProtoMessage() {} + +func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo +// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{1} +} -func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if m != nil { - return m.VolumeIds +func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if x != nil { + return x.VolumeIds } return nil } type MountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } -func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*MountVolumeRequest) ProtoMessage() {} -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{2} +func (x *MountVolumeRequest) Reset() { + *x = MountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) +func (x *MountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeRequest.Merge(m, src) -} -func (m *MountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_MountVolumeRequest.Size(m) -} -func (m *MountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) + +func (*MountVolumeRequest) ProtoMessage() {} + +func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{2} +} -func (m *MountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *MountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *MountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *MountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type MountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } -func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*MountVolumeResponse) ProtoMessage() {} -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{3} +func (x *MountVolumeResponse) Reset() { + *x = MountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) -} -func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) +func (x *MountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountVolumeResponse.Merge(m, src) -} -func (m *MountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_MountVolumeResponse.Size(m) -} -func (m *MountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) + +func (*MountVolumeResponse) ProtoMessage() {} + +func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{3} +} type DismountVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } -func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeRequest) ProtoMessage() {} -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{4} +func (x *DismountVolumeRequest) Reset() { + *x = DismountVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) +func (x *DismountVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) -} -func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeRequest.Merge(m, src) -} -func (m *DismountVolumeRequest) XXX_Size() int { - return xxx_messageInfo_DismountVolumeRequest.Size(m) -} -func (m *DismountVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) + +func (*DismountVolumeRequest) ProtoMessage() {} + +func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo +// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{4} +} -func (m *DismountVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *DismountVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *DismountVolumeRequest) GetPath() string { - if m != nil { - return m.Path +func (x *DismountVolumeRequest) GetPath() string { + if x != nil { + return x.Path } return "" } type DismountVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } -func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*DismountVolumeResponse) ProtoMessage() {} -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{5} +func (x *DismountVolumeResponse) Reset() { + *x = DismountVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) -} -func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) +func (x *DismountVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismountVolumeResponse.Merge(m, src) -} -func (m *DismountVolumeResponse) XXX_Size() int { - return xxx_messageInfo_DismountVolumeResponse.Size(m) -} -func (m *DismountVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) + +func (*DismountVolumeResponse) ProtoMessage() {} + +func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{5} +} type IsVolumeFormattedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } -func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedRequest) ProtoMessage() {} -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{6} +func (x *IsVolumeFormattedRequest) Reset() { + *x = IsVolumeFormattedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) +func (x *IsVolumeFormattedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) -} -func (m *IsVolumeFormattedRequest) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) -} -func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) + +func (*IsVolumeFormattedRequest) ProtoMessage() {} + +func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{6} +} -func (m *IsVolumeFormattedRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *IsVolumeFormattedRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type IsVolumeFormattedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` } -func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } -func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } -func (*IsVolumeFormattedResponse) ProtoMessage() {} -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{7} +func (x *IsVolumeFormattedResponse) Reset() { + *x = IsVolumeFormattedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) -} -func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) -} -func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) -} -func (m *IsVolumeFormattedResponse) XXX_Size() int { - return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +func (x *IsVolumeFormattedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) + +func (*IsVolumeFormattedResponse) ProtoMessage() {} + +func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo +// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{7} +} -func (m *IsVolumeFormattedResponse) GetFormatted() bool { - if m != nil { - return m.Formatted +func (x *IsVolumeFormattedResponse) GetFormatted() bool { + if x != nil { + return x.Formatted } return false } type FormatVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } -func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeRequest) ProtoMessage() {} -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{8} +func (x *FormatVolumeRequest) Reset() { + *x = FormatVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) -} -func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) -} -func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +func (x *FormatVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeRequest) XXX_Size() int { - return xxx_messageInfo_FormatVolumeRequest.Size(m) -} -func (m *FormatVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) + +func (*FormatVolumeRequest) ProtoMessage() {} + +func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo +// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{8} +} -func (m *FormatVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *FormatVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type FormatVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } -func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*FormatVolumeResponse) ProtoMessage() {} -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{9} +func (x *FormatVolumeResponse) Reset() { + *x = FormatVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) -} -func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) -} -func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +func (x *FormatVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FormatVolumeResponse) XXX_Size() int { - return xxx_messageInfo_FormatVolumeResponse.Size(m) -} -func (m *FormatVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) + +func (*FormatVolumeResponse) ProtoMessage() {} + +func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{9} +} type ResizeVolumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` } -func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } -func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeRequest) ProtoMessage() {} -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{10} +func (x *ResizeVolumeRequest) Reset() { + *x = ResizeVolumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) -} -func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) +func (x *ResizeVolumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeRequest) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeRequest.Size(m) -} -func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) + +func (*ResizeVolumeRequest) ProtoMessage() {} + +func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{10} +} -func (m *ResizeVolumeRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *ResizeVolumeRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } -func (m *ResizeVolumeRequest) GetSize() int64 { - if m != nil { - return m.Size +func (x *ResizeVolumeRequest) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ResizeVolumeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } -func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } -func (*ResizeVolumeResponse) ProtoMessage() {} -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{11} +func (x *ResizeVolumeResponse) Reset() { + *x = ResizeVolumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) -} -func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) -} -func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) -} -func (m *ResizeVolumeResponse) XXX_Size() int { - return xxx_messageInfo_ResizeVolumeResponse.Size(m) +func (x *ResizeVolumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) + +func (*ResizeVolumeResponse) ProtoMessage() {} + +func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{11} +} type VolumeStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } -func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsRequest) ProtoMessage() {} -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{12} +func (x *VolumeStatsRequest) Reset() { + *x = VolumeStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) -} -func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) -} -func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +func (x *VolumeStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsRequest) XXX_Size() int { - return xxx_messageInfo_VolumeStatsRequest.Size(m) -} -func (m *VolumeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) + +func (*VolumeStatsRequest) ProtoMessage() {} + +func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) } -var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo +// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{12} +} -func (m *VolumeStatsRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeStatsRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` } -func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } -func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeStatsResponse) ProtoMessage() {} -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{13} +func (x *VolumeStatsResponse) Reset() { + *x = VolumeStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) -} -func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) +func (x *VolumeStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeStatsResponse.Merge(m, src) -} -func (m *VolumeStatsResponse) XXX_Size() int { - return xxx_messageInfo_VolumeStatsResponse.Size(m) -} -func (m *VolumeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) + +func (*VolumeStatsResponse) ProtoMessage() {} + +func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo +// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{13} +} -func (m *VolumeStatsResponse) GetVolumeSize() int64 { - if m != nil { - return m.VolumeSize +func (x *VolumeStatsResponse) GetVolumeSize() int64 { + if x != nil { + return x.VolumeSize } return 0 } -func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if m != nil { - return m.VolumeUsedSize +func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if x != nil { + return x.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } -func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberRequest) ProtoMessage() {} -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{14} +func (x *VolumeDiskNumberRequest) Reset() { + *x = VolumeDiskNumberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) -} -func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) -} -func (m *VolumeDiskNumberRequest) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +func (x *VolumeDiskNumberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) + +func (*VolumeDiskNumberRequest) ProtoMessage() {} + +func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{14} +} -func (m *VolumeDiskNumberRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeDiskNumberRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type VolumeDiskNumberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` } -func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } -func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeDiskNumberResponse) ProtoMessage() {} -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{15} +func (x *VolumeDiskNumberResponse) Reset() { + *x = VolumeDiskNumberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) -} -func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) -} -func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) -} -func (m *VolumeDiskNumberResponse) XXX_Size() int { - return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) +func (x *VolumeDiskNumberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) + +func (*VolumeDiskNumberResponse) ProtoMessage() {} + +func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] + 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) } -var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo +// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{15} +} -func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if m != nil { - return m.DiskNumber +func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if x != nil { + return x.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` } -func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } -func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountRequest) ProtoMessage() {} -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{16} +func (x *VolumeIDFromMountRequest) Reset() { + *x = VolumeIDFromMountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) -} -func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) -} -func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +func (x *VolumeIDFromMountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountRequest) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) -} -func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) + +func (*VolumeIDFromMountRequest) ProtoMessage() {} + +func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] + 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) } -var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{16} +} -func (m *VolumeIDFromMountRequest) GetMount() string { - if m != nil { - return m.Mount +func (x *VolumeIDFromMountRequest) GetMount() string { + if x != nil { + return x.Mount } return "" } type VolumeIDFromMountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } -func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } -func (*VolumeIDFromMountResponse) ProtoMessage() {} -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{17} +func (x *VolumeIDFromMountResponse) Reset() { + *x = VolumeIDFromMountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) -} -func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) +func (x *VolumeIDFromMountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) -} -func (m *VolumeIDFromMountResponse) XXX_Size() int { - return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) -} -func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) + +func (*VolumeIDFromMountResponse) ProtoMessage() {} + +func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] + 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) } -var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo +// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{17} +} -func (m *VolumeIDFromMountResponse) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *VolumeIDFromMountResponse) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type WriteVolumeCacheRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Volume device ID of the volume to flush the cache - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` } -func (m *WriteVolumeCacheRequest) Reset() { *m = WriteVolumeCacheRequest{} } -func (m *WriteVolumeCacheRequest) String() string { return proto.CompactTextString(m) } -func (*WriteVolumeCacheRequest) ProtoMessage() {} -func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{18} +func (x *WriteVolumeCacheRequest) Reset() { + *x = WriteVolumeCacheRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteVolumeCacheRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteVolumeCacheRequest.Unmarshal(m, b) -} -func (m *WriteVolumeCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteVolumeCacheRequest.Marshal(b, m, deterministic) -} -func (m *WriteVolumeCacheRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteVolumeCacheRequest.Merge(m, src) -} -func (m *WriteVolumeCacheRequest) XXX_Size() int { - return xxx_messageInfo_WriteVolumeCacheRequest.Size(m) +func (x *WriteVolumeCacheRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteVolumeCacheRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteVolumeCacheRequest.DiscardUnknown(m) + +func (*WriteVolumeCacheRequest) ProtoMessage() {} + +func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] + 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) } -var xxx_messageInfo_WriteVolumeCacheRequest proto.InternalMessageInfo +// Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. +func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{18} +} -func (m *WriteVolumeCacheRequest) GetVolumeId() string { - if m != nil { - return m.VolumeId +func (x *WriteVolumeCacheRequest) GetVolumeId() string { + if x != nil { + return x.VolumeId } return "" } type WriteVolumeCacheResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WriteVolumeCacheResponse) Reset() { + *x = WriteVolumeCacheResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteVolumeCacheResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteVolumeCacheResponse) Reset() { *m = WriteVolumeCacheResponse{} } -func (m *WriteVolumeCacheResponse) String() string { return proto.CompactTextString(m) } -func (*WriteVolumeCacheResponse) ProtoMessage() {} +func (*WriteVolumeCacheResponse) ProtoMessage() {} + +func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] + 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 WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_99d2e9a7d1d95ce9, []int{19} -} - -func (m *WriteVolumeCacheResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteVolumeCacheResponse.Unmarshal(m, b) -} -func (m *WriteVolumeCacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteVolumeCacheResponse.Marshal(b, m, deterministic) -} -func (m *WriteVolumeCacheResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteVolumeCacheResponse.Merge(m, src) -} -func (m *WriteVolumeCacheResponse) XXX_Size() int { - return xxx_messageInfo_WriteVolumeCacheResponse.Size(m) -} -func (m *WriteVolumeCacheResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteVolumeCacheResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteVolumeCacheResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta2.ListVolumesOnDiskRequest") - proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta2.ListVolumesOnDiskResponse") - proto.RegisterType((*MountVolumeRequest)(nil), "v1beta2.MountVolumeRequest") - proto.RegisterType((*MountVolumeResponse)(nil), "v1beta2.MountVolumeResponse") - proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta2.DismountVolumeRequest") - proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta2.DismountVolumeResponse") - proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta2.IsVolumeFormattedRequest") - proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta2.IsVolumeFormattedResponse") - proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta2.FormatVolumeRequest") - proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta2.FormatVolumeResponse") - proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta2.ResizeVolumeRequest") - proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta2.ResizeVolumeResponse") - proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta2.VolumeStatsRequest") - proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta2.VolumeStatsResponse") - proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta2.VolumeDiskNumberRequest") - proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta2.VolumeDiskNumberResponse") - proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta2.VolumeIDFromMountRequest") - proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta2.VolumeIDFromMountResponse") - proto.RegisterType((*WriteVolumeCacheRequest)(nil), "v1beta2.WriteVolumeCacheRequest") - proto.RegisterType((*WriteVolumeCacheResponse)(nil), "v1beta2.WriteVolumeCacheResponse") -} - -func init() { - proto.RegisterFile("client/api/volume/v1beta2/api.proto", fileDescriptor_99d2e9a7d1d95ce9) -} - -var fileDescriptor_99d2e9a7d1d95ce9 = []byte{ - // 625 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x6b, 0x6f, 0xd3, 0x30, - 0x14, 0x6d, 0x19, 0x74, 0xeb, 0x05, 0x4d, 0xcc, 0xdd, 0x23, 0xcd, 0x1e, 0x74, 0x46, 0x42, 0xfb, - 0xb2, 0x86, 0x75, 0xd2, 0x80, 0x49, 0x08, 0x09, 0x4a, 0xa1, 0x88, 0x81, 0x94, 0x0a, 0x10, 0x68, - 0xa8, 0x4a, 0x1b, 0x43, 0xad, 0x2e, 0x4d, 0x89, 0x9d, 0x09, 0xf8, 0xc7, 0xfc, 0x0b, 0x14, 0xdb, - 0x49, 0xdd, 0x3c, 0xaa, 0x22, 0xf1, 0x2d, 0x3e, 0xf6, 0x39, 0xe7, 0xda, 0xbe, 0xc7, 0x81, 0xfb, - 0xc3, 0x2b, 0x4a, 0x26, 0xdc, 0x72, 0xa6, 0xd4, 0xba, 0xf6, 0xaf, 0x42, 0x8f, 0x58, 0xd7, 0x27, - 0x03, 0xc2, 0x9d, 0x56, 0x04, 0x35, 0xa7, 0x81, 0xcf, 0x7d, 0xb4, 0xaa, 0x20, 0x7c, 0x0a, 0xc6, - 0x5b, 0xca, 0xf8, 0x47, 0xb1, 0x90, 0xbd, 0x9f, 0xb4, 0x29, 0x1b, 0xdb, 0xe4, 0x47, 0x48, 0x18, - 0x47, 0x3b, 0xb0, 0xea, 0x52, 0x36, 0xee, 0x53, 0xd7, 0x28, 0x37, 0xca, 0x47, 0x55, 0xbb, 0x12, - 0x0d, 0xbb, 0x2e, 0x3e, 0x87, 0x7a, 0x0e, 0x89, 0x4d, 0xfd, 0x09, 0x23, 0x68, 0x1f, 0x40, 0xda, - 0xf6, 0xa9, 0xcb, 0x8c, 0x72, 0x63, 0xe5, 0xa8, 0x6a, 0x57, 0x25, 0xd2, 0x75, 0x19, 0x7e, 0x09, - 0xe8, 0xc2, 0x0f, 0x27, 0x8a, 0x1c, 0x5b, 0xed, 0x42, 0x35, 0x21, 0x29, 0xb3, 0xb5, 0x98, 0x83, - 0x10, 0xdc, 0x9c, 0x3a, 0x7c, 0x64, 0xdc, 0x10, 0xb8, 0xf8, 0xc6, 0x5b, 0x50, 0x9b, 0x93, 0x91, - 0xe6, 0xf8, 0x35, 0x6c, 0xb5, 0x29, 0xf3, 0xfe, 0x83, 0x81, 0x01, 0xdb, 0x69, 0x25, 0xe5, 0xf1, - 0x08, 0x8c, 0x2e, 0x93, 0x58, 0xc7, 0x0f, 0x3c, 0x87, 0x73, 0xe2, 0x2e, 0x63, 0x83, 0x9f, 0x40, - 0x3d, 0x87, 0xa8, 0x8e, 0x6d, 0x0f, 0xaa, 0xdf, 0x62, 0x50, 0x30, 0xd7, 0xec, 0x19, 0x80, 0x5b, - 0x50, 0x93, 0x94, 0xe5, 0x77, 0x85, 0xb7, 0x61, 0x73, 0x9e, 0xa3, 0xea, 0xef, 0x40, 0xcd, 0x26, - 0x8c, 0xfe, 0x26, 0xff, 0x76, 0x42, 0x11, 0x43, 0x9c, 0xd0, 0x8a, 0x2d, 0xbe, 0x23, 0xfd, 0x79, - 0x1d, 0xa5, 0x7f, 0x02, 0x48, 0x22, 0x3d, 0xee, 0x70, 0xb6, 0x54, 0xa9, 0x5f, 0xa1, 0x36, 0x47, - 0x51, 0x67, 0x72, 0x10, 0xb7, 0x52, 0x2f, 0xf2, 0x2e, 0x0b, 0x6f, 0x0d, 0x41, 0x0f, 0x60, 0x5d, - 0x8e, 0x3e, 0x30, 0xe2, 0xf6, 0x66, 0xf5, 0xa5, 0x50, 0x7c, 0x06, 0x3b, 0x52, 0x3e, 0x6a, 0xd4, - 0x77, 0xa1, 0x37, 0x20, 0xc1, 0x52, 0x65, 0x9d, 0x83, 0x91, 0xe5, 0xcd, 0x6a, 0x73, 0x13, 0x34, - 0xae, 0x6d, 0x86, 0xe0, 0x87, 0x31, 0xb7, 0xdb, 0xee, 0x04, 0xbe, 0x27, 0x9a, 0x35, 0x36, 0xdd, - 0x84, 0x5b, 0xa2, 0xb1, 0x94, 0xa1, 0x1c, 0xe0, 0xc7, 0x50, 0xcf, 0x61, 0x28, 0xbb, 0x85, 0x75, - 0x9e, 0xc1, 0xce, 0xa7, 0x80, 0x72, 0x75, 0x11, 0x2f, 0x9c, 0xe1, 0x68, 0xb9, 0x0e, 0x31, 0xc1, - 0xc8, 0xf2, 0xa4, 0x61, 0xeb, 0x4f, 0x05, 0x2a, 0x12, 0x47, 0x97, 0xb0, 0x91, 0x89, 0x3b, 0x3a, - 0x6c, 0xaa, 0x27, 0xa4, 0x59, 0xf4, 0x7e, 0x98, 0x78, 0xd1, 0x12, 0xd5, 0x2c, 0x25, 0xf4, 0x06, - 0x6e, 0x6b, 0x49, 0x46, 0xbb, 0x09, 0x29, 0xfb, 0x4c, 0x98, 0x7b, 0xf9, 0x93, 0x89, 0x56, 0x0f, - 0xd6, 0xe7, 0x43, 0x8b, 0x0e, 0x12, 0x46, 0xee, 0xbb, 0x60, 0xde, 0x2b, 0x9c, 0x4f, 0x44, 0x2f, - 0x61, 0x23, 0x13, 0x5b, 0x6d, 0xfb, 0x45, 0x6f, 0x81, 0xb6, 0xfd, 0xc2, 0xd4, 0xe3, 0x12, 0xba, - 0x80, 0x3b, 0x7a, 0x4a, 0xd1, 0x6c, 0x8b, 0x39, 0x81, 0x37, 0xf7, 0x0b, 0x66, 0x75, 0x39, 0x3d, - 0x94, 0x9a, 0x5c, 0x4e, 0xe6, 0x35, 0xb9, 0xdc, 0x24, 0x8b, 0xcb, 0xd1, 0x82, 0xa9, 0x5d, 0x4e, - 0x36, 0xe1, 0xda, 0xe5, 0xe4, 0x64, 0x59, 0x9c, 0x63, 0xed, 0x15, 0xe1, 0xe9, 0x40, 0xa1, 0x46, - 0x8a, 0x96, 0xc9, 0xa8, 0x79, 0xb8, 0x60, 0x45, 0xa2, 0xde, 0x87, 0xcd, 0x44, 0x5d, 0x0b, 0x10, - 0x4a, 0x93, 0xb3, 0x71, 0xd4, 0x2e, 0xaa, 0x30, 0x7f, 0xb8, 0x84, 0x3e, 0xc3, 0xdd, 0x74, 0x58, - 0xb4, 0xda, 0x0b, 0xf2, 0xa7, 0xd5, 0x5e, 0x94, 0x34, 0x5c, 0x7a, 0xfe, 0xec, 0xcb, 0xd3, 0xef, - 0x94, 0x8f, 0xc2, 0x41, 0x73, 0xe8, 0x7b, 0xd6, 0x38, 0x1c, 0x90, 0x60, 0x42, 0x38, 0x61, 0xc7, - 0x43, 0x46, 0xad, 0x21, 0xa3, 0xc7, 0xd3, 0xc0, 0xff, 0xf9, 0xcb, 0x2a, 0xfc, 0xb1, 0x0f, 0x2a, - 0xe2, 0xaf, 0x7e, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0xef, 0xbc, 0x51, 0x38, 0xfc, 0x07, 0x00, - 0x00, + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{19} +} + +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto protoreflect.FileDescriptor + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x32, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc +) + +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData) + }) + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta2.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta2.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta2.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta2.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta2.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta2.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta2.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta2.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta2.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta2.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta2.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta2.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta2.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta2.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta2.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta2.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta2.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta2.VolumeIDFromMountResponse + (*WriteVolumeCacheRequest)(nil), // 18: v1beta2.WriteVolumeCacheRequest + (*WriteVolumeCacheResponse)(nil), // 19: v1beta2.WriteVolumeCacheResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = []int32{ + 0, // 0: v1beta2.Volume.ListVolumesOnDisk:input_type -> v1beta2.ListVolumesOnDiskRequest + 2, // 1: v1beta2.Volume.MountVolume:input_type -> v1beta2.MountVolumeRequest + 4, // 2: v1beta2.Volume.DismountVolume:input_type -> v1beta2.DismountVolumeRequest + 6, // 3: v1beta2.Volume.IsVolumeFormatted:input_type -> v1beta2.IsVolumeFormattedRequest + 8, // 4: v1beta2.Volume.FormatVolume:input_type -> v1beta2.FormatVolumeRequest + 10, // 5: v1beta2.Volume.ResizeVolume:input_type -> v1beta2.ResizeVolumeRequest + 12, // 6: v1beta2.Volume.VolumeStats:input_type -> v1beta2.VolumeStatsRequest + 14, // 7: v1beta2.Volume.GetVolumeDiskNumber:input_type -> v1beta2.VolumeDiskNumberRequest + 16, // 8: v1beta2.Volume.GetVolumeIDFromMount:input_type -> v1beta2.VolumeIDFromMountRequest + 18, // 9: v1beta2.Volume.WriteVolumeCache:input_type -> v1beta2.WriteVolumeCacheRequest + 1, // 10: v1beta2.Volume.ListVolumesOnDisk:output_type -> v1beta2.ListVolumesOnDiskResponse + 3, // 11: v1beta2.Volume.MountVolume:output_type -> v1beta2.MountVolumeResponse + 5, // 12: v1beta2.Volume.DismountVolume:output_type -> v1beta2.DismountVolumeResponse + 7, // 13: v1beta2.Volume.IsVolumeFormatted:output_type -> v1beta2.IsVolumeFormattedResponse + 9, // 14: v1beta2.Volume.FormatVolume:output_type -> v1beta2.FormatVolumeResponse + 11, // 15: v1beta2.Volume.ResizeVolume:output_type -> v1beta2.ResizeVolumeResponse + 13, // 16: v1beta2.Volume.VolumeStats:output_type -> v1beta2.VolumeStatsResponse + 15, // 17: v1beta2.Volume.GetVolumeDiskNumber:output_type -> v1beta2.VolumeDiskNumberResponse + 17, // 18: v1beta2.Volume.GetVolumeIDFromMount:output_type -> v1beta2.VolumeIDFromMountResponse + 19, // 19: v1beta2.Volume.WriteVolumeCache:output_type -> v1beta2.WriteVolumeCacheResponse + 10, // [10:20] is the sub-list for method output_type + 0, // [0:10] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListVolumesOnDiskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DismountVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsVolumeFormattedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FormatVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResizeVolumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDiskNumberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeIDFromMountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteVolumeCacheRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteVolumeCacheResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc, + NumEnums: 0, + NumMessages: 20, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes, + }.Build() + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // VolumeClient is the client API for Volume service. // @@ -922,10 +1471,10 @@ type VolumeClient interface { } type volumeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { +func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { return &volumeClient{cc} } @@ -1048,34 +1597,34 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } -func (*UnimplementedVolumeServer) WriteVolumeCache(ctx context.Context, req *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { +func (*UnimplementedVolumeServer) WriteVolumeCache(context.Context, *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteVolumeCache not implemented") } @@ -1309,5 +1858,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "client/api/volume/v1beta2/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto", } diff --git a/client/api/volume/v1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.pb.go similarity index 69% rename from client/api/volume/v1/api.pb.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.pb.go index 1e42f622..ca6e49c6 100644 --- a/client/api/volume/v1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto +// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto -package v1 +package v1beta3 import ( context "context" @@ -36,7 +36,7 @@ type ListVolumesOnDiskRequest struct { func (x *ListVolumesOnDiskRequest) Reset() { *x = ListVolumesOnDiskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -49,7 +49,7 @@ func (x *ListVolumesOnDiskRequest) String() string { func (*ListVolumesOnDiskRequest) ProtoMessage() {} func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -62,7 +62,7 @@ func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{0} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{0} } func (x *ListVolumesOnDiskRequest) GetDiskId() string { @@ -84,7 +84,7 @@ type ListVolumesOnDiskResponse struct { func (x *ListVolumesOnDiskResponse) Reset() { *x = ListVolumesOnDiskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -97,7 +97,7 @@ func (x *ListVolumesOnDiskResponse) String() string { func (*ListVolumesOnDiskResponse) ProtoMessage() {} func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -110,7 +110,7 @@ func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{1} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{1} } func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { @@ -134,7 +134,7 @@ type MountVolumeRequest struct { func (x *MountVolumeRequest) Reset() { *x = MountVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -147,7 +147,7 @@ func (x *MountVolumeRequest) String() string { func (*MountVolumeRequest) ProtoMessage() {} func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -160,7 +160,7 @@ func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{2} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{2} } func (x *MountVolumeRequest) GetVolumeId() string { @@ -186,7 +186,7 @@ type MountVolumeResponse struct { func (x *MountVolumeResponse) Reset() { *x = MountVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -199,7 +199,7 @@ func (x *MountVolumeResponse) String() string { func (*MountVolumeResponse) ProtoMessage() {} func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -212,7 +212,7 @@ func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{3} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{3} } type DismountVolumeRequest struct { @@ -229,7 +229,7 @@ type DismountVolumeRequest struct { func (x *DismountVolumeRequest) Reset() { *x = DismountVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -242,7 +242,7 @@ func (x *DismountVolumeRequest) String() string { func (*DismountVolumeRequest) ProtoMessage() {} func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -255,7 +255,7 @@ func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{4} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{4} } func (x *DismountVolumeRequest) GetVolumeId() string { @@ -281,7 +281,7 @@ type DismountVolumeResponse struct { func (x *DismountVolumeResponse) Reset() { *x = DismountVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *DismountVolumeResponse) String() string { func (*DismountVolumeResponse) ProtoMessage() {} func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{5} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{5} } type IsVolumeFormattedRequest struct { @@ -322,7 +322,7 @@ type IsVolumeFormattedRequest struct { func (x *IsVolumeFormattedRequest) Reset() { *x = IsVolumeFormattedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -335,7 +335,7 @@ func (x *IsVolumeFormattedRequest) String() string { func (*IsVolumeFormattedRequest) ProtoMessage() {} func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -348,7 +348,7 @@ func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{6} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{6} } func (x *IsVolumeFormattedRequest) GetVolumeId() string { @@ -370,7 +370,7 @@ type IsVolumeFormattedResponse struct { func (x *IsVolumeFormattedResponse) Reset() { *x = IsVolumeFormattedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -383,7 +383,7 @@ func (x *IsVolumeFormattedResponse) String() string { func (*IsVolumeFormattedResponse) ProtoMessage() {} func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -396,7 +396,7 @@ func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{7} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{7} } func (x *IsVolumeFormattedResponse) GetFormatted() bool { @@ -418,7 +418,7 @@ type FormatVolumeRequest struct { func (x *FormatVolumeRequest) Reset() { *x = FormatVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -431,7 +431,7 @@ func (x *FormatVolumeRequest) String() string { func (*FormatVolumeRequest) ProtoMessage() {} func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -444,7 +444,7 @@ func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{8} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{8} } func (x *FormatVolumeRequest) GetVolumeId() string { @@ -463,7 +463,7 @@ type FormatVolumeResponse struct { func (x *FormatVolumeResponse) Reset() { *x = FormatVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -476,7 +476,7 @@ func (x *FormatVolumeResponse) String() string { func (*FormatVolumeResponse) ProtoMessage() {} func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -489,7 +489,7 @@ func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{9} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{9} } type ResizeVolumeRequest struct { @@ -506,7 +506,7 @@ type ResizeVolumeRequest struct { func (x *ResizeVolumeRequest) Reset() { *x = ResizeVolumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -519,7 +519,7 @@ func (x *ResizeVolumeRequest) String() string { func (*ResizeVolumeRequest) ProtoMessage() {} func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -532,7 +532,7 @@ func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{10} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{10} } func (x *ResizeVolumeRequest) GetVolumeId() string { @@ -558,7 +558,7 @@ type ResizeVolumeResponse struct { func (x *ResizeVolumeResponse) Reset() { *x = ResizeVolumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -571,7 +571,7 @@ func (x *ResizeVolumeResponse) String() string { func (*ResizeVolumeResponse) ProtoMessage() {} func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -584,7 +584,7 @@ func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{11} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{11} } type VolumeStatsRequest struct { @@ -599,7 +599,7 @@ type VolumeStatsRequest struct { func (x *VolumeStatsRequest) Reset() { *x = VolumeStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +612,7 @@ func (x *VolumeStatsRequest) String() string { func (*VolumeStatsRequest) ProtoMessage() {} func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +625,7 @@ func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{12} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{12} } func (x *VolumeStatsRequest) GetVolumeId() string { @@ -649,7 +649,7 @@ type VolumeStatsResponse struct { func (x *VolumeStatsResponse) Reset() { *x = VolumeStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -662,7 +662,7 @@ func (x *VolumeStatsResponse) String() string { func (*VolumeStatsResponse) ProtoMessage() {} func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -675,7 +675,7 @@ func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{13} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{13} } func (x *VolumeStatsResponse) GetVolumeSize() int64 { @@ -704,7 +704,7 @@ type VolumeDiskNumberRequest struct { func (x *VolumeDiskNumberRequest) Reset() { *x = VolumeDiskNumberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -717,7 +717,7 @@ func (x *VolumeDiskNumberRequest) String() string { func (*VolumeDiskNumberRequest) ProtoMessage() {} func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -730,7 +730,7 @@ func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{14} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{14} } func (x *VolumeDiskNumberRequest) GetVolumeId() string { @@ -752,7 +752,7 @@ type VolumeDiskNumberResponse struct { func (x *VolumeDiskNumberResponse) Reset() { *x = VolumeDiskNumberResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -765,7 +765,7 @@ func (x *VolumeDiskNumberResponse) String() string { func (*VolumeDiskNumberResponse) ProtoMessage() {} func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -778,7 +778,7 @@ func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{15} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{15} } func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { @@ -800,7 +800,7 @@ type VolumeIDFromMountRequest struct { func (x *VolumeIDFromMountRequest) Reset() { *x = VolumeIDFromMountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -813,7 +813,7 @@ func (x *VolumeIDFromMountRequest) String() string { func (*VolumeIDFromMountRequest) ProtoMessage() {} func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -826,7 +826,7 @@ func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{16} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{16} } func (x *VolumeIDFromMountRequest) GetMount() string { @@ -848,7 +848,7 @@ type VolumeIDFromMountResponse struct { func (x *VolumeIDFromMountResponse) Reset() { *x = VolumeIDFromMountResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -861,7 +861,7 @@ func (x *VolumeIDFromMountResponse) String() string { func (*VolumeIDFromMountResponse) ProtoMessage() {} func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -874,7 +874,7 @@ func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{17} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{17} } func (x *VolumeIDFromMountResponse) GetVolumeId() string { @@ -896,7 +896,7 @@ type WriteVolumeCacheRequest struct { func (x *WriteVolumeCacheRequest) Reset() { *x = WriteVolumeCacheRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +909,7 @@ func (x *WriteVolumeCacheRequest) String() string { func (*WriteVolumeCacheRequest) ProtoMessage() {} func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +922,7 @@ func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{18} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{18} } func (x *WriteVolumeCacheRequest) GetVolumeId() string { @@ -941,7 +941,7 @@ type WriteVolumeCacheResponse struct { func (x *WriteVolumeCacheResponse) Reset() { *x = WriteVolumeCacheResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -954,7 +954,7 @@ func (x *WriteVolumeCacheResponse) String() string { func (*WriteVolumeCacheResponse) ProtoMessage() {} func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19] + mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -967,193 +967,200 @@ func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP(), []int{19} + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP(), []int{19} } -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto protoreflect.FileDescriptor +var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto protoreflect.FileDescriptor -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc = []byte{ - 0x0a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, - 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, - 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, - 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, - 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, + 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x33, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, + 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, - 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, - 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, - 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, - 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, + 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, - 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x32, 0x85, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x11, - 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, - 0x6b, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x40, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, - 0x65, 0x64, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x43, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x12, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, - 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, - 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, - 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, + 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, + 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, + 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, + 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x1b, 0x2e, 0x76, - 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x57, - 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x44, 0x69, 0x73, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x33, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, + 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescOnce sync.Once + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc ) -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData) +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescGZIP() []byte { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescOnce.Do(func() { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData) }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1.VolumeIDFromMountResponse - (*WriteVolumeCacheRequest)(nil), // 18: v1.WriteVolumeCacheRequest - (*WriteVolumeCacheResponse)(nil), // 19: v1.WriteVolumeCacheResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs = []int32{ - 0, // 0: v1.Volume.ListVolumesOnDisk:input_type -> v1.ListVolumesOnDiskRequest - 2, // 1: v1.Volume.MountVolume:input_type -> v1.MountVolumeRequest - 4, // 2: v1.Volume.DismountVolume:input_type -> v1.DismountVolumeRequest - 6, // 3: v1.Volume.IsVolumeFormatted:input_type -> v1.IsVolumeFormattedRequest - 8, // 4: v1.Volume.FormatVolume:input_type -> v1.FormatVolumeRequest - 10, // 5: v1.Volume.ResizeVolume:input_type -> v1.ResizeVolumeRequest - 12, // 6: v1.Volume.VolumeStats:input_type -> v1.VolumeStatsRequest - 14, // 7: v1.Volume.GetVolumeDiskNumber:input_type -> v1.VolumeDiskNumberRequest - 16, // 8: v1.Volume.GetVolumeIDFromMount:input_type -> v1.VolumeIDFromMountRequest - 18, // 9: v1.Volume.WriteVolumeCache:input_type -> v1.WriteVolumeCacheRequest - 1, // 10: v1.Volume.ListVolumesOnDisk:output_type -> v1.ListVolumesOnDiskResponse - 3, // 11: v1.Volume.MountVolume:output_type -> v1.MountVolumeResponse - 5, // 12: v1.Volume.DismountVolume:output_type -> v1.DismountVolumeResponse - 7, // 13: v1.Volume.IsVolumeFormatted:output_type -> v1.IsVolumeFormattedResponse - 9, // 14: v1.Volume.FormatVolume:output_type -> v1.FormatVolumeResponse - 11, // 15: v1.Volume.ResizeVolume:output_type -> v1.ResizeVolumeResponse - 13, // 16: v1.Volume.VolumeStats:output_type -> v1.VolumeStatsResponse - 15, // 17: v1.Volume.GetVolumeDiskNumber:output_type -> v1.VolumeDiskNumberResponse - 17, // 18: v1.Volume.GetVolumeIDFromMount:output_type -> v1.VolumeIDFromMountResponse - 19, // 19: v1.Volume.WriteVolumeCache:output_type -> v1.WriteVolumeCacheResponse + return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDescData +} + +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes = []interface{}{ + (*ListVolumesOnDiskRequest)(nil), // 0: v1beta3.ListVolumesOnDiskRequest + (*ListVolumesOnDiskResponse)(nil), // 1: v1beta3.ListVolumesOnDiskResponse + (*MountVolumeRequest)(nil), // 2: v1beta3.MountVolumeRequest + (*MountVolumeResponse)(nil), // 3: v1beta3.MountVolumeResponse + (*DismountVolumeRequest)(nil), // 4: v1beta3.DismountVolumeRequest + (*DismountVolumeResponse)(nil), // 5: v1beta3.DismountVolumeResponse + (*IsVolumeFormattedRequest)(nil), // 6: v1beta3.IsVolumeFormattedRequest + (*IsVolumeFormattedResponse)(nil), // 7: v1beta3.IsVolumeFormattedResponse + (*FormatVolumeRequest)(nil), // 8: v1beta3.FormatVolumeRequest + (*FormatVolumeResponse)(nil), // 9: v1beta3.FormatVolumeResponse + (*ResizeVolumeRequest)(nil), // 10: v1beta3.ResizeVolumeRequest + (*ResizeVolumeResponse)(nil), // 11: v1beta3.ResizeVolumeResponse + (*VolumeStatsRequest)(nil), // 12: v1beta3.VolumeStatsRequest + (*VolumeStatsResponse)(nil), // 13: v1beta3.VolumeStatsResponse + (*VolumeDiskNumberRequest)(nil), // 14: v1beta3.VolumeDiskNumberRequest + (*VolumeDiskNumberResponse)(nil), // 15: v1beta3.VolumeDiskNumberResponse + (*VolumeIDFromMountRequest)(nil), // 16: v1beta3.VolumeIDFromMountRequest + (*VolumeIDFromMountResponse)(nil), // 17: v1beta3.VolumeIDFromMountResponse + (*WriteVolumeCacheRequest)(nil), // 18: v1beta3.WriteVolumeCacheRequest + (*WriteVolumeCacheResponse)(nil), // 19: v1beta3.WriteVolumeCacheResponse +} +var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs = []int32{ + 0, // 0: v1beta3.Volume.ListVolumesOnDisk:input_type -> v1beta3.ListVolumesOnDiskRequest + 2, // 1: v1beta3.Volume.MountVolume:input_type -> v1beta3.MountVolumeRequest + 4, // 2: v1beta3.Volume.DismountVolume:input_type -> v1beta3.DismountVolumeRequest + 6, // 3: v1beta3.Volume.IsVolumeFormatted:input_type -> v1beta3.IsVolumeFormattedRequest + 8, // 4: v1beta3.Volume.FormatVolume:input_type -> v1beta3.FormatVolumeRequest + 10, // 5: v1beta3.Volume.ResizeVolume:input_type -> v1beta3.ResizeVolumeRequest + 12, // 6: v1beta3.Volume.VolumeStats:input_type -> v1beta3.VolumeStatsRequest + 14, // 7: v1beta3.Volume.GetVolumeDiskNumber:input_type -> v1beta3.VolumeDiskNumberRequest + 16, // 8: v1beta3.Volume.GetVolumeIDFromMount:input_type -> v1beta3.VolumeIDFromMountRequest + 18, // 9: v1beta3.Volume.WriteVolumeCache:input_type -> v1beta3.WriteVolumeCacheRequest + 1, // 10: v1beta3.Volume.ListVolumesOnDisk:output_type -> v1beta3.ListVolumesOnDiskResponse + 3, // 11: v1beta3.Volume.MountVolume:output_type -> v1beta3.MountVolumeResponse + 5, // 12: v1beta3.Volume.DismountVolume:output_type -> v1beta3.DismountVolumeResponse + 7, // 13: v1beta3.Volume.IsVolumeFormatted:output_type -> v1beta3.IsVolumeFormattedResponse + 9, // 14: v1beta3.Volume.FormatVolume:output_type -> v1beta3.FormatVolumeResponse + 11, // 15: v1beta3.Volume.ResizeVolume:output_type -> v1beta3.ResizeVolumeResponse + 13, // 16: v1beta3.Volume.VolumeStats:output_type -> v1beta3.VolumeStatsResponse + 15, // 17: v1beta3.Volume.GetVolumeDiskNumber:output_type -> v1beta3.VolumeDiskNumberResponse + 17, // 18: v1beta3.Volume.GetVolumeIDFromMount:output_type -> v1beta3.VolumeIDFromMountResponse + 19, // 19: v1beta3.Volume.WriteVolumeCache:output_type -> v1beta3.WriteVolumeCacheResponse 10, // [10:20] is the sub-list for method output_type 0, // [0:10] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -1161,13 +1168,13 @@ var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depI 0, // [0:0] is the sub-list for field type_name } -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto != nil { +func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_init() } +func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_init() { + if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVolumesOnDiskRequest); i { case 0: return &v.state @@ -1179,7 +1186,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListVolumesOnDiskResponse); i { case 0: return &v.state @@ -1191,7 +1198,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MountVolumeRequest); i { case 0: return &v.state @@ -1203,7 +1210,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MountVolumeResponse); i { case 0: return &v.state @@ -1215,7 +1222,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DismountVolumeRequest); i { case 0: return &v.state @@ -1227,7 +1234,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DismountVolumeResponse); i { case 0: return &v.state @@ -1239,7 +1246,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsVolumeFormattedRequest); i { case 0: return &v.state @@ -1251,7 +1258,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IsVolumeFormattedResponse); i { case 0: return &v.state @@ -1263,7 +1270,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FormatVolumeRequest); i { case 0: return &v.state @@ -1275,7 +1282,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FormatVolumeResponse); i { case 0: return &v.state @@ -1287,7 +1294,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResizeVolumeRequest); i { case 0: return &v.state @@ -1299,7 +1306,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResizeVolumeResponse); i { case 0: return &v.state @@ -1311,7 +1318,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeStatsRequest); i { case 0: return &v.state @@ -1323,7 +1330,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeStatsResponse); i { case 0: return &v.state @@ -1335,7 +1342,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeDiskNumberRequest); i { case 0: return &v.state @@ -1347,7 +1354,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeDiskNumberResponse); i { case 0: return &v.state @@ -1359,7 +1366,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeIDFromMountRequest); i { case 0: return &v.state @@ -1371,7 +1378,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VolumeIDFromMountResponse); i { case 0: return &v.state @@ -1383,7 +1390,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteVolumeCacheRequest); i { case 0: return &v.state @@ -1395,7 +1402,7 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini return nil } } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WriteVolumeCacheResponse); i { case 0: return &v.state @@ -1412,20 +1419,20 @@ func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_ini out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc, + RawDescriptor: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc, NumEnums: 0, NumMessages: 20, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_msgTypes, + GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes, + DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs, + MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_msgTypes, }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1_api_proto_depIdxs = nil + File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto = out.File + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_rawDesc = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_goTypes = nil + file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta3_api_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1473,7 +1480,7 @@ func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { func (c *volumeClient) ListVolumesOnDisk(ctx context.Context, in *ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*ListVolumesOnDiskResponse, error) { out := new(ListVolumesOnDiskResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/ListVolumesOnDisk", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/ListVolumesOnDisk", in, out, opts...) if err != nil { return nil, err } @@ -1482,7 +1489,7 @@ func (c *volumeClient) ListVolumesOnDisk(ctx context.Context, in *ListVolumesOnD func (c *volumeClient) MountVolume(ctx context.Context, in *MountVolumeRequest, opts ...grpc.CallOption) (*MountVolumeResponse, error) { out := new(MountVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/MountVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/MountVolume", in, out, opts...) if err != nil { return nil, err } @@ -1491,7 +1498,7 @@ func (c *volumeClient) MountVolume(ctx context.Context, in *MountVolumeRequest, func (c *volumeClient) DismountVolume(ctx context.Context, in *DismountVolumeRequest, opts ...grpc.CallOption) (*DismountVolumeResponse, error) { out := new(DismountVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/DismountVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/DismountVolume", in, out, opts...) if err != nil { return nil, err } @@ -1500,7 +1507,7 @@ func (c *volumeClient) DismountVolume(ctx context.Context, in *DismountVolumeReq func (c *volumeClient) IsVolumeFormatted(ctx context.Context, in *IsVolumeFormattedRequest, opts ...grpc.CallOption) (*IsVolumeFormattedResponse, error) { out := new(IsVolumeFormattedResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/IsVolumeFormatted", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/IsVolumeFormatted", in, out, opts...) if err != nil { return nil, err } @@ -1509,7 +1516,7 @@ func (c *volumeClient) IsVolumeFormatted(ctx context.Context, in *IsVolumeFormat func (c *volumeClient) FormatVolume(ctx context.Context, in *FormatVolumeRequest, opts ...grpc.CallOption) (*FormatVolumeResponse, error) { out := new(FormatVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/FormatVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/FormatVolume", in, out, opts...) if err != nil { return nil, err } @@ -1518,7 +1525,7 @@ func (c *volumeClient) FormatVolume(ctx context.Context, in *FormatVolumeRequest func (c *volumeClient) ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, opts ...grpc.CallOption) (*ResizeVolumeResponse, error) { out := new(ResizeVolumeResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/ResizeVolume", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/ResizeVolume", in, out, opts...) if err != nil { return nil, err } @@ -1527,7 +1534,7 @@ func (c *volumeClient) ResizeVolume(ctx context.Context, in *ResizeVolumeRequest func (c *volumeClient) VolumeStats(ctx context.Context, in *VolumeStatsRequest, opts ...grpc.CallOption) (*VolumeStatsResponse, error) { out := new(VolumeStatsResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/VolumeStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/VolumeStats", in, out, opts...) if err != nil { return nil, err } @@ -1536,7 +1543,7 @@ func (c *volumeClient) VolumeStats(ctx context.Context, in *VolumeStatsRequest, func (c *volumeClient) GetVolumeDiskNumber(ctx context.Context, in *VolumeDiskNumberRequest, opts ...grpc.CallOption) (*VolumeDiskNumberResponse, error) { out := new(VolumeDiskNumberResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/GetVolumeDiskNumber", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/GetVolumeDiskNumber", in, out, opts...) if err != nil { return nil, err } @@ -1545,7 +1552,7 @@ func (c *volumeClient) GetVolumeDiskNumber(ctx context.Context, in *VolumeDiskNu func (c *volumeClient) GetVolumeIDFromMount(ctx context.Context, in *VolumeIDFromMountRequest, opts ...grpc.CallOption) (*VolumeIDFromMountResponse, error) { out := new(VolumeIDFromMountResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/GetVolumeIDFromMount", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/GetVolumeIDFromMount", in, out, opts...) if err != nil { return nil, err } @@ -1554,7 +1561,7 @@ func (c *volumeClient) GetVolumeIDFromMount(ctx context.Context, in *VolumeIDFro func (c *volumeClient) WriteVolumeCache(ctx context.Context, in *WriteVolumeCacheRequest, opts ...grpc.CallOption) (*WriteVolumeCacheResponse, error) { out := new(WriteVolumeCacheResponse) - err := c.cc.Invoke(ctx, "/v1.Volume/WriteVolumeCache", in, out, opts...) + err := c.cc.Invoke(ctx, "/v1beta3.Volume/WriteVolumeCache", in, out, opts...) if err != nil { return nil, err } @@ -1635,7 +1642,7 @@ func _Volume_ListVolumesOnDisk_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/ListVolumesOnDisk", + FullMethod: "/v1beta3.Volume/ListVolumesOnDisk", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).ListVolumesOnDisk(ctx, req.(*ListVolumesOnDiskRequest)) @@ -1653,7 +1660,7 @@ func _Volume_MountVolume_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/MountVolume", + FullMethod: "/v1beta3.Volume/MountVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).MountVolume(ctx, req.(*MountVolumeRequest)) @@ -1671,7 +1678,7 @@ func _Volume_DismountVolume_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/DismountVolume", + FullMethod: "/v1beta3.Volume/DismountVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).DismountVolume(ctx, req.(*DismountVolumeRequest)) @@ -1689,7 +1696,7 @@ func _Volume_IsVolumeFormatted_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/IsVolumeFormatted", + FullMethod: "/v1beta3.Volume/IsVolumeFormatted", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).IsVolumeFormatted(ctx, req.(*IsVolumeFormattedRequest)) @@ -1707,7 +1714,7 @@ func _Volume_FormatVolume_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/FormatVolume", + FullMethod: "/v1beta3.Volume/FormatVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).FormatVolume(ctx, req.(*FormatVolumeRequest)) @@ -1725,7 +1732,7 @@ func _Volume_ResizeVolume_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/ResizeVolume", + FullMethod: "/v1beta3.Volume/ResizeVolume", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).ResizeVolume(ctx, req.(*ResizeVolumeRequest)) @@ -1743,7 +1750,7 @@ func _Volume_VolumeStats_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/VolumeStats", + FullMethod: "/v1beta3.Volume/VolumeStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).VolumeStats(ctx, req.(*VolumeStatsRequest)) @@ -1761,7 +1768,7 @@ func _Volume_GetVolumeDiskNumber_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/GetVolumeDiskNumber", + FullMethod: "/v1beta3.Volume/GetVolumeDiskNumber", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).GetVolumeDiskNumber(ctx, req.(*VolumeDiskNumberRequest)) @@ -1779,7 +1786,7 @@ func _Volume_GetVolumeIDFromMount_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/GetVolumeIDFromMount", + FullMethod: "/v1beta3.Volume/GetVolumeIDFromMount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).GetVolumeIDFromMount(ctx, req.(*VolumeIDFromMountRequest)) @@ -1797,7 +1804,7 @@ func _Volume_WriteVolumeCache_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/v1.Volume/WriteVolumeCache", + FullMethod: "/v1beta3.Volume/WriteVolumeCache", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(VolumeServer).WriteVolumeCache(ctx, req.(*WriteVolumeCacheRequest)) @@ -1806,7 +1813,7 @@ func _Volume_WriteVolumeCache_Handler(srv interface{}, ctx context.Context, dec } var _Volume_serviceDesc = grpc.ServiceDesc{ - ServiceName: "v1.Volume", + ServiceName: "v1beta3.Volume", HandlerType: (*VolumeServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1851,5 +1858,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto", + Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto", } diff --git a/client/api/volume/v1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto similarity index 99% rename from client/api/volume/v1/api.proto rename to vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto index e2577db7..e15931f7 100644 --- a/client/api/volume/v1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package v1; +package v1beta3; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1"; +option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3"; service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for diff --git a/client/groups/disk/v1/client_generated.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3/client_generated.go similarity index 67% rename from client/groups/disk/v1/client_generated.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3/client_generated.go index 600c9e70..e16f595a 100644 --- a/client/groups/disk/v1/client_generated.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta3 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "disk" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta3") type Client struct { - client v1.DiskClient + client v1beta3.DiskClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the disk API group version v1. +// NewClient returns a client to make calls to the disk API group version v1beta3. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewDiskClient(connection) + client := v1beta3.NewDiskClient(connection) return &Client{ client: client, connection: connection, @@ -63,32 +63,32 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.DiskClient = &Client{} +var _ v1beta3.DiskClient = &Client{} -func (w *Client) DiskStats(context context.Context, request *v1.DiskStatsRequest, opts ...grpc.CallOption) (*v1.DiskStatsResponse, error) { +func (w *Client) DiskStats(context context.Context, request *v1beta3.DiskStatsRequest, opts ...grpc.CallOption) (*v1beta3.DiskStatsResponse, error) { return w.client.DiskStats(context, request, opts...) } -func (w *Client) GetAttachState(context context.Context, request *v1.GetAttachStateRequest, opts ...grpc.CallOption) (*v1.GetAttachStateResponse, error) { +func (w *Client) GetAttachState(context context.Context, request *v1beta3.GetAttachStateRequest, opts ...grpc.CallOption) (*v1beta3.GetAttachStateResponse, error) { return w.client.GetAttachState(context, request, opts...) } -func (w *Client) ListDiskIDs(context context.Context, request *v1.ListDiskIDsRequest, opts ...grpc.CallOption) (*v1.ListDiskIDsResponse, error) { +func (w *Client) ListDiskIDs(context context.Context, request *v1beta3.ListDiskIDsRequest, opts ...grpc.CallOption) (*v1beta3.ListDiskIDsResponse, error) { return w.client.ListDiskIDs(context, request, opts...) } -func (w *Client) ListDiskLocations(context context.Context, request *v1.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1.ListDiskLocationsResponse, error) { +func (w *Client) ListDiskLocations(context context.Context, request *v1beta3.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1beta3.ListDiskLocationsResponse, error) { return w.client.ListDiskLocations(context, request, opts...) } -func (w *Client) PartitionDisk(context context.Context, request *v1.PartitionDiskRequest, opts ...grpc.CallOption) (*v1.PartitionDiskResponse, error) { +func (w *Client) PartitionDisk(context context.Context, request *v1beta3.PartitionDiskRequest, opts ...grpc.CallOption) (*v1beta3.PartitionDiskResponse, error) { return w.client.PartitionDisk(context, request, opts...) } -func (w *Client) Rescan(context context.Context, request *v1.RescanRequest, opts ...grpc.CallOption) (*v1.RescanResponse, error) { +func (w *Client) Rescan(context context.Context, request *v1beta3.RescanRequest, opts ...grpc.CallOption) (*v1beta3.RescanResponse, error) { return w.client.Rescan(context, request, opts...) } -func (w *Client) SetAttachState(context context.Context, request *v1.SetAttachStateRequest, opts ...grpc.CallOption) (*v1.SetAttachStateResponse, error) { +func (w *Client) SetAttachState(context context.Context, request *v1beta3.SetAttachStateRequest, opts ...grpc.CallOption) (*v1beta3.SetAttachStateResponse, error) { return w.client.SetAttachState(context, request, opts...) } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1/client_generated.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1beta2/client_generated.go similarity index 68% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1/client_generated.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1beta2/client_generated.go index d3c9d858..de152607 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1/client_generated.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1beta2/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "filesystem" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta2") type Client struct { - client v1.FilesystemClient + client v1beta2.FilesystemClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the filesystem API group version v1. +// NewClient returns a client to make calls to the filesystem API group version v1beta2. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewFilesystemClient(connection) + client := v1beta2.NewFilesystemClient(connection) return &Client{ client: client, connection: connection, @@ -63,24 +63,24 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.FilesystemClient = &Client{} +var _ v1beta2.FilesystemClient = &Client{} -func (w *Client) IsMountPoint(context context.Context, request *v1.IsMountPointRequest, opts ...grpc.CallOption) (*v1.IsMountPointResponse, error) { +func (w *Client) IsMountPoint(context context.Context, request *v1beta2.IsMountPointRequest, opts ...grpc.CallOption) (*v1beta2.IsMountPointResponse, error) { return w.client.IsMountPoint(context, request, opts...) } -func (w *Client) LinkPath(context context.Context, request *v1.LinkPathRequest, opts ...grpc.CallOption) (*v1.LinkPathResponse, error) { +func (w *Client) LinkPath(context context.Context, request *v1beta2.LinkPathRequest, opts ...grpc.CallOption) (*v1beta2.LinkPathResponse, error) { return w.client.LinkPath(context, request, opts...) } -func (w *Client) Mkdir(context context.Context, request *v1.MkdirRequest, opts ...grpc.CallOption) (*v1.MkdirResponse, error) { +func (w *Client) Mkdir(context context.Context, request *v1beta2.MkdirRequest, opts ...grpc.CallOption) (*v1beta2.MkdirResponse, error) { return w.client.Mkdir(context, request, opts...) } -func (w *Client) PathExists(context context.Context, request *v1.PathExistsRequest, opts ...grpc.CallOption) (*v1.PathExistsResponse, error) { +func (w *Client) PathExists(context context.Context, request *v1beta2.PathExistsRequest, opts ...grpc.CallOption) (*v1beta2.PathExistsResponse, error) { return w.client.PathExists(context, request, opts...) } -func (w *Client) Rmdir(context context.Context, request *v1.RmdirRequest, opts ...grpc.CallOption) (*v1.RmdirResponse, error) { +func (w *Client) Rmdir(context context.Context, request *v1beta2.RmdirRequest, opts ...grpc.CallOption) (*v1beta2.RmdirResponse, error) { return w.client.Rmdir(context, request, opts...) } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1/client_generated.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1beta2/client_generated.go similarity index 77% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1/client_generated.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1beta2/client_generated.go index a154fd33..94a92547 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1/client_generated.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1beta2/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta2 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "smb" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta2") type Client struct { - client v1.SmbClient + client v1beta2.SmbClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the smb API group version v1. +// NewClient returns a client to make calls to the smb API group version v1beta2. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewSmbClient(connection) + client := v1beta2.NewSmbClient(connection) return &Client{ client: client, connection: connection, @@ -63,12 +63,12 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.SmbClient = &Client{} +var _ v1beta2.SmbClient = &Client{} -func (w *Client) NewSmbGlobalMapping(context context.Context, request *v1.NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1.NewSmbGlobalMappingResponse, error) { +func (w *Client) NewSmbGlobalMapping(context context.Context, request *v1beta2.NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1beta2.NewSmbGlobalMappingResponse, error) { return w.client.NewSmbGlobalMapping(context, request, opts...) } -func (w *Client) RemoveSmbGlobalMapping(context context.Context, request *v1.RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1.RemoveSmbGlobalMappingResponse, error) { +func (w *Client) RemoveSmbGlobalMapping(context context.Context, request *v1beta2.RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*v1beta2.RemoveSmbGlobalMappingResponse, error) { return w.client.RemoveSmbGlobalMapping(context, request, opts...) } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1/client_generated.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1/client_generated.go deleted file mode 100644 index 69d16961..00000000 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1/client_generated.go +++ /dev/null @@ -1,90 +0,0 @@ -// Code generated by csi-proxy-api-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - "context" - "net" - - "github.com/Microsoft/go-winio" - "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1" - "github.com/kubernetes-csi/csi-proxy/client/apiversion" - "google.golang.org/grpc" -) - -// GroupName is the group name of this API. -const GroupName = "volume" - -// Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1alpha1") - -type Client struct { - client v1alpha1.VolumeClient - connection *grpc.ClientConn -} - -// NewClient returns a client to make calls to the volume API group version v1alpha1. -// It's the caller's responsibility to Close the client when done. -func NewClient() (*Client, error) { - pipePath := client.PipePath(GroupName, Version) - return NewClientWithPipePath(pipePath) -} - -// NewClientWithPipePath returns a client to make calls to the named pipe located at "pipePath". -// It's the caller's responsibility to Close the client when done. -func NewClientWithPipePath(pipePath string) (*Client, error) { - - // verify that the pipe exists - _, err := winio.DialPipe(pipePath, nil) - if err != nil { - return nil, err - } - - connection, err := grpc.Dial(pipePath, - grpc.WithContextDialer(func(context context.Context, s string) (net.Conn, error) { - return winio.DialPipeContext(context, s) - }), - grpc.WithInsecure()) - if err != nil { - return nil, err - } - - client := v1alpha1.NewVolumeClient(connection) - return &Client{ - client: client, - connection: connection, - }, nil -} - -// Close closes the client. It must be called before the client gets GC-ed. -func (w *Client) Close() error { - return w.connection.Close() -} - -// ensures we implement all the required methods -var _ v1alpha1.VolumeClient = &Client{} - -func (w *Client) DismountVolume(context context.Context, request *v1alpha1.DismountVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.DismountVolumeResponse, error) { - return w.client.DismountVolume(context, request, opts...) -} - -func (w *Client) FormatVolume(context context.Context, request *v1alpha1.FormatVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.FormatVolumeResponse, error) { - return w.client.FormatVolume(context, request, opts...) -} - -func (w *Client) IsVolumeFormatted(context context.Context, request *v1alpha1.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1alpha1.IsVolumeFormattedResponse, error) { - return w.client.IsVolumeFormatted(context, request, opts...) -} - -func (w *Client) ListVolumesOnDisk(context context.Context, request *v1alpha1.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1alpha1.ListVolumesOnDiskResponse, error) { - return w.client.ListVolumesOnDisk(context, request, opts...) -} - -func (w *Client) MountVolume(context context.Context, request *v1alpha1.MountVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.MountVolumeResponse, error) { - return w.client.MountVolume(context, request, opts...) -} - -func (w *Client) ResizeVolume(context context.Context, request *v1alpha1.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.ResizeVolumeResponse, error) { - return w.client.ResizeVolume(context, request, opts...) -} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1/client_generated.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1beta3/client_generated.go similarity index 68% rename from vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1/client_generated.go rename to vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1beta3/client_generated.go index 7bf386b6..5467dc78 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1/client_generated.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1beta3/client_generated.go @@ -1,6 +1,6 @@ // Code generated by csi-proxy-api-gen. DO NOT EDIT. -package v1 +package v1beta3 import ( "context" @@ -8,7 +8,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" - "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1" + "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3" "github.com/kubernetes-csi/csi-proxy/client/apiversion" "google.golang.org/grpc" ) @@ -17,14 +17,14 @@ import ( const GroupName = "volume" // Version is the api version. -var Version = apiversion.NewVersionOrPanic("v1") +var Version = apiversion.NewVersionOrPanic("v1beta3") type Client struct { - client v1.VolumeClient + client v1beta3.VolumeClient connection *grpc.ClientConn } -// NewClient returns a client to make calls to the volume API group version v1. +// NewClient returns a client to make calls to the volume API group version v1beta3. // It's the caller's responsibility to Close the client when done. func NewClient() (*Client, error) { pipePath := client.PipePath(GroupName, Version) @@ -50,7 +50,7 @@ func NewClientWithPipePath(pipePath string) (*Client, error) { return nil, err } - client := v1.NewVolumeClient(connection) + client := v1beta3.NewVolumeClient(connection) return &Client{ client: client, connection: connection, @@ -63,44 +63,44 @@ func (w *Client) Close() error { } // ensures we implement all the required methods -var _ v1.VolumeClient = &Client{} +var _ v1beta3.VolumeClient = &Client{} -func (w *Client) DismountVolume(context context.Context, request *v1.DismountVolumeRequest, opts ...grpc.CallOption) (*v1.DismountVolumeResponse, error) { +func (w *Client) DismountVolume(context context.Context, request *v1beta3.DismountVolumeRequest, opts ...grpc.CallOption) (*v1beta3.DismountVolumeResponse, error) { return w.client.DismountVolume(context, request, opts...) } -func (w *Client) FormatVolume(context context.Context, request *v1.FormatVolumeRequest, opts ...grpc.CallOption) (*v1.FormatVolumeResponse, error) { +func (w *Client) FormatVolume(context context.Context, request *v1beta3.FormatVolumeRequest, opts ...grpc.CallOption) (*v1beta3.FormatVolumeResponse, error) { return w.client.FormatVolume(context, request, opts...) } -func (w *Client) GetVolumeDiskNumber(context context.Context, request *v1.VolumeDiskNumberRequest, opts ...grpc.CallOption) (*v1.VolumeDiskNumberResponse, error) { +func (w *Client) GetVolumeDiskNumber(context context.Context, request *v1beta3.VolumeDiskNumberRequest, opts ...grpc.CallOption) (*v1beta3.VolumeDiskNumberResponse, error) { return w.client.GetVolumeDiskNumber(context, request, opts...) } -func (w *Client) GetVolumeIDFromMount(context context.Context, request *v1.VolumeIDFromMountRequest, opts ...grpc.CallOption) (*v1.VolumeIDFromMountResponse, error) { +func (w *Client) GetVolumeIDFromMount(context context.Context, request *v1beta3.VolumeIDFromMountRequest, opts ...grpc.CallOption) (*v1beta3.VolumeIDFromMountResponse, error) { return w.client.GetVolumeIDFromMount(context, request, opts...) } -func (w *Client) IsVolumeFormatted(context context.Context, request *v1.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1.IsVolumeFormattedResponse, error) { +func (w *Client) IsVolumeFormatted(context context.Context, request *v1beta3.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1beta3.IsVolumeFormattedResponse, error) { return w.client.IsVolumeFormatted(context, request, opts...) } -func (w *Client) ListVolumesOnDisk(context context.Context, request *v1.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1.ListVolumesOnDiskResponse, error) { +func (w *Client) ListVolumesOnDisk(context context.Context, request *v1beta3.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1beta3.ListVolumesOnDiskResponse, error) { return w.client.ListVolumesOnDisk(context, request, opts...) } -func (w *Client) MountVolume(context context.Context, request *v1.MountVolumeRequest, opts ...grpc.CallOption) (*v1.MountVolumeResponse, error) { +func (w *Client) MountVolume(context context.Context, request *v1beta3.MountVolumeRequest, opts ...grpc.CallOption) (*v1beta3.MountVolumeResponse, error) { return w.client.MountVolume(context, request, opts...) } -func (w *Client) ResizeVolume(context context.Context, request *v1.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1.ResizeVolumeResponse, error) { +func (w *Client) ResizeVolume(context context.Context, request *v1beta3.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1beta3.ResizeVolumeResponse, error) { return w.client.ResizeVolume(context, request, opts...) } -func (w *Client) VolumeStats(context context.Context, request *v1.VolumeStatsRequest, opts ...grpc.CallOption) (*v1.VolumeStatsResponse, error) { +func (w *Client) VolumeStats(context context.Context, request *v1beta3.VolumeStatsRequest, opts ...grpc.CallOption) (*v1beta3.VolumeStatsResponse, error) { return w.client.VolumeStats(context, request, opts...) } -func (w *Client) WriteVolumeCache(context context.Context, request *v1.WriteVolumeCacheRequest, opts ...grpc.CallOption) (*v1.WriteVolumeCacheResponse, error) { +func (w *Client) WriteVolumeCache(context context.Context, request *v1beta3.WriteVolumeCacheRequest, opts ...grpc.CallOption) (*v1beta3.WriteVolumeCacheResponse, error) { return w.client.WriteVolumeCache(context, request, opts...) } diff --git a/vendor/modules.txt b/vendor/modules.txt index b118d705..e5d83f9b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -7,7 +7,6 @@ github.com/davecgh/go-spew/spew # github.com/go-logr/logr v0.2.0 github.com/go-logr/logr # github.com/golang/protobuf v1.4.1 -## explicit github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes github.com/golang/protobuf/ptypes/any @@ -27,31 +26,30 @@ github.com/iancoleman/strcase # github.com/kubernetes-csi/csi-proxy/client v0.0.0-00010101000000-000000000000 => ./client ## explicit github.com/kubernetes-csi/csi-proxy/client -github.com/kubernetes-csi/csi-proxy/client/api/disk/v1 github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1 github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1 github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2 -github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1 +github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3 github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1 github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1 +github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta2 github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1 github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2 -github.com/kubernetes-csi/csi-proxy/client/api/smb/v1 github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1 github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1 +github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2 github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1 -github.com/kubernetes-csi/csi-proxy/client/api/volume/v1 github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1 github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1 github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2 +github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3 github.com/kubernetes-csi/csi-proxy/client/apiversion -github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1 -github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1 +github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1beta3 +github.com/kubernetes-csi/csi-proxy/client/groups/filesystem/v1beta2 github.com/kubernetes-csi/csi-proxy/client/groups/iscsi/v1alpha2 -github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1 +github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1beta2 github.com/kubernetes-csi/csi-proxy/client/groups/system/v1alpha1 -github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1 -github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1 +github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1beta3 # github.com/pkg/errors v0.9.1 ## explicit github.com/pkg/errors From 6dff405a177790c0dc2bacadb0514996c52a8310 Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Mon, 10 May 2021 22:03:44 +0000 Subject: [PATCH 2/2] restore autogenerated v1betaX files to master --- Makefile | 2 +- client/api/disk/v1alpha1/api.pb.go | 863 +++----- client/api/disk/v1alpha1/api.proto | 2 - client/api/disk/v1beta1/api.pb.go | 1126 ++++------- client/api/disk/v1beta2/api.pb.go | 1443 +++++-------- client/api/filesystem/v1alpha1/api.pb.go | 1043 ++++------ client/api/filesystem/v1alpha1/api.proto | 12 +- client/api/filesystem/v1beta1/api.pb.go | 1050 ++++------ client/api/filesystem/v1beta1/api.proto | 12 +- client/api/iscsi/v1alpha1/api.pb.go | 1456 +++++--------- client/api/iscsi/v1alpha2/api.pb.go | 1615 +++++---------- client/api/smb/v1alpha1/api.pb.go | 473 ++--- client/api/smb/v1alpha1/api.proto | 4 +- client/api/smb/v1beta1/api.pb.go | 481 ++--- client/api/smb/v1beta1/api.proto | 2 - client/api/system/v1alpha1/api.pb.go | 916 +++------ client/api/volume/v1alpha1/api.pb.go | 1100 ++++------ client/api/volume/v1alpha1/api.proto | 4 +- client/api/volume/v1beta1/api.pb.go | 1611 +++++---------- client/api/volume/v1beta2/api.pb.go | 1779 ++++++----------- .../client/dummy/v1/client_generated.go | 2 +- .../server/dummy/api_group_generated.go | 2 +- .../dummy/internal/v1/server_generated.go | 2 +- .../client/api/disk/v1alpha1/api.pb.go | 863 +++----- .../client/api/disk/v1alpha1/api.proto | 2 - .../client/api/disk/v1beta1/api.pb.go | 1126 ++++------- .../client/api/disk/v1beta2/api.pb.go | 1443 +++++-------- .../client/api/filesystem/v1alpha1/api.pb.go | 1043 ++++------ .../client/api/filesystem/v1alpha1/api.proto | 12 +- .../client/api/filesystem/v1beta1/api.pb.go | 1050 ++++------ .../client/api/filesystem/v1beta1/api.proto | 12 +- .../client/api/iscsi/v1alpha1/api.pb.go | 1456 +++++--------- .../client/api/iscsi/v1alpha2/api.pb.go | 1615 +++++---------- .../client/api/smb/v1alpha1/api.pb.go | 473 ++--- .../client/api/smb/v1alpha1/api.proto | 4 +- .../client/api/smb/v1beta1/api.pb.go | 481 ++--- .../client/api/smb/v1beta1/api.proto | 2 - .../client/api/system/v1alpha1/api.pb.go | 916 +++------ .../client/api/volume/v1alpha1/api.pb.go | 1100 ++++------ .../client/api/volume/v1alpha1/api.proto | 4 +- .../client/api/volume/v1beta1/api.pb.go | 1611 +++++---------- .../client/api/volume/v1beta2/api.pb.go | 1779 ++++++----------- 42 files changed, 10268 insertions(+), 19724 deletions(-) diff --git a/Makefile b/Makefile index e75247eb..97fc6090 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ generate-protobuf: protoc -I "$(GOPATH)/src/" -I '$(REPO_ROOT)/client/api' "$$FILE" --go_out=plugins="grpc:$(GOPATH)/src"; \ } ; \ export -f generate_protobuf_for; \ - find '$(REPO_ROOT)' -name '*.proto' | sed -e "s|$(GOPATH)/src/||g" | xargs -n1 '$(SHELL)' -c 'generate_protobuf_for "$$0"' + find '$(REPO_ROOT)' -not -path './vendor/*' -name '*.proto' | sed -e "s|$(GOPATH)/src/||g" | xargs -n1 '$(SHELL)' -c 'generate_protobuf_for "$$0"' .PHONY: generate-csi-proxy-api-gen generate-csi-proxy-api-gen: compile-csi-proxy-api-gen diff --git a/client/api/disk/v1alpha1/api.pb.go b/client/api/disk/v1alpha1/api.pb.go index 881b1ecc..9fdaadde 100644 --- a/client/api/disk/v1alpha1/api.pb.go +++ b/client/api/disk/v1alpha1/api.pb.go @@ -1,693 +1,424 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) +} +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) } -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo + +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) } +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) } +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) +} +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_028ab8065db229af, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_028ab8065db229af, []int{6} } -type GetDiskNumberByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Disk ID - DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *GetDiskNumberByNameRequest) Reset() { - *x = GetDiskNumberByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *GetDiskNumberByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*GetDiskNumberByNameRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *GetDiskNumberByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type GetDiskNumberByNameRequest struct { + // Disk ID + DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use GetDiskNumberByNameRequest.ProtoReflect.Descriptor instead. +func (m *GetDiskNumberByNameRequest) Reset() { *m = GetDiskNumberByNameRequest{} } +func (m *GetDiskNumberByNameRequest) String() string { return proto.CompactTextString(m) } +func (*GetDiskNumberByNameRequest) ProtoMessage() {} func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_028ab8065db229af, []int{7} } -func (x *GetDiskNumberByNameRequest) GetDiskName() string { - if x != nil { - return x.DiskName +func (m *GetDiskNumberByNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDiskNumberByNameRequest.Unmarshal(m, b) +} +func (m *GetDiskNumberByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDiskNumberByNameRequest.Marshal(b, m, deterministic) +} +func (m *GetDiskNumberByNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskNumberByNameRequest.Merge(m, src) +} +func (m *GetDiskNumberByNameRequest) XXX_Size() int { + return xxx_messageInfo_GetDiskNumberByNameRequest.Size(m) +} +func (m *GetDiskNumberByNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDiskNumberByNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDiskNumberByNameRequest proto.InternalMessageInfo + +func (m *GetDiskNumberByNameRequest) GetDiskName() string { + if m != nil { + return m.DiskName } return "" } type GetDiskNumberByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk number - DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` + DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetDiskNumberByNameResponse) Reset() { - *x = GetDiskNumberByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetDiskNumberByNameResponse) Reset() { *m = GetDiskNumberByNameResponse{} } +func (m *GetDiskNumberByNameResponse) String() string { return proto.CompactTextString(m) } +func (*GetDiskNumberByNameResponse) ProtoMessage() {} +func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{8} } -func (x *GetDiskNumberByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetDiskNumberByNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDiskNumberByNameResponse.Unmarshal(m, b) } - -func (*GetDiskNumberByNameResponse) ProtoMessage() {} - -func (x *GetDiskNumberByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetDiskNumberByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDiskNumberByNameResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetDiskNumberByNameResponse.ProtoReflect.Descriptor instead. -func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *GetDiskNumberByNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskNumberByNameResponse.Merge(m, src) +} +func (m *GetDiskNumberByNameResponse) XXX_Size() int { + return xxx_messageInfo_GetDiskNumberByNameResponse.Size(m) +} +func (m *GetDiskNumberByNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetDiskNumberByNameResponse.DiscardUnknown(m) } -func (x *GetDiskNumberByNameResponse) GetDiskNumber() string { - if x != nil { - return x.DiskNumber +var xxx_messageInfo_GetDiskNumberByNameResponse proto.InternalMessageInfo + +func (m *GetDiskNumberByNameResponse) GetDiskNumber() string { + if m != nil { + return m.DiskNumber } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, - 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, - 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, - 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd4, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x58, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, - 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, - 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, - 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, - 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, - 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xdf, 0x02, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x52, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x17, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1alpha1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1alpha1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1alpha1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1alpha1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1alpha1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1alpha1.RescanRequest - (*RescanResponse)(nil), // 6: v1alpha1.RescanResponse - (*GetDiskNumberByNameRequest)(nil), // 7: v1alpha1.GetDiskNumberByNameRequest - (*GetDiskNumberByNameResponse)(nil), // 8: v1alpha1.GetDiskNumberByNameResponse - nil, // 9: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = []int32{ - 9, // 0: v1alpha1.ListDiskLocationsResponse.disk_locations:type_name -> v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry - 1, // 1: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1alpha1.DiskLocation - 0, // 2: v1alpha1.Disk.ListDiskLocations:input_type -> v1alpha1.ListDiskLocationsRequest - 3, // 3: v1alpha1.Disk.PartitionDisk:input_type -> v1alpha1.PartitionDiskRequest - 5, // 4: v1alpha1.Disk.Rescan:input_type -> v1alpha1.RescanRequest - 7, // 5: v1alpha1.Disk.GetDiskNumberByName:input_type -> v1alpha1.GetDiskNumberByNameRequest - 2, // 6: v1alpha1.Disk.ListDiskLocations:output_type -> v1alpha1.ListDiskLocationsResponse - 4, // 7: v1alpha1.Disk.PartitionDisk:output_type -> v1alpha1.PartitionDiskResponse - 6, // 8: v1alpha1.Disk.Rescan:output_type -> v1alpha1.RescanResponse - 8, // 9: v1alpha1.Disk.GetDiskNumberByName:output_type -> v1alpha1.GetDiskNumberByNameResponse - 6, // [6:10] is the sub-list for method output_type - 2, // [2:6] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDiskNumberByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDiskNumberByNameResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1alpha1.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1alpha1.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1alpha1.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1alpha1.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1alpha1.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1alpha1.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1alpha1.RescanResponse") + proto.RegisterType((*GetDiskNumberByNameRequest)(nil), "v1alpha1.GetDiskNumberByNameRequest") + proto.RegisterType((*GetDiskNumberByNameResponse)(nil), "v1alpha1.GetDiskNumberByNameResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto", fileDescriptor_028ab8065db229af) +} + +var fileDescriptor_028ab8065db229af = []byte{ + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xef, 0x6b, 0x13, 0x41, + 0x10, 0xf5, 0x92, 0x36, 0xb6, 0x13, 0x53, 0xeb, 0x5a, 0xdb, 0xf3, 0x0a, 0xb6, 0xac, 0x0a, 0xfd, + 0x60, 0xef, 0x68, 0x04, 0x51, 0x41, 0xc1, 0x12, 0x95, 0x42, 0x08, 0x72, 0x28, 0xf8, 0x45, 0x65, + 0x73, 0x37, 0x34, 0x4b, 0x92, 0xbb, 0x73, 0x77, 0x2f, 0x98, 0xff, 0xd3, 0xef, 0xfe, 0x2b, 0xb2, + 0x7b, 0xbb, 0xf9, 0x61, 0x12, 0xf5, 0xdb, 0xcd, 0x9b, 0xf7, 0x76, 0xe6, 0xbd, 0xe1, 0xe0, 0xdd, + 0x35, 0x57, 0x83, 0xb2, 0x1f, 0x26, 0xf9, 0x38, 0x1a, 0x96, 0x7d, 0x14, 0x19, 0x2a, 0x94, 0xe7, + 0x89, 0xe4, 0x51, 0x22, 0xf9, 0x79, 0x21, 0xf2, 0x1f, 0xd3, 0x28, 0x19, 0x71, 0xcc, 0x54, 0xc4, + 0x0a, 0x1e, 0xa5, 0x5c, 0x0e, 0xa3, 0xc9, 0x05, 0x1b, 0x15, 0x03, 0x76, 0xa1, 0x91, 0xb0, 0x10, + 0xb9, 0xca, 0xc9, 0x8e, 0xc3, 0x68, 0x00, 0x7e, 0x97, 0x4b, 0xd5, 0xe1, 0x72, 0xd8, 0xcd, 0x13, + 0xa6, 0x78, 0x9e, 0xc9, 0x18, 0xbf, 0x97, 0x28, 0x15, 0x1d, 0xc0, 0xad, 0x45, 0x9c, 0xf8, 0x70, + 0xf3, 0x4d, 0xca, 0x0a, 0x85, 0xc2, 0xf7, 0x4e, 0xbd, 0xb3, 0xdd, 0xd8, 0x95, 0x64, 0x1f, 0xea, + 0x97, 0xa5, 0xf4, 0x6b, 0x06, 0xd5, 0x9f, 0xe4, 0x10, 0x1a, 0x1f, 0x99, 0xb8, 0x46, 0xe5, 0xd7, + 0x0d, 0x68, 0x2b, 0x72, 0x00, 0xdb, 0xdd, 0x4f, 0xbd, 0xab, 0x8e, 0xbf, 0x65, 0xe0, 0xaa, 0xa0, + 0x3f, 0x3d, 0xb8, 0xbf, 0x66, 0x0d, 0x59, 0xe4, 0x99, 0x44, 0xf2, 0x05, 0xf6, 0xb4, 0x91, 0x6f, + 0x23, 0xd7, 0xf1, 0xbd, 0xd3, 0xfa, 0x59, 0xb3, 0xfd, 0x2c, 0x74, 0x36, 0xc2, 0x8d, 0xe2, 0x70, + 0x09, 0x7d, 0x9b, 0x29, 0x31, 0x8d, 0x5b, 0xe9, 0x22, 0x16, 0x7c, 0x06, 0xb2, 0x4a, 0xd2, 0x96, + 0x86, 0x38, 0xb5, 0x46, 0xf5, 0x27, 0x79, 0x02, 0xdb, 0x13, 0x36, 0x2a, 0xd1, 0xd8, 0x6c, 0xb6, + 0x0f, 0xe7, 0xd3, 0x17, 0xe5, 0x71, 0x45, 0x7a, 0x59, 0x7b, 0xee, 0xd1, 0x10, 0x0e, 0x3e, 0x30, + 0xa1, 0xb8, 0xc6, 0x35, 0xc7, 0x06, 0xab, 0xc3, 0xd1, 0x2b, 0x5c, 0x75, 0xec, 0xf3, 0xb6, 0xa2, + 0x47, 0x70, 0xef, 0x0f, 0x7e, 0x65, 0x82, 0xde, 0x86, 0x56, 0x8c, 0x32, 0x61, 0x99, 0x3b, 0xcd, + 0x3e, 0xec, 0x39, 0xc0, 0x52, 0x5e, 0x40, 0xf0, 0x1e, 0x4d, 0x06, 0xbd, 0x72, 0xdc, 0x47, 0x71, + 0x39, 0xed, 0xb1, 0x31, 0xba, 0x89, 0xc7, 0xb0, 0x6b, 0x22, 0xcc, 0xd8, 0x18, 0xed, 0xd0, 0x1d, + 0x0d, 0x68, 0x0e, 0x7d, 0x0d, 0xc7, 0x6b, 0xa5, 0x36, 0xfe, 0x13, 0x68, 0x56, 0x5a, 0xd3, 0xb4, + 0x6a, 0x48, 0x67, 0xf4, 0xf6, 0xaf, 0x1a, 0x6c, 0x69, 0x35, 0xf9, 0x0a, 0x77, 0x56, 0x0e, 0x41, + 0xe8, 0x5f, 0xaf, 0x64, 0xd6, 0x0b, 0x1e, 0xfe, 0xc7, 0x25, 0xe9, 0x0d, 0x12, 0x43, 0x6b, 0x29, + 0x1f, 0xf2, 0x60, 0xae, 0x5b, 0x17, 0x74, 0x70, 0xb2, 0xb1, 0x3f, 0x7b, 0xf3, 0x15, 0x34, 0xaa, + 0x24, 0xc9, 0xd1, 0x9c, 0xbc, 0x14, 0x76, 0xe0, 0xaf, 0x36, 0x66, 0xf2, 0x14, 0xee, 0xae, 0xc9, + 0x8e, 0x3c, 0x9a, 0x4b, 0x36, 0x5f, 0x25, 0x78, 0xfc, 0x0f, 0x96, 0x9b, 0xd2, 0x6f, 0x98, 0xdf, + 0xf6, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x27, 0x76, 0x00, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -776,16 +507,16 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) GetDiskNumberByName(context.Context, *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { +func (*UnimplementedDiskServer) GetDiskNumberByName(ctx context.Context, req *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDiskNumberByName not implemented") } diff --git a/client/api/disk/v1alpha1/api.proto b/client/api/disk/v1alpha1/api.proto index 5b84b111..03ef6121 100644 --- a/client/api/disk/v1alpha1/api.proto +++ b/client/api/disk/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1"; - service Disk { // ListDiskLocations returns locations of all // disk devices enumerated by the host diff --git a/client/api/disk/v1beta1/api.pb.go b/client/api/disk/v1beta1/api.pb.go index 579f074c..099b9769 100644 --- a/client/api/disk/v1beta1/api.pb.go +++ b/client/api/disk/v1beta1/api.pb.go @@ -1,904 +1,554 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto +// source: disk/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) } +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +} +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) } -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo + +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) +} +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) +} +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) } -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo + +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{4} -} - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_edb7884fca4087ac, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_edb7884fca4087ac, []int{6} } -type ListDiskIDsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *ListDiskIDsRequest) Reset() { - *x = ListDiskIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *ListDiskIDsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type ListDiskIDsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. +func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } +func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsRequest) ProtoMessage() {} func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_edb7884fca4087ac, []int{7} } -type DiskIDs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) } - -func (x *DiskIDs) Reset() { - *x = DiskIDs{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) } - -func (x *DiskIDs) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) +} +func (m *ListDiskIDsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsRequest.Size(m) +} +func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) } -func (*DiskIDs) ProtoMessage() {} +var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo -func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type DiskIDs struct { + // Map of Disk ID types and Disk ID values + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (m *DiskIDs) Reset() { *m = DiskIDs{} } +func (m *DiskIDs) String() string { return proto.CompactTextString(m) } +func (*DiskIDs) ProtoMessage() {} func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{8} + return fileDescriptor_edb7884fca4087ac, []int{8} +} + +func (m *DiskIDs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskIDs.Unmarshal(m, b) +} +func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +} +func (m *DiskIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskIDs.Merge(m, src) +} +func (m *DiskIDs) XXX_Size() int { + return xxx_messageInfo_DiskIDs.Size(m) +} +func (m *DiskIDs) XXX_DiscardUnknown() { + xxx_messageInfo_DiskIDs.DiscardUnknown(m) } -func (x *DiskIDs) GetIdentifiers() map[string]string { - if x != nil { - return x.Identifiers +var xxx_messageInfo_DiskIDs proto.InternalMessageInfo + +func (m *DiskIDs) GetIdentifiers() map[string]string { + if m != nil { + return m.Identifiers } return nil } type ListDiskIDsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskIDsResponse) Reset() { - *x = ListDiskIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } +func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsResponse) ProtoMessage() {} +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{9} } -func (x *ListDiskIDsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) } - -func (*ListDiskIDsResponse) ProtoMessage() {} - -func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +} +func (m *ListDiskIDsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsResponse.Size(m) +} +func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) } -func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if x != nil { - return x.DiskIDs +var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo + +func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if m != nil { + return m.DiskIDs } return nil } type DiskStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsRequest) Reset() { - *x = DiskStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } +func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } +func (*DiskStatsRequest) ProtoMessage() {} +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{10} } -func (x *DiskStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) } - -func (*DiskStatsRequest) ProtoMessage() {} - -func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{10} +func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsRequest.Merge(m, src) +} +func (m *DiskStatsRequest) XXX_Size() int { + return xxx_messageInfo_DiskStatsRequest.Size(m) } +func (m *DiskStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo -func (x *DiskStatsRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *DiskStatsRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type DiskStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsResponse) Reset() { - *x = DiskStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } +func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } +func (*DiskStatsResponse) ProtoMessage() {} +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{11} } -func (x *DiskStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) } - -func (*DiskStatsResponse) ProtoMessage() {} - -func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{11} +func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsResponse.Merge(m, src) +} +func (m *DiskStatsResponse) XXX_Size() int { + return xxx_messageInfo_DiskStatsResponse.Size(m) +} +func (m *DiskStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) } -func (x *DiskStatsResponse) GetDiskSize() int64 { - if x != nil { - return x.DiskSize +var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo + +func (m *DiskStatsResponse) GetDiskSize() int64 { + if m != nil { + return m.DiskSize } return 0 } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, - 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, - 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, - 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, - 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x32, 0x85, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, - 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x3b, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, - 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, - 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1beta1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1beta1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1beta1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1beta1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1beta1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1beta1.RescanRequest - (*RescanResponse)(nil), // 6: v1beta1.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1beta1.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1beta1.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1beta1.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1beta1.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1beta1.DiskStatsResponse - nil, // 12: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 13: v1beta1.DiskIDs.IdentifiersEntry - nil, // 14: v1beta1.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = []int32{ - 12, // 0: v1beta1.ListDiskLocationsResponse.disk_locations:type_name -> v1beta1.ListDiskLocationsResponse.DiskLocationsEntry - 13, // 1: v1beta1.DiskIDs.identifiers:type_name -> v1beta1.DiskIDs.IdentifiersEntry - 14, // 2: v1beta1.ListDiskIDsResponse.diskIDs:type_name -> v1beta1.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta1.DiskLocation - 8, // 4: v1beta1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta1.DiskIDs - 0, // 5: v1beta1.Disk.ListDiskLocations:input_type -> v1beta1.ListDiskLocationsRequest - 3, // 6: v1beta1.Disk.PartitionDisk:input_type -> v1beta1.PartitionDiskRequest - 5, // 7: v1beta1.Disk.Rescan:input_type -> v1beta1.RescanRequest - 7, // 8: v1beta1.Disk.ListDiskIDs:input_type -> v1beta1.ListDiskIDsRequest - 10, // 9: v1beta1.Disk.DiskStats:input_type -> v1beta1.DiskStatsRequest - 2, // 10: v1beta1.Disk.ListDiskLocations:output_type -> v1beta1.ListDiskLocationsResponse - 4, // 11: v1beta1.Disk.PartitionDisk:output_type -> v1beta1.PartitionDiskResponse - 6, // 12: v1beta1.Disk.Rescan:output_type -> v1beta1.RescanResponse - 9, // 13: v1beta1.Disk.ListDiskIDs:output_type -> v1beta1.ListDiskIDsResponse - 11, // 14: v1beta1.Disk.DiskStats:output_type -> v1beta1.DiskStatsResponse - 10, // [10:15] is the sub-list for method output_type - 5, // [5:10] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskIDs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta1.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1beta1.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta1.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta1.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta1.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta1.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1beta1.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1beta1.RescanResponse") + proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta1.ListDiskIDsRequest") + proto.RegisterType((*DiskIDs)(nil), "v1beta1.DiskIDs") + proto.RegisterMapType((map[string]string)(nil), "v1beta1.DiskIDs.IdentifiersEntry") + proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta1.ListDiskIDsResponse") + proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta1.ListDiskIDsResponse.DiskIDsEntry") + proto.RegisterType((*DiskStatsRequest)(nil), "v1beta1.DiskStatsRequest") + proto.RegisterType((*DiskStatsResponse)(nil), "v1beta1.DiskStatsResponse") +} + +func init() { proto.RegisterFile("disk/v1beta1/api.proto", fileDescriptor_edb7884fca4087ac) } + +var fileDescriptor_edb7884fca4087ac = []byte{ + // 564 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x6f, 0xd3, 0x30, + 0x14, 0x5d, 0xd6, 0x6d, 0xa5, 0xb7, 0x74, 0x74, 0xa6, 0xeb, 0x32, 0xf3, 0xa1, 0x2d, 0x0f, 0x68, + 0x80, 0x96, 0x68, 0x45, 0x48, 0x88, 0x09, 0x24, 0xb6, 0xf0, 0x10, 0x54, 0xa1, 0x29, 0x03, 0x21, + 0xa1, 0x49, 0x28, 0x4d, 0xcd, 0x66, 0xb5, 0x24, 0x21, 0x76, 0x26, 0xca, 0x3b, 0xaf, 0xfc, 0x0e, + 0x7e, 0x0f, 0xbf, 0x08, 0x39, 0xb1, 0x83, 0xd3, 0x66, 0xdb, 0x5b, 0x7c, 0xee, 0xb9, 0xce, 0xbd, + 0xe7, 0x1c, 0x19, 0xfa, 0x63, 0xca, 0x26, 0xce, 0xe5, 0xc1, 0x88, 0xf0, 0xe0, 0xc0, 0x09, 0x12, + 0x6a, 0x27, 0x69, 0xcc, 0x63, 0xd4, 0x94, 0x90, 0x85, 0xc1, 0x1c, 0x52, 0xc6, 0x5d, 0xca, 0x26, + 0xc3, 0x38, 0x0c, 0x38, 0x8d, 0x23, 0xe6, 0x93, 0xef, 0x19, 0x61, 0xdc, 0xba, 0x80, 0xdb, 0x3a, + 0x8e, 0x4c, 0x68, 0xbe, 0x19, 0x07, 0x09, 0x27, 0xa9, 0x69, 0xec, 0x18, 0x7b, 0x2d, 0x5f, 0x1d, + 0x51, 0x17, 0x1a, 0x47, 0x19, 0x33, 0x97, 0x73, 0x54, 0x7c, 0xa2, 0x3e, 0xac, 0x7d, 0x08, 0xd2, + 0x73, 0xc2, 0xcd, 0x46, 0x0e, 0xca, 0x13, 0xea, 0xc1, 0xea, 0xf0, 0xe3, 0x7b, 0xcf, 0x35, 0x57, + 0x72, 0xb8, 0x38, 0x58, 0x7f, 0x0d, 0xd8, 0xae, 0x19, 0x83, 0x25, 0x71, 0xc4, 0x08, 0x3a, 0x83, + 0x75, 0xb1, 0xc6, 0x97, 0xa9, 0xaa, 0x98, 0xc6, 0x4e, 0x63, 0xaf, 0x3d, 0x78, 0x6e, 0xcb, 0x2d, + 0xec, 0x2b, 0x7b, 0xed, 0x0a, 0xfa, 0x36, 0xe2, 0xe9, 0xcc, 0xef, 0x8c, 0x75, 0x0c, 0x7f, 0x02, + 0xb4, 0x48, 0x12, 0x1b, 0x4d, 0xc8, 0x4c, 0xee, 0x29, 0x3e, 0xd1, 0x53, 0x58, 0xbd, 0x0c, 0xa6, + 0x19, 0xc9, 0xb7, 0x6c, 0x0f, 0x36, 0xcb, 0x9f, 0xeb, 0xdd, 0x7e, 0xc1, 0x79, 0xb9, 0xfc, 0xc2, + 0xb0, 0x6c, 0xe8, 0x9d, 0x04, 0x29, 0xa7, 0x02, 0x17, 0x1c, 0x29, 0xab, 0x90, 0x46, 0x4c, 0xe0, + 0xb9, 0xf2, 0x76, 0x79, 0xb2, 0xb6, 0x60, 0x73, 0x8e, 0x5f, 0xec, 0x60, 0xdd, 0x81, 0x8e, 0x4f, + 0x58, 0x18, 0x44, 0xca, 0x98, 0x2e, 0xac, 0x2b, 0x40, 0x52, 0x7a, 0x80, 0x94, 0x06, 0x9e, 0x5b, + 0x1a, 0xf8, 0xdb, 0x80, 0xa6, 0x84, 0xd0, 0x31, 0xb4, 0xe9, 0x98, 0x44, 0x9c, 0x7e, 0xa5, 0x24, + 0x55, 0x0a, 0xee, 0x56, 0x96, 0xf0, 0x5c, 0x66, 0x7b, 0xff, 0x39, 0x85, 0x5a, 0x7a, 0x17, 0x7e, + 0x0d, 0xdd, 0x79, 0x42, 0x8d, 0x52, 0x3d, 0x5d, 0xa9, 0x96, 0x2e, 0xc9, 0x1f, 0x03, 0xee, 0x56, + 0xe6, 0x94, 0x0e, 0x1f, 0x43, 0xb3, 0x10, 0x41, 0x0d, 0xf6, 0x78, 0xc1, 0x5a, 0x8d, 0xae, 0x86, + 0x2d, 0x06, 0x54, 0x9d, 0x78, 0x58, 0xc4, 0x55, 0x15, 0x6a, 0x06, 0x7b, 0x54, 0xb5, 0xb0, 0x3b, + 0xbf, 0xbd, 0x3e, 0xea, 0x13, 0xe8, 0x0a, 0xf4, 0x94, 0x07, 0x9c, 0xdd, 0xe4, 0x9c, 0x03, 0x1b, + 0x1a, 0x57, 0xee, 0x84, 0xe1, 0x96, 0x28, 0x9f, 0xd2, 0x9f, 0x24, 0xa7, 0x37, 0xfc, 0xf2, 0x3c, + 0xf8, 0xd5, 0x80, 0x15, 0xd1, 0x81, 0xce, 0x60, 0x63, 0x21, 0xbb, 0x68, 0xf7, 0xba, 0x5c, 0xe7, + 0x93, 0x60, 0xeb, 0xe6, 0xe8, 0x5b, 0x4b, 0xe8, 0x04, 0x3a, 0x95, 0x44, 0xa1, 0x07, 0x65, 0x5b, + 0x5d, 0x32, 0xf1, 0xc3, 0xab, 0xca, 0xe5, 0x8d, 0x87, 0xb0, 0x56, 0x24, 0x0f, 0xf5, 0x4b, 0x6e, + 0x25, 0x9b, 0x78, 0x6b, 0x01, 0x2f, 0x9b, 0xdf, 0x41, 0x5b, 0x73, 0x13, 0xdd, 0xab, 0xf7, 0xb8, + 0xb8, 0xe6, 0xfe, 0x75, 0x01, 0xb0, 0x96, 0x90, 0x0b, 0xad, 0x52, 0x72, 0xb4, 0x5d, 0x31, 0x52, + 0xb7, 0x0c, 0xe3, 0xba, 0x92, 0xba, 0xe5, 0xe8, 0xd5, 0xe7, 0xc3, 0x73, 0xca, 0x2f, 0xb2, 0x91, + 0x1d, 0xc6, 0xdf, 0x9c, 0x49, 0x36, 0x22, 0x69, 0x44, 0x38, 0x61, 0xfb, 0x21, 0xa3, 0x4e, 0xc8, + 0xe8, 0x7e, 0x92, 0xc6, 0x3f, 0x66, 0x4e, 0x38, 0xa5, 0x24, 0xe2, 0xe2, 0xf9, 0x74, 0xf4, 0xf7, + 0x74, 0xb4, 0x96, 0x3f, 0xa6, 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb4, 0x44, 0xda, + 0x66, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // DiskClient is the client API for Disk service. // @@ -914,15 +564,14 @@ type DiskClient interface { Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) - // DiskStats returns the stats for the disk DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) } type diskClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { +func NewDiskClient(cc *grpc.ClientConn) DiskClient { return &diskClient{cc} } @@ -983,7 +632,6 @@ type DiskServer interface { Rescan(context.Context, *RescanRequest) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) - // DiskStats returns the stats for the disk DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) } @@ -991,19 +639,19 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } @@ -1127,5 +775,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto", + Metadata: "disk/v1beta1/api.proto", } diff --git a/client/api/disk/v1beta2/api.pb.go b/client/api/disk/v1beta2/api.pb.go index 9a5dfa77..27324f1e 100644 --- a/client/api/disk/v1beta2/api.pb.go +++ b/client/api/disk/v1beta2/api.pb.go @@ -1,1165 +1,716 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto package v1beta2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) +} +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) } -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo + +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +} +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) } -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo + +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) +} +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) } +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{4} +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_b8298108b4474af1, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_b8298108b4474af1, []int{6} } -type ListDiskIDsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *ListDiskIDsRequest) Reset() { - *x = ListDiskIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *ListDiskIDsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type ListDiskIDsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. +func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } +func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsRequest) ProtoMessage() {} func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_b8298108b4474af1, []int{7} } -type DiskIDs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) } - -func (x *DiskIDs) Reset() { - *x = DiskIDs{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) } - -func (x *DiskIDs) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) +} +func (m *ListDiskIDsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsRequest.Size(m) +} +func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) } -func (*DiskIDs) ProtoMessage() {} +var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo -func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type DiskIDs struct { + // Map of Disk ID types and Disk ID values + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (m *DiskIDs) Reset() { *m = DiskIDs{} } +func (m *DiskIDs) String() string { return proto.CompactTextString(m) } +func (*DiskIDs) ProtoMessage() {} func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{8} + return fileDescriptor_b8298108b4474af1, []int{8} } -func (x *DiskIDs) GetIdentifiers() map[string]string { - if x != nil { - return x.Identifiers +func (m *DiskIDs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskIDs.Unmarshal(m, b) +} +func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +} +func (m *DiskIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskIDs.Merge(m, src) +} +func (m *DiskIDs) XXX_Size() int { + return xxx_messageInfo_DiskIDs.Size(m) +} +func (m *DiskIDs) XXX_DiscardUnknown() { + xxx_messageInfo_DiskIDs.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskIDs proto.InternalMessageInfo + +func (m *DiskIDs) GetIdentifiers() map[string]string { + if m != nil { + return m.Identifiers } return nil } type ListDiskIDsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskIDsResponse) Reset() { - *x = ListDiskIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } +func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsResponse) ProtoMessage() {} +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{9} } -func (x *ListDiskIDsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) } - -func (*ListDiskIDsResponse) ProtoMessage() {} - -func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{9} +func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +} +func (m *ListDiskIDsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsResponse.Size(m) } +func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo -func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if x != nil { - return x.DiskIDs +func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if m != nil { + return m.DiskIDs } return nil } type DiskStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsRequest) Reset() { - *x = DiskStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } +func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } +func (*DiskStatsRequest) ProtoMessage() {} +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{10} } -func (x *DiskStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) } - -func (*DiskStatsRequest) ProtoMessage() {} - -func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{10} +func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsRequest.Merge(m, src) } +func (m *DiskStatsRequest) XXX_Size() int { + return xxx_messageInfo_DiskStatsRequest.Size(m) +} +func (m *DiskStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo -func (x *DiskStatsRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *DiskStatsRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type DiskStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsResponse) Reset() { - *x = DiskStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } +func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } +func (*DiskStatsResponse) ProtoMessage() {} +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{11} } -func (x *DiskStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) } - -func (*DiskStatsResponse) ProtoMessage() {} - -func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{11} +func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsResponse.Merge(m, src) } +func (m *DiskStatsResponse) XXX_Size() int { + return xxx_messageInfo_DiskStatsResponse.Size(m) +} +func (m *DiskStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo -func (x *DiskStatsResponse) GetDiskSize() int64 { - if x != nil { - return x.DiskSize +func (m *DiskStatsResponse) GetDiskSize() int64 { + if m != nil { + return m.DiskSize } return 0 } type SetAttachStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID (number) of the disk which state will change DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` // Online state to set for the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetAttachStateRequest) Reset() { - *x = SetAttachStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetAttachStateRequest) Reset() { *m = SetAttachStateRequest{} } +func (m *SetAttachStateRequest) String() string { return proto.CompactTextString(m) } +func (*SetAttachStateRequest) ProtoMessage() {} +func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{12} } -func (x *SetAttachStateRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetAttachStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetAttachStateRequest.Unmarshal(m, b) } - -func (*SetAttachStateRequest) ProtoMessage() {} - -func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *SetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetAttachStateRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. -func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{12} +func (m *SetAttachStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAttachStateRequest.Merge(m, src) } +func (m *SetAttachStateRequest) XXX_Size() int { + return xxx_messageInfo_SetAttachStateRequest.Size(m) +} +func (m *SetAttachStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetAttachStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetAttachStateRequest proto.InternalMessageInfo -func (x *SetAttachStateRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *SetAttachStateRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } -func (x *SetAttachStateRequest) GetIsOnline() bool { - if x != nil { - return x.IsOnline +func (m *SetAttachStateRequest) GetIsOnline() bool { + if m != nil { + return m.IsOnline } return false } type SetAttachStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetAttachStateResponse) Reset() { - *x = SetAttachStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetAttachStateResponse) Reset() { *m = SetAttachStateResponse{} } +func (m *SetAttachStateResponse) String() string { return proto.CompactTextString(m) } +func (*SetAttachStateResponse) ProtoMessage() {} +func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{13} } -func (x *SetAttachStateResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetAttachStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetAttachStateResponse.Unmarshal(m, b) } - -func (*SetAttachStateResponse) ProtoMessage() {} - -func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetAttachStateResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. -func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{13} +func (m *SetAttachStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAttachStateResponse.Merge(m, src) +} +func (m *SetAttachStateResponse) XXX_Size() int { + return xxx_messageInfo_SetAttachStateResponse.Size(m) +} +func (m *SetAttachStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetAttachStateResponse.DiscardUnknown(m) } -type GetAttachStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_SetAttachStateResponse proto.InternalMessageInfo +type GetAttachStateRequest struct { // Disk device ID (number) of the disk - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAttachStateRequest) Reset() { - *x = GetAttachStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetAttachStateRequest) Reset() { *m = GetAttachStateRequest{} } +func (m *GetAttachStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetAttachStateRequest) ProtoMessage() {} +func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{14} } -func (x *GetAttachStateRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetAttachStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAttachStateRequest.Unmarshal(m, b) } - -func (*GetAttachStateRequest) ProtoMessage() {} - -func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAttachStateRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. -func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{14} +func (m *GetAttachStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAttachStateRequest.Merge(m, src) } +func (m *GetAttachStateRequest) XXX_Size() int { + return xxx_messageInfo_GetAttachStateRequest.Size(m) +} +func (m *GetAttachStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAttachStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAttachStateRequest proto.InternalMessageInfo -func (x *GetAttachStateRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *GetAttachStateRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type GetAttachStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Online state of the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAttachStateResponse) Reset() { - *x = GetAttachStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetAttachStateResponse) Reset() { *m = GetAttachStateResponse{} } +func (m *GetAttachStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetAttachStateResponse) ProtoMessage() {} +func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{15} } -func (x *GetAttachStateResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetAttachStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAttachStateResponse.Unmarshal(m, b) } - -func (*GetAttachStateResponse) ProtoMessage() {} - -func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] - 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) +func (m *GetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAttachStateResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. -func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{15} +func (m *GetAttachStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAttachStateResponse.Merge(m, src) } +func (m *GetAttachStateResponse) XXX_Size() int { + return xxx_messageInfo_GetAttachStateResponse.Size(m) +} +func (m *GetAttachStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAttachStateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAttachStateResponse proto.InternalMessageInfo -func (x *GetAttachStateResponse) GetIsOnline() bool { - if x != nil { - return x.IsOnline +func (m *GetAttachStateResponse) GetIsOnline() bool { + if m != nil { + return m.IsOnline } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, - 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, - 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, - 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, - 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, - 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, - 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, - 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, - 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, - 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, - 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, - 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, - 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, - 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1beta2.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1beta2.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1beta2.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1beta2.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1beta2.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1beta2.RescanRequest - (*RescanResponse)(nil), // 6: v1beta2.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1beta2.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1beta2.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1beta2.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1beta2.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1beta2.DiskStatsResponse - (*SetAttachStateRequest)(nil), // 12: v1beta2.SetAttachStateRequest - (*SetAttachStateResponse)(nil), // 13: v1beta2.SetAttachStateResponse - (*GetAttachStateRequest)(nil), // 14: v1beta2.GetAttachStateRequest - (*GetAttachStateResponse)(nil), // 15: v1beta2.GetAttachStateResponse - nil, // 16: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 17: v1beta2.DiskIDs.IdentifiersEntry - nil, // 18: v1beta2.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = []int32{ - 16, // 0: v1beta2.ListDiskLocationsResponse.disk_locations:type_name -> v1beta2.ListDiskLocationsResponse.DiskLocationsEntry - 17, // 1: v1beta2.DiskIDs.identifiers:type_name -> v1beta2.DiskIDs.IdentifiersEntry - 18, // 2: v1beta2.ListDiskIDsResponse.diskIDs:type_name -> v1beta2.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta2.DiskLocation - 8, // 4: v1beta2.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta2.DiskIDs - 0, // 5: v1beta2.Disk.ListDiskLocations:input_type -> v1beta2.ListDiskLocationsRequest - 3, // 6: v1beta2.Disk.PartitionDisk:input_type -> v1beta2.PartitionDiskRequest - 5, // 7: v1beta2.Disk.Rescan:input_type -> v1beta2.RescanRequest - 7, // 8: v1beta2.Disk.ListDiskIDs:input_type -> v1beta2.ListDiskIDsRequest - 10, // 9: v1beta2.Disk.DiskStats:input_type -> v1beta2.DiskStatsRequest - 12, // 10: v1beta2.Disk.SetAttachState:input_type -> v1beta2.SetAttachStateRequest - 14, // 11: v1beta2.Disk.GetAttachState:input_type -> v1beta2.GetAttachStateRequest - 2, // 12: v1beta2.Disk.ListDiskLocations:output_type -> v1beta2.ListDiskLocationsResponse - 4, // 13: v1beta2.Disk.PartitionDisk:output_type -> v1beta2.PartitionDiskResponse - 6, // 14: v1beta2.Disk.Rescan:output_type -> v1beta2.RescanResponse - 9, // 15: v1beta2.Disk.ListDiskIDs:output_type -> v1beta2.ListDiskIDsResponse - 11, // 16: v1beta2.Disk.DiskStats:output_type -> v1beta2.DiskStatsResponse - 13, // 17: v1beta2.Disk.SetAttachState:output_type -> v1beta2.SetAttachStateResponse - 15, // 18: v1beta2.Disk.GetAttachState:output_type -> v1beta2.GetAttachStateResponse - 12, // [12:19] is the sub-list for method output_type - 5, // [5:12] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskIDs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAttachStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAttachStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAttachStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAttachStateResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 19, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta2.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1beta2.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta2.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta2.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta2.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta2.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1beta2.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1beta2.RescanResponse") + proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta2.ListDiskIDsRequest") + proto.RegisterType((*DiskIDs)(nil), "v1beta2.DiskIDs") + proto.RegisterMapType((map[string]string)(nil), "v1beta2.DiskIDs.IdentifiersEntry") + proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta2.ListDiskIDsResponse") + proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta2.ListDiskIDsResponse.DiskIDsEntry") + proto.RegisterType((*DiskStatsRequest)(nil), "v1beta2.DiskStatsRequest") + proto.RegisterType((*DiskStatsResponse)(nil), "v1beta2.DiskStatsResponse") + proto.RegisterType((*SetAttachStateRequest)(nil), "v1beta2.SetAttachStateRequest") + proto.RegisterType((*SetAttachStateResponse)(nil), "v1beta2.SetAttachStateResponse") + proto.RegisterType((*GetAttachStateRequest)(nil), "v1beta2.GetAttachStateRequest") + proto.RegisterType((*GetAttachStateResponse)(nil), "v1beta2.GetAttachStateResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto", fileDescriptor_b8298108b4474af1) +} + +var fileDescriptor_b8298108b4474af1 = []byte{ + // 647 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xd3, 0x4c, + 0x10, 0xad, 0x9b, 0xb6, 0x69, 0x27, 0x5f, 0xf3, 0xa5, 0x4b, 0x92, 0xba, 0xe6, 0xaf, 0xdd, 0x0b, + 0x54, 0x40, 0xb5, 0x45, 0x00, 0x09, 0x51, 0x81, 0xd4, 0xd6, 0x55, 0x14, 0x88, 0xa0, 0x72, 0x40, + 0x48, 0xa8, 0x12, 0x72, 0x9c, 0xa5, 0x59, 0x25, 0xd8, 0xc1, 0xbb, 0xa9, 0x08, 0x0f, 0xc1, 0x73, + 0x70, 0xc7, 0xbb, 0xf0, 0x44, 0x68, 0xed, 0xb5, 0xbb, 0x4e, 0x9c, 0x46, 0x88, 0x3b, 0xcf, 0x99, + 0x99, 0xb3, 0x67, 0xfe, 0x64, 0x38, 0xbd, 0xa0, 0xbc, 0x3f, 0xee, 0x9a, 0x5e, 0xf0, 0xc5, 0x1a, + 0x8c, 0xbb, 0x24, 0xf4, 0x09, 0x27, 0xec, 0xc0, 0x63, 0xd4, 0xf2, 0x18, 0x3d, 0x18, 0x85, 0xc1, + 0xb7, 0x89, 0xe5, 0x0d, 0x29, 0xf1, 0xb9, 0xe5, 0x8e, 0xa8, 0xd5, 0xa3, 0x6c, 0x60, 0x5d, 0x3e, + 0xea, 0x12, 0xee, 0x36, 0x04, 0x60, 0x8e, 0xc2, 0x80, 0x07, 0xa8, 0x28, 0x21, 0x6c, 0x80, 0xde, + 0xa6, 0x8c, 0xdb, 0x94, 0x0d, 0xda, 0x81, 0xe7, 0x72, 0x1a, 0xf8, 0xcc, 0x21, 0x5f, 0xc7, 0x84, + 0x71, 0xdc, 0x87, 0xff, 0x54, 0x1c, 0xe9, 0x50, 0x3c, 0xea, 0xb9, 0x23, 0x4e, 0x42, 0x5d, 0xdb, + 0xd5, 0xf6, 0x37, 0x9c, 0xc4, 0x44, 0x15, 0x28, 0x1c, 0x8f, 0x99, 0xbe, 0x1c, 0xa1, 0xe2, 0x13, + 0xd5, 0x61, 0xed, 0x9d, 0x1b, 0x5e, 0x10, 0xae, 0x17, 0x22, 0x50, 0x5a, 0xa8, 0x0a, 0xab, 0xed, + 0xf7, 0x6f, 0x5a, 0xb6, 0xbe, 0x12, 0xc1, 0xb1, 0x81, 0x7f, 0x6b, 0xb0, 0x93, 0x23, 0x83, 0x8d, + 0x02, 0x9f, 0x11, 0x74, 0x0e, 0x65, 0x51, 0xc6, 0xa7, 0x61, 0xe2, 0xd1, 0xb5, 0xdd, 0xc2, 0x7e, + 0xa9, 0xf1, 0xd4, 0x94, 0x55, 0x98, 0x73, 0x73, 0xcd, 0x0c, 0x7a, 0xea, 0xf3, 0x70, 0xe2, 0x6c, + 0xf6, 0x54, 0xcc, 0xf8, 0x00, 0x68, 0x36, 0x48, 0x54, 0x34, 0x20, 0x13, 0x59, 0xa7, 0xf8, 0x44, + 0x0f, 0x61, 0xf5, 0xd2, 0x1d, 0x8e, 0x49, 0x54, 0x65, 0xa9, 0x51, 0x4b, 0x1f, 0x57, 0xb3, 0x9d, + 0x38, 0xe6, 0xf9, 0xf2, 0x33, 0x0d, 0x9b, 0x50, 0x3d, 0x73, 0x43, 0x4e, 0x05, 0x2e, 0x62, 0x64, + 0x5b, 0x45, 0x6b, 0x84, 0x82, 0x96, 0x2d, 0xd9, 0xa5, 0x85, 0xb7, 0xa1, 0x36, 0x15, 0x1f, 0xd7, + 0x80, 0xff, 0x87, 0x4d, 0x87, 0x30, 0xcf, 0xf5, 0x93, 0xc1, 0x54, 0xa0, 0x9c, 0x00, 0x32, 0xa4, + 0x0a, 0x28, 0xe9, 0x41, 0xcb, 0x4e, 0x07, 0xf8, 0x43, 0x83, 0xa2, 0x84, 0xd0, 0x09, 0x94, 0x68, + 0x8f, 0xf8, 0x9c, 0x7e, 0xa6, 0x24, 0x4c, 0x3a, 0xb8, 0x97, 0x29, 0xa2, 0x65, 0x33, 0xb3, 0x75, + 0x15, 0x13, 0x77, 0x4b, 0xcd, 0x32, 0x5e, 0x42, 0x65, 0x3a, 0x20, 0xa7, 0x53, 0x55, 0xb5, 0x53, + 0x1b, 0x6a, 0x4b, 0x7e, 0x6a, 0x70, 0x23, 0xa3, 0x53, 0x4e, 0xf8, 0x04, 0x8a, 0x71, 0x13, 0x12, + 0x61, 0xf7, 0x67, 0x46, 0xab, 0x84, 0x27, 0x62, 0x63, 0x81, 0x49, 0xa6, 0xd1, 0x8e, 0xd7, 0x35, + 0x71, 0xe4, 0x08, 0xbb, 0x97, 0x1d, 0x61, 0x65, 0xba, 0x7a, 0x55, 0xea, 0x03, 0xa8, 0x08, 0xb4, + 0xc3, 0x5d, 0xce, 0x16, 0x4d, 0xce, 0x82, 0x2d, 0x25, 0x56, 0xd6, 0x64, 0xc0, 0xba, 0x70, 0x77, + 0xe8, 0x77, 0x12, 0x85, 0x17, 0x9c, 0xd4, 0xc6, 0xaf, 0xa1, 0xd6, 0x21, 0xfc, 0x88, 0x73, 0xd7, + 0xeb, 0x8b, 0x2c, 0xb2, 0xe0, 0x05, 0x41, 0x46, 0xd9, 0x5b, 0x7f, 0x48, 0xfd, 0x58, 0xfc, 0xba, + 0x93, 0xda, 0x58, 0x87, 0xfa, 0x34, 0x99, 0xdc, 0x0a, 0x0b, 0x6a, 0xcd, 0xbf, 0x79, 0x06, 0x3f, + 0x81, 0x7a, 0x33, 0x97, 0x2a, 0x23, 0x40, 0xcb, 0x0a, 0x68, 0xfc, 0x5a, 0x81, 0x15, 0x51, 0x3f, + 0x3a, 0x87, 0xad, 0x99, 0x4b, 0x44, 0x7b, 0xd7, 0x5d, 0x69, 0x24, 0xc7, 0xc0, 0x8b, 0x0f, 0x19, + 0x2f, 0xa1, 0x33, 0xd8, 0xcc, 0xdc, 0x07, 0xba, 0x9d, 0xa6, 0xe5, 0xdd, 0x99, 0x71, 0x67, 0x9e, + 0x3b, 0x65, 0x3c, 0x84, 0xb5, 0xf8, 0x8e, 0x50, 0x3d, 0x8d, 0xcd, 0x5c, 0x9a, 0xb1, 0x3d, 0x83, + 0xa7, 0xc9, 0xaf, 0xa0, 0xa4, 0xec, 0x26, 0xba, 0x99, 0xbf, 0xb1, 0x31, 0xcd, 0xad, 0xeb, 0xd6, + 0x19, 0x2f, 0x21, 0x1b, 0x36, 0xd2, 0x05, 0x42, 0x3b, 0x99, 0xb5, 0x54, 0x17, 0xd0, 0x30, 0xf2, + 0x5c, 0x29, 0x4b, 0x07, 0xca, 0xd9, 0x45, 0x40, 0x57, 0x2d, 0xc8, 0x5d, 0x37, 0xe3, 0xee, 0x5c, + 0xbf, 0x4a, 0xda, 0x9c, 0x47, 0xda, 0x5c, 0x40, 0xda, 0x9c, 0x43, 0x7a, 0xfc, 0xe2, 0xe3, 0xe1, + 0x3f, 0xfc, 0xc7, 0xba, 0x6b, 0xd1, 0x4f, 0xec, 0xf1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, + 0x06, 0xb4, 0xd5, 0x0d, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1287,25 +838,25 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } -func (*UnimplementedDiskServer) SetAttachState(context.Context, *SetAttachStateRequest) (*SetAttachStateResponse, error) { +func (*UnimplementedDiskServer) SetAttachState(ctx context.Context, req *SetAttachStateRequest) (*SetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAttachState not implemented") } -func (*UnimplementedDiskServer) GetAttachState(context.Context, *GetAttachStateRequest) (*GetAttachStateResponse, error) { +func (*UnimplementedDiskServer) GetAttachState(ctx context.Context, req *GetAttachStateRequest) (*GetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttachState not implemented") } diff --git a/client/api/filesystem/v1alpha1/api.pb.go b/client/api/filesystem/v1alpha1/api.pb.go index 15806ce0..9d10268b 100644 --- a/client/api/filesystem/v1alpha1/api.pb.go +++ b/client/api/filesystem/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Context of the paths used for path prefix validation type PathContext int32 @@ -40,165 +40,124 @@ const ( PathContext_POD PathContext = 1 ) -// Enum value maps for PathContext. -var ( - PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", - } - PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, - } -) - -func (x PathContext) Enum() *PathContext { - p := new(PathContext) - *p = x - return p +var PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", } -func (x PathContext) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0].Descriptor() -} - -func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0] +var PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, } -func (x PathContext) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x PathContext) String() string { + return proto.EnumName(PathContext_name, int32(x)) } -// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_78274760fcbff95c, []int{0} } type PathExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsRequest) Reset() { - *x = PathExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } +func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } +func (*PathExistsRequest) ProtoMessage() {} +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{0} } -func (x *PathExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) } - -func (*PathExistsRequest) ProtoMessage() {} - -func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *PathExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsRequest.Merge(m, src) +} +func (m *PathExistsRequest) XXX_Size() int { + return xxx_messageInfo_PathExistsRequest.Size(m) +} +func (m *PathExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) } -func (x *PathExistsRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo + +func (m *PathExistsRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *PathExistsRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *PathExistsRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type PathExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsResponse) Reset() { - *x = PathExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } +func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } +func (*PathExistsResponse) ProtoMessage() {} +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{1} } -func (x *PathExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) } - -func (*PathExistsResponse) ProtoMessage() {} - -func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *PathExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsResponse.Merge(m, src) +} +func (m *PathExistsResponse) XXX_Size() int { + return xxx_messageInfo_PathExistsResponse.Size(m) +} +func (m *PathExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) } -func (x *PathExistsResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo + +func (m *PathExistsResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *PathExistsResponse) GetExists() bool { - if x != nil { - return x.Exists +func (m *PathExistsResponse) GetExists() bool { + if m != nil { + return m.Exists } return false } type MkdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -220,108 +179,92 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirRequest) Reset() { - *x = MkdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } +func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } +func (*MkdirRequest) ProtoMessage() {} +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{2} } -func (x *MkdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) } - -func (*MkdirRequest) ProtoMessage() {} - -func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *MkdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirRequest.Merge(m, src) +} +func (m *MkdirRequest) XXX_Size() int { + return xxx_messageInfo_MkdirRequest.Size(m) +} +func (m *MkdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirRequest.DiscardUnknown(m) } -func (x *MkdirRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo + +func (m *MkdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *MkdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *MkdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type MkdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirResponse) Reset() { - *x = MkdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } +func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } +func (*MkdirResponse) ProtoMessage() {} +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{3} } -func (x *MkdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) } - -func (*MkdirResponse) ProtoMessage() {} - -func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *MkdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirResponse.Merge(m, src) +} +func (m *MkdirResponse) XXX_Size() int { + return xxx_messageInfo_MkdirResponse.Size(m) } +func (m *MkdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo -func (x *MkdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *MkdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RmdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -342,115 +285,99 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirRequest) Reset() { - *x = RmdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } +func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } +func (*RmdirRequest) ProtoMessage() {} +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{4} } -func (x *RmdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) } - -func (*RmdirRequest) ProtoMessage() {} - -func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *RmdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirRequest.Merge(m, src) +} +func (m *RmdirRequest) XXX_Size() int { + return xxx_messageInfo_RmdirRequest.Size(m) } +func (m *RmdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo -func (x *RmdirRequest) GetPath() string { - if x != nil { - return x.Path +func (m *RmdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *RmdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *RmdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } -func (x *RmdirRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *RmdirRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type RmdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirResponse) Reset() { - *x = RmdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } +func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } +func (*RmdirResponse) ProtoMessage() {} +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{5} } -func (x *RmdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) } - -func (*RmdirResponse) ProtoMessage() {} - -func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *RmdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirResponse.Merge(m, src) +} +func (m *RmdirResponse) XXX_Size() int { + return xxx_messageInfo_RmdirResponse.Size(m) } +func (m *RmdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo -func (x *RmdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *RmdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type LinkPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -481,485 +408,229 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathRequest) Reset() { - *x = LinkPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } +func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } +func (*LinkPathRequest) ProtoMessage() {} +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{6} } -func (x *LinkPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) } - -func (*LinkPathRequest) ProtoMessage() {} - -func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *LinkPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathRequest.Merge(m, src) +} +func (m *LinkPathRequest) XXX_Size() int { + return xxx_messageInfo_LinkPathRequest.Size(m) } +func (m *LinkPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo -func (x *LinkPathRequest) GetSourcePath() string { - if x != nil { - return x.SourcePath +func (m *LinkPathRequest) GetSourcePath() string { + if m != nil { + return m.SourcePath } return "" } -func (x *LinkPathRequest) GetTargetPath() string { - if x != nil { - return x.TargetPath +func (m *LinkPathRequest) GetTargetPath() string { + if m != nil { + return m.TargetPath } return "" } type LinkPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathResponse) Reset() { - *x = LinkPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } +func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } +func (*LinkPathResponse) ProtoMessage() {} +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{7} } -func (x *LinkPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) } - -func (*LinkPathResponse) ProtoMessage() {} - -func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *LinkPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathResponse.Merge(m, src) +} +func (m *LinkPathResponse) XXX_Size() int { + return xxx_messageInfo_LinkPathResponse.Size(m) +} +func (m *LinkPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) } -func (x *LinkPathResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo + +func (m *LinkPathResponse) GetError() string { + if m != nil { + return m.Error } return "" } type IsMountPointRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointRequest) Reset() { - *x = IsMountPointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } +func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } +func (*IsMountPointRequest) ProtoMessage() {} +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{8} } -func (x *IsMountPointRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) } - -func (*IsMountPointRequest) ProtoMessage() {} - -func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointRequest.Merge(m, src) +} +func (m *IsMountPointRequest) XXX_Size() int { + return xxx_messageInfo_IsMountPointRequest.Size(m) +} +func (m *IsMountPointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) } -func (x *IsMountPointRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo + +func (m *IsMountPointRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type IsMountPointResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointResponse) Reset() { - *x = IsMountPointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } +func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } +func (*IsMountPointResponse) ProtoMessage() {} +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{9} } -func (x *IsMountPointResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) } - -func (*IsMountPointResponse) ProtoMessage() {} - -func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointResponse.Merge(m, src) +} +func (m *IsMountPointResponse) XXX_Size() int { + return xxx_messageInfo_IsMountPointResponse.Size(m) +} +func (m *IsMountPointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) } -func (x *IsMountPointResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo + +func (m *IsMountPointResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *IsMountPointResponse) GetIsMountPoint() bool { - if x != nil { - return x.IsMountPoint +func (m *IsMountPointResponse) GetIsMountPoint() bool { + if m != nil { + return m.IsMountPoint } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, - 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, - 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, - 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, - 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, - 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, - 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, - 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xe5, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x49, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x3a, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, - 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, - 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, - 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, - 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x44, - 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1alpha1.PathContext - (*PathExistsRequest)(nil), // 1: v1alpha1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1alpha1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1alpha1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1alpha1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1alpha1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1alpha1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1alpha1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1alpha1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1alpha1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1alpha1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.PathExistsRequest.context:type_name -> v1alpha1.PathContext - 0, // 1: v1alpha1.MkdirRequest.context:type_name -> v1alpha1.PathContext - 0, // 2: v1alpha1.RmdirRequest.context:type_name -> v1alpha1.PathContext - 1, // 3: v1alpha1.Filesystem.PathExists:input_type -> v1alpha1.PathExistsRequest - 3, // 4: v1alpha1.Filesystem.Mkdir:input_type -> v1alpha1.MkdirRequest - 5, // 5: v1alpha1.Filesystem.Rmdir:input_type -> v1alpha1.RmdirRequest - 7, // 6: v1alpha1.Filesystem.LinkPath:input_type -> v1alpha1.LinkPathRequest - 9, // 7: v1alpha1.Filesystem.IsMountPoint:input_type -> v1alpha1.IsMountPointRequest - 2, // 8: v1alpha1.Filesystem.PathExists:output_type -> v1alpha1.PathExistsResponse - 4, // 9: v1alpha1.Filesystem.Mkdir:output_type -> v1alpha1.MkdirResponse - 6, // 10: v1alpha1.Filesystem.Rmdir:output_type -> v1alpha1.RmdirResponse - 8, // 11: v1alpha1.Filesystem.LinkPath:output_type -> v1alpha1.LinkPathResponse - 10, // 12: v1alpha1.Filesystem.IsMountPoint:output_type -> v1alpha1.IsMountPointResponse - 8, // [8:13] is the sub-list for method output_type - 3, // [3:8] 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 -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1alpha1.PathContext", PathContext_name, PathContext_value) + proto.RegisterType((*PathExistsRequest)(nil), "v1alpha1.PathExistsRequest") + proto.RegisterType((*PathExistsResponse)(nil), "v1alpha1.PathExistsResponse") + proto.RegisterType((*MkdirRequest)(nil), "v1alpha1.MkdirRequest") + proto.RegisterType((*MkdirResponse)(nil), "v1alpha1.MkdirResponse") + proto.RegisterType((*RmdirRequest)(nil), "v1alpha1.RmdirRequest") + proto.RegisterType((*RmdirResponse)(nil), "v1alpha1.RmdirResponse") + proto.RegisterType((*LinkPathRequest)(nil), "v1alpha1.LinkPathRequest") + proto.RegisterType((*LinkPathResponse)(nil), "v1alpha1.LinkPathResponse") + proto.RegisterType((*IsMountPointRequest)(nil), "v1alpha1.IsMountPointRequest") + proto.RegisterType((*IsMountPointResponse)(nil), "v1alpha1.IsMountPointResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto", fileDescriptor_78274760fcbff95c) +} + +var fileDescriptor_78274760fcbff95c = []byte{ + // 463 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x5f, 0x6f, 0xd3, 0x30, + 0x14, 0xc5, 0xdb, 0x8e, 0x75, 0xe5, 0xae, 0x8c, 0x72, 0x19, 0xa3, 0x84, 0x7f, 0x93, 0x05, 0x52, + 0x41, 0x5a, 0xa2, 0x8d, 0x37, 0x1e, 0x19, 0x7f, 0x54, 0xa9, 0x63, 0x51, 0x26, 0x24, 0xde, 0xaa, + 0x34, 0x78, 0x8b, 0xd5, 0x26, 0x0e, 0xb6, 0x83, 0xba, 0x0f, 0xcc, 0xf7, 0x40, 0x8e, 0x93, 0xc5, + 0x81, 0x92, 0xa7, 0xbd, 0xd5, 0xf7, 0xfe, 0x7c, 0xee, 0xa9, 0xef, 0x51, 0x60, 0x76, 0xc5, 0x54, + 0x9c, 0x2f, 0xdc, 0x88, 0x27, 0xde, 0x32, 0x5f, 0x50, 0x91, 0x52, 0x45, 0xe5, 0x51, 0x24, 0x99, + 0x17, 0x49, 0x76, 0x94, 0x09, 0xbe, 0xbe, 0xf6, 0xa2, 0x15, 0xa3, 0xa9, 0xf2, 0xc2, 0x8c, 0x79, + 0x97, 0x6c, 0x45, 0xe5, 0xb5, 0x54, 0x34, 0xf1, 0x7e, 0x1d, 0x87, 0xab, 0x2c, 0x0e, 0x8f, 0x75, + 0xdd, 0xcd, 0x04, 0x57, 0x1c, 0x07, 0x55, 0x8d, 0x7c, 0x87, 0x07, 0x7e, 0xa8, 0xe2, 0x4f, 0x6b, + 0x26, 0x95, 0x0c, 0xe8, 0xcf, 0x9c, 0x4a, 0x85, 0x08, 0x77, 0xb2, 0x50, 0xc5, 0xe3, 0xee, 0x61, + 0x77, 0x72, 0x37, 0x28, 0x7e, 0xa3, 0x07, 0x3b, 0x11, 0x4f, 0x15, 0x5d, 0xab, 0x71, 0xef, 0xb0, + 0x3b, 0xd9, 0x3b, 0x79, 0xe4, 0x56, 0x22, 0xae, 0x56, 0x38, 0x35, 0xcd, 0xa0, 0xa2, 0xc8, 0x07, + 0x40, 0x5b, 0x59, 0x66, 0x3c, 0x95, 0x14, 0xf7, 0x61, 0x9b, 0x0a, 0xc1, 0x45, 0xa9, 0x6d, 0x0e, + 0x78, 0x00, 0x7d, 0x5a, 0x70, 0x85, 0xf6, 0x20, 0x28, 0x4f, 0xe4, 0x02, 0x86, 0x67, 0xcb, 0x1f, + 0x4c, 0xdc, 0xaa, 0xb1, 0xd7, 0x70, 0xaf, 0x14, 0x6d, 0xf3, 0x44, 0x18, 0x0c, 0x83, 0xe4, 0x96, + 0x67, 0xeb, 0x51, 0x97, 0x5c, 0x44, 0x74, 0xbc, 0x55, 0xfc, 0x4f, 0x73, 0xd0, 0x8e, 0xca, 0x51, + 0xad, 0x8e, 0x2e, 0xe0, 0xfe, 0x8c, 0xa5, 0x4b, 0x2d, 0x5c, 0x99, 0x7a, 0x09, 0xbb, 0x92, 0xe7, + 0x22, 0xa2, 0x73, 0xcb, 0x1b, 0x98, 0x92, 0xe6, 0x34, 0xa0, 0x42, 0x71, 0x45, 0x95, 0x01, 0x7a, + 0x06, 0x30, 0x25, 0x0d, 0x90, 0x09, 0x8c, 0x6a, 0xd1, 0xd6, 0xf1, 0x6f, 0xe0, 0xe1, 0x54, 0x9e, + 0xf1, 0x3c, 0x55, 0x3e, 0x67, 0xa9, 0x6a, 0x79, 0x17, 0x12, 0xc0, 0x7e, 0x13, 0x6d, 0xdd, 0xfe, + 0x2b, 0xd8, 0x63, 0x72, 0x9e, 0x68, 0x7c, 0x9e, 0x69, 0xbe, 0x4c, 0xc1, 0x90, 0x59, 0x1a, 0x6f, + 0x09, 0xec, 0x5a, 0x4f, 0x8a, 0x00, 0x7d, 0x7f, 0xf6, 0xed, 0xcb, 0xf4, 0xeb, 0xa8, 0x83, 0x3b, + 0xb0, 0xe5, 0x9f, 0x7f, 0x1c, 0x75, 0x4f, 0x7e, 0xf7, 0x00, 0x3e, 0xdf, 0x24, 0x1f, 0xa7, 0x00, + 0x75, 0x04, 0xf1, 0x69, 0x73, 0x37, 0x8d, 0xc8, 0x3b, 0xcf, 0x36, 0x37, 0x8d, 0x6f, 0xd2, 0xc1, + 0xf7, 0xb0, 0x5d, 0x84, 0x06, 0x0f, 0x6a, 0xd0, 0x8e, 0xa6, 0xf3, 0xf8, 0x9f, 0xba, 0x7d, 0xb7, + 0x58, 0xaf, 0x7d, 0xd7, 0x8e, 0x96, 0x7d, 0xb7, 0x91, 0x03, 0xd2, 0xc1, 0x53, 0x18, 0x54, 0xeb, + 0xc1, 0x27, 0x35, 0xf6, 0x57, 0x0e, 0x1c, 0x67, 0x53, 0xeb, 0x46, 0xe4, 0x1c, 0x86, 0xf6, 0x3a, + 0xf0, 0x79, 0x4d, 0x6f, 0xd8, 0xa8, 0xf3, 0xe2, 0x7f, 0xed, 0x4a, 0x70, 0xd1, 0x2f, 0x3e, 0x23, + 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0xc0, 0xa2, 0x65, 0x96, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1061,19 +732,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/client/api/filesystem/v1alpha1/api.proto b/client/api/filesystem/v1alpha1/api.proto index b01ce85f..8856da5c 100644 --- a/client/api/filesystem/v1alpha1/api.proto +++ b/client/api/filesystem/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1"; - service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -15,7 +13,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -65,7 +63,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -93,7 +91,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -124,7 +122,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -155,7 +153,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/client/api/filesystem/v1beta1/api.pb.go b/client/api/filesystem/v1beta1/api.pb.go index e87222a7..9b8f897b 100644 --- a/client/api/filesystem/v1beta1/api.pb.go +++ b/client/api/filesystem/v1beta1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Context of the paths used for path prefix validation type PathContext int32 @@ -40,165 +40,124 @@ const ( PathContext_POD PathContext = 1 ) -// Enum value maps for PathContext. -var ( - PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", - } - PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, - } -) - -func (x PathContext) Enum() *PathContext { - p := new(PathContext) - *p = x - return p +var PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", } -func (x PathContext) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0].Descriptor() -} - -func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0] +var PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, } -func (x PathContext) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x PathContext) String() string { + return proto.EnumName(PathContext_name, int32(x)) } -// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_b03a6091226f91c2, []int{0} } type PathExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsRequest) Reset() { - *x = PathExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } +func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } +func (*PathExistsRequest) ProtoMessage() {} +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{0} } -func (x *PathExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) } - -func (*PathExistsRequest) ProtoMessage() {} - -func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *PathExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsRequest.Merge(m, src) +} +func (m *PathExistsRequest) XXX_Size() int { + return xxx_messageInfo_PathExistsRequest.Size(m) +} +func (m *PathExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) } -func (x *PathExistsRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo + +func (m *PathExistsRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *PathExistsRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *PathExistsRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type PathExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsResponse) Reset() { - *x = PathExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } +func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } +func (*PathExistsResponse) ProtoMessage() {} +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{1} } -func (x *PathExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) } - -func (*PathExistsResponse) ProtoMessage() {} - -func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *PathExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsResponse.Merge(m, src) +} +func (m *PathExistsResponse) XXX_Size() int { + return xxx_messageInfo_PathExistsResponse.Size(m) +} +func (m *PathExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) } -func (x *PathExistsResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo + +func (m *PathExistsResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *PathExistsResponse) GetExists() bool { - if x != nil { - return x.Exists +func (m *PathExistsResponse) GetExists() bool { + if m != nil { + return m.Exists } return false } type MkdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -220,108 +179,92 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirRequest) Reset() { - *x = MkdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } +func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } +func (*MkdirRequest) ProtoMessage() {} +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{2} } -func (x *MkdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) } - -func (*MkdirRequest) ProtoMessage() {} - -func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *MkdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirRequest.Merge(m, src) +} +func (m *MkdirRequest) XXX_Size() int { + return xxx_messageInfo_MkdirRequest.Size(m) +} +func (m *MkdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirRequest.DiscardUnknown(m) } -func (x *MkdirRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo + +func (m *MkdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *MkdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *MkdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type MkdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirResponse) Reset() { - *x = MkdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } +func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } +func (*MkdirResponse) ProtoMessage() {} +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{3} } -func (x *MkdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) } - -func (*MkdirResponse) ProtoMessage() {} - -func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *MkdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirResponse.Merge(m, src) +} +func (m *MkdirResponse) XXX_Size() int { + return xxx_messageInfo_MkdirResponse.Size(m) } +func (m *MkdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo -func (x *MkdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *MkdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RmdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -342,115 +285,99 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirRequest) Reset() { - *x = RmdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } +func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } +func (*RmdirRequest) ProtoMessage() {} +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{4} } -func (x *RmdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) } - -func (*RmdirRequest) ProtoMessage() {} - -func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{4} +func (m *RmdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirRequest.Merge(m, src) +} +func (m *RmdirRequest) XXX_Size() int { + return xxx_messageInfo_RmdirRequest.Size(m) } +func (m *RmdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo -func (x *RmdirRequest) GetPath() string { - if x != nil { - return x.Path +func (m *RmdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *RmdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *RmdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } -func (x *RmdirRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *RmdirRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type RmdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirResponse) Reset() { - *x = RmdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } +func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } +func (*RmdirResponse) ProtoMessage() {} +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{5} } -func (x *RmdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) } - -func (*RmdirResponse) ProtoMessage() {} - -func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{5} +func (m *RmdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirResponse.Merge(m, src) +} +func (m *RmdirResponse) XXX_Size() int { + return xxx_messageInfo_RmdirResponse.Size(m) } +func (m *RmdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo -func (x *RmdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *RmdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type LinkPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -481,493 +408,238 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathRequest) Reset() { - *x = LinkPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } +func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } +func (*LinkPathRequest) ProtoMessage() {} +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{6} } -func (x *LinkPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) } - -func (*LinkPathRequest) ProtoMessage() {} - -func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{6} +func (m *LinkPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathRequest.Merge(m, src) +} +func (m *LinkPathRequest) XXX_Size() int { + return xxx_messageInfo_LinkPathRequest.Size(m) } +func (m *LinkPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo -func (x *LinkPathRequest) GetSourcePath() string { - if x != nil { - return x.SourcePath +func (m *LinkPathRequest) GetSourcePath() string { + if m != nil { + return m.SourcePath } return "" } -func (x *LinkPathRequest) GetTargetPath() string { - if x != nil { - return x.TargetPath +func (m *LinkPathRequest) GetTargetPath() string { + if m != nil { + return m.TargetPath } return "" } type LinkPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathResponse) Reset() { - *x = LinkPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } +func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } +func (*LinkPathResponse) ProtoMessage() {} +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{7} } -func (x *LinkPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) } - -func (*LinkPathResponse) ProtoMessage() {} - -func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{7} +func (m *LinkPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathResponse.Merge(m, src) +} +func (m *LinkPathResponse) XXX_Size() int { + return xxx_messageInfo_LinkPathResponse.Size(m) +} +func (m *LinkPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) } -func (x *LinkPathResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo + +func (m *LinkPathResponse) GetError() string { + if m != nil { + return m.Error } return "" } type IsMountPointRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointRequest) Reset() { - *x = IsMountPointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } +func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } +func (*IsMountPointRequest) ProtoMessage() {} +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{8} } -func (x *IsMountPointRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) } - -func (*IsMountPointRequest) ProtoMessage() {} - -func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{8} +func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointRequest.Merge(m, src) +} +func (m *IsMountPointRequest) XXX_Size() int { + return xxx_messageInfo_IsMountPointRequest.Size(m) +} +func (m *IsMountPointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) } -func (x *IsMountPointRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo + +func (m *IsMountPointRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type IsMountPointResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointResponse) Reset() { - *x = IsMountPointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } +func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } +func (*IsMountPointResponse) ProtoMessage() {} +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{9} } -func (x *IsMountPointResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) } - -func (*IsMountPointResponse) ProtoMessage() {} - -func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointResponse.Merge(m, src) +} +func (m *IsMountPointResponse) XXX_Size() int { + return xxx_messageInfo_IsMountPointResponse.Size(m) +} +func (m *IsMountPointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) } -func (x *IsMountPointResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo + +func (m *IsMountPointResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *IsMountPointResponse) GetIsMountPoint() bool { - if x != nil { - return x.IsMountPoint +func (m *IsMountPointResponse) GetIsMountPoint() bool { + if m != nil { + return m.IsMountPoint } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, - 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, - 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, - 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, - 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, - 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, - 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, - 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, - 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, - 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, - 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, - 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, - 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, - 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, - 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1beta1.PathContext - (*PathExistsRequest)(nil), // 1: v1beta1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1beta1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1beta1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1beta1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1beta1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1beta1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1beta1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1beta1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1beta1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1beta1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.PathExistsRequest.context:type_name -> v1beta1.PathContext - 0, // 1: v1beta1.MkdirRequest.context:type_name -> v1beta1.PathContext - 0, // 2: v1beta1.RmdirRequest.context:type_name -> v1beta1.PathContext - 1, // 3: v1beta1.Filesystem.PathExists:input_type -> v1beta1.PathExistsRequest - 3, // 4: v1beta1.Filesystem.Mkdir:input_type -> v1beta1.MkdirRequest - 5, // 5: v1beta1.Filesystem.Rmdir:input_type -> v1beta1.RmdirRequest - 7, // 6: v1beta1.Filesystem.LinkPath:input_type -> v1beta1.LinkPathRequest - 9, // 7: v1beta1.Filesystem.IsMountPoint:input_type -> v1beta1.IsMountPointRequest - 2, // 8: v1beta1.Filesystem.PathExists:output_type -> v1beta1.PathExistsResponse - 4, // 9: v1beta1.Filesystem.Mkdir:output_type -> v1beta1.MkdirResponse - 6, // 10: v1beta1.Filesystem.Rmdir:output_type -> v1beta1.RmdirResponse - 8, // 11: v1beta1.Filesystem.LinkPath:output_type -> v1beta1.LinkPathResponse - 10, // 12: v1beta1.Filesystem.IsMountPoint:output_type -> v1beta1.IsMountPointResponse - 8, // [8:13] is the sub-list for method output_type - 3, // [3:8] 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 -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1beta1.PathContext", PathContext_name, PathContext_value) + proto.RegisterType((*PathExistsRequest)(nil), "v1beta1.PathExistsRequest") + proto.RegisterType((*PathExistsResponse)(nil), "v1beta1.PathExistsResponse") + proto.RegisterType((*MkdirRequest)(nil), "v1beta1.MkdirRequest") + proto.RegisterType((*MkdirResponse)(nil), "v1beta1.MkdirResponse") + proto.RegisterType((*RmdirRequest)(nil), "v1beta1.RmdirRequest") + proto.RegisterType((*RmdirResponse)(nil), "v1beta1.RmdirResponse") + proto.RegisterType((*LinkPathRequest)(nil), "v1beta1.LinkPathRequest") + proto.RegisterType((*LinkPathResponse)(nil), "v1beta1.LinkPathResponse") + proto.RegisterType((*IsMountPointRequest)(nil), "v1beta1.IsMountPointRequest") + proto.RegisterType((*IsMountPointResponse)(nil), "v1beta1.IsMountPointResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto", fileDescriptor_b03a6091226f91c2) +} + +var fileDescriptor_b03a6091226f91c2 = []byte{ + // 461 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0xd3, 0x40, + 0x10, 0xc5, 0x93, 0x94, 0x26, 0x65, 0x1a, 0x4a, 0x18, 0x42, 0x15, 0x0c, 0x88, 0x6a, 0x05, 0x52, + 0x40, 0xaa, 0xad, 0x96, 0x0b, 0x57, 0xfe, 0x56, 0x15, 0x0d, 0x44, 0x46, 0x88, 0x63, 0xe4, 0x98, + 0x69, 0xb3, 0x4a, 0xe3, 0x35, 0xbb, 0x63, 0x94, 0x7e, 0x56, 0xbe, 0x0c, 0x5a, 0xdb, 0x71, 0x37, + 0x55, 0xf0, 0xa9, 0xb7, 0xec, 0xcc, 0x6f, 0xdf, 0xbc, 0xec, 0x3c, 0x19, 0xbe, 0x5c, 0x48, 0x9e, + 0x65, 0x53, 0x3f, 0x56, 0x8b, 0x60, 0x9e, 0x4d, 0x49, 0x27, 0xc4, 0x64, 0x0e, 0x63, 0x23, 0x83, + 0xd8, 0xc8, 0xc3, 0x54, 0xab, 0xe5, 0x55, 0x10, 0x5f, 0x4a, 0x4a, 0x38, 0x88, 0x52, 0x19, 0x9c, + 0xcb, 0x4b, 0x32, 0x57, 0x86, 0x69, 0x11, 0xfc, 0x39, 0x9a, 0x12, 0x47, 0x47, 0xb6, 0xec, 0xa7, + 0x5a, 0xb1, 0xc2, 0x4e, 0x59, 0x12, 0x3f, 0xe1, 0xc1, 0x38, 0xe2, 0xd9, 0xa7, 0xa5, 0x34, 0x6c, + 0x42, 0xfa, 0x9d, 0x91, 0x61, 0x44, 0xb8, 0x93, 0x46, 0x3c, 0x1b, 0x34, 0x0f, 0x9a, 0xc3, 0xbb, + 0x61, 0xfe, 0x1b, 0x7d, 0xe8, 0xc4, 0x2a, 0x61, 0x5a, 0xf2, 0xa0, 0x75, 0xd0, 0x1c, 0xee, 0x1d, + 0xf7, 0xfd, 0x52, 0xc3, 0xb7, 0x02, 0x1f, 0x8a, 0x5e, 0xb8, 0x82, 0xc4, 0x7b, 0x40, 0x57, 0xd8, + 0xa4, 0x2a, 0x31, 0x84, 0x7d, 0xd8, 0x26, 0xad, 0x95, 0x2e, 0xa5, 0x8b, 0x03, 0xee, 0x43, 0x9b, + 0x72, 0x2e, 0x97, 0xde, 0x09, 0xcb, 0x93, 0x08, 0xa1, 0x3b, 0x9a, 0xff, 0x92, 0xfa, 0x36, 0x7d, + 0xbd, 0x84, 0x7b, 0xa5, 0x66, 0x9d, 0x25, 0x31, 0x83, 0x6e, 0xb8, 0xb8, 0xdd, 0xd1, 0x76, 0xd2, + 0xb9, 0xd2, 0x31, 0x0d, 0xb6, 0xf2, 0x7f, 0x59, 0x1c, 0xac, 0xa1, 0x72, 0x52, 0xad, 0xa1, 0xef, + 0x70, 0xff, 0x4c, 0x26, 0x73, 0x2b, 0xbc, 0xf2, 0xf4, 0x1c, 0x76, 0x8d, 0xca, 0x74, 0x4c, 0x13, + 0xc7, 0x1a, 0x14, 0x25, 0xcb, 0x59, 0x80, 0x23, 0x7d, 0x41, 0x5c, 0x00, 0xad, 0x02, 0x28, 0x4a, + 0x16, 0x10, 0x43, 0xe8, 0x5d, 0x8b, 0xd6, 0x8e, 0x7f, 0x05, 0x0f, 0x4f, 0xcd, 0x48, 0x65, 0x09, + 0x8f, 0x95, 0x4c, 0xb8, 0xe6, 0x59, 0x44, 0x08, 0xfd, 0x75, 0xb4, 0x76, 0xf7, 0x2f, 0x60, 0x4f, + 0x9a, 0xc9, 0xc2, 0xe2, 0x93, 0xd4, 0xf2, 0x65, 0x06, 0xba, 0xd2, 0xd1, 0x78, 0x2d, 0x60, 0xd7, + 0x79, 0x52, 0x04, 0x68, 0x8f, 0xcf, 0x7e, 0x9c, 0x9c, 0x7e, 0xed, 0x35, 0xb0, 0x03, 0x5b, 0xe3, + 0x6f, 0x1f, 0x7b, 0xcd, 0xe3, 0xbf, 0x2d, 0x80, 0xcf, 0x55, 0xe8, 0xf1, 0x04, 0xe0, 0x3a, 0x80, + 0xe8, 0xad, 0xad, 0x66, 0x2d, 0xee, 0xde, 0x93, 0x8d, 0xbd, 0xc2, 0xb5, 0x68, 0xe0, 0x5b, 0xd8, + 0xce, 0x13, 0x83, 0x8f, 0x2a, 0xce, 0x4d, 0xa5, 0xb7, 0x7f, 0xb3, 0xec, 0xde, 0xcc, 0x57, 0xeb, + 0xdc, 0x74, 0x43, 0xe5, 0xdc, 0x5c, 0x4b, 0x80, 0x68, 0xe0, 0x3b, 0xd8, 0x59, 0x2d, 0x06, 0x07, + 0x15, 0x75, 0x23, 0x00, 0xde, 0xe3, 0x0d, 0x9d, 0x4a, 0x62, 0x04, 0x5d, 0x77, 0x0d, 0xf8, 0xb4, + 0x82, 0x37, 0x2c, 0xd2, 0x7b, 0xf6, 0x9f, 0xee, 0x4a, 0x6e, 0xda, 0xce, 0x3f, 0x1c, 0x6f, 0xfe, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x54, 0x94, 0x73, 0xfe, 0x87, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // FilesystemClient is the client API for Filesystem service. // @@ -988,10 +660,10 @@ type FilesystemClient interface { } type filesystemClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { +func NewFilesystemClient(cc *grpc.ClientConn) FilesystemClient { return &filesystemClient{cc} } @@ -1060,19 +732,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/client/api/filesystem/v1beta1/api.proto b/client/api/filesystem/v1beta1/api.proto index 421f23cd..3b4c0ab2 100644 --- a/client/api/filesystem/v1beta1/api.proto +++ b/client/api/filesystem/v1beta1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1beta1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1"; - service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -15,7 +13,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -65,7 +63,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -93,7 +91,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -124,7 +122,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -155,7 +153,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/client/api/iscsi/v1alpha1/api.pb.go b/client/api/iscsi/v1alpha1/api.pb.go index 3d2edaa0..9ba7f6a4 100644 --- a/client/api/iscsi/v1alpha1/api.pb.go +++ b/client/api/iscsi/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AuthenticationType int32 @@ -36,466 +36,372 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -// Enum value maps for AuthenticationType. -var ( - AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", - } - AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, - } -) - -func (x AuthenticationType) Enum() *AuthenticationType { - p := new(AuthenticationType) - *p = x - return p -} - -func (x AuthenticationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", } -func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0].Descriptor() +var AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, } -func (AuthenticationType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0] -} - -func (x AuthenticationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AuthenticationType) String() string { + return proto.EnumName(AuthenticationType_name, int32(x)) } -// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_0438d9bfe30f1df4, []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TargetPortal) Reset() { - *x = TargetPortal{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TargetPortal) Reset() { *m = TargetPortal{} } +func (m *TargetPortal) String() string { return proto.CompactTextString(m) } +func (*TargetPortal) ProtoMessage() {} +func (*TargetPortal) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{0} } -func (x *TargetPortal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TargetPortal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetPortal.Unmarshal(m, b) } - -func (*TargetPortal) ProtoMessage() {} - -func (x *TargetPortal) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) } - -// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. -func (*TargetPortal) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *TargetPortal) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetPortal.Merge(m, src) } +func (m *TargetPortal) XXX_Size() int { + return xxx_messageInfo_TargetPortal.Size(m) +} +func (m *TargetPortal) XXX_DiscardUnknown() { + xxx_messageInfo_TargetPortal.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetPortal proto.InternalMessageInfo -func (x *TargetPortal) GetTargetAddress() string { - if x != nil { - return x.TargetAddress +func (m *TargetPortal) GetTargetAddress() string { + if m != nil { + return m.TargetAddress } return "" } -func (x *TargetPortal) GetTargetPort() uint32 { - if x != nil { - return x.TargetPort +func (m *TargetPortal) GetTargetPort() uint32 { + if m != nil { + return m.TargetPort } return 0 } type AddTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalRequest) Reset() { - *x = AddTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } +func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalRequest) ProtoMessage() {} +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{1} } -func (x *AddTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) } - -func (*AddTargetPortalRequest) ProtoMessage() {} - -func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) } +func (m *AddTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalRequest.Size(m) +} +func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo -func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type AddTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalResponse) Reset() { - *x = AddTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } +func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalResponse) ProtoMessage() {} +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{2} } -func (x *AddTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) } - -func (*AddTargetPortalResponse) ProtoMessage() {} - -func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) +} +func (m *AddTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalResponse.Size(m) +} +func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) } -type DiscoverTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +type DiscoverTargetPortalRequest struct { // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalRequest) Reset() { - *x = DiscoverTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } +func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalRequest) ProtoMessage() {} +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{3} } -func (x *DiscoverTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) } - -func (*DiscoverTargetPortalRequest) ProtoMessage() {} - -func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) +} +func (m *DiscoverTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) } +func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo -func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalResponse) Reset() { - *x = DiscoverTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } +func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalResponse) ProtoMessage() {} +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{4} } -func (x *DiscoverTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) } - -func (*DiscoverTargetPortalResponse) ProtoMessage() {} - -func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +} +func (m *DiscoverTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) } +func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo -func (x *DiscoverTargetPortalResponse) GetIqns() []string { - if x != nil { - return x.Iqns +func (m *DiscoverTargetPortalResponse) GetIqns() []string { + if m != nil { + return m.Iqns } return nil } type RemoveTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalRequest) Reset() { - *x = RemoveTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } +func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalRequest) ProtoMessage() {} +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{5} } -func (x *RemoveTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) } - -func (*RemoveTargetPortalRequest) ProtoMessage() {} - -func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) +} +func (m *RemoveTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) } +func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo -func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalResponse) Reset() { - *x = RemoveTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } +func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalResponse) ProtoMessage() {} +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{6} } -func (x *RemoveTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) } - -func (*RemoveTargetPortalResponse) ProtoMessage() {} - -func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) +} +func (m *RemoveTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) +} +func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) } +var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo + type ListTargetPortalsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsRequest) Reset() { - *x = ListTargetPortalsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } +func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsRequest) ProtoMessage() {} +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{7} } -func (x *ListTargetPortalsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) } - -func (*ListTargetPortalsRequest) ProtoMessage() {} - -func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) +} +func (m *ListTargetPortalsRequest) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsRequest.Size(m) +} +func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) } -type ListTargetPortalsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +type ListTargetPortalsResponse struct { // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsResponse) Reset() { - *x = ListTargetPortalsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } +func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsResponse) ProtoMessage() {} +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{8} } -func (x *ListTargetPortalsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) } - -func (*ListTargetPortalsResponse) ProtoMessage() {} - -func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) +} +func (m *ListTargetPortalsResponse) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsResponse.Size(m) +} +func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) } -func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if x != nil { - return x.TargetPortals +var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo + +func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if m != nil { + return m.TargetPortals } return nil } type ConnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -511,715 +417,339 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetRequest) Reset() { - *x = ConnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } +func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetRequest) ProtoMessage() {} +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{9} } -func (x *ConnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) } - -func (*ConnectTargetRequest) ProtoMessage() {} - -func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetRequest.Merge(m, src) +} +func (m *ConnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_ConnectTargetRequest.Size(m) +} +func (m *ConnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) } -func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo + +func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *ConnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *ConnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } -func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { - if x != nil { - return x.AuthType +func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { + if m != nil { + return m.AuthType } return AuthenticationType_NONE } -func (x *ConnectTargetRequest) GetChapUsername() string { - if x != nil { - return x.ChapUsername +func (m *ConnectTargetRequest) GetChapUsername() string { + if m != nil { + return m.ChapUsername } return "" } -func (x *ConnectTargetRequest) GetChapSecret() string { - if x != nil { - return x.ChapSecret +func (m *ConnectTargetRequest) GetChapSecret() string { + if m != nil { + return m.ChapSecret } return "" } type ConnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetResponse) Reset() { - *x = ConnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } +func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetResponse) ProtoMessage() {} +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{10} } -func (x *ConnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) } - -func (*ConnectTargetResponse) ProtoMessage() {} - -func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{10} +func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +} +func (m *ConnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_ConnectTargetResponse.Size(m) +} +func (m *ConnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) } -type GetTargetDisksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +type GetTargetDisksRequest struct { // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksRequest) Reset() { - *x = GetTargetDisksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } +func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksRequest) ProtoMessage() {} +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{11} } -func (x *GetTargetDisksRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) } - -func (*GetTargetDisksRequest) ProtoMessage() {} - -func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{11} +func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) } +func (m *GetTargetDisksRequest) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksRequest.Size(m) +} +func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo -func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *GetTargetDisksRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *GetTargetDisksRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type GetTargetDisksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksResponse) Reset() { - *x = GetTargetDisksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } +func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksResponse) ProtoMessage() {} +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{12} } -func (x *GetTargetDisksResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) } - -func (*GetTargetDisksResponse) ProtoMessage() {} - -func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{12} +func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) +} +func (m *GetTargetDisksResponse) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksResponse.Size(m) } +func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo -func (x *GetTargetDisksResponse) GetDiskIDs() []string { - if x != nil { - return x.DiskIDs +func (m *GetTargetDisksResponse) GetDiskIDs() []string { + if m != nil { + return m.DiskIDs } return nil } type DisconnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetRequest) Reset() { - *x = DisconnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } +func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetRequest) ProtoMessage() {} +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{13} } -func (x *DisconnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) } - -func (*DisconnectTargetRequest) ProtoMessage() {} - -func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{13} +func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) } +func (m *DisconnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetRequest.Size(m) +} +func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo -func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *DisconnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *DisconnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type DisconnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DisconnectTargetResponse) Reset() { - *x = DisconnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectTargetResponse) ProtoMessage() {} - -func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. +func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } +func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetResponse) ProtoMessage() {} func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{14} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, - 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, - 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, - 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, - 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, - 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, - 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, - 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, - 0x41, 0x50, 0x10, 0x02, 0x32, 0x95, 0x05, 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, - 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, - 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, - 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = []interface{}{ - (AuthenticationType)(0), // 0: v1alpha1.AuthenticationType - (*TargetPortal)(nil), // 1: v1alpha1.TargetPortal - (*AddTargetPortalRequest)(nil), // 2: v1alpha1.AddTargetPortalRequest - (*AddTargetPortalResponse)(nil), // 3: v1alpha1.AddTargetPortalResponse - (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha1.DiscoverTargetPortalRequest - (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha1.DiscoverTargetPortalResponse - (*RemoveTargetPortalRequest)(nil), // 6: v1alpha1.RemoveTargetPortalRequest - (*RemoveTargetPortalResponse)(nil), // 7: v1alpha1.RemoveTargetPortalResponse - (*ListTargetPortalsRequest)(nil), // 8: v1alpha1.ListTargetPortalsRequest - (*ListTargetPortalsResponse)(nil), // 9: v1alpha1.ListTargetPortalsResponse - (*ConnectTargetRequest)(nil), // 10: v1alpha1.ConnectTargetRequest - (*ConnectTargetResponse)(nil), // 11: v1alpha1.ConnectTargetResponse - (*GetTargetDisksRequest)(nil), // 12: v1alpha1.GetTargetDisksRequest - (*GetTargetDisksResponse)(nil), // 13: v1alpha1.GetTargetDisksResponse - (*DisconnectTargetRequest)(nil), // 14: v1alpha1.DisconnectTargetRequest - (*DisconnectTargetResponse)(nil), // 15: v1alpha1.DisconnectTargetResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha1.AddTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 1: v1alpha1.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 2: v1alpha1.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 3: v1alpha1.ListTargetPortalsResponse.target_portals:type_name -> v1alpha1.TargetPortal - 1, // 4: v1alpha1.ConnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal - 0, // 5: v1alpha1.ConnectTargetRequest.auth_type:type_name -> v1alpha1.AuthenticationType - 1, // 6: v1alpha1.GetTargetDisksRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 7: v1alpha1.DisconnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal - 2, // 8: v1alpha1.Iscsi.AddTargetPortal:input_type -> v1alpha1.AddTargetPortalRequest - 4, // 9: v1alpha1.Iscsi.DiscoverTargetPortal:input_type -> v1alpha1.DiscoverTargetPortalRequest - 6, // 10: v1alpha1.Iscsi.RemoveTargetPortal:input_type -> v1alpha1.RemoveTargetPortalRequest - 8, // 11: v1alpha1.Iscsi.ListTargetPortals:input_type -> v1alpha1.ListTargetPortalsRequest - 10, // 12: v1alpha1.Iscsi.ConnectTarget:input_type -> v1alpha1.ConnectTargetRequest - 14, // 13: v1alpha1.Iscsi.DisconnectTarget:input_type -> v1alpha1.DisconnectTargetRequest - 12, // 14: v1alpha1.Iscsi.GetTargetDisks:input_type -> v1alpha1.GetTargetDisksRequest - 3, // 15: v1alpha1.Iscsi.AddTargetPortal:output_type -> v1alpha1.AddTargetPortalResponse - 5, // 16: v1alpha1.Iscsi.DiscoverTargetPortal:output_type -> v1alpha1.DiscoverTargetPortalResponse - 7, // 17: v1alpha1.Iscsi.RemoveTargetPortal:output_type -> v1alpha1.RemoveTargetPortalResponse - 9, // 18: v1alpha1.Iscsi.ListTargetPortals:output_type -> v1alpha1.ListTargetPortalsResponse - 11, // 19: v1alpha1.Iscsi.ConnectTarget:output_type -> v1alpha1.ConnectTargetResponse - 15, // 20: v1alpha1.Iscsi.DisconnectTarget:output_type -> v1alpha1.DisconnectTargetResponse - 13, // 21: v1alpha1.Iscsi.GetTargetDisks:output_type -> v1alpha1.GetTargetDisksResponse - 15, // [15:22] is the sub-list for method output_type - 8, // [8:15] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetPortal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = nil + return fileDescriptor_0438d9bfe30f1df4, []int{14} +} + +func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) +} +func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) +} +func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +} +func (m *DisconnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetResponse.Size(m) +} +func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("v1alpha1.AuthenticationType", AuthenticationType_name, AuthenticationType_value) + proto.RegisterType((*TargetPortal)(nil), "v1alpha1.TargetPortal") + proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha1.AddTargetPortalRequest") + proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha1.AddTargetPortalResponse") + proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha1.DiscoverTargetPortalRequest") + proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha1.DiscoverTargetPortalResponse") + proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha1.RemoveTargetPortalRequest") + proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha1.RemoveTargetPortalResponse") + proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha1.ListTargetPortalsRequest") + proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha1.ListTargetPortalsResponse") + proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha1.ConnectTargetRequest") + proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha1.ConnectTargetResponse") + proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha1.GetTargetDisksRequest") + proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha1.GetTargetDisksResponse") + proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha1.DisconnectTargetRequest") + proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha1.DisconnectTargetResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto", fileDescriptor_0438d9bfe30f1df4) +} + +var fileDescriptor_0438d9bfe30f1df4 = []byte{ + // 649 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x6d, 0x4f, 0xd3, 0x50, + 0x14, 0xa6, 0xbc, 0x28, 0x3b, 0xac, 0x30, 0x6f, 0x78, 0x29, 0x95, 0xc8, 0xb8, 0x88, 0x59, 0x4c, + 0xd8, 0xc2, 0xfc, 0x64, 0x0c, 0x31, 0x15, 0x08, 0x92, 0x20, 0x90, 0xca, 0x14, 0x67, 0xe2, 0x72, + 0xd7, 0x5d, 0xd7, 0x9b, 0x6d, 0x6d, 0xd7, 0x7b, 0xbb, 0xb8, 0x1f, 0xe2, 0x5f, 0xf4, 0x77, 0x98, + 0xbe, 0xac, 0xeb, 0xb6, 0x6e, 0x7e, 0x70, 0x7c, 0xeb, 0x7d, 0xee, 0x73, 0x9e, 0x73, 0xee, 0x79, + 0x2b, 0x5c, 0x36, 0x99, 0x30, 0xbd, 0x7a, 0xd1, 0xb0, 0x3b, 0xa5, 0x96, 0x57, 0xa7, 0xae, 0x45, + 0x05, 0xe5, 0xc7, 0x06, 0x67, 0x25, 0x83, 0xb3, 0x63, 0xc7, 0xb5, 0x7f, 0xf5, 0x4b, 0x46, 0x9b, + 0x51, 0x4b, 0x94, 0x88, 0xc3, 0x4a, 0x8c, 0xfb, 0x57, 0xbd, 0x13, 0xd2, 0x76, 0x4c, 0x72, 0xe2, + 0x43, 0x45, 0xc7, 0xb5, 0x85, 0x8d, 0x56, 0x07, 0x18, 0xfe, 0x02, 0xd9, 0x7b, 0xe2, 0x36, 0xa9, + 0xb8, 0xb3, 0x5d, 0x41, 0xda, 0xe8, 0x08, 0xd6, 0x45, 0x70, 0xae, 0x91, 0x46, 0xc3, 0xa5, 0x9c, + 0x2b, 0x52, 0x5e, 0x2a, 0x64, 0x74, 0x39, 0x44, 0xb5, 0x10, 0x44, 0xfb, 0xb0, 0x16, 0xd1, 0x1c, + 0xdb, 0x15, 0xca, 0x62, 0x5e, 0x2a, 0xc8, 0x3a, 0x88, 0x58, 0x09, 0x57, 0x60, 0x5b, 0x6b, 0x34, + 0x92, 0xd2, 0x3a, 0xed, 0x7a, 0x94, 0x0b, 0xf4, 0x0e, 0xe4, 0x84, 0x29, 0x69, 0x07, 0x0e, 0xd6, + 0xca, 0xdb, 0xc5, 0x41, 0x4c, 0xc5, 0x11, 0xab, 0xac, 0x48, 0x9c, 0xf0, 0x2e, 0xec, 0x4c, 0xc8, + 0x72, 0xc7, 0xb6, 0x38, 0xc5, 0x55, 0x78, 0x7e, 0xce, 0xb8, 0x61, 0xf7, 0xa8, 0x3b, 0x77, 0xb7, + 0x65, 0xd8, 0x4b, 0xd7, 0x0e, 0x7d, 0x23, 0x04, 0xcb, 0xac, 0x6b, 0xf9, 0xb9, 0x5a, 0x2a, 0x64, + 0xf4, 0xe0, 0x1b, 0x3f, 0xc0, 0xae, 0x4e, 0x3b, 0x76, 0x8f, 0xce, 0x3d, 0x9a, 0x3d, 0x50, 0xd3, + 0x94, 0xa3, 0x3c, 0xa8, 0xa0, 0x5c, 0x33, 0x2e, 0x92, 0x77, 0x3c, 0x72, 0x8b, 0xab, 0xb0, 0x9b, + 0x72, 0x17, 0x3d, 0xe2, 0x34, 0x2e, 0x7d, 0x18, 0x53, 0xf8, 0x9c, 0xe9, 0x41, 0xc9, 0xc9, 0xa0, + 0x38, 0xfe, 0x23, 0xc1, 0xe6, 0x99, 0x6d, 0x59, 0xd4, 0x88, 0xf4, 0xe7, 0xf1, 0x56, 0x94, 0x83, + 0x25, 0xd6, 0xb5, 0x82, 0x06, 0xcb, 0xe8, 0xfe, 0x27, 0x7a, 0x0b, 0x19, 0xe2, 0x09, 0xb3, 0x26, + 0xfa, 0x0e, 0x55, 0x96, 0xf2, 0x52, 0x61, 0xbd, 0xbc, 0x37, 0x94, 0xd2, 0x3c, 0x61, 0x52, 0x4b, + 0x30, 0x83, 0x08, 0x66, 0x5b, 0xf7, 0x7d, 0x87, 0xea, 0xab, 0x3e, 0xdd, 0xff, 0x42, 0x87, 0x20, + 0x1b, 0x26, 0x71, 0x6a, 0x1e, 0xa7, 0xae, 0x45, 0x3a, 0x54, 0x59, 0x0e, 0x64, 0xb3, 0x3e, 0x58, + 0x89, 0x30, 0xbf, 0xb5, 0x03, 0x12, 0xa7, 0x86, 0x4b, 0x85, 0xb2, 0x12, 0x50, 0xc0, 0x87, 0x3e, + 0x07, 0x08, 0xde, 0x81, 0xad, 0xb1, 0x77, 0x46, 0x99, 0xff, 0x09, 0x5b, 0x97, 0x34, 0x02, 0xcf, + 0x19, 0x6f, 0xf1, 0xc7, 0xc9, 0x00, 0x2e, 0xc3, 0xf6, 0xb8, 0x9f, 0xa8, 0x84, 0x0a, 0x3c, 0x6d, + 0x30, 0xde, 0xba, 0x3a, 0x1f, 0xb4, 0xe2, 0xe0, 0x88, 0x4d, 0xd8, 0x09, 0x3a, 0xf8, 0xd1, 0xeb, + 0xe3, 0xf7, 0xdf, 0xa4, 0xa7, 0x30, 0xbe, 0xd7, 0x1a, 0xa0, 0xc9, 0x02, 0xa1, 0x55, 0x58, 0xbe, + 0xb9, 0xbd, 0xb9, 0xc8, 0x2d, 0xa0, 0x1c, 0x64, 0x6f, 0x6f, 0x2e, 0x6a, 0x5f, 0xb5, 0x6f, 0xb5, + 0xb3, 0x8f, 0xda, 0x5d, 0x4e, 0x42, 0x1b, 0xb0, 0xf6, 0xa9, 0x72, 0x5f, 0xd1, 0xae, 0x43, 0x60, + 0xb1, 0xfc, 0x7b, 0x05, 0x56, 0xae, 0xfc, 0xbd, 0x86, 0x1e, 0x60, 0x63, 0x6c, 0x17, 0xa0, 0x7c, + 0xa2, 0x11, 0x52, 0xb7, 0x8f, 0x7a, 0x30, 0x83, 0x11, 0x95, 0x71, 0x01, 0x35, 0x61, 0x33, 0x6d, + 0xdc, 0xd1, 0xd1, 0xd0, 0x78, 0xc6, 0xaa, 0x51, 0x5f, 0xfd, 0x8b, 0x16, 0x3b, 0x22, 0x80, 0x26, + 0x27, 0x19, 0x1d, 0x0e, 0xed, 0xa7, 0x6e, 0x10, 0xf5, 0xe5, 0x6c, 0x52, 0xec, 0xe2, 0x07, 0x3c, + 0x9b, 0x18, 0x79, 0x84, 0x87, 0xc6, 0xd3, 0x76, 0x85, 0x7a, 0x38, 0x93, 0x13, 0xeb, 0xeb, 0x20, + 0x8f, 0x4c, 0x03, 0x7a, 0x31, 0xb4, 0x4b, 0x5b, 0x07, 0xea, 0xfe, 0xd4, 0xfb, 0x58, 0xf3, 0x3b, + 0xe4, 0xc6, 0x5b, 0x08, 0x1d, 0x8c, 0x25, 0x35, 0x45, 0x19, 0xcf, 0xa2, 0xc4, 0xe2, 0x15, 0x58, + 0x1f, 0x9d, 0x1e, 0x94, 0x88, 0x28, 0x75, 0x7e, 0xd5, 0xfc, 0x74, 0xc2, 0x40, 0xf6, 0xc3, 0xfb, + 0xea, 0xe9, 0x7f, 0xfd, 0x9d, 0xeb, 0x4f, 0x82, 0x5f, 0xf3, 0x9b, 0xbf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0xbb, 0x3d, 0x8f, 0x5c, 0xe5, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1357,25 +887,25 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } diff --git a/client/api/iscsi/v1alpha2/api.pb.go b/client/api/iscsi/v1alpha2/api.pb.go index 0f8d3406..d3ffff5b 100644 --- a/client/api/iscsi/v1alpha2/api.pb.go +++ b/client/api/iscsi/v1alpha2/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto package v1alpha2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // iSCSI logon authentication type type AuthenticationType int32 @@ -37,466 +37,372 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -// Enum value maps for AuthenticationType. -var ( - AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", - } - AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, - } -) - -func (x AuthenticationType) Enum() *AuthenticationType { - p := new(AuthenticationType) - *p = x - return p -} - -func (x AuthenticationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0].Descriptor() +var AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", } -func (AuthenticationType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0] +var AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, } -func (x AuthenticationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AuthenticationType) String() string { + return proto.EnumName(AuthenticationType_name, int32(x)) } -// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_3d2a5b20b77faa63, []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TargetPortal) Reset() { - *x = TargetPortal{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TargetPortal) Reset() { *m = TargetPortal{} } +func (m *TargetPortal) String() string { return proto.CompactTextString(m) } +func (*TargetPortal) ProtoMessage() {} +func (*TargetPortal) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{0} } -func (x *TargetPortal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TargetPortal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetPortal.Unmarshal(m, b) } - -func (*TargetPortal) ProtoMessage() {} - -func (x *TargetPortal) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) } - -// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. -func (*TargetPortal) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} +func (m *TargetPortal) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetPortal.Merge(m, src) } +func (m *TargetPortal) XXX_Size() int { + return xxx_messageInfo_TargetPortal.Size(m) +} +func (m *TargetPortal) XXX_DiscardUnknown() { + xxx_messageInfo_TargetPortal.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetPortal proto.InternalMessageInfo -func (x *TargetPortal) GetTargetAddress() string { - if x != nil { - return x.TargetAddress +func (m *TargetPortal) GetTargetAddress() string { + if m != nil { + return m.TargetAddress } return "" } -func (x *TargetPortal) GetTargetPort() uint32 { - if x != nil { - return x.TargetPort +func (m *TargetPortal) GetTargetPort() uint32 { + if m != nil { + return m.TargetPort } return 0 } type AddTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalRequest) Reset() { - *x = AddTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } +func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalRequest) ProtoMessage() {} +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{1} } -func (x *AddTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) } - -func (*AddTargetPortalRequest) ProtoMessage() {} - -func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{1} +func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) +} +func (m *AddTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalRequest.Size(m) } +func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo -func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type AddTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalResponse) Reset() { - *x = AddTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } +func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalResponse) ProtoMessage() {} +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{2} } -func (x *AddTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) } - -func (*AddTargetPortalResponse) ProtoMessage() {} - -func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{2} +func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) +} +func (m *AddTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalResponse.Size(m) +} +func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) } -type DiscoverTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +type DiscoverTargetPortalRequest struct { // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalRequest) Reset() { - *x = DiscoverTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } +func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalRequest) ProtoMessage() {} +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{3} } -func (x *DiscoverTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) } - -func (*DiscoverTargetPortalRequest) ProtoMessage() {} - -func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{3} +func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) +} +func (m *DiscoverTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) +} +func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) } -func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo + +func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalResponse) Reset() { - *x = DiscoverTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } +func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalResponse) ProtoMessage() {} +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{4} } -func (x *DiscoverTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) } - -func (*DiscoverTargetPortalResponse) ProtoMessage() {} - -func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{4} +func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +} +func (m *DiscoverTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) } +func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo -func (x *DiscoverTargetPortalResponse) GetIqns() []string { - if x != nil { - return x.Iqns +func (m *DiscoverTargetPortalResponse) GetIqns() []string { + if m != nil { + return m.Iqns } return nil } type RemoveTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalRequest) Reset() { - *x = RemoveTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } +func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalRequest) ProtoMessage() {} +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{5} } -func (x *RemoveTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) } - -func (*RemoveTargetPortalRequest) ProtoMessage() {} - -func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{5} +func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) +} +func (m *RemoveTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) +} +func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) } -func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo + +func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalResponse) Reset() { - *x = RemoveTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } +func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalResponse) ProtoMessage() {} +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{6} } -func (x *RemoveTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) } - -func (*RemoveTargetPortalResponse) ProtoMessage() {} - -func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{6} +func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) +} +func (m *RemoveTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) } +func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo type ListTargetPortalsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsRequest) Reset() { - *x = ListTargetPortalsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } +func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsRequest) ProtoMessage() {} +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{7} } -func (x *ListTargetPortalsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) } - -func (*ListTargetPortalsRequest) ProtoMessage() {} - -func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{7} +func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) +} +func (m *ListTargetPortalsRequest) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsRequest.Size(m) +} +func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) } -type ListTargetPortalsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +type ListTargetPortalsResponse struct { // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsResponse) Reset() { - *x = ListTargetPortalsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } +func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsResponse) ProtoMessage() {} +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{8} } -func (x *ListTargetPortalsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) } - -func (*ListTargetPortalsResponse) ProtoMessage() {} - -func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{8} +func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) +} +func (m *ListTargetPortalsResponse) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsResponse.Size(m) +} +func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) } -func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if x != nil { - return x.TargetPortals +var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo + +func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if m != nil { + return m.TargetPortals } return nil } type ConnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -513,845 +419,418 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetRequest) Reset() { - *x = ConnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } +func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetRequest) ProtoMessage() {} +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{9} } -func (x *ConnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) } - -func (*ConnectTargetRequest) ProtoMessage() {} - -func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{9} +func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetRequest.Merge(m, src) +} +func (m *ConnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_ConnectTargetRequest.Size(m) } +func (m *ConnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo -func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *ConnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *ConnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } -func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { - if x != nil { - return x.AuthType +func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { + if m != nil { + return m.AuthType } return AuthenticationType_NONE } -func (x *ConnectTargetRequest) GetChapUsername() string { - if x != nil { - return x.ChapUsername +func (m *ConnectTargetRequest) GetChapUsername() string { + if m != nil { + return m.ChapUsername } return "" } -func (x *ConnectTargetRequest) GetChapSecret() string { - if x != nil { - return x.ChapSecret +func (m *ConnectTargetRequest) GetChapSecret() string { + if m != nil { + return m.ChapSecret } return "" } type ConnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetResponse) Reset() { - *x = ConnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } +func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetResponse) ProtoMessage() {} +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{10} } -func (x *ConnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) } - -func (*ConnectTargetResponse) ProtoMessage() {} - -func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{10} +func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +} +func (m *ConnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_ConnectTargetResponse.Size(m) +} +func (m *ConnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) } -type GetTargetDisksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +type GetTargetDisksRequest struct { // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksRequest) Reset() { - *x = GetTargetDisksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } +func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksRequest) ProtoMessage() {} +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{11} } -func (x *GetTargetDisksRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) } - -func (*GetTargetDisksRequest) ProtoMessage() {} - -func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{11} +func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) +} +func (m *GetTargetDisksRequest) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksRequest.Size(m) } +func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo -func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *GetTargetDisksRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *GetTargetDisksRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type GetTargetDisksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksResponse) Reset() { - *x = GetTargetDisksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } +func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksResponse) ProtoMessage() {} +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{12} } -func (x *GetTargetDisksResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) } - -func (*GetTargetDisksResponse) ProtoMessage() {} - -func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{12} +func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) +} +func (m *GetTargetDisksResponse) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksResponse.Size(m) } +func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo -func (x *GetTargetDisksResponse) GetDiskIDs() []string { - if x != nil { - return x.DiskIDs +func (m *GetTargetDisksResponse) GetDiskIDs() []string { + if m != nil { + return m.DiskIDs } return nil } type DisconnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetRequest) Reset() { - *x = DisconnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } +func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetRequest) ProtoMessage() {} +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{13} } -func (x *DisconnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) } - -func (*DisconnectTargetRequest) ProtoMessage() {} - -func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{13} +func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +} +func (m *DisconnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetRequest.Size(m) +} +func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) } -func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo + +func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *DisconnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *DisconnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type DisconnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetResponse) Reset() { - *x = DisconnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } +func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetResponse) ProtoMessage() {} +func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{14} } -func (x *DisconnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) } - -func (*DisconnectTargetResponse) ProtoMessage() {} - -func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. -func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{14} +func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +} +func (m *DisconnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetResponse.Size(m) +} +func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) } -type SetMutualChapSecretRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo +type SetMutualChapSecretRequest struct { // the default CHAP secret that all initiators on this machine (node) use to // authenticate the target on mutual CHAP authentication. // Must be at least 12 byte long for non-Ipsec connections, at least one // byte long for Ipsec connections, and at most 16 bytes long. - MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` + MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetMutualChapSecretRequest) Reset() { - *x = SetMutualChapSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetMutualChapSecretRequest) Reset() { *m = SetMutualChapSecretRequest{} } +func (m *SetMutualChapSecretRequest) String() string { return proto.CompactTextString(m) } +func (*SetMutualChapSecretRequest) ProtoMessage() {} +func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{15} } -func (x *SetMutualChapSecretRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetMutualChapSecretRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMutualChapSecretRequest.Unmarshal(m, b) } - -func (*SetMutualChapSecretRequest) ProtoMessage() {} - -func (x *SetMutualChapSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] - 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) +func (m *SetMutualChapSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMutualChapSecretRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use SetMutualChapSecretRequest.ProtoReflect.Descriptor instead. -func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{15} +func (m *SetMutualChapSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMutualChapSecretRequest.Merge(m, src) } - -func (x *SetMutualChapSecretRequest) GetMutualChapSecret() string { - if x != nil { - return x.MutualChapSecret - } - return "" +func (m *SetMutualChapSecretRequest) XXX_Size() int { + return xxx_messageInfo_SetMutualChapSecretRequest.Size(m) } - -type SetMutualChapSecretResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *SetMutualChapSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetMutualChapSecretRequest.DiscardUnknown(m) } -func (x *SetMutualChapSecretResponse) Reset() { - *x = SetMutualChapSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} +var xxx_messageInfo_SetMutualChapSecretRequest proto.InternalMessageInfo -func (x *SetMutualChapSecretResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetMutualChapSecretRequest) GetMutualChapSecret() string { + if m != nil { + return m.MutualChapSecret + } + return "" } -func (*SetMutualChapSecretResponse) ProtoMessage() {} - -func (x *SetMutualChapSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] - 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) +type SetMutualChapSecretResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use SetMutualChapSecretResponse.ProtoReflect.Descriptor instead. +func (m *SetMutualChapSecretResponse) Reset() { *m = SetMutualChapSecretResponse{} } +func (m *SetMutualChapSecretResponse) String() string { return proto.CompactTextString(m) } +func (*SetMutualChapSecretResponse) ProtoMessage() {} func (*SetMutualChapSecretResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{16} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, - 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, - 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, - 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, - 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, - 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, - 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x2a, 0x0a, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, - 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x53, - 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, - 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, - 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x02, 0x32, 0xfb, 0x05, - 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, - 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, - 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, - 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, - 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, - 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, - 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x73, - 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = []interface{}{ - (AuthenticationType)(0), // 0: v1alpha2.AuthenticationType - (*TargetPortal)(nil), // 1: v1alpha2.TargetPortal - (*AddTargetPortalRequest)(nil), // 2: v1alpha2.AddTargetPortalRequest - (*AddTargetPortalResponse)(nil), // 3: v1alpha2.AddTargetPortalResponse - (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha2.DiscoverTargetPortalRequest - (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha2.DiscoverTargetPortalResponse - (*RemoveTargetPortalRequest)(nil), // 6: v1alpha2.RemoveTargetPortalRequest - (*RemoveTargetPortalResponse)(nil), // 7: v1alpha2.RemoveTargetPortalResponse - (*ListTargetPortalsRequest)(nil), // 8: v1alpha2.ListTargetPortalsRequest - (*ListTargetPortalsResponse)(nil), // 9: v1alpha2.ListTargetPortalsResponse - (*ConnectTargetRequest)(nil), // 10: v1alpha2.ConnectTargetRequest - (*ConnectTargetResponse)(nil), // 11: v1alpha2.ConnectTargetResponse - (*GetTargetDisksRequest)(nil), // 12: v1alpha2.GetTargetDisksRequest - (*GetTargetDisksResponse)(nil), // 13: v1alpha2.GetTargetDisksResponse - (*DisconnectTargetRequest)(nil), // 14: v1alpha2.DisconnectTargetRequest - (*DisconnectTargetResponse)(nil), // 15: v1alpha2.DisconnectTargetResponse - (*SetMutualChapSecretRequest)(nil), // 16: v1alpha2.SetMutualChapSecretRequest - (*SetMutualChapSecretResponse)(nil), // 17: v1alpha2.SetMutualChapSecretResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha2.AddTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 1: v1alpha2.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 2: v1alpha2.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 3: v1alpha2.ListTargetPortalsResponse.target_portals:type_name -> v1alpha2.TargetPortal - 1, // 4: v1alpha2.ConnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal - 0, // 5: v1alpha2.ConnectTargetRequest.auth_type:type_name -> v1alpha2.AuthenticationType - 1, // 6: v1alpha2.GetTargetDisksRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 7: v1alpha2.DisconnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal - 2, // 8: v1alpha2.Iscsi.AddTargetPortal:input_type -> v1alpha2.AddTargetPortalRequest - 4, // 9: v1alpha2.Iscsi.DiscoverTargetPortal:input_type -> v1alpha2.DiscoverTargetPortalRequest - 6, // 10: v1alpha2.Iscsi.RemoveTargetPortal:input_type -> v1alpha2.RemoveTargetPortalRequest - 8, // 11: v1alpha2.Iscsi.ListTargetPortals:input_type -> v1alpha2.ListTargetPortalsRequest - 10, // 12: v1alpha2.Iscsi.ConnectTarget:input_type -> v1alpha2.ConnectTargetRequest - 14, // 13: v1alpha2.Iscsi.DisconnectTarget:input_type -> v1alpha2.DisconnectTargetRequest - 12, // 14: v1alpha2.Iscsi.GetTargetDisks:input_type -> v1alpha2.GetTargetDisksRequest - 16, // 15: v1alpha2.Iscsi.SetMutualChapSecret:input_type -> v1alpha2.SetMutualChapSecretRequest - 3, // 16: v1alpha2.Iscsi.AddTargetPortal:output_type -> v1alpha2.AddTargetPortalResponse - 5, // 17: v1alpha2.Iscsi.DiscoverTargetPortal:output_type -> v1alpha2.DiscoverTargetPortalResponse - 7, // 18: v1alpha2.Iscsi.RemoveTargetPortal:output_type -> v1alpha2.RemoveTargetPortalResponse - 9, // 19: v1alpha2.Iscsi.ListTargetPortals:output_type -> v1alpha2.ListTargetPortalsResponse - 11, // 20: v1alpha2.Iscsi.ConnectTarget:output_type -> v1alpha2.ConnectTargetResponse - 15, // 21: v1alpha2.Iscsi.DisconnectTarget:output_type -> v1alpha2.DisconnectTargetResponse - 13, // 22: v1alpha2.Iscsi.GetTargetDisks:output_type -> v1alpha2.GetTargetDisksResponse - 17, // 23: v1alpha2.Iscsi.SetMutualChapSecret:output_type -> v1alpha2.SetMutualChapSecretResponse - 16, // [16:24] is the sub-list for method output_type - 8, // [8:16] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetPortal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMutualChapSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMutualChapSecretResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 17, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = nil + return fileDescriptor_3d2a5b20b77faa63, []int{16} +} + +func (m *SetMutualChapSecretResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMutualChapSecretResponse.Unmarshal(m, b) +} +func (m *SetMutualChapSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMutualChapSecretResponse.Marshal(b, m, deterministic) +} +func (m *SetMutualChapSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMutualChapSecretResponse.Merge(m, src) +} +func (m *SetMutualChapSecretResponse) XXX_Size() int { + return xxx_messageInfo_SetMutualChapSecretResponse.Size(m) +} +func (m *SetMutualChapSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetMutualChapSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetMutualChapSecretResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("v1alpha2.AuthenticationType", AuthenticationType_name, AuthenticationType_value) + proto.RegisterType((*TargetPortal)(nil), "v1alpha2.TargetPortal") + proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha2.AddTargetPortalRequest") + proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha2.AddTargetPortalResponse") + proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha2.DiscoverTargetPortalRequest") + proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha2.DiscoverTargetPortalResponse") + proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha2.RemoveTargetPortalRequest") + proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha2.RemoveTargetPortalResponse") + proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha2.ListTargetPortalsRequest") + proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha2.ListTargetPortalsResponse") + proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha2.ConnectTargetRequest") + proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha2.ConnectTargetResponse") + proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha2.GetTargetDisksRequest") + proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha2.GetTargetDisksResponse") + proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha2.DisconnectTargetRequest") + proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha2.DisconnectTargetResponse") + proto.RegisterType((*SetMutualChapSecretRequest)(nil), "v1alpha2.SetMutualChapSecretRequest") + proto.RegisterType((*SetMutualChapSecretResponse)(nil), "v1alpha2.SetMutualChapSecretResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto", fileDescriptor_3d2a5b20b77faa63) +} + +var fileDescriptor_3d2a5b20b77faa63 = []byte{ + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5b, 0x4f, 0xdb, 0x4c, + 0x10, 0x25, 0x5c, 0xbe, 0x8f, 0x0c, 0x09, 0xa4, 0x53, 0x2e, 0xc6, 0xd0, 0x12, 0x96, 0x52, 0x45, + 0x48, 0x24, 0x6a, 0xfa, 0x54, 0x55, 0xa8, 0x72, 0x01, 0x01, 0x12, 0x37, 0x19, 0xd2, 0x52, 0x2a, + 0x35, 0x5a, 0x9c, 0x2d, 0x59, 0x11, 0x6c, 0xe3, 0x5d, 0xa3, 0xf2, 0x87, 0xfb, 0x27, 0xfa, 0x52, + 0xd9, 0xde, 0x38, 0x26, 0x71, 0xc2, 0x43, 0xc3, 0x9b, 0xf7, 0xec, 0x99, 0x33, 0xb3, 0xb3, 0xb3, + 0x47, 0x86, 0xbd, 0x6b, 0x2e, 0x9b, 0xfe, 0x55, 0xd9, 0x72, 0x6e, 0x2b, 0x37, 0xfe, 0x15, 0xf3, + 0x6c, 0x26, 0x99, 0xd8, 0xb4, 0x04, 0xaf, 0x58, 0x82, 0x6f, 0xba, 0x9e, 0xf3, 0xeb, 0xa1, 0x62, + 0xb5, 0x38, 0xb3, 0x65, 0x85, 0xba, 0xbc, 0xc2, 0x45, 0xb0, 0x75, 0xff, 0x8e, 0xb6, 0xdc, 0x26, + 0xad, 0x06, 0x50, 0xd9, 0xf5, 0x1c, 0xe9, 0xe0, 0x64, 0x1b, 0x23, 0x5f, 0x20, 0x77, 0x4e, 0xbd, + 0x6b, 0x26, 0x4f, 0x1d, 0x4f, 0xd2, 0x16, 0xae, 0xc3, 0xb4, 0x0c, 0xd7, 0x75, 0xda, 0x68, 0x78, + 0x4c, 0x08, 0x2d, 0x53, 0xcc, 0x94, 0xb2, 0x66, 0x3e, 0x42, 0x8d, 0x08, 0xc4, 0x15, 0x98, 0x52, + 0x34, 0xd7, 0xf1, 0xa4, 0x36, 0x5a, 0xcc, 0x94, 0xf2, 0x26, 0xc8, 0x58, 0x89, 0xd4, 0x60, 0xde, + 0x68, 0x34, 0x92, 0xd2, 0x26, 0xbb, 0xf3, 0x99, 0x90, 0xf8, 0x11, 0xf2, 0x89, 0x50, 0xda, 0x0a, + 0x13, 0x4c, 0x55, 0xe7, 0xcb, 0xed, 0x9a, 0xca, 0x8f, 0xa2, 0x72, 0x32, 0xb1, 0x22, 0x8b, 0xb0, + 0xd0, 0x23, 0x2b, 0x5c, 0xc7, 0x16, 0x8c, 0x5c, 0xc2, 0xd2, 0x0e, 0x17, 0x96, 0x73, 0xcf, 0xbc, + 0xa1, 0xa7, 0xad, 0xc2, 0x72, 0xba, 0x76, 0x94, 0x1b, 0x11, 0xc6, 0xf9, 0x9d, 0x1d, 0xf4, 0x6a, + 0xac, 0x94, 0x35, 0xc3, 0x6f, 0x72, 0x01, 0x8b, 0x26, 0xbb, 0x75, 0xee, 0xd9, 0xd0, 0xab, 0x59, + 0x06, 0x3d, 0x4d, 0x59, 0xf5, 0x41, 0x07, 0xed, 0x90, 0x0b, 0x99, 0xdc, 0x13, 0x2a, 0x2d, 0xb9, + 0x84, 0xc5, 0x94, 0x3d, 0x75, 0x88, 0xad, 0xf8, 0xea, 0xa3, 0x9a, 0xa2, 0xe3, 0xf4, 0x2f, 0x2a, + 0x9f, 0x2c, 0x4a, 0x90, 0xdf, 0x19, 0x98, 0xdd, 0x76, 0x6c, 0x9b, 0x59, 0x4a, 0x7f, 0x18, 0x67, + 0xc5, 0x02, 0x8c, 0xf1, 0x3b, 0x3b, 0x1c, 0xb0, 0xac, 0x19, 0x7c, 0xe2, 0x07, 0xc8, 0x52, 0x5f, + 0x36, 0xeb, 0xf2, 0xc1, 0x65, 0xda, 0x58, 0x31, 0x53, 0x9a, 0xae, 0x2e, 0x77, 0xa4, 0x0c, 0x5f, + 0x36, 0x99, 0x2d, 0xb9, 0x45, 0x25, 0x77, 0xec, 0xf3, 0x07, 0x97, 0x99, 0x93, 0x01, 0x3d, 0xf8, + 0xc2, 0x35, 0xc8, 0x5b, 0x4d, 0xea, 0xd6, 0x7d, 0xc1, 0x3c, 0x9b, 0xde, 0x32, 0x6d, 0x3c, 0x94, + 0xcd, 0x05, 0x60, 0x4d, 0x61, 0xc1, 0x68, 0x87, 0x24, 0xc1, 0x2c, 0x8f, 0x49, 0x6d, 0x22, 0xa4, + 0x40, 0x00, 0x9d, 0x85, 0x08, 0x59, 0x80, 0xb9, 0xae, 0x73, 0xaa, 0xce, 0xff, 0x84, 0xb9, 0x3d, + 0xa6, 0xc0, 0x1d, 0x2e, 0x6e, 0xc4, 0xf3, 0x74, 0x80, 0x54, 0x61, 0xbe, 0x3b, 0x8f, 0xba, 0x42, + 0x0d, 0xfe, 0x6f, 0x70, 0x71, 0x73, 0xb0, 0xd3, 0x1e, 0xc5, 0xf6, 0x92, 0x34, 0x61, 0x21, 0x9c, + 0xe0, 0x67, 0xbf, 0x9f, 0x60, 0xfe, 0x7a, 0x33, 0xa9, 0x0e, 0xed, 0x83, 0x7e, 0xc6, 0xe4, 0x91, + 0x2f, 0x7d, 0xda, 0xda, 0x8e, 0x3b, 0xda, 0x2e, 0x64, 0x03, 0x0a, 0xdd, 0x5b, 0xca, 0x7d, 0x7a, + 0x70, 0xf2, 0x0a, 0x96, 0x52, 0x95, 0xa2, 0x44, 0x1b, 0x06, 0x60, 0xef, 0x24, 0xe0, 0x24, 0x8c, + 0x1f, 0x9f, 0x1c, 0xef, 0x16, 0x46, 0xb0, 0x00, 0xb9, 0x93, 0xe3, 0xdd, 0xfa, 0x57, 0xe3, 0x5b, + 0x7d, 0x7b, 0xdf, 0x38, 0x2d, 0x64, 0x70, 0x06, 0xa6, 0x8e, 0x6a, 0xe7, 0x35, 0xe3, 0x30, 0x02, + 0x46, 0xab, 0x7f, 0x26, 0x60, 0xe2, 0x20, 0x30, 0x50, 0xbc, 0x80, 0x99, 0x2e, 0xd3, 0xc1, 0x62, + 0x62, 0xe2, 0x52, 0x6d, 0x4e, 0x5f, 0x1d, 0xc0, 0x50, 0xdd, 0x18, 0xc1, 0x6b, 0x98, 0x4d, 0xf3, + 0x15, 0x5c, 0xef, 0x04, 0x0f, 0xf0, 0x34, 0xfd, 0xed, 0x53, 0xb4, 0x38, 0x11, 0x05, 0xec, 0xb5, + 0x0c, 0x5c, 0xeb, 0xc4, 0xf7, 0xb5, 0x2a, 0xfd, 0xcd, 0x60, 0x52, 0x9c, 0xe2, 0x07, 0xbc, 0xe8, + 0xf1, 0x16, 0x24, 0x9d, 0xe0, 0x7e, 0xa6, 0xa4, 0xaf, 0x0d, 0xe4, 0xc4, 0xfa, 0x26, 0xe4, 0x1f, + 0x3d, 0x3b, 0x7c, 0xdd, 0x89, 0x4b, 0xf3, 0x1d, 0x7d, 0xa5, 0xef, 0x7e, 0xac, 0xf9, 0x1d, 0x0a, + 0xdd, 0xb3, 0x8a, 0xab, 0x5d, 0x4d, 0x4d, 0x51, 0x26, 0x83, 0x28, 0xb1, 0x78, 0x0d, 0xa6, 0x1f, + 0x3f, 0x53, 0x4c, 0x54, 0x94, 0x6a, 0x14, 0x7a, 0xb1, 0x3f, 0x21, 0x96, 0x6d, 0xc0, 0xcb, 0x94, + 0xc9, 0xc7, 0xc4, 0x35, 0xf5, 0x7f, 0x62, 0xfa, 0xfa, 0x13, 0xac, 0x76, 0x96, 0xcf, 0x9f, 0x2e, + 0xb7, 0xfe, 0xe9, 0x67, 0xe3, 0xea, 0xbf, 0xf0, 0x4f, 0xe3, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xaf, 0xbf, 0xa1, 0x93, 0xb4, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1510,28 +989,28 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } -func (*UnimplementedIscsiServer) SetMutualChapSecret(context.Context, *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { +func (*UnimplementedIscsiServer) SetMutualChapSecret(ctx context.Context, req *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetMutualChapSecret not implemented") } diff --git a/client/api/smb/v1alpha1/api.pb.go b/client/api/smb/v1alpha1/api.pb.go index 906d2eba..67c8fffa 100644 --- a/client/api/smb/v1alpha1/api.pb.go +++ b/client/api/smb/v1alpha1/api.pb.go @@ -1,34 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type NewSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type NewSmbGlobalMappingRequest struct { // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -44,123 +40,107 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingRequest) Reset() { - *x = NewSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } +func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{0} } -func (x *NewSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) +} +func (m *NewSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) +} +func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) } -func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo + +func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } -func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { - if x != nil { - return x.LocalPath +func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { + if m != nil { + return m.LocalPath } return "" } -func (x *NewSmbGlobalMappingRequest) GetUsername() string { - if x != nil { - return x.Username +func (m *NewSmbGlobalMappingRequest) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *NewSmbGlobalMappingRequest) GetPassword() string { - if x != nil { - return x.Password +func (m *NewSmbGlobalMappingRequest) GetPassword() string { + if m != nil { + return m.Password } return "" } type NewSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingResponse) Reset() { - *x = NewSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } +func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{1} } -func (x *NewSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) +} +func (m *NewSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) } +func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo -func (x *NewSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +func (m *NewSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RemoveSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -170,250 +150,117 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingRequest) Reset() { - *x = RemoveSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } +func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{2} } -func (x *RemoveSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) } +func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo -func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingResponse) Reset() { - *x = RemoveSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } +func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{3} } -func (x *RemoveSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) } -func (x *RemoveSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo + +func (m *RemoveSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, - 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, - 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, - 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, - 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, - 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xda, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, - 0x64, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, - 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, - 0x27, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, - 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, - 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1alpha1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1alpha1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1alpha1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1alpha1.RemoveSmbGlobalMappingResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.Smb.NewSmbGlobalMapping:input_type -> v1alpha1.NewSmbGlobalMappingRequest - 2, // 1: v1alpha1.Smb.RemoveSmbGlobalMapping:input_type -> v1alpha1.RemoveSmbGlobalMappingRequest - 1, // 2: v1alpha1.Smb.NewSmbGlobalMapping:output_type -> v1alpha1.NewSmbGlobalMappingResponse - 3, // 3: v1alpha1.Smb.RemoveSmbGlobalMapping:output_type -> v1alpha1.RemoveSmbGlobalMappingResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1alpha1.NewSmbGlobalMappingRequest") + proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1alpha1.NewSmbGlobalMappingResponse") + proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1alpha1.RemoveSmbGlobalMappingRequest") + proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1alpha1.RemoveSmbGlobalMappingResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto", fileDescriptor_76c5c101454f8b9a) +} + +var fileDescriptor_76c5c101454f8b9a = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4a, 0x03, 0x31, + 0x10, 0xc6, 0x5d, 0xab, 0xd2, 0x8e, 0xb7, 0x28, 0x52, 0x56, 0xaa, 0xb2, 0x28, 0xf6, 0xd2, 0x0d, + 0xb5, 0xe0, 0xd9, 0x8b, 0x78, 0x52, 0xa4, 0x7d, 0x00, 0x49, 0xb6, 0x43, 0x37, 0x98, 0xec, 0xc4, + 0x24, 0xdb, 0xea, 0x7b, 0xf8, 0x74, 0x3e, 0x8d, 0x74, 0xd7, 0xd5, 0x4b, 0xff, 0x80, 0xc7, 0xef, + 0xfb, 0x0d, 0x33, 0x5f, 0x3e, 0x02, 0xf7, 0x33, 0x15, 0xf2, 0x52, 0xa6, 0x19, 0x19, 0xfe, 0x5a, + 0x4a, 0x74, 0x05, 0x06, 0xf4, 0x83, 0xcc, 0x2b, 0x9e, 0x79, 0x35, 0xb0, 0x8e, 0xde, 0x3f, 0x78, + 0xa6, 0x15, 0x16, 0x81, 0x0b, 0xab, 0xb8, 0x37, 0x92, 0xcf, 0x87, 0x42, 0xdb, 0x5c, 0x0c, 0x97, + 0x46, 0x6a, 0x1d, 0x05, 0x62, 0xed, 0xc6, 0x4b, 0x3e, 0x23, 0x88, 0x9f, 0x70, 0x31, 0x31, 0xf2, + 0x41, 0x93, 0x14, 0xfa, 0x51, 0x58, 0xab, 0x8a, 0xd9, 0x18, 0xdf, 0x4a, 0xf4, 0x81, 0x9d, 0xc3, + 0xa1, 0x43, 0x43, 0x01, 0x5f, 0xac, 0x08, 0x79, 0x37, 0xba, 0x88, 0xfa, 0x9d, 0x31, 0xd4, 0xd6, + 0xb3, 0x08, 0x39, 0xeb, 0x01, 0x68, 0xca, 0x84, 0xae, 0xf9, 0x6e, 0xc5, 0x3b, 0x95, 0x53, 0xe1, + 0x18, 0xda, 0xa5, 0x47, 0x57, 0x08, 0x83, 0xdd, 0x56, 0x05, 0x7f, 0xf5, 0x92, 0x59, 0xe1, 0xfd, + 0x82, 0xdc, 0xb4, 0xbb, 0x57, 0xb3, 0x46, 0x27, 0x23, 0x38, 0x5d, 0x99, 0xca, 0x5b, 0x2a, 0x3c, + 0xb2, 0x63, 0xd8, 0x47, 0xe7, 0xc8, 0xfd, 0x04, 0xaa, 0x45, 0x72, 0x07, 0xbd, 0x31, 0x1a, 0x9a, + 0xe3, 0x7f, 0x5f, 0x93, 0xdc, 0xc2, 0xd9, 0xba, 0x0d, 0x9b, 0x2e, 0xdf, 0x7c, 0x45, 0xd0, 0x9a, + 0x18, 0xc9, 0xa6, 0x70, 0xb4, 0x22, 0x36, 0xbb, 0x4c, 0x9b, 0xbe, 0xd3, 0xf5, 0x5d, 0xc7, 0x57, + 0x5b, 0xa6, 0xea, 0x04, 0xc9, 0x0e, 0x33, 0x70, 0xb2, 0x3a, 0x25, 0xbb, 0xfe, 0x5b, 0xb1, 0xb1, + 0x89, 0xb8, 0xbf, 0x7d, 0xb0, 0x39, 0x27, 0x0f, 0xaa, 0x3f, 0x33, 0xfa, 0x0e, 0x00, 0x00, 0xff, + 0xff, 0x75, 0x05, 0x64, 0xd1, 0x7c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -472,10 +319,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/client/api/smb/v1alpha1/api.proto b/client/api/smb/v1alpha1/api.proto index 2c9eb221..f4d96e9c 100644 --- a/client/api/smb/v1alpha1/api.proto +++ b/client/api/smb/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1"; - service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} @@ -58,4 +56,4 @@ message RemoveSmbGlobalMappingResponse { // Windows error code // Success is represented as 0 string error = 1; -} +} \ No newline at end of file diff --git a/client/api/smb/v1beta1/api.pb.go b/client/api/smb/v1beta1/api.pb.go index c83a08d9..fbeb6c91 100644 --- a/client/api/smb/v1beta1/api.pb.go +++ b/client/api/smb/v1beta1/api.pb.go @@ -1,34 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type NewSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type NewSmbGlobalMappingRequest struct { // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -44,123 +40,107 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingRequest) Reset() { - *x = NewSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } +func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{0} } -func (x *NewSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) +} +func (m *NewSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) +} +func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) } -func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo + +func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } -func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { - if x != nil { - return x.LocalPath +func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { + if m != nil { + return m.LocalPath } return "" } -func (x *NewSmbGlobalMappingRequest) GetUsername() string { - if x != nil { - return x.Username +func (m *NewSmbGlobalMappingRequest) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *NewSmbGlobalMappingRequest) GetPassword() string { - if x != nil { - return x.Password +func (m *NewSmbGlobalMappingRequest) GetPassword() string { + if m != nil { + return m.Password } return "" } type NewSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingResponse) Reset() { - *x = NewSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } +func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{1} } -func (x *NewSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) +} +func (m *NewSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) } +func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo -func (x *NewSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +func (m *NewSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RemoveSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -170,259 +150,126 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingRequest) Reset() { - *x = RemoveSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } +func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{2} } -func (x *RemoveSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) } +func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo -func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingResponse) Reset() { - *x = RemoveSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } +func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{3} } -func (x *RemoveSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) } -func (x *RemoveSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo + +func (m *RemoveSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, - 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, - 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, - 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, - 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, - 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, - 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, - 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta1.RemoveSmbGlobalMappingResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.Smb.NewSmbGlobalMapping:input_type -> v1beta1.NewSmbGlobalMappingRequest - 2, // 1: v1beta1.Smb.RemoveSmbGlobalMapping:input_type -> v1beta1.RemoveSmbGlobalMappingRequest - 1, // 2: v1beta1.Smb.NewSmbGlobalMapping:output_type -> v1beta1.NewSmbGlobalMappingResponse - 3, // 3: v1beta1.Smb.RemoveSmbGlobalMapping:output_type -> v1beta1.RemoveSmbGlobalMappingResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1beta1.NewSmbGlobalMappingRequest") + proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1beta1.NewSmbGlobalMappingResponse") + proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1beta1.RemoveSmbGlobalMappingRequest") + proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1beta1.RemoveSmbGlobalMappingResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto", fileDescriptor_795681d29a954457) +} + +var fileDescriptor_795681d29a954457 = []byte{ + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x4e, 0xc3, 0x30, + 0x10, 0x85, 0x09, 0xe5, 0xaf, 0xc3, 0xce, 0x20, 0x54, 0x05, 0x15, 0x50, 0x40, 0xc0, 0xa6, 0xb1, + 0x4a, 0x25, 0xd6, 0x2c, 0x90, 0x58, 0x81, 0x50, 0x7b, 0x00, 0x64, 0x87, 0x51, 0x63, 0x35, 0xce, + 0x18, 0xdb, 0x69, 0xe1, 0x1e, 0x9c, 0x8d, 0xf3, 0xa0, 0x26, 0x69, 0x57, 0x69, 0x90, 0x58, 0xbe, + 0xf9, 0x46, 0xf3, 0x9e, 0x9f, 0x0c, 0x8f, 0x53, 0xe5, 0xd3, 0x42, 0xc6, 0x09, 0x69, 0x3e, 0x2b, + 0x24, 0xda, 0x1c, 0x3d, 0xba, 0x41, 0xe2, 0x14, 0x4f, 0x9c, 0x1a, 0x18, 0x4b, 0x9f, 0x5f, 0x3c, + 0xc9, 0x14, 0xe6, 0x9e, 0x0b, 0xa3, 0xb8, 0xd3, 0x92, 0xcf, 0x87, 0x12, 0xbd, 0x18, 0x2e, 0x75, + 0x6c, 0x2c, 0x79, 0x62, 0xfb, 0xf5, 0x28, 0xfa, 0x0e, 0x20, 0x7c, 0xc1, 0xc5, 0x44, 0xcb, 0xa7, + 0x8c, 0xa4, 0xc8, 0x9e, 0x85, 0x31, 0x2a, 0x9f, 0x8e, 0xf1, 0xa3, 0x40, 0xe7, 0xd9, 0x39, 0x1c, + 0x5a, 0xd4, 0xe4, 0xf1, 0xcd, 0x08, 0x9f, 0xf6, 0x82, 0x8b, 0xe0, 0xb6, 0x3b, 0x86, 0x6a, 0xf4, + 0x2a, 0x7c, 0xca, 0xfa, 0x00, 0x19, 0x25, 0x22, 0xab, 0xf8, 0x76, 0xc9, 0xbb, 0xe5, 0xa4, 0xc4, + 0x21, 0x1c, 0x14, 0x0e, 0x6d, 0x2e, 0x34, 0xf6, 0x3a, 0x25, 0x5c, 0xeb, 0x25, 0x33, 0xc2, 0xb9, + 0x05, 0xd9, 0xf7, 0xde, 0x4e, 0xc5, 0x56, 0x3a, 0x1a, 0xc1, 0x69, 0x63, 0x2a, 0x67, 0x28, 0x77, + 0xc8, 0x8e, 0x61, 0x17, 0xad, 0x25, 0x5b, 0x07, 0xaa, 0x44, 0xf4, 0x00, 0xfd, 0x31, 0x6a, 0x9a, + 0xe3, 0x7f, 0x5f, 0x13, 0xdd, 0xc3, 0xd9, 0xa6, 0x0b, 0x6d, 0xce, 0x77, 0x3f, 0x01, 0x74, 0x26, + 0x5a, 0x32, 0x09, 0x47, 0x0d, 0xb1, 0xd9, 0x65, 0x5c, 0xd7, 0x1d, 0x6f, 0xae, 0x3a, 0xbc, 0x6a, + 0x5f, 0xaa, 0xfc, 0xa3, 0x2d, 0x36, 0x83, 0x93, 0xe6, 0x8c, 0xec, 0x7a, 0x7d, 0xa1, 0xb5, 0x86, + 0xf0, 0xe6, 0xcf, 0xbd, 0x95, 0x99, 0xdc, 0x2b, 0xbf, 0xcb, 0xe8, 0x37, 0x00, 0x00, 0xff, 0xff, + 0xbe, 0xd0, 0x14, 0x1b, 0x76, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // SmbClient is the client API for Smb service. // @@ -435,10 +282,10 @@ type SmbClient interface { } type smbClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { +func NewSmbClient(cc *grpc.ClientConn) SmbClient { return &smbClient{cc} } @@ -472,10 +319,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/client/api/smb/v1beta1/api.proto b/client/api/smb/v1beta1/api.proto index 2e0a4d6a..8a2b515a 100644 --- a/client/api/smb/v1beta1/api.proto +++ b/client/api/smb/v1beta1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1beta1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1"; - service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} diff --git a/client/api/system/v1alpha1/api.pb.go b/client/api/system/v1alpha1/api.pb.go index bb828fd3..6204cf55 100644 --- a/client/api/system/v1alpha1/api.pb.go +++ b/client/api/system/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_status#members type ServiceStatus int32 @@ -38,55 +38,34 @@ const ( ServiceStatus_PAUSED ServiceStatus = 7 ) -// Enum value maps for ServiceStatus. -var ( - ServiceStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "STOPPED", - 2: "START_PENDING", - 3: "STOP_PENDING", - 4: "RUNNING", - 5: "CONTINUE_PENDING", - 6: "PAUSE_PENDING", - 7: "PAUSED", - } - ServiceStatus_value = map[string]int32{ - "UNKNOWN": 0, - "STOPPED": 1, - "START_PENDING": 2, - "STOP_PENDING": 3, - "RUNNING": 4, - "CONTINUE_PENDING": 5, - "PAUSE_PENDING": 6, - "PAUSED": 7, - } -) - -func (x ServiceStatus) Enum() *ServiceStatus { - p := new(ServiceStatus) - *p = x - return p -} - -func (x ServiceStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var ServiceStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "STOPPED", + 2: "START_PENDING", + 3: "STOP_PENDING", + 4: "RUNNING", + 5: "CONTINUE_PENDING", + 6: "PAUSE_PENDING", + 7: "PAUSED", } -func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0].Descriptor() +var ServiceStatus_value = map[string]int32{ + "UNKNOWN": 0, + "STOPPED": 1, + "START_PENDING": 2, + "STOP_PENDING": 3, + "RUNNING": 4, + "CONTINUE_PENDING": 5, + "PAUSE_PENDING": 6, + "PAUSED": 7, } -func (ServiceStatus) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0] -} - -func (x ServiceStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x ServiceStatus) String() string { + return proto.EnumName(ServiceStatus_name, int32(x)) } -// Deprecated: Use ServiceStatus.Descriptor instead. func (ServiceStatus) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_4066a9d4a9264c6f, []int{0} } // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-changeserviceconfiga @@ -100,371 +79,293 @@ const ( StartType_DISABLED StartType = 4 ) -// Enum value maps for StartType. -var ( - StartType_name = map[int32]string{ - 0: "BOOT", - 1: "SYSTEM", - 2: "AUTOMATIC", - 3: "MANUAL", - 4: "DISABLED", - } - StartType_value = map[string]int32{ - "BOOT": 0, - "SYSTEM": 1, - "AUTOMATIC": 2, - "MANUAL": 3, - "DISABLED": 4, - } -) +var StartType_name = map[int32]string{ + 0: "BOOT", + 1: "SYSTEM", + 2: "AUTOMATIC", + 3: "MANUAL", + 4: "DISABLED", +} -func (x StartType) Enum() *StartType { - p := new(StartType) - *p = x - return p +var StartType_value = map[string]int32{ + "BOOT": 0, + "SYSTEM": 1, + "AUTOMATIC": 2, + "MANUAL": 3, + "DISABLED": 4, } func (x StartType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(StartType_name, int32(x)) } -func (StartType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1].Descriptor() +func (StartType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{1} } -func (StartType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1] +type GetBIOSSerialNumberRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x StartType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *GetBIOSSerialNumberRequest) Reset() { *m = GetBIOSSerialNumberRequest{} } +func (m *GetBIOSSerialNumberRequest) String() string { return proto.CompactTextString(m) } +func (*GetBIOSSerialNumberRequest) ProtoMessage() {} +func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{0} } -// Deprecated: Use StartType.Descriptor instead. -func (StartType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *GetBIOSSerialNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Unmarshal(m, b) } - -type GetBIOSSerialNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *GetBIOSSerialNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Marshal(b, m, deterministic) } - -func (x *GetBIOSSerialNumberRequest) Reset() { - *x = GetBIOSSerialNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetBIOSSerialNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBIOSSerialNumberRequest.Merge(m, src) } - -func (x *GetBIOSSerialNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetBIOSSerialNumberRequest) XXX_Size() int { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Size(m) } - -func (*GetBIOSSerialNumberRequest) ProtoMessage() {} - -func (x *GetBIOSSerialNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *GetBIOSSerialNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBIOSSerialNumberRequest.DiscardUnknown(m) } -// Deprecated: Use GetBIOSSerialNumberRequest.ProtoReflect.Descriptor instead. -func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_GetBIOSSerialNumberRequest proto.InternalMessageInfo type GetBIOSSerialNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Serial number - SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` + SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetBIOSSerialNumberResponse) Reset() { - *x = GetBIOSSerialNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetBIOSSerialNumberResponse) Reset() { *m = GetBIOSSerialNumberResponse{} } +func (m *GetBIOSSerialNumberResponse) String() string { return proto.CompactTextString(m) } +func (*GetBIOSSerialNumberResponse) ProtoMessage() {} +func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{1} } -func (x *GetBIOSSerialNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetBIOSSerialNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Unmarshal(m, b) } - -func (*GetBIOSSerialNumberResponse) ProtoMessage() {} - -func (x *GetBIOSSerialNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *GetBIOSSerialNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetBIOSSerialNumberResponse.ProtoReflect.Descriptor instead. -func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *GetBIOSSerialNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBIOSSerialNumberResponse.Merge(m, src) } +func (m *GetBIOSSerialNumberResponse) XXX_Size() int { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Size(m) +} +func (m *GetBIOSSerialNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBIOSSerialNumberResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBIOSSerialNumberResponse proto.InternalMessageInfo -func (x *GetBIOSSerialNumberResponse) GetSerialNumber() string { - if x != nil { - return x.SerialNumber +func (m *GetBIOSSerialNumberResponse) GetSerialNumber() string { + if m != nil { + return m.SerialNumber } return "" } type StartServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StartServiceRequest) Reset() { - *x = StartServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartServiceRequest) Reset() { *m = StartServiceRequest{} } +func (m *StartServiceRequest) String() string { return proto.CompactTextString(m) } +func (*StartServiceRequest) ProtoMessage() {} +func (*StartServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{2} } -func (x *StartServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartServiceRequest.Unmarshal(m, b) } - -func (*StartServiceRequest) ProtoMessage() {} - -func (x *StartServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *StartServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead. -func (*StartServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *StartServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartServiceRequest.Merge(m, src) +} +func (m *StartServiceRequest) XXX_Size() int { + return xxx_messageInfo_StartServiceRequest.Size(m) +} +func (m *StartServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartServiceRequest.DiscardUnknown(m) } -func (x *StartServiceRequest) GetName() string { - if x != nil { - return x.Name +var xxx_messageInfo_StartServiceRequest proto.InternalMessageInfo + +func (m *StartServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } type StartServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StartServiceResponse) Reset() { - *x = StartServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartServiceResponse) Reset() { *m = StartServiceResponse{} } +func (m *StartServiceResponse) String() string { return proto.CompactTextString(m) } +func (*StartServiceResponse) ProtoMessage() {} +func (*StartServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{3} } -func (x *StartServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartServiceResponse.Unmarshal(m, b) } - -func (*StartServiceResponse) ProtoMessage() {} - -func (x *StartServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StartServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use StartServiceResponse.ProtoReflect.Descriptor instead. -func (*StartServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *StartServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartServiceResponse.Merge(m, src) +} +func (m *StartServiceResponse) XXX_Size() int { + return xxx_messageInfo_StartServiceResponse.Size(m) +} +func (m *StartServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StartServiceResponse.DiscardUnknown(m) } -type StopServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_StartServiceResponse proto.InternalMessageInfo +type StopServiceRequest struct { // Service name (as listed in System\CCS\Services keys) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Forces stopping of services that has dependant services - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StopServiceRequest) Reset() { - *x = StopServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StopServiceRequest) Reset() { *m = StopServiceRequest{} } +func (m *StopServiceRequest) String() string { return proto.CompactTextString(m) } +func (*StopServiceRequest) ProtoMessage() {} +func (*StopServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{4} } -func (x *StopServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StopServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopServiceRequest.Unmarshal(m, b) } - -func (*StopServiceRequest) ProtoMessage() {} - -func (x *StopServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead. -func (*StopServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *StopServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopServiceRequest.Merge(m, src) +} +func (m *StopServiceRequest) XXX_Size() int { + return xxx_messageInfo_StopServiceRequest.Size(m) } +func (m *StopServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StopServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StopServiceRequest proto.InternalMessageInfo -func (x *StopServiceRequest) GetName() string { - if x != nil { - return x.Name +func (m *StopServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *StopServiceRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *StopServiceRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type StopServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StopServiceResponse) Reset() { - *x = StopServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StopServiceResponse) Reset() { *m = StopServiceResponse{} } +func (m *StopServiceResponse) String() string { return proto.CompactTextString(m) } +func (*StopServiceResponse) ProtoMessage() {} +func (*StopServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{5} } -func (x *StopServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StopServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopServiceResponse.Unmarshal(m, b) } - -func (*StopServiceResponse) ProtoMessage() {} - -func (x *StopServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StopServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use StopServiceResponse.ProtoReflect.Descriptor instead. -func (*StopServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *StopServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopServiceResponse.Merge(m, src) +} +func (m *StopServiceResponse) XXX_Size() int { + return xxx_messageInfo_StopServiceResponse.Size(m) +} +func (m *StopServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StopServiceResponse.DiscardUnknown(m) } -type GetServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_StopServiceResponse proto.InternalMessageInfo +type GetServiceRequest struct { // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetServiceRequest) Reset() { - *x = GetServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } +func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } +func (*GetServiceRequest) ProtoMessage() {} +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{6} } -func (x *GetServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) } - -func (*GetServiceRequest) ProtoMessage() {} - -func (x *GetServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead. -func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *GetServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceRequest.Merge(m, src) +} +func (m *GetServiceRequest) XXX_Size() int { + return xxx_messageInfo_GetServiceRequest.Size(m) +} +func (m *GetServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) } -func (x *GetServiceRequest) GetName() string { - if x != nil { - return x.Name +var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo + +func (m *GetServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Service display name DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Service start type. @@ -472,307 +373,112 @@ type GetServiceResponse struct { // boot phase. StartType StartType `protobuf:"varint,2,opt,name=start_type,json=startType,proto3,enum=v1alpha1.StartType" json:"start_type,omitempty"` // Service status, e.g. stopped, running, paused - Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` + Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetServiceResponse) Reset() { - *x = GetServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } +func (m *GetServiceResponse) String() string { return proto.CompactTextString(m) } +func (*GetServiceResponse) ProtoMessage() {} +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{7} } -func (x *GetServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetServiceResponse.Unmarshal(m, b) } - -func (*GetServiceResponse) ProtoMessage() {} - -func (x *GetServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead. -func (*GetServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *GetServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceResponse.Merge(m, src) +} +func (m *GetServiceResponse) XXX_Size() int { + return xxx_messageInfo_GetServiceResponse.Size(m) } +func (m *GetServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo -func (x *GetServiceResponse) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *GetServiceResponse) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *GetServiceResponse) GetStartType() StartType { - if x != nil { - return x.StartType +func (m *GetServiceResponse) GetStartType() StartType { + if m != nil { + return m.StartType } return StartType_BOOT } -func (x *GetServiceResponse) GetStatus() ServiceStatus { - if x != nil { - return x.Status +func (m *GetServiceResponse) GetStatus() ServiceStatus { + if m != nil { + return m.Status } return ServiceStatus_UNKNOWN } -var File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, - 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x42, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x12, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x90, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x45, - 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x4f, 0x50, 0x5f, - 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, - 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, - 0x55, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, - 0x50, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, - 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x07, 0x2a, 0x4a, 0x0a, 0x09, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x54, - 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, - 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, - 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x32, 0xd8, 0x02, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, - 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, - 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, - 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = []interface{}{ - (ServiceStatus)(0), // 0: v1alpha1.ServiceStatus - (StartType)(0), // 1: v1alpha1.StartType - (*GetBIOSSerialNumberRequest)(nil), // 2: v1alpha1.GetBIOSSerialNumberRequest - (*GetBIOSSerialNumberResponse)(nil), // 3: v1alpha1.GetBIOSSerialNumberResponse - (*StartServiceRequest)(nil), // 4: v1alpha1.StartServiceRequest - (*StartServiceResponse)(nil), // 5: v1alpha1.StartServiceResponse - (*StopServiceRequest)(nil), // 6: v1alpha1.StopServiceRequest - (*StopServiceResponse)(nil), // 7: v1alpha1.StopServiceResponse - (*GetServiceRequest)(nil), // 8: v1alpha1.GetServiceRequest - (*GetServiceResponse)(nil), // 9: v1alpha1.GetServiceResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha1.GetServiceResponse.start_type:type_name -> v1alpha1.StartType - 0, // 1: v1alpha1.GetServiceResponse.status:type_name -> v1alpha1.ServiceStatus - 2, // 2: v1alpha1.System.GetBIOSSerialNumber:input_type -> v1alpha1.GetBIOSSerialNumberRequest - 4, // 3: v1alpha1.System.StartService:input_type -> v1alpha1.StartServiceRequest - 6, // 4: v1alpha1.System.StopService:input_type -> v1alpha1.StopServiceRequest - 8, // 5: v1alpha1.System.GetService:input_type -> v1alpha1.GetServiceRequest - 3, // 6: v1alpha1.System.GetBIOSSerialNumber:output_type -> v1alpha1.GetBIOSSerialNumberResponse - 5, // 7: v1alpha1.System.StartService:output_type -> v1alpha1.StartServiceResponse - 7, // 8: v1alpha1.System.StopService:output_type -> v1alpha1.StopServiceResponse - 9, // 9: v1alpha1.System.GetService:output_type -> v1alpha1.GetServiceResponse - 6, // [6:10] is the sub-list for method output_type - 2, // [2:6] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBIOSSerialNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBIOSSerialNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc, - NumEnums: 2, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1alpha1.ServiceStatus", ServiceStatus_name, ServiceStatus_value) + proto.RegisterEnum("v1alpha1.StartType", StartType_name, StartType_value) + proto.RegisterType((*GetBIOSSerialNumberRequest)(nil), "v1alpha1.GetBIOSSerialNumberRequest") + proto.RegisterType((*GetBIOSSerialNumberResponse)(nil), "v1alpha1.GetBIOSSerialNumberResponse") + proto.RegisterType((*StartServiceRequest)(nil), "v1alpha1.StartServiceRequest") + proto.RegisterType((*StartServiceResponse)(nil), "v1alpha1.StartServiceResponse") + proto.RegisterType((*StopServiceRequest)(nil), "v1alpha1.StopServiceRequest") + proto.RegisterType((*StopServiceResponse)(nil), "v1alpha1.StopServiceResponse") + proto.RegisterType((*GetServiceRequest)(nil), "v1alpha1.GetServiceRequest") + proto.RegisterType((*GetServiceResponse)(nil), "v1alpha1.GetServiceResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto", fileDescriptor_4066a9d4a9264c6f) +} + +var fileDescriptor_4066a9d4a9264c6f = []byte{ + // 553 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x61, 0x6f, 0xd2, 0x40, + 0x18, 0x5e, 0x81, 0x31, 0x78, 0x01, 0xd3, 0x1d, 0xa8, 0x84, 0x31, 0x33, 0xab, 0xc6, 0xb9, 0x64, + 0x34, 0xc3, 0xef, 0x8b, 0x65, 0x10, 0xac, 0xc2, 0x95, 0xf4, 0xda, 0x18, 0xfd, 0x42, 0x4a, 0x77, + 0xba, 0x46, 0xa0, 0xb5, 0x77, 0x2c, 0xf2, 0x2f, 0xfc, 0x01, 0xfe, 0x30, 0x7f, 0x8e, 0xb9, 0x52, + 0xa0, 0x10, 0xc8, 0x4c, 0xfc, 0x76, 0xef, 0xf3, 0x3c, 0xef, 0xd3, 0xf7, 0xbd, 0x3e, 0x39, 0x78, + 0xff, 0xcd, 0xe3, 0x77, 0xb3, 0x51, 0xc3, 0xf5, 0x27, 0xea, 0xf7, 0xd9, 0x88, 0x86, 0x53, 0xca, + 0x29, 0xbb, 0x74, 0x99, 0xa7, 0xba, 0xcc, 0xbb, 0x0c, 0x42, 0xff, 0xe7, 0x5c, 0x75, 0xc7, 0x1e, + 0x9d, 0x72, 0xd5, 0x09, 0x3c, 0x95, 0xcd, 0x19, 0xa7, 0x13, 0xf5, 0xfe, 0xca, 0x19, 0x07, 0x77, + 0xce, 0x95, 0xc0, 0x1a, 0x41, 0xe8, 0x73, 0x1f, 0xe5, 0x96, 0x98, 0x52, 0x87, 0x5a, 0x97, 0xf2, + 0x96, 0x6e, 0x10, 0x42, 0x43, 0xcf, 0x19, 0xe3, 0xd9, 0x64, 0x44, 0x43, 0x93, 0xfe, 0x98, 0x51, + 0xc6, 0x95, 0x16, 0x9c, 0xec, 0x64, 0x59, 0xe0, 0x4f, 0x19, 0x45, 0x2f, 0xa0, 0xc4, 0x22, 0x7c, + 0x38, 0x8d, 0x88, 0xaa, 0x74, 0x26, 0x9d, 0xe7, 0xcd, 0x22, 0x4b, 0x88, 0x95, 0x37, 0x50, 0x26, + 0xdc, 0x09, 0x39, 0xa1, 0xe1, 0xbd, 0xe7, 0xd2, 0xd8, 0x1a, 0x21, 0xc8, 0x4c, 0x9d, 0x09, 0x8d, + 0x5b, 0xa2, 0xb3, 0xf2, 0x04, 0x2a, 0x9b, 0xd2, 0xc5, 0x77, 0x94, 0x6b, 0x40, 0x84, 0xfb, 0xc1, + 0xc3, 0x0e, 0xa8, 0x02, 0x87, 0x5f, 0xfd, 0xd0, 0xa5, 0xd5, 0xd4, 0x99, 0x74, 0x9e, 0x33, 0x17, + 0x85, 0xf2, 0x58, 0x8c, 0x90, 0xe8, 0x8f, 0x6d, 0x5f, 0xc3, 0x71, 0x97, 0xfe, 0xcb, 0x5c, 0xbf, + 0x25, 0x40, 0x49, 0x65, 0xbc, 0xfe, 0x73, 0x28, 0xde, 0x7a, 0x2c, 0x18, 0x3b, 0xf3, 0x61, 0xa2, + 0xa5, 0x10, 0x63, 0x58, 0xcc, 0xd3, 0x04, 0x60, 0x62, 0xa3, 0x21, 0x9f, 0x07, 0x8b, 0xa1, 0x1e, + 0x35, 0xcb, 0x8d, 0xe5, 0xed, 0x37, 0xa2, 0x6d, 0xad, 0x79, 0x40, 0xcd, 0x3c, 0x5b, 0x1e, 0x91, + 0x0a, 0x59, 0xc6, 0x1d, 0x3e, 0x63, 0xd5, 0x74, 0xa4, 0x7f, 0x9a, 0xd0, 0x2f, 0x26, 0x20, 0x11, + 0x6d, 0xc6, 0xb2, 0x8b, 0x5f, 0x12, 0x94, 0x36, 0x18, 0x54, 0x80, 0x23, 0x1b, 0x7f, 0xc4, 0xc6, + 0x27, 0x2c, 0x1f, 0x88, 0x82, 0x58, 0xc6, 0x60, 0xd0, 0x69, 0xcb, 0x12, 0x3a, 0x86, 0x12, 0xb1, + 0x34, 0xd3, 0x1a, 0x0e, 0x3a, 0xb8, 0xad, 0xe3, 0xae, 0x9c, 0x42, 0x32, 0x14, 0x05, 0xbf, 0x42, + 0xd2, 0xa2, 0xc3, 0xb4, 0x31, 0x16, 0x45, 0x06, 0x55, 0x40, 0xbe, 0x31, 0xb0, 0xa5, 0x63, 0xbb, + 0xb3, 0x92, 0x1c, 0x0a, 0x9f, 0x81, 0x66, 0x93, 0x35, 0x94, 0x45, 0x00, 0xd9, 0x08, 0x6a, 0xcb, + 0x47, 0x17, 0x1f, 0x20, 0xbf, 0xda, 0x0d, 0xe5, 0x20, 0xd3, 0x32, 0x0c, 0x4b, 0x3e, 0x10, 0x12, + 0xf2, 0x99, 0x58, 0x9d, 0xbe, 0x2c, 0xa1, 0x12, 0xe4, 0x35, 0xdb, 0x32, 0xfa, 0x9a, 0xa5, 0xdf, + 0xc8, 0x29, 0x41, 0xf5, 0x35, 0x6c, 0x6b, 0x3d, 0x39, 0x8d, 0x8a, 0x90, 0x6b, 0xeb, 0x44, 0x6b, + 0xf5, 0x3a, 0x6d, 0x39, 0xd3, 0xfc, 0x93, 0x82, 0x2c, 0x89, 0xa2, 0x8c, 0x6e, 0xa1, 0xbc, 0x23, + 0x8f, 0xe8, 0xe5, 0xfa, 0x86, 0xf6, 0x87, 0xb9, 0xf6, 0xea, 0x01, 0x55, 0x9c, 0x8a, 0x03, 0x64, + 0x40, 0x31, 0x19, 0x43, 0x74, 0xba, 0xf5, 0xc3, 0x36, 0x13, 0x53, 0x7b, 0xb6, 0x8f, 0x5e, 0x19, + 0xf6, 0xa0, 0x90, 0xc8, 0x1f, 0xaa, 0x27, 0x1b, 0xb6, 0x63, 0x5d, 0x3b, 0xdd, 0xc3, 0xae, 0xdc, + 0x74, 0x80, 0x75, 0x18, 0xd1, 0xc9, 0xc6, 0x56, 0x5b, 0x5e, 0xf5, 0xdd, 0xe4, 0xd2, 0xaa, 0xf5, + 0xee, 0xcb, 0xf5, 0xff, 0xbd, 0x29, 0xa3, 0x6c, 0xf4, 0xa0, 0xbc, 0xfd, 0x1b, 0x00, 0x00, 0xff, + 0xff, 0x4d, 0x70, 0x16, 0x4a, 0x9c, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -865,16 +571,16 @@ type SystemServer interface { type UnimplementedSystemServer struct { } -func (*UnimplementedSystemServer) GetBIOSSerialNumber(context.Context, *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { +func (*UnimplementedSystemServer) GetBIOSSerialNumber(ctx context.Context, req *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBIOSSerialNumber not implemented") } -func (*UnimplementedSystemServer) StartService(context.Context, *StartServiceRequest) (*StartServiceResponse, error) { +func (*UnimplementedSystemServer) StartService(ctx context.Context, req *StartServiceRequest) (*StartServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StartService not implemented") } -func (*UnimplementedSystemServer) StopService(context.Context, *StopServiceRequest) (*StopServiceResponse, error) { +func (*UnimplementedSystemServer) StopService(ctx context.Context, req *StopServiceRequest) (*StopServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopService not implemented") } -func (*UnimplementedSystemServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error) { +func (*UnimplementedSystemServer) GetService(ctx context.Context, req *GetServiceRequest) (*GetServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") } diff --git a/client/api/volume/v1alpha1/api.pb.go b/client/api/volume/v1alpha1/api.pb.go index d3a5834f..c756e4ef 100644 --- a/client/api/volume/v1alpha1/api.pb.go +++ b/client/api/volume/v1alpha1/api.pb.go @@ -1,894 +1,548 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +} +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) +} +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) } -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo + +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +} +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) +} +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) } -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo + +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) } +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) +} +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) } -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo + +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) } +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +} +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) } -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo + +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) +} +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) } -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo + +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) } +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) +} +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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 ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{11} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, - 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, - 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, - 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, - 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8f, 0x04, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, - 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x55, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, - 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x22, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, - 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1alpha1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1alpha1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1alpha1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1alpha1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1alpha1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1alpha1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1alpha1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1alpha1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1alpha1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1alpha1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1alpha1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1alpha1.ResizeVolumeResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.Volume.ListVolumesOnDisk:input_type -> v1alpha1.ListVolumesOnDiskRequest - 2, // 1: v1alpha1.Volume.MountVolume:input_type -> v1alpha1.MountVolumeRequest - 4, // 2: v1alpha1.Volume.DismountVolume:input_type -> v1alpha1.DismountVolumeRequest - 6, // 3: v1alpha1.Volume.IsVolumeFormatted:input_type -> v1alpha1.IsVolumeFormattedRequest - 8, // 4: v1alpha1.Volume.FormatVolume:input_type -> v1alpha1.FormatVolumeRequest - 10, // 5: v1alpha1.Volume.ResizeVolume:input_type -> v1alpha1.ResizeVolumeRequest - 1, // 6: v1alpha1.Volume.ListVolumesOnDisk:output_type -> v1alpha1.ListVolumesOnDiskResponse - 3, // 7: v1alpha1.Volume.MountVolume:output_type -> v1alpha1.MountVolumeResponse - 5, // 8: v1alpha1.Volume.DismountVolume:output_type -> v1alpha1.DismountVolumeResponse - 7, // 9: v1alpha1.Volume.IsVolumeFormatted:output_type -> v1alpha1.IsVolumeFormattedResponse - 9, // 10: v1alpha1.Volume.FormatVolume:output_type -> v1alpha1.FormatVolumeResponse - 11, // 11: v1alpha1.Volume.ResizeVolume:output_type -> v1alpha1.ResizeVolumeResponse - 6, // [6:12] is the sub-list for method output_type - 0, // [0:6] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 12, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = nil + return fileDescriptor_f4ca3596f93fa877, []int{11} +} + +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) +} +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) +} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1alpha1.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1alpha1.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1alpha1.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1alpha1.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1alpha1.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1alpha1.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1alpha1.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1alpha1.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1alpha1.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1alpha1.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1alpha1.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1alpha1.ResizeVolumeResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto", fileDescriptor_f4ca3596f93fa877) +} + +var fileDescriptor_f4ca3596f93fa877 = []byte{ + // 429 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x5f, 0xef, 0xd2, 0x30, + 0x14, 0x05, 0x21, 0xc8, 0xae, 0xc6, 0x84, 0x22, 0x38, 0x26, 0x28, 0xa9, 0x2f, 0xbc, 0xb0, 0x05, + 0x78, 0x30, 0xfa, 0x8c, 0x04, 0x12, 0x0c, 0xc9, 0x12, 0x7d, 0x84, 0x8c, 0xad, 0x4a, 0x03, 0x5b, + 0xe7, 0xda, 0x11, 0xf5, 0x4b, 0xf8, 0x95, 0xcd, 0xfe, 0x41, 0x27, 0x9b, 0xe1, 0x97, 0xfc, 0xde, + 0xba, 0xd3, 0x7b, 0xce, 0xd9, 0xbd, 0xf7, 0xa4, 0xb0, 0xfc, 0x4e, 0xc5, 0x21, 0xdc, 0xeb, 0x36, + 0x73, 0x8d, 0x63, 0xb8, 0x27, 0x81, 0x47, 0x04, 0xe1, 0x63, 0x9b, 0x53, 0xc3, 0xe6, 0x74, 0xec, + 0x07, 0xec, 0xe7, 0x2f, 0xc3, 0x3e, 0x51, 0xe2, 0x09, 0xc3, 0xf2, 0xa9, 0x71, 0x66, 0xa7, 0xd0, + 0x25, 0xc6, 0x79, 0x62, 0x9d, 0xfc, 0x83, 0x35, 0x89, 0x30, 0xdd, 0x0f, 0x98, 0x60, 0xa8, 0x99, + 0x61, 0x78, 0x06, 0xea, 0x9a, 0x72, 0xf1, 0x35, 0x2e, 0xe5, 0x1b, 0x6f, 0x4e, 0xf9, 0xd1, 0x24, + 0x3f, 0x42, 0xc2, 0x05, 0x7a, 0x05, 0x4f, 0x1d, 0xca, 0x8f, 0x3b, 0xea, 0xa8, 0xd5, 0x61, 0x75, + 0xa4, 0x98, 0x8d, 0xe8, 0x73, 0xe5, 0xe0, 0x8f, 0xd0, 0x2b, 0x20, 0x71, 0x9f, 0x79, 0x9c, 0xa0, + 0x01, 0x40, 0x62, 0xbc, 0xa3, 0x0e, 0x57, 0xab, 0xc3, 0xda, 0x48, 0x31, 0x95, 0x04, 0x59, 0x39, + 0x1c, 0x7f, 0x02, 0xf4, 0x99, 0x85, 0x5e, 0x4a, 0xce, 0xac, 0x5e, 0x83, 0x72, 0x21, 0xa5, 0x66, + 0xcd, 0x8c, 0x83, 0x10, 0xd4, 0x7d, 0x4b, 0x1c, 0xd4, 0x27, 0x31, 0x1e, 0x9f, 0x71, 0x07, 0xda, + 0x39, 0x99, 0xc4, 0x1c, 0x2f, 0xa1, 0x33, 0xa7, 0xdc, 0x7d, 0x04, 0x03, 0x15, 0xba, 0xff, 0x2a, + 0xa5, 0x1e, 0xef, 0x41, 0x5d, 0xf1, 0x04, 0x5b, 0xb0, 0xc0, 0xb5, 0x84, 0x20, 0xce, 0x3d, 0x36, + 0xf8, 0x03, 0xf4, 0x0a, 0x88, 0xe9, 0xd8, 0xfa, 0xa0, 0x7c, 0xcb, 0xc0, 0x98, 0xd9, 0x34, 0xaf, + 0x00, 0x9e, 0x42, 0x3b, 0xa1, 0xdc, 0xdf, 0x15, 0xee, 0xc2, 0xcb, 0x3c, 0x27, 0xfd, 0xff, 0x05, + 0xb4, 0x4d, 0xc2, 0xe9, 0x6f, 0xf2, 0xb0, 0x09, 0x45, 0x8c, 0x78, 0x42, 0x35, 0x33, 0x3e, 0x47, + 0xfa, 0x79, 0x9d, 0x44, 0x7f, 0xfa, 0xa7, 0x0e, 0x8d, 0x04, 0x42, 0x5b, 0x68, 0xdd, 0x04, 0x05, + 0x61, 0x3d, 0x4b, 0x9f, 0x5e, 0x16, 0x3d, 0xed, 0xdd, 0x7f, 0x6b, 0xd2, 0x46, 0x2a, 0x68, 0x0d, + 0xcf, 0xa4, 0x14, 0xa0, 0xfe, 0x95, 0x75, 0x9b, 0x31, 0x6d, 0x50, 0x72, 0x7b, 0x51, 0xfb, 0x02, + 0x2f, 0xf2, 0x2b, 0x47, 0x6f, 0xaf, 0x94, 0xc2, 0x58, 0x69, 0xc3, 0xf2, 0x82, 0x8b, 0xec, 0x16, + 0x5a, 0x37, 0x6b, 0x97, 0x87, 0x50, 0x16, 0x26, 0x79, 0x08, 0xa5, 0xb9, 0xc1, 0x15, 0xb4, 0x81, + 0xe7, 0xf2, 0x9e, 0x91, 0xd4, 0x67, 0x41, 0x66, 0xb4, 0x37, 0x65, 0xd7, 0xb2, 0xa0, 0xbc, 0x58, + 0x59, 0xb0, 0x20, 0x38, 0xb2, 0x60, 0x51, 0x1e, 0x70, 0x65, 0xdf, 0x88, 0x5f, 0x9d, 0xd9, 0xdf, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x8e, 0xe9, 0xb0, 0xc1, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1001,22 +655,22 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } diff --git a/client/api/volume/v1alpha1/api.proto b/client/api/volume/v1alpha1/api.proto index d3e74dc6..5037859e 100644 --- a/client/api/volume/v1alpha1/api.proto +++ b/client/api/volume/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1"; - service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for // all volumes on a Disk device @@ -68,4 +66,4 @@ message ResizeVolumeRequest { } message ResizeVolumeResponse { // Intentionally empty -} +} \ No newline at end of file diff --git a/client/api/volume/v1beta1/api.pb.go b/client/api/volume/v1beta1/api.pb.go index c5a10257..3213b4b5 100644 --- a/client/api/volume/v1beta1/api.pb.go +++ b/client/api/volume/v1beta1/api.pb.go @@ -1,1323 +1,820 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto +// source: volume/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +} +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) } +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) } +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) +} +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) +} +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) } -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo + +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) } +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) } +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) } +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) } +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) } +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) +} +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{11} } -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) } - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{11} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) } -type VolumeStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +type VolumeStatsRequest struct { // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsRequest) Reset() { - *x = VolumeStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } +func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsRequest) ProtoMessage() {} +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{12} } -func (x *VolumeStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) } - -func (*VolumeStatsRequest) ProtoMessage() {} - -func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{12} +func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +} +func (m *VolumeStatsRequest) XXX_Size() int { + return xxx_messageInfo_VolumeStatsRequest.Size(m) +} +func (m *VolumeStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) } -func (x *VolumeStatsRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo + +func (m *VolumeStatsRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsResponse) Reset() { - *x = VolumeStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } +func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsResponse) ProtoMessage() {} +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{13} } -func (x *VolumeStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) } - -func (*VolumeStatsResponse) ProtoMessage() {} - -func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{13} +func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsResponse.Merge(m, src) +} +func (m *VolumeStatsResponse) XXX_Size() int { + return xxx_messageInfo_VolumeStatsResponse.Size(m) +} +func (m *VolumeStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) } -func (x *VolumeStatsResponse) GetVolumeSize() int64 { - if x != nil { - return x.VolumeSize +var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo + +func (m *VolumeStatsResponse) GetVolumeSize() int64 { + if m != nil { + return m.VolumeSize } return 0 } -func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if x != nil { - return x.VolumeUsedSize +func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if m != nil { + return m.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberRequest) Reset() { - *x = VolumeDiskNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } +func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberRequest) ProtoMessage() {} +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{14} } -func (x *VolumeDiskNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) } - -func (*VolumeDiskNumberRequest) ProtoMessage() {} - -func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{14} +func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) } +func (m *VolumeDiskNumberRequest) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +} +func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo -func (x *VolumeDiskNumberRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *VolumeDiskNumberRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeDiskNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberResponse) Reset() { - *x = VolumeDiskNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } +func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberResponse) ProtoMessage() {} +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{15} } -func (x *VolumeDiskNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) } - -func (*VolumeDiskNumberResponse) ProtoMessage() {} - -func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] - 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) +func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{15} +func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) +} +func (m *VolumeDiskNumberResponse) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) +} +func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) } -func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if x != nil { - return x.DiskNumber +var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo + +func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if m != nil { + return m.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountRequest) Reset() { - *x = VolumeIDFromMountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } +func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountRequest) ProtoMessage() {} +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{16} } -func (x *VolumeIDFromMountRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) } - -func (*VolumeIDFromMountRequest) ProtoMessage() {} - -func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] - 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) +func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{16} +func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +} +func (m *VolumeIDFromMountRequest) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) } +func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo -func (x *VolumeIDFromMountRequest) GetMount() string { - if x != nil { - return x.Mount +func (m *VolumeIDFromMountRequest) GetMount() string { + if m != nil { + return m.Mount } return "" } type VolumeIDFromMountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountResponse) Reset() { - *x = VolumeIDFromMountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } +func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountResponse) ProtoMessage() {} +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{17} } -func (x *VolumeIDFromMountResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) } - -func (*VolumeIDFromMountResponse) ProtoMessage() {} - -func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] - 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) +func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{17} +func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) +} +func (m *VolumeIDFromMountResponse) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) +} +func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) } -func (x *VolumeIDFromMountResponse) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo + +func (m *VolumeIDFromMountResponse) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, - 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, - 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, - 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, - 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x32, 0x8e, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, - 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, - 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, - 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1c, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, - 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1beta1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1beta1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1beta1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1beta1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1beta1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1beta1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1beta1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1beta1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1beta1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1beta1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1beta1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1beta1.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1beta1.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1beta1.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1beta1.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1beta1.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1beta1.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1beta1.VolumeIDFromMountResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.Volume.ListVolumesOnDisk:input_type -> v1beta1.ListVolumesOnDiskRequest - 2, // 1: v1beta1.Volume.MountVolume:input_type -> v1beta1.MountVolumeRequest - 4, // 2: v1beta1.Volume.DismountVolume:input_type -> v1beta1.DismountVolumeRequest - 6, // 3: v1beta1.Volume.IsVolumeFormatted:input_type -> v1beta1.IsVolumeFormattedRequest - 8, // 4: v1beta1.Volume.FormatVolume:input_type -> v1beta1.FormatVolumeRequest - 10, // 5: v1beta1.Volume.ResizeVolume:input_type -> v1beta1.ResizeVolumeRequest - 12, // 6: v1beta1.Volume.VolumeStats:input_type -> v1beta1.VolumeStatsRequest - 14, // 7: v1beta1.Volume.GetVolumeDiskNumber:input_type -> v1beta1.VolumeDiskNumberRequest - 16, // 8: v1beta1.Volume.GetVolumeIDFromMount:input_type -> v1beta1.VolumeIDFromMountRequest - 1, // 9: v1beta1.Volume.ListVolumesOnDisk:output_type -> v1beta1.ListVolumesOnDiskResponse - 3, // 10: v1beta1.Volume.MountVolume:output_type -> v1beta1.MountVolumeResponse - 5, // 11: v1beta1.Volume.DismountVolume:output_type -> v1beta1.DismountVolumeResponse - 7, // 12: v1beta1.Volume.IsVolumeFormatted:output_type -> v1beta1.IsVolumeFormattedResponse - 9, // 13: v1beta1.Volume.FormatVolume:output_type -> v1beta1.FormatVolumeResponse - 11, // 14: v1beta1.Volume.ResizeVolume:output_type -> v1beta1.ResizeVolumeResponse - 13, // 15: v1beta1.Volume.VolumeStats:output_type -> v1beta1.VolumeStatsResponse - 15, // 16: v1beta1.Volume.GetVolumeDiskNumber:output_type -> v1beta1.VolumeDiskNumberResponse - 17, // 17: v1beta1.Volume.GetVolumeIDFromMount:output_type -> v1beta1.VolumeIDFromMountResponse - 9, // [9:18] is the sub-list for method output_type - 0, // [0:9] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 18, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta1.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta1.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1beta1.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1beta1.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta1.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta1.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta1.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta1.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta1.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta1.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta1.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta1.ResizeVolumeResponse") + proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta1.VolumeStatsRequest") + proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta1.VolumeStatsResponse") + proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta1.VolumeDiskNumberRequest") + proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta1.VolumeDiskNumberResponse") + proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta1.VolumeIDFromMountRequest") + proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta1.VolumeIDFromMountResponse") +} + +func init() { proto.RegisterFile("volume/v1beta1/api.proto", fileDescriptor_e25953f9b6119981) } + +var fileDescriptor_e25953f9b6119981 = []byte{ + // 588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x6f, 0xd3, 0x30, + 0x18, 0x5d, 0x19, 0x74, 0xeb, 0x07, 0x9a, 0x34, 0xb7, 0xdb, 0xd2, 0xee, 0x42, 0xe7, 0x07, 0xb4, + 0x97, 0x35, 0x74, 0x93, 0xb8, 0x4c, 0x42, 0x48, 0xa8, 0x14, 0x8a, 0x18, 0x48, 0xa9, 0xe0, 0x01, + 0x0d, 0x55, 0x6d, 0x63, 0x98, 0xd5, 0xe5, 0x42, 0xec, 0x4c, 0xc0, 0x8f, 0xe0, 0x37, 0xa3, 0xd8, + 0x4e, 0xe2, 0xdc, 0xaa, 0x22, 0xf1, 0x96, 0x1c, 0xfb, 0x9c, 0xf3, 0xd9, 0xdf, 0x77, 0x64, 0x30, + 0x6e, 0xbd, 0x9b, 0xd0, 0x21, 0xe6, 0x6d, 0x7f, 0x46, 0xf8, 0xb4, 0x6f, 0x4e, 0x7d, 0xda, 0xf3, + 0x03, 0x8f, 0x7b, 0x68, 0x43, 0x41, 0xf8, 0x1c, 0x8c, 0xf7, 0x94, 0xf1, 0xcf, 0x62, 0x23, 0xfb, + 0xe8, 0x0e, 0x28, 0x5b, 0x58, 0xe4, 0x47, 0x48, 0x18, 0x47, 0x7b, 0xb0, 0x61, 0x53, 0xb6, 0x98, + 0x50, 0xdb, 0xa8, 0x75, 0x6b, 0x27, 0x0d, 0xab, 0x1e, 0xfd, 0x8e, 0x6c, 0x7c, 0x01, 0xed, 0x12, + 0x12, 0xf3, 0x3d, 0x97, 0x11, 0x74, 0x08, 0x20, 0x6d, 0x27, 0xd4, 0x66, 0x46, 0xad, 0xbb, 0x7e, + 0xd2, 0xb0, 0x1a, 0x12, 0x19, 0xd9, 0x0c, 0xbf, 0x06, 0x74, 0xe9, 0x85, 0xae, 0x22, 0xc7, 0x56, + 0xfb, 0xd0, 0x48, 0x48, 0xca, 0x6c, 0x33, 0xe6, 0x20, 0x04, 0x77, 0xfd, 0x29, 0xbf, 0x36, 0xee, + 0x08, 0x5c, 0x7c, 0xe3, 0x1d, 0x68, 0x66, 0x64, 0xa4, 0x39, 0x7e, 0x0b, 0x3b, 0x03, 0xca, 0x9c, + 0xff, 0x60, 0x60, 0xc0, 0x6e, 0x5e, 0x49, 0x79, 0x3c, 0x05, 0x63, 0xc4, 0x24, 0x36, 0xf4, 0x02, + 0x67, 0xca, 0x39, 0xb1, 0x57, 0xb1, 0xc1, 0xcf, 0xa1, 0x5d, 0x42, 0x54, 0xd7, 0x76, 0x00, 0x8d, + 0x6f, 0x31, 0x28, 0x98, 0x9b, 0x56, 0x0a, 0xe0, 0x33, 0x68, 0x4a, 0xca, 0xea, 0xa7, 0xc2, 0xbb, + 0xd0, 0xca, 0x72, 0x54, 0xfd, 0x43, 0x68, 0x5a, 0x84, 0xd1, 0xdf, 0xe4, 0xdf, 0x6e, 0x28, 0x62, + 0x88, 0x1b, 0x5a, 0xb7, 0xc4, 0x77, 0xa4, 0x9f, 0xd5, 0x51, 0xfa, 0x7d, 0x40, 0x12, 0x19, 0xf3, + 0x29, 0x67, 0x2b, 0x95, 0xfa, 0x15, 0x9a, 0x19, 0x8a, 0xba, 0x93, 0xa3, 0x78, 0x94, 0xc6, 0x91, + 0x77, 0x4d, 0x78, 0x6b, 0x08, 0x7a, 0x04, 0x5b, 0xf2, 0xef, 0x13, 0x23, 0xf6, 0x38, 0xad, 0x2f, + 0x87, 0xe2, 0x27, 0xb0, 0x27, 0xe5, 0xa3, 0x41, 0xfd, 0x10, 0x3a, 0x33, 0x12, 0xac, 0x54, 0xd6, + 0x05, 0x18, 0x45, 0x5e, 0x5a, 0x9b, 0x9d, 0xa0, 0x71, 0x6d, 0x29, 0x82, 0x1f, 0xc7, 0xdc, 0xd1, + 0x60, 0x18, 0x78, 0x8e, 0x18, 0xd6, 0xd8, 0xb4, 0x05, 0xf7, 0xc4, 0x60, 0x29, 0x43, 0xf9, 0x83, + 0x9f, 0x41, 0xbb, 0x84, 0xa1, 0xec, 0x96, 0xd5, 0x79, 0xf6, 0xa7, 0x0e, 0x75, 0x49, 0x45, 0x57, + 0xb0, 0x5d, 0x88, 0x26, 0x3a, 0xee, 0xa9, 0xb8, 0xf7, 0xaa, 0xb2, 0xde, 0xc1, 0xcb, 0xb6, 0xa8, + 0xc6, 0xae, 0xa1, 0x77, 0x70, 0x5f, 0x4b, 0x1d, 0xda, 0x4f, 0x48, 0xc5, 0x48, 0x77, 0x0e, 0xca, + 0x17, 0x13, 0xad, 0x31, 0x6c, 0x65, 0x03, 0x86, 0x8e, 0x12, 0x46, 0x69, 0x86, 0x3b, 0x0f, 0x2b, + 0xd7, 0x13, 0xd1, 0x2b, 0xd8, 0x2e, 0x44, 0x4c, 0x3b, 0x7e, 0x55, 0x6e, 0xb5, 0xe3, 0x57, 0x26, + 0x14, 0xaf, 0xa1, 0x4b, 0x78, 0xa0, 0x27, 0x0a, 0xa5, 0x47, 0x2c, 0x09, 0x67, 0xe7, 0xb0, 0x62, + 0x55, 0x97, 0xd3, 0x03, 0xa4, 0xc9, 0x95, 0xe4, 0x53, 0x93, 0x2b, 0x4d, 0x9d, 0x68, 0x8e, 0x16, + 0x22, 0xad, 0x39, 0xc5, 0x34, 0x6a, 0xcd, 0x29, 0xc9, 0x9d, 0xb8, 0xc7, 0xe6, 0x1b, 0xc2, 0xf3, + 0xc3, 0x8f, 0xba, 0x39, 0x5a, 0x21, 0x4f, 0x9d, 0xe3, 0x25, 0x3b, 0x12, 0xf5, 0x09, 0xb4, 0x12, + 0x75, 0x6d, 0xd8, 0x51, 0x9e, 0x5c, 0x8c, 0x8e, 0xd6, 0xa8, 0xca, 0xac, 0xe0, 0xb5, 0x57, 0x2f, + 0xbf, 0xbc, 0xf8, 0x4e, 0xf9, 0x75, 0x38, 0xeb, 0xcd, 0x3d, 0xc7, 0x5c, 0x84, 0x33, 0x12, 0xb8, + 0x84, 0x13, 0x76, 0x3a, 0x67, 0xd4, 0x9c, 0x33, 0x7a, 0xea, 0x07, 0xde, 0xcf, 0x5f, 0xe6, 0xfc, + 0x86, 0x12, 0x97, 0x47, 0xcf, 0xa2, 0x99, 0x7d, 0x29, 0x67, 0x75, 0xf1, 0x4c, 0x9e, 0xff, 0x0d, + 0x00, 0x00, 0xff, 0xff, 0xb6, 0x33, 0x17, 0x80, 0x42, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // VolumeClient is the client API for Volume service. // @@ -1345,10 +842,10 @@ type VolumeClient interface { } type volumeClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { +func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { return &volumeClient{cc} } @@ -1460,31 +957,31 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } @@ -1696,5 +1193,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto", + Metadata: "volume/v1beta1/api.proto", } diff --git a/client/api/volume/v1beta2/api.pb.go b/client/api/volume/v1beta2/api.pb.go index 0236c3c2..2bc4962c 100644 --- a/client/api/volume/v1beta2/api.pb.go +++ b/client/api/volume/v1beta2/api.pb.go @@ -1,1447 +1,898 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto +// source: client/api/volume/v1beta2/api.proto package v1beta2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) } +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) +} +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +} +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) } +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) +} +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) } -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo + +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) +} +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) } -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo + +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) +} +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) } -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo + +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +} +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) } -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo + +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) +} +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) } -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo + +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) +} +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) } +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{11} } -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) } - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{11} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) } -type VolumeStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +type VolumeStatsRequest struct { // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsRequest) Reset() { - *x = VolumeStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } +func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsRequest) ProtoMessage() {} +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{12} } -func (x *VolumeStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) } - -func (*VolumeStatsRequest) ProtoMessage() {} - -func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{12} +func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +} +func (m *VolumeStatsRequest) XXX_Size() int { + return xxx_messageInfo_VolumeStatsRequest.Size(m) +} +func (m *VolumeStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) } -func (x *VolumeStatsRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo + +func (m *VolumeStatsRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsResponse) Reset() { - *x = VolumeStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } +func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsResponse) ProtoMessage() {} +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{13} } -func (x *VolumeStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) } - -func (*VolumeStatsResponse) ProtoMessage() {} - -func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{13} +func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsResponse.Merge(m, src) } +func (m *VolumeStatsResponse) XXX_Size() int { + return xxx_messageInfo_VolumeStatsResponse.Size(m) +} +func (m *VolumeStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo -func (x *VolumeStatsResponse) GetVolumeSize() int64 { - if x != nil { - return x.VolumeSize +func (m *VolumeStatsResponse) GetVolumeSize() int64 { + if m != nil { + return m.VolumeSize } return 0 } -func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if x != nil { - return x.VolumeUsedSize +func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if m != nil { + return m.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberRequest) Reset() { - *x = VolumeDiskNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } +func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberRequest) ProtoMessage() {} +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{14} } -func (x *VolumeDiskNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) } - -func (*VolumeDiskNumberRequest) ProtoMessage() {} - -func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{14} +func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) +} +func (m *VolumeDiskNumberRequest) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +} +func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) } -func (x *VolumeDiskNumberRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo + +func (m *VolumeDiskNumberRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeDiskNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberResponse) Reset() { - *x = VolumeDiskNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } +func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberResponse) ProtoMessage() {} +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{15} } -func (x *VolumeDiskNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) } - -func (*VolumeDiskNumberResponse) ProtoMessage() {} - -func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] - 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) +func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{15} +func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) +} +func (m *VolumeDiskNumberResponse) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) } +func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo -func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if x != nil { - return x.DiskNumber +func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if m != nil { + return m.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountRequest) Reset() { - *x = VolumeIDFromMountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } +func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountRequest) ProtoMessage() {} +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{16} } -func (x *VolumeIDFromMountRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) } - -func (*VolumeIDFromMountRequest) ProtoMessage() {} - -func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] - 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) +func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{16} +func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +} +func (m *VolumeIDFromMountRequest) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) } +func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo -func (x *VolumeIDFromMountRequest) GetMount() string { - if x != nil { - return x.Mount +func (m *VolumeIDFromMountRequest) GetMount() string { + if m != nil { + return m.Mount } return "" } type VolumeIDFromMountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountResponse) Reset() { - *x = VolumeIDFromMountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } +func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountResponse) ProtoMessage() {} +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{17} } -func (x *VolumeIDFromMountResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) } - -func (*VolumeIDFromMountResponse) ProtoMessage() {} - -func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] - 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) +func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{17} +func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) +} +func (m *VolumeIDFromMountResponse) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) } +func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo -func (x *VolumeIDFromMountResponse) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *VolumeIDFromMountResponse) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type WriteVolumeCacheRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to flush the cache - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WriteVolumeCacheRequest) Reset() { - *x = WriteVolumeCacheRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WriteVolumeCacheRequest) Reset() { *m = WriteVolumeCacheRequest{} } +func (m *WriteVolumeCacheRequest) String() string { return proto.CompactTextString(m) } +func (*WriteVolumeCacheRequest) ProtoMessage() {} +func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{18} } -func (x *WriteVolumeCacheRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WriteVolumeCacheRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteVolumeCacheRequest.Unmarshal(m, b) } - -func (*WriteVolumeCacheRequest) ProtoMessage() {} - -func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] - 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) +func (m *WriteVolumeCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteVolumeCacheRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. -func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{18} +func (m *WriteVolumeCacheRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteVolumeCacheRequest.Merge(m, src) } - -func (x *WriteVolumeCacheRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId - } - return "" +func (m *WriteVolumeCacheRequest) XXX_Size() int { + return xxx_messageInfo_WriteVolumeCacheRequest.Size(m) } - -type WriteVolumeCacheResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *WriteVolumeCacheRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WriteVolumeCacheRequest.DiscardUnknown(m) } -func (x *WriteVolumeCacheResponse) Reset() { - *x = WriteVolumeCacheResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} +var xxx_messageInfo_WriteVolumeCacheRequest proto.InternalMessageInfo -func (x *WriteVolumeCacheResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WriteVolumeCacheRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId + } + return "" } -func (*WriteVolumeCacheResponse) ProtoMessage() {} - -func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] - 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) +type WriteVolumeCacheResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. +func (m *WriteVolumeCacheResponse) Reset() { *m = WriteVolumeCacheResponse{} } +func (m *WriteVolumeCacheResponse) String() string { return proto.CompactTextString(m) } +func (*WriteVolumeCacheResponse) ProtoMessage() {} func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{19} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x32, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, - 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, - 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, - 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, - 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, - 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, - 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, - 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1beta2.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1beta2.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1beta2.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1beta2.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1beta2.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1beta2.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1beta2.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1beta2.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1beta2.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1beta2.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1beta2.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1beta2.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1beta2.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1beta2.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1beta2.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1beta2.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1beta2.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1beta2.VolumeIDFromMountResponse - (*WriteVolumeCacheRequest)(nil), // 18: v1beta2.WriteVolumeCacheRequest - (*WriteVolumeCacheResponse)(nil), // 19: v1beta2.WriteVolumeCacheResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = []int32{ - 0, // 0: v1beta2.Volume.ListVolumesOnDisk:input_type -> v1beta2.ListVolumesOnDiskRequest - 2, // 1: v1beta2.Volume.MountVolume:input_type -> v1beta2.MountVolumeRequest - 4, // 2: v1beta2.Volume.DismountVolume:input_type -> v1beta2.DismountVolumeRequest - 6, // 3: v1beta2.Volume.IsVolumeFormatted:input_type -> v1beta2.IsVolumeFormattedRequest - 8, // 4: v1beta2.Volume.FormatVolume:input_type -> v1beta2.FormatVolumeRequest - 10, // 5: v1beta2.Volume.ResizeVolume:input_type -> v1beta2.ResizeVolumeRequest - 12, // 6: v1beta2.Volume.VolumeStats:input_type -> v1beta2.VolumeStatsRequest - 14, // 7: v1beta2.Volume.GetVolumeDiskNumber:input_type -> v1beta2.VolumeDiskNumberRequest - 16, // 8: v1beta2.Volume.GetVolumeIDFromMount:input_type -> v1beta2.VolumeIDFromMountRequest - 18, // 9: v1beta2.Volume.WriteVolumeCache:input_type -> v1beta2.WriteVolumeCacheRequest - 1, // 10: v1beta2.Volume.ListVolumesOnDisk:output_type -> v1beta2.ListVolumesOnDiskResponse - 3, // 11: v1beta2.Volume.MountVolume:output_type -> v1beta2.MountVolumeResponse - 5, // 12: v1beta2.Volume.DismountVolume:output_type -> v1beta2.DismountVolumeResponse - 7, // 13: v1beta2.Volume.IsVolumeFormatted:output_type -> v1beta2.IsVolumeFormattedResponse - 9, // 14: v1beta2.Volume.FormatVolume:output_type -> v1beta2.FormatVolumeResponse - 11, // 15: v1beta2.Volume.ResizeVolume:output_type -> v1beta2.ResizeVolumeResponse - 13, // 16: v1beta2.Volume.VolumeStats:output_type -> v1beta2.VolumeStatsResponse - 15, // 17: v1beta2.Volume.GetVolumeDiskNumber:output_type -> v1beta2.VolumeDiskNumberResponse - 17, // 18: v1beta2.Volume.GetVolumeIDFromMount:output_type -> v1beta2.VolumeIDFromMountResponse - 19, // 19: v1beta2.Volume.WriteVolumeCache:output_type -> v1beta2.WriteVolumeCacheResponse - 10, // [10:20] is the sub-list for method output_type - 0, // [0:10] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteVolumeCacheRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteVolumeCacheResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 20, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = nil + return fileDescriptor_99d2e9a7d1d95ce9, []int{19} +} + +func (m *WriteVolumeCacheResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteVolumeCacheResponse.Unmarshal(m, b) +} +func (m *WriteVolumeCacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteVolumeCacheResponse.Marshal(b, m, deterministic) +} +func (m *WriteVolumeCacheResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteVolumeCacheResponse.Merge(m, src) +} +func (m *WriteVolumeCacheResponse) XXX_Size() int { + return xxx_messageInfo_WriteVolumeCacheResponse.Size(m) +} +func (m *WriteVolumeCacheResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WriteVolumeCacheResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteVolumeCacheResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta2.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta2.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1beta2.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1beta2.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta2.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta2.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta2.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta2.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta2.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta2.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta2.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta2.ResizeVolumeResponse") + proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta2.VolumeStatsRequest") + proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta2.VolumeStatsResponse") + proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta2.VolumeDiskNumberRequest") + proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta2.VolumeDiskNumberResponse") + proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta2.VolumeIDFromMountRequest") + proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta2.VolumeIDFromMountResponse") + proto.RegisterType((*WriteVolumeCacheRequest)(nil), "v1beta2.WriteVolumeCacheRequest") + proto.RegisterType((*WriteVolumeCacheResponse)(nil), "v1beta2.WriteVolumeCacheResponse") +} + +func init() { + proto.RegisterFile("client/api/volume/v1beta2/api.proto", fileDescriptor_99d2e9a7d1d95ce9) +} + +var fileDescriptor_99d2e9a7d1d95ce9 = []byte{ + // 625 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x6b, 0x6f, 0xd3, 0x30, + 0x14, 0x6d, 0x19, 0x74, 0xeb, 0x05, 0x4d, 0xcc, 0xdd, 0x23, 0xcd, 0x1e, 0x74, 0x46, 0x42, 0xfb, + 0xb2, 0x86, 0x75, 0xd2, 0x80, 0x49, 0x08, 0x09, 0x4a, 0xa1, 0x88, 0x81, 0x94, 0x0a, 0x10, 0x68, + 0xa8, 0x4a, 0x1b, 0x43, 0xad, 0x2e, 0x4d, 0x89, 0x9d, 0x09, 0xf8, 0xc7, 0xfc, 0x0b, 0x14, 0xdb, + 0x49, 0xdd, 0x3c, 0xaa, 0x22, 0xf1, 0x2d, 0x3e, 0xf6, 0x39, 0xe7, 0xda, 0xbe, 0xc7, 0x81, 0xfb, + 0xc3, 0x2b, 0x4a, 0x26, 0xdc, 0x72, 0xa6, 0xd4, 0xba, 0xf6, 0xaf, 0x42, 0x8f, 0x58, 0xd7, 0x27, + 0x03, 0xc2, 0x9d, 0x56, 0x04, 0x35, 0xa7, 0x81, 0xcf, 0x7d, 0xb4, 0xaa, 0x20, 0x7c, 0x0a, 0xc6, + 0x5b, 0xca, 0xf8, 0x47, 0xb1, 0x90, 0xbd, 0x9f, 0xb4, 0x29, 0x1b, 0xdb, 0xe4, 0x47, 0x48, 0x18, + 0x47, 0x3b, 0xb0, 0xea, 0x52, 0x36, 0xee, 0x53, 0xd7, 0x28, 0x37, 0xca, 0x47, 0x55, 0xbb, 0x12, + 0x0d, 0xbb, 0x2e, 0x3e, 0x87, 0x7a, 0x0e, 0x89, 0x4d, 0xfd, 0x09, 0x23, 0x68, 0x1f, 0x40, 0xda, + 0xf6, 0xa9, 0xcb, 0x8c, 0x72, 0x63, 0xe5, 0xa8, 0x6a, 0x57, 0x25, 0xd2, 0x75, 0x19, 0x7e, 0x09, + 0xe8, 0xc2, 0x0f, 0x27, 0x8a, 0x1c, 0x5b, 0xed, 0x42, 0x35, 0x21, 0x29, 0xb3, 0xb5, 0x98, 0x83, + 0x10, 0xdc, 0x9c, 0x3a, 0x7c, 0x64, 0xdc, 0x10, 0xb8, 0xf8, 0xc6, 0x5b, 0x50, 0x9b, 0x93, 0x91, + 0xe6, 0xf8, 0x35, 0x6c, 0xb5, 0x29, 0xf3, 0xfe, 0x83, 0x81, 0x01, 0xdb, 0x69, 0x25, 0xe5, 0xf1, + 0x08, 0x8c, 0x2e, 0x93, 0x58, 0xc7, 0x0f, 0x3c, 0x87, 0x73, 0xe2, 0x2e, 0x63, 0x83, 0x9f, 0x40, + 0x3d, 0x87, 0xa8, 0x8e, 0x6d, 0x0f, 0xaa, 0xdf, 0x62, 0x50, 0x30, 0xd7, 0xec, 0x19, 0x80, 0x5b, + 0x50, 0x93, 0x94, 0xe5, 0x77, 0x85, 0xb7, 0x61, 0x73, 0x9e, 0xa3, 0xea, 0xef, 0x40, 0xcd, 0x26, + 0x8c, 0xfe, 0x26, 0xff, 0x76, 0x42, 0x11, 0x43, 0x9c, 0xd0, 0x8a, 0x2d, 0xbe, 0x23, 0xfd, 0x79, + 0x1d, 0xa5, 0x7f, 0x02, 0x48, 0x22, 0x3d, 0xee, 0x70, 0xb6, 0x54, 0xa9, 0x5f, 0xa1, 0x36, 0x47, + 0x51, 0x67, 0x72, 0x10, 0xb7, 0x52, 0x2f, 0xf2, 0x2e, 0x0b, 0x6f, 0x0d, 0x41, 0x0f, 0x60, 0x5d, + 0x8e, 0x3e, 0x30, 0xe2, 0xf6, 0x66, 0xf5, 0xa5, 0x50, 0x7c, 0x06, 0x3b, 0x52, 0x3e, 0x6a, 0xd4, + 0x77, 0xa1, 0x37, 0x20, 0xc1, 0x52, 0x65, 0x9d, 0x83, 0x91, 0xe5, 0xcd, 0x6a, 0x73, 0x13, 0x34, + 0xae, 0x6d, 0x86, 0xe0, 0x87, 0x31, 0xb7, 0xdb, 0xee, 0x04, 0xbe, 0x27, 0x9a, 0x35, 0x36, 0xdd, + 0x84, 0x5b, 0xa2, 0xb1, 0x94, 0xa1, 0x1c, 0xe0, 0xc7, 0x50, 0xcf, 0x61, 0x28, 0xbb, 0x85, 0x75, + 0x9e, 0xc1, 0xce, 0xa7, 0x80, 0x72, 0x75, 0x11, 0x2f, 0x9c, 0xe1, 0x68, 0xb9, 0x0e, 0x31, 0xc1, + 0xc8, 0xf2, 0xa4, 0x61, 0xeb, 0x4f, 0x05, 0x2a, 0x12, 0x47, 0x97, 0xb0, 0x91, 0x89, 0x3b, 0x3a, + 0x6c, 0xaa, 0x27, 0xa4, 0x59, 0xf4, 0x7e, 0x98, 0x78, 0xd1, 0x12, 0xd5, 0x2c, 0x25, 0xf4, 0x06, + 0x6e, 0x6b, 0x49, 0x46, 0xbb, 0x09, 0x29, 0xfb, 0x4c, 0x98, 0x7b, 0xf9, 0x93, 0x89, 0x56, 0x0f, + 0xd6, 0xe7, 0x43, 0x8b, 0x0e, 0x12, 0x46, 0xee, 0xbb, 0x60, 0xde, 0x2b, 0x9c, 0x4f, 0x44, 0x2f, + 0x61, 0x23, 0x13, 0x5b, 0x6d, 0xfb, 0x45, 0x6f, 0x81, 0xb6, 0xfd, 0xc2, 0xd4, 0xe3, 0x12, 0xba, + 0x80, 0x3b, 0x7a, 0x4a, 0xd1, 0x6c, 0x8b, 0x39, 0x81, 0x37, 0xf7, 0x0b, 0x66, 0x75, 0x39, 0x3d, + 0x94, 0x9a, 0x5c, 0x4e, 0xe6, 0x35, 0xb9, 0xdc, 0x24, 0x8b, 0xcb, 0xd1, 0x82, 0xa9, 0x5d, 0x4e, + 0x36, 0xe1, 0xda, 0xe5, 0xe4, 0x64, 0x59, 0x9c, 0x63, 0xed, 0x15, 0xe1, 0xe9, 0x40, 0xa1, 0x46, + 0x8a, 0x96, 0xc9, 0xa8, 0x79, 0xb8, 0x60, 0x45, 0xa2, 0xde, 0x87, 0xcd, 0x44, 0x5d, 0x0b, 0x10, + 0x4a, 0x93, 0xb3, 0x71, 0xd4, 0x2e, 0xaa, 0x30, 0x7f, 0xb8, 0x84, 0x3e, 0xc3, 0xdd, 0x74, 0x58, + 0xb4, 0xda, 0x0b, 0xf2, 0xa7, 0xd5, 0x5e, 0x94, 0x34, 0x5c, 0x7a, 0xfe, 0xec, 0xcb, 0xd3, 0xef, + 0x94, 0x8f, 0xc2, 0x41, 0x73, 0xe8, 0x7b, 0xd6, 0x38, 0x1c, 0x90, 0x60, 0x42, 0x38, 0x61, 0xc7, + 0x43, 0x46, 0xad, 0x21, 0xa3, 0xc7, 0xd3, 0xc0, 0xff, 0xf9, 0xcb, 0x2a, 0xfc, 0xb1, 0x0f, 0x2a, + 0xe2, 0xaf, 0x7e, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0xef, 0xbc, 0x51, 0x38, 0xfc, 0x07, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // VolumeClient is the client API for Volume service. // @@ -1471,10 +922,10 @@ type VolumeClient interface { } type volumeClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { +func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { return &volumeClient{cc} } @@ -1597,34 +1048,34 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } -func (*UnimplementedVolumeServer) WriteVolumeCache(context.Context, *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { +func (*UnimplementedVolumeServer) WriteVolumeCache(ctx context.Context, req *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteVolumeCache not implemented") } @@ -1858,5 +1309,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto", + Metadata: "client/api/volume/v1beta2/api.proto", } diff --git a/integrationtests/apigroups/client/dummy/v1/client_generated.go b/integrationtests/apigroups/client/dummy/v1/client_generated.go index e97fbecd..7eed6341 100644 --- a/integrationtests/apigroups/client/dummy/v1/client_generated.go +++ b/integrationtests/apigroups/client/dummy/v1/client_generated.go @@ -9,7 +9,7 @@ import ( "github.com/Microsoft/go-winio" "github.com/kubernetes-csi/csi-proxy/client" "github.com/kubernetes-csi/csi-proxy/client/apiversion" - v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" + "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" "google.golang.org/grpc" ) diff --git a/integrationtests/apigroups/server/dummy/api_group_generated.go b/integrationtests/apigroups/server/dummy/api_group_generated.go index 8a8ea9bb..1bb67d46 100644 --- a/integrationtests/apigroups/server/dummy/api_group_generated.go +++ b/integrationtests/apigroups/server/dummy/api_group_generated.go @@ -5,7 +5,7 @@ package dummy import ( "github.com/kubernetes-csi/csi-proxy/client/apiversion" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal" - v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1" + "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1alpha1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal/v1alpha2" srvtypes "github.com/kubernetes-csi/csi-proxy/internal/server/types" diff --git a/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go b/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go index cac51292..349566d1 100644 --- a/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go +++ b/integrationtests/apigroups/server/dummy/internal/v1/server_generated.go @@ -6,7 +6,7 @@ import ( "context" "github.com/kubernetes-csi/csi-proxy/client/apiversion" - v1 "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" + "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/api/dummy/v1" "github.com/kubernetes-csi/csi-proxy/integrationtests/apigroups/server/dummy/internal" "google.golang.org/grpc" ) diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go index 881b1ecc..9fdaadde 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.pb.go @@ -1,693 +1,424 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) +} +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) } -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo + +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) } +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) } +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) +} +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_028ab8065db229af, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_028ab8065db229af, []int{6} } -type GetDiskNumberByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Disk ID - DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *GetDiskNumberByNameRequest) Reset() { - *x = GetDiskNumberByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *GetDiskNumberByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*GetDiskNumberByNameRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *GetDiskNumberByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type GetDiskNumberByNameRequest struct { + // Disk ID + DiskName string `protobuf:"bytes,1,opt,name=disk_name,json=diskName,proto3" json:"disk_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use GetDiskNumberByNameRequest.ProtoReflect.Descriptor instead. +func (m *GetDiskNumberByNameRequest) Reset() { *m = GetDiskNumberByNameRequest{} } +func (m *GetDiskNumberByNameRequest) String() string { return proto.CompactTextString(m) } +func (*GetDiskNumberByNameRequest) ProtoMessage() {} func (*GetDiskNumberByNameRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_028ab8065db229af, []int{7} } -func (x *GetDiskNumberByNameRequest) GetDiskName() string { - if x != nil { - return x.DiskName +func (m *GetDiskNumberByNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDiskNumberByNameRequest.Unmarshal(m, b) +} +func (m *GetDiskNumberByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDiskNumberByNameRequest.Marshal(b, m, deterministic) +} +func (m *GetDiskNumberByNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskNumberByNameRequest.Merge(m, src) +} +func (m *GetDiskNumberByNameRequest) XXX_Size() int { + return xxx_messageInfo_GetDiskNumberByNameRequest.Size(m) +} +func (m *GetDiskNumberByNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDiskNumberByNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDiskNumberByNameRequest proto.InternalMessageInfo + +func (m *GetDiskNumberByNameRequest) GetDiskName() string { + if m != nil { + return m.DiskName } return "" } type GetDiskNumberByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk number - DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` + DiskNumber string `protobuf:"bytes,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetDiskNumberByNameResponse) Reset() { - *x = GetDiskNumberByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetDiskNumberByNameResponse) Reset() { *m = GetDiskNumberByNameResponse{} } +func (m *GetDiskNumberByNameResponse) String() string { return proto.CompactTextString(m) } +func (*GetDiskNumberByNameResponse) ProtoMessage() {} +func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_028ab8065db229af, []int{8} } -func (x *GetDiskNumberByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetDiskNumberByNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDiskNumberByNameResponse.Unmarshal(m, b) } - -func (*GetDiskNumberByNameResponse) ProtoMessage() {} - -func (x *GetDiskNumberByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetDiskNumberByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDiskNumberByNameResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetDiskNumberByNameResponse.ProtoReflect.Descriptor instead. -func (*GetDiskNumberByNameResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *GetDiskNumberByNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskNumberByNameResponse.Merge(m, src) +} +func (m *GetDiskNumberByNameResponse) XXX_Size() int { + return xxx_messageInfo_GetDiskNumberByNameResponse.Size(m) +} +func (m *GetDiskNumberByNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetDiskNumberByNameResponse.DiscardUnknown(m) } -func (x *GetDiskNumberByNameResponse) GetDiskNumber() string { - if x != nil { - return x.DiskNumber +var xxx_messageInfo_GetDiskNumberByNameResponse proto.InternalMessageInfo + +func (m *GetDiskNumberByNameResponse) GetDiskNumber() string { + if m != nil { + return m.DiskNumber } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, - 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, - 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, - 0x0a, 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd4, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x58, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x2e, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, - 0x17, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, - 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, - 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, - 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, - 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xdf, 0x02, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x52, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, - 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x17, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x69, - 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1alpha1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1alpha1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1alpha1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1alpha1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1alpha1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1alpha1.RescanRequest - (*RescanResponse)(nil), // 6: v1alpha1.RescanResponse - (*GetDiskNumberByNameRequest)(nil), // 7: v1alpha1.GetDiskNumberByNameRequest - (*GetDiskNumberByNameResponse)(nil), // 8: v1alpha1.GetDiskNumberByNameResponse - nil, // 9: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = []int32{ - 9, // 0: v1alpha1.ListDiskLocationsResponse.disk_locations:type_name -> v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry - 1, // 1: v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1alpha1.DiskLocation - 0, // 2: v1alpha1.Disk.ListDiskLocations:input_type -> v1alpha1.ListDiskLocationsRequest - 3, // 3: v1alpha1.Disk.PartitionDisk:input_type -> v1alpha1.PartitionDiskRequest - 5, // 4: v1alpha1.Disk.Rescan:input_type -> v1alpha1.RescanRequest - 7, // 5: v1alpha1.Disk.GetDiskNumberByName:input_type -> v1alpha1.GetDiskNumberByNameRequest - 2, // 6: v1alpha1.Disk.ListDiskLocations:output_type -> v1alpha1.ListDiskLocationsResponse - 4, // 7: v1alpha1.Disk.PartitionDisk:output_type -> v1alpha1.PartitionDiskResponse - 6, // 8: v1alpha1.Disk.Rescan:output_type -> v1alpha1.RescanResponse - 8, // 9: v1alpha1.Disk.GetDiskNumberByName:output_type -> v1alpha1.GetDiskNumberByNameResponse - 6, // [6:10] is the sub-list for method output_type - 2, // [2:6] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDiskNumberByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDiskNumberByNameResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1alpha1.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1alpha1.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1alpha1.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1alpha1.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1alpha1.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1alpha1.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1alpha1.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1alpha1.RescanResponse") + proto.RegisterType((*GetDiskNumberByNameRequest)(nil), "v1alpha1.GetDiskNumberByNameRequest") + proto.RegisterType((*GetDiskNumberByNameResponse)(nil), "v1alpha1.GetDiskNumberByNameResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto", fileDescriptor_028ab8065db229af) +} + +var fileDescriptor_028ab8065db229af = []byte{ + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xef, 0x6b, 0x13, 0x41, + 0x10, 0xf5, 0x92, 0x36, 0xb6, 0x13, 0x53, 0xeb, 0x5a, 0xdb, 0xf3, 0x0a, 0xb6, 0xac, 0x0a, 0xfd, + 0x60, 0xef, 0x68, 0x04, 0x51, 0x41, 0xc1, 0x12, 0x95, 0x42, 0x08, 0x72, 0x28, 0xf8, 0x45, 0x65, + 0x73, 0x37, 0x34, 0x4b, 0x92, 0xbb, 0x73, 0x77, 0x2f, 0x98, 0xff, 0xd3, 0xef, 0xfe, 0x2b, 0xb2, + 0x7b, 0xbb, 0xf9, 0x61, 0x12, 0xf5, 0xdb, 0xcd, 0x9b, 0xf7, 0x76, 0xe6, 0xbd, 0xe1, 0xe0, 0xdd, + 0x35, 0x57, 0x83, 0xb2, 0x1f, 0x26, 0xf9, 0x38, 0x1a, 0x96, 0x7d, 0x14, 0x19, 0x2a, 0x94, 0xe7, + 0x89, 0xe4, 0x51, 0x22, 0xf9, 0x79, 0x21, 0xf2, 0x1f, 0xd3, 0x28, 0x19, 0x71, 0xcc, 0x54, 0xc4, + 0x0a, 0x1e, 0xa5, 0x5c, 0x0e, 0xa3, 0xc9, 0x05, 0x1b, 0x15, 0x03, 0x76, 0xa1, 0x91, 0xb0, 0x10, + 0xb9, 0xca, 0xc9, 0x8e, 0xc3, 0x68, 0x00, 0x7e, 0x97, 0x4b, 0xd5, 0xe1, 0x72, 0xd8, 0xcd, 0x13, + 0xa6, 0x78, 0x9e, 0xc9, 0x18, 0xbf, 0x97, 0x28, 0x15, 0x1d, 0xc0, 0xad, 0x45, 0x9c, 0xf8, 0x70, + 0xf3, 0x4d, 0xca, 0x0a, 0x85, 0xc2, 0xf7, 0x4e, 0xbd, 0xb3, 0xdd, 0xd8, 0x95, 0x64, 0x1f, 0xea, + 0x97, 0xa5, 0xf4, 0x6b, 0x06, 0xd5, 0x9f, 0xe4, 0x10, 0x1a, 0x1f, 0x99, 0xb8, 0x46, 0xe5, 0xd7, + 0x0d, 0x68, 0x2b, 0x72, 0x00, 0xdb, 0xdd, 0x4f, 0xbd, 0xab, 0x8e, 0xbf, 0x65, 0xe0, 0xaa, 0xa0, + 0x3f, 0x3d, 0xb8, 0xbf, 0x66, 0x0d, 0x59, 0xe4, 0x99, 0x44, 0xf2, 0x05, 0xf6, 0xb4, 0x91, 0x6f, + 0x23, 0xd7, 0xf1, 0xbd, 0xd3, 0xfa, 0x59, 0xb3, 0xfd, 0x2c, 0x74, 0x36, 0xc2, 0x8d, 0xe2, 0x70, + 0x09, 0x7d, 0x9b, 0x29, 0x31, 0x8d, 0x5b, 0xe9, 0x22, 0x16, 0x7c, 0x06, 0xb2, 0x4a, 0xd2, 0x96, + 0x86, 0x38, 0xb5, 0x46, 0xf5, 0x27, 0x79, 0x02, 0xdb, 0x13, 0x36, 0x2a, 0xd1, 0xd8, 0x6c, 0xb6, + 0x0f, 0xe7, 0xd3, 0x17, 0xe5, 0x71, 0x45, 0x7a, 0x59, 0x7b, 0xee, 0xd1, 0x10, 0x0e, 0x3e, 0x30, + 0xa1, 0xb8, 0xc6, 0x35, 0xc7, 0x06, 0xab, 0xc3, 0xd1, 0x2b, 0x5c, 0x75, 0xec, 0xf3, 0xb6, 0xa2, + 0x47, 0x70, 0xef, 0x0f, 0x7e, 0x65, 0x82, 0xde, 0x86, 0x56, 0x8c, 0x32, 0x61, 0x99, 0x3b, 0xcd, + 0x3e, 0xec, 0x39, 0xc0, 0x52, 0x5e, 0x40, 0xf0, 0x1e, 0x4d, 0x06, 0xbd, 0x72, 0xdc, 0x47, 0x71, + 0x39, 0xed, 0xb1, 0x31, 0xba, 0x89, 0xc7, 0xb0, 0x6b, 0x22, 0xcc, 0xd8, 0x18, 0xed, 0xd0, 0x1d, + 0x0d, 0x68, 0x0e, 0x7d, 0x0d, 0xc7, 0x6b, 0xa5, 0x36, 0xfe, 0x13, 0x68, 0x56, 0x5a, 0xd3, 0xb4, + 0x6a, 0x48, 0x67, 0xf4, 0xf6, 0xaf, 0x1a, 0x6c, 0x69, 0x35, 0xf9, 0x0a, 0x77, 0x56, 0x0e, 0x41, + 0xe8, 0x5f, 0xaf, 0x64, 0xd6, 0x0b, 0x1e, 0xfe, 0xc7, 0x25, 0xe9, 0x0d, 0x12, 0x43, 0x6b, 0x29, + 0x1f, 0xf2, 0x60, 0xae, 0x5b, 0x17, 0x74, 0x70, 0xb2, 0xb1, 0x3f, 0x7b, 0xf3, 0x15, 0x34, 0xaa, + 0x24, 0xc9, 0xd1, 0x9c, 0xbc, 0x14, 0x76, 0xe0, 0xaf, 0x36, 0x66, 0xf2, 0x14, 0xee, 0xae, 0xc9, + 0x8e, 0x3c, 0x9a, 0x4b, 0x36, 0x5f, 0x25, 0x78, 0xfc, 0x0f, 0x96, 0x9b, 0xd2, 0x6f, 0x98, 0xdf, + 0xf6, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x03, 0x27, 0x76, 0x00, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -776,16 +507,16 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) GetDiskNumberByName(context.Context, *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { +func (*UnimplementedDiskServer) GetDiskNumberByName(ctx context.Context, req *GetDiskNumberByNameRequest) (*GetDiskNumberByNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDiskNumberByName not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto index 5b84b111..03ef6121 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1alpha1"; - service Disk { // ListDiskLocations returns locations of all // disk devices enumerated by the host diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go index 579f074c..099b9769 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.pb.go @@ -1,904 +1,554 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto +// source: disk/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) } +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +} +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) } -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo + +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) +} +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) +} +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) } -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo + +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{4} -} - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_edb7884fca4087ac, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_edb7884fca4087ac, []int{6} } -type ListDiskIDsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *ListDiskIDsRequest) Reset() { - *x = ListDiskIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *ListDiskIDsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type ListDiskIDsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. +func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } +func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsRequest) ProtoMessage() {} func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_edb7884fca4087ac, []int{7} } -type DiskIDs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) } - -func (x *DiskIDs) Reset() { - *x = DiskIDs{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) } - -func (x *DiskIDs) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) +} +func (m *ListDiskIDsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsRequest.Size(m) +} +func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) } -func (*DiskIDs) ProtoMessage() {} +var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo -func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type DiskIDs struct { + // Map of Disk ID types and Disk ID values + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (m *DiskIDs) Reset() { *m = DiskIDs{} } +func (m *DiskIDs) String() string { return proto.CompactTextString(m) } +func (*DiskIDs) ProtoMessage() {} func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{8} + return fileDescriptor_edb7884fca4087ac, []int{8} +} + +func (m *DiskIDs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskIDs.Unmarshal(m, b) +} +func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +} +func (m *DiskIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskIDs.Merge(m, src) +} +func (m *DiskIDs) XXX_Size() int { + return xxx_messageInfo_DiskIDs.Size(m) +} +func (m *DiskIDs) XXX_DiscardUnknown() { + xxx_messageInfo_DiskIDs.DiscardUnknown(m) } -func (x *DiskIDs) GetIdentifiers() map[string]string { - if x != nil { - return x.Identifiers +var xxx_messageInfo_DiskIDs proto.InternalMessageInfo + +func (m *DiskIDs) GetIdentifiers() map[string]string { + if m != nil { + return m.Identifiers } return nil } type ListDiskIDsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskIDsResponse) Reset() { - *x = ListDiskIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } +func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsResponse) ProtoMessage() {} +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{9} } -func (x *ListDiskIDsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) } - -func (*ListDiskIDsResponse) ProtoMessage() {} - -func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +} +func (m *ListDiskIDsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsResponse.Size(m) +} +func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) } -func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if x != nil { - return x.DiskIDs +var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo + +func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if m != nil { + return m.DiskIDs } return nil } type DiskStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsRequest) Reset() { - *x = DiskStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } +func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } +func (*DiskStatsRequest) ProtoMessage() {} +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{10} } -func (x *DiskStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) } - -func (*DiskStatsRequest) ProtoMessage() {} - -func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{10} +func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsRequest.Merge(m, src) +} +func (m *DiskStatsRequest) XXX_Size() int { + return xxx_messageInfo_DiskStatsRequest.Size(m) } +func (m *DiskStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo -func (x *DiskStatsRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *DiskStatsRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type DiskStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsResponse) Reset() { - *x = DiskStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } +func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } +func (*DiskStatsResponse) ProtoMessage() {} +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_edb7884fca4087ac, []int{11} } -func (x *DiskStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) } - -func (*DiskStatsResponse) ProtoMessage() {} - -func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_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) +func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP(), []int{11} +func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsResponse.Merge(m, src) +} +func (m *DiskStatsResponse) XXX_Size() int { + return xxx_messageInfo_DiskStatsResponse.Size(m) +} +func (m *DiskStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) } -func (x *DiskStatsResponse) GetDiskSize() int64 { - if x != nil { - return x.DiskSize +var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo + +func (m *DiskStatsResponse) GetDiskSize() int64 { + if m != nil { + return m.DiskSize } return 0 } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, - 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, - 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, - 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, - 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x32, 0x85, 0x03, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, - 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, - 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x3b, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x63, - 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, - 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1beta1.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1beta1.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1beta1.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1beta1.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1beta1.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1beta1.RescanRequest - (*RescanResponse)(nil), // 6: v1beta1.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1beta1.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1beta1.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1beta1.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1beta1.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1beta1.DiskStatsResponse - nil, // 12: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 13: v1beta1.DiskIDs.IdentifiersEntry - nil, // 14: v1beta1.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = []int32{ - 12, // 0: v1beta1.ListDiskLocationsResponse.disk_locations:type_name -> v1beta1.ListDiskLocationsResponse.DiskLocationsEntry - 13, // 1: v1beta1.DiskIDs.identifiers:type_name -> v1beta1.DiskIDs.IdentifiersEntry - 14, // 2: v1beta1.ListDiskIDsResponse.diskIDs:type_name -> v1beta1.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1beta1.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta1.DiskLocation - 8, // 4: v1beta1.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta1.DiskIDs - 0, // 5: v1beta1.Disk.ListDiskLocations:input_type -> v1beta1.ListDiskLocationsRequest - 3, // 6: v1beta1.Disk.PartitionDisk:input_type -> v1beta1.PartitionDiskRequest - 5, // 7: v1beta1.Disk.Rescan:input_type -> v1beta1.RescanRequest - 7, // 8: v1beta1.Disk.ListDiskIDs:input_type -> v1beta1.ListDiskIDsRequest - 10, // 9: v1beta1.Disk.DiskStats:input_type -> v1beta1.DiskStatsRequest - 2, // 10: v1beta1.Disk.ListDiskLocations:output_type -> v1beta1.ListDiskLocationsResponse - 4, // 11: v1beta1.Disk.PartitionDisk:output_type -> v1beta1.PartitionDiskResponse - 6, // 12: v1beta1.Disk.Rescan:output_type -> v1beta1.RescanResponse - 9, // 13: v1beta1.Disk.ListDiskIDs:output_type -> v1beta1.ListDiskIDsResponse - 11, // 14: v1beta1.Disk.DiskStats:output_type -> v1beta1.DiskStatsResponse - 10, // [10:15] is the sub-list for method output_type - 5, // [5:10] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskIDs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta1.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1beta1.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta1.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta1.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta1.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta1.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1beta1.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1beta1.RescanResponse") + proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta1.ListDiskIDsRequest") + proto.RegisterType((*DiskIDs)(nil), "v1beta1.DiskIDs") + proto.RegisterMapType((map[string]string)(nil), "v1beta1.DiskIDs.IdentifiersEntry") + proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta1.ListDiskIDsResponse") + proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta1.ListDiskIDsResponse.DiskIDsEntry") + proto.RegisterType((*DiskStatsRequest)(nil), "v1beta1.DiskStatsRequest") + proto.RegisterType((*DiskStatsResponse)(nil), "v1beta1.DiskStatsResponse") +} + +func init() { proto.RegisterFile("disk/v1beta1/api.proto", fileDescriptor_edb7884fca4087ac) } + +var fileDescriptor_edb7884fca4087ac = []byte{ + // 564 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x6f, 0xd3, 0x30, + 0x14, 0x5d, 0xd6, 0x6d, 0xa5, 0xb7, 0x74, 0x74, 0xa6, 0xeb, 0x32, 0xf3, 0xa1, 0x2d, 0x0f, 0x68, + 0x80, 0x96, 0x68, 0x45, 0x48, 0x88, 0x09, 0x24, 0xb6, 0xf0, 0x10, 0x54, 0xa1, 0x29, 0x03, 0x21, + 0xa1, 0x49, 0x28, 0x4d, 0xcd, 0x66, 0xb5, 0x24, 0x21, 0x76, 0x26, 0xca, 0x3b, 0xaf, 0xfc, 0x0e, + 0x7e, 0x0f, 0xbf, 0x08, 0x39, 0xb1, 0x83, 0xd3, 0x66, 0xdb, 0x5b, 0x7c, 0xee, 0xb9, 0xce, 0xbd, + 0xe7, 0x1c, 0x19, 0xfa, 0x63, 0xca, 0x26, 0xce, 0xe5, 0xc1, 0x88, 0xf0, 0xe0, 0xc0, 0x09, 0x12, + 0x6a, 0x27, 0x69, 0xcc, 0x63, 0xd4, 0x94, 0x90, 0x85, 0xc1, 0x1c, 0x52, 0xc6, 0x5d, 0xca, 0x26, + 0xc3, 0x38, 0x0c, 0x38, 0x8d, 0x23, 0xe6, 0x93, 0xef, 0x19, 0x61, 0xdc, 0xba, 0x80, 0xdb, 0x3a, + 0x8e, 0x4c, 0x68, 0xbe, 0x19, 0x07, 0x09, 0x27, 0xa9, 0x69, 0xec, 0x18, 0x7b, 0x2d, 0x5f, 0x1d, + 0x51, 0x17, 0x1a, 0x47, 0x19, 0x33, 0x97, 0x73, 0x54, 0x7c, 0xa2, 0x3e, 0xac, 0x7d, 0x08, 0xd2, + 0x73, 0xc2, 0xcd, 0x46, 0x0e, 0xca, 0x13, 0xea, 0xc1, 0xea, 0xf0, 0xe3, 0x7b, 0xcf, 0x35, 0x57, + 0x72, 0xb8, 0x38, 0x58, 0x7f, 0x0d, 0xd8, 0xae, 0x19, 0x83, 0x25, 0x71, 0xc4, 0x08, 0x3a, 0x83, + 0x75, 0xb1, 0xc6, 0x97, 0xa9, 0xaa, 0x98, 0xc6, 0x4e, 0x63, 0xaf, 0x3d, 0x78, 0x6e, 0xcb, 0x2d, + 0xec, 0x2b, 0x7b, 0xed, 0x0a, 0xfa, 0x36, 0xe2, 0xe9, 0xcc, 0xef, 0x8c, 0x75, 0x0c, 0x7f, 0x02, + 0xb4, 0x48, 0x12, 0x1b, 0x4d, 0xc8, 0x4c, 0xee, 0x29, 0x3e, 0xd1, 0x53, 0x58, 0xbd, 0x0c, 0xa6, + 0x19, 0xc9, 0xb7, 0x6c, 0x0f, 0x36, 0xcb, 0x9f, 0xeb, 0xdd, 0x7e, 0xc1, 0x79, 0xb9, 0xfc, 0xc2, + 0xb0, 0x6c, 0xe8, 0x9d, 0x04, 0x29, 0xa7, 0x02, 0x17, 0x1c, 0x29, 0xab, 0x90, 0x46, 0x4c, 0xe0, + 0xb9, 0xf2, 0x76, 0x79, 0xb2, 0xb6, 0x60, 0x73, 0x8e, 0x5f, 0xec, 0x60, 0xdd, 0x81, 0x8e, 0x4f, + 0x58, 0x18, 0x44, 0xca, 0x98, 0x2e, 0xac, 0x2b, 0x40, 0x52, 0x7a, 0x80, 0x94, 0x06, 0x9e, 0x5b, + 0x1a, 0xf8, 0xdb, 0x80, 0xa6, 0x84, 0xd0, 0x31, 0xb4, 0xe9, 0x98, 0x44, 0x9c, 0x7e, 0xa5, 0x24, + 0x55, 0x0a, 0xee, 0x56, 0x96, 0xf0, 0x5c, 0x66, 0x7b, 0xff, 0x39, 0x85, 0x5a, 0x7a, 0x17, 0x7e, + 0x0d, 0xdd, 0x79, 0x42, 0x8d, 0x52, 0x3d, 0x5d, 0xa9, 0x96, 0x2e, 0xc9, 0x1f, 0x03, 0xee, 0x56, + 0xe6, 0x94, 0x0e, 0x1f, 0x43, 0xb3, 0x10, 0x41, 0x0d, 0xf6, 0x78, 0xc1, 0x5a, 0x8d, 0xae, 0x86, + 0x2d, 0x06, 0x54, 0x9d, 0x78, 0x58, 0xc4, 0x55, 0x15, 0x6a, 0x06, 0x7b, 0x54, 0xb5, 0xb0, 0x3b, + 0xbf, 0xbd, 0x3e, 0xea, 0x13, 0xe8, 0x0a, 0xf4, 0x94, 0x07, 0x9c, 0xdd, 0xe4, 0x9c, 0x03, 0x1b, + 0x1a, 0x57, 0xee, 0x84, 0xe1, 0x96, 0x28, 0x9f, 0xd2, 0x9f, 0x24, 0xa7, 0x37, 0xfc, 0xf2, 0x3c, + 0xf8, 0xd5, 0x80, 0x15, 0xd1, 0x81, 0xce, 0x60, 0x63, 0x21, 0xbb, 0x68, 0xf7, 0xba, 0x5c, 0xe7, + 0x93, 0x60, 0xeb, 0xe6, 0xe8, 0x5b, 0x4b, 0xe8, 0x04, 0x3a, 0x95, 0x44, 0xa1, 0x07, 0x65, 0x5b, + 0x5d, 0x32, 0xf1, 0xc3, 0xab, 0xca, 0xe5, 0x8d, 0x87, 0xb0, 0x56, 0x24, 0x0f, 0xf5, 0x4b, 0x6e, + 0x25, 0x9b, 0x78, 0x6b, 0x01, 0x2f, 0x9b, 0xdf, 0x41, 0x5b, 0x73, 0x13, 0xdd, 0xab, 0xf7, 0xb8, + 0xb8, 0xe6, 0xfe, 0x75, 0x01, 0xb0, 0x96, 0x90, 0x0b, 0xad, 0x52, 0x72, 0xb4, 0x5d, 0x31, 0x52, + 0xb7, 0x0c, 0xe3, 0xba, 0x92, 0xba, 0xe5, 0xe8, 0xd5, 0xe7, 0xc3, 0x73, 0xca, 0x2f, 0xb2, 0x91, + 0x1d, 0xc6, 0xdf, 0x9c, 0x49, 0x36, 0x22, 0x69, 0x44, 0x38, 0x61, 0xfb, 0x21, 0xa3, 0x4e, 0xc8, + 0xe8, 0x7e, 0x92, 0xc6, 0x3f, 0x66, 0x4e, 0x38, 0xa5, 0x24, 0xe2, 0xe2, 0xf9, 0x74, 0xf4, 0xf7, + 0x74, 0xb4, 0x96, 0x3f, 0xa6, 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb4, 0x44, 0xda, + 0x66, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // DiskClient is the client API for Disk service. // @@ -914,15 +564,14 @@ type DiskClient interface { Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(ctx context.Context, in *ListDiskIDsRequest, opts ...grpc.CallOption) (*ListDiskIDsResponse, error) - // DiskStats returns the stats for the disk DiskStats(ctx context.Context, in *DiskStatsRequest, opts ...grpc.CallOption) (*DiskStatsResponse, error) } type diskClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewDiskClient(cc grpc.ClientConnInterface) DiskClient { +func NewDiskClient(cc *grpc.ClientConn) DiskClient { return &diskClient{cc} } @@ -983,7 +632,6 @@ type DiskServer interface { Rescan(context.Context, *RescanRequest) (*RescanResponse, error) // ListDiskIDs returns a map of DiskID objects where the key is the disk number ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) - // DiskStats returns the stats for the disk DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) } @@ -991,19 +639,19 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } @@ -1127,5 +775,5 @@ var _Disk_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta1/api.proto", + Metadata: "disk/v1beta1/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go index 9a5dfa77..27324f1e 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.pb.go @@ -1,1165 +1,716 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto package v1beta2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListDiskLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsRequest) Reset() { - *x = ListDiskLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) Reset() { *m = ListDiskLocationsRequest{} } +func (m *ListDiskLocationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsRequest) ProtoMessage() {} +func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{0} } -func (x *ListDiskLocationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsRequest.Unmarshal(m, b) } - -func (*ListDiskLocationsRequest) ProtoMessage() {} - -func (x *ListDiskLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *ListDiskLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsRequest.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{0} +func (m *ListDiskLocationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsRequest.Merge(m, src) } - -type DiskLocation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` - Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` - Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` - LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` -} - -func (x *DiskLocation) Reset() { - *x = DiskLocation{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsRequest.Size(m) } - -func (x *DiskLocation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsRequest.DiscardUnknown(m) } -func (*DiskLocation) ProtoMessage() {} +var xxx_messageInfo_ListDiskLocationsRequest proto.InternalMessageInfo -func (x *DiskLocation) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +type DiskLocation struct { + Adapter string `protobuf:"bytes,1,opt,name=Adapter,proto3" json:"Adapter,omitempty"` + Bus string `protobuf:"bytes,2,opt,name=Bus,proto3" json:"Bus,omitempty"` + Target string `protobuf:"bytes,3,opt,name=Target,proto3" json:"Target,omitempty"` + LUNID string `protobuf:"bytes,4,opt,name=LUNID,proto3" json:"LUNID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiskLocation) Reset() { *m = DiskLocation{} } +func (m *DiskLocation) String() string { return proto.CompactTextString(m) } +func (*DiskLocation) ProtoMessage() {} +func (*DiskLocation) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{1} } -// Deprecated: Use DiskLocation.ProtoReflect.Descriptor instead. -func (*DiskLocation) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{1} +func (m *DiskLocation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskLocation.Unmarshal(m, b) +} +func (m *DiskLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskLocation.Marshal(b, m, deterministic) +} +func (m *DiskLocation) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskLocation.Merge(m, src) +} +func (m *DiskLocation) XXX_Size() int { + return xxx_messageInfo_DiskLocation.Size(m) +} +func (m *DiskLocation) XXX_DiscardUnknown() { + xxx_messageInfo_DiskLocation.DiscardUnknown(m) } -func (x *DiskLocation) GetAdapter() string { - if x != nil { - return x.Adapter +var xxx_messageInfo_DiskLocation proto.InternalMessageInfo + +func (m *DiskLocation) GetAdapter() string { + if m != nil { + return m.Adapter } return "" } -func (x *DiskLocation) GetBus() string { - if x != nil { - return x.Bus +func (m *DiskLocation) GetBus() string { + if m != nil { + return m.Bus } return "" } -func (x *DiskLocation) GetTarget() string { - if x != nil { - return x.Target +func (m *DiskLocation) GetTarget() string { + if m != nil { + return m.Target } return "" } -func (x *DiskLocation) GetLUNID() string { - if x != nil { - return x.LUNID +func (m *DiskLocation) GetLUNID() string { + if m != nil { + return m.LUNID } return "" } type ListDiskLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device IDs and associated with each disk device - DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskLocations map[string]*DiskLocation `protobuf:"bytes,1,rep,name=disk_locations,json=diskLocations,proto3" json:"disk_locations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskLocationsResponse) Reset() { - *x = ListDiskLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskLocationsResponse) Reset() { *m = ListDiskLocationsResponse{} } +func (m *ListDiskLocationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskLocationsResponse) ProtoMessage() {} +func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{2} } -func (x *ListDiskLocationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskLocationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskLocationsResponse.Unmarshal(m, b) } - -func (*ListDiskLocationsResponse) ProtoMessage() {} - -func (x *ListDiskLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *ListDiskLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskLocationsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskLocationsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskLocationsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{2} +func (m *ListDiskLocationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskLocationsResponse.Merge(m, src) +} +func (m *ListDiskLocationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskLocationsResponse.Size(m) +} +func (m *ListDiskLocationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskLocationsResponse.DiscardUnknown(m) } -func (x *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { - if x != nil { - return x.DiskLocations +var xxx_messageInfo_ListDiskLocationsResponse proto.InternalMessageInfo + +func (m *ListDiskLocationsResponse) GetDiskLocations() map[string]*DiskLocation { + if m != nil { + return m.DiskLocations } return nil } type PartitionDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to partition - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskRequest) Reset() { - *x = PartitionDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskRequest) Reset() { *m = PartitionDiskRequest{} } +func (m *PartitionDiskRequest) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskRequest) ProtoMessage() {} +func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{3} } -func (x *PartitionDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskRequest.Unmarshal(m, b) } - -func (*PartitionDiskRequest) ProtoMessage() {} - -func (x *PartitionDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskRequest.ProtoReflect.Descriptor instead. -func (*PartitionDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{3} +func (m *PartitionDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskRequest.Merge(m, src) +} +func (m *PartitionDiskRequest) XXX_Size() int { + return xxx_messageInfo_PartitionDiskRequest.Size(m) } +func (m *PartitionDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionDiskRequest proto.InternalMessageInfo -func (x *PartitionDiskRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *PartitionDiskRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type PartitionDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PartitionDiskResponse) Reset() { - *x = PartitionDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PartitionDiskResponse) Reset() { *m = PartitionDiskResponse{} } +func (m *PartitionDiskResponse) String() string { return proto.CompactTextString(m) } +func (*PartitionDiskResponse) ProtoMessage() {} +func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{4} } -func (x *PartitionDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionDiskResponse.Unmarshal(m, b) } - -func (*PartitionDiskResponse) ProtoMessage() {} - -func (x *PartitionDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PartitionDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PartitionDiskResponse.ProtoReflect.Descriptor instead. -func (*PartitionDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{4} +func (m *PartitionDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionDiskResponse.Merge(m, src) } - -type RescanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *PartitionDiskResponse) XXX_Size() int { + return xxx_messageInfo_PartitionDiskResponse.Size(m) } - -func (x *RescanRequest) Reset() { - *x = RescanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RescanRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PartitionDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionDiskResponse.DiscardUnknown(m) } -func (*RescanRequest) ProtoMessage() {} +var xxx_messageInfo_PartitionDiskResponse proto.InternalMessageInfo -func (x *RescanRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead. +func (m *RescanRequest) Reset() { *m = RescanRequest{} } +func (m *RescanRequest) String() string { return proto.CompactTextString(m) } +func (*RescanRequest) ProtoMessage() {} func (*RescanRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{5} + return fileDescriptor_b8298108b4474af1, []int{5} } -type RescanResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanRequest.Unmarshal(m, b) } - -func (x *RescanResponse) Reset() { - *x = RescanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanRequest.Marshal(b, m, deterministic) } - -func (x *RescanResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanRequest.Merge(m, src) +} +func (m *RescanRequest) XXX_Size() int { + return xxx_messageInfo_RescanRequest.Size(m) +} +func (m *RescanRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RescanRequest.DiscardUnknown(m) } -func (*RescanResponse) ProtoMessage() {} +var xxx_messageInfo_RescanRequest proto.InternalMessageInfo -func (x *RescanResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type RescanResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use RescanResponse.ProtoReflect.Descriptor instead. +func (m *RescanResponse) Reset() { *m = RescanResponse{} } +func (m *RescanResponse) String() string { return proto.CompactTextString(m) } +func (*RescanResponse) ProtoMessage() {} func (*RescanResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{6} + return fileDescriptor_b8298108b4474af1, []int{6} } -type ListDiskIDsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *RescanResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RescanResponse.Unmarshal(m, b) } - -func (x *ListDiskIDsRequest) Reset() { - *x = ListDiskIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RescanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RescanResponse.Marshal(b, m, deterministic) } - -func (x *ListDiskIDsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RescanResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RescanResponse.Merge(m, src) +} +func (m *RescanResponse) XXX_Size() int { + return xxx_messageInfo_RescanResponse.Size(m) +} +func (m *RescanResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RescanResponse.DiscardUnknown(m) } -func (*ListDiskIDsRequest) ProtoMessage() {} +var xxx_messageInfo_RescanResponse proto.InternalMessageInfo -func (x *ListDiskIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type ListDiskIDsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use ListDiskIDsRequest.ProtoReflect.Descriptor instead. +func (m *ListDiskIDsRequest) Reset() { *m = ListDiskIDsRequest{} } +func (m *ListDiskIDsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsRequest) ProtoMessage() {} func (*ListDiskIDsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{7} + return fileDescriptor_b8298108b4474af1, []int{7} } -type DiskIDs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Map of Disk ID types and Disk ID values - Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +func (m *ListDiskIDsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsRequest.Unmarshal(m, b) } - -func (x *DiskIDs) Reset() { - *x = DiskIDs{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsRequest.Marshal(b, m, deterministic) } - -func (x *DiskIDs) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsRequest.Merge(m, src) +} +func (m *ListDiskIDsRequest) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsRequest.Size(m) +} +func (m *ListDiskIDsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsRequest.DiscardUnknown(m) } -func (*DiskIDs) ProtoMessage() {} +var xxx_messageInfo_ListDiskIDsRequest proto.InternalMessageInfo -func (x *DiskIDs) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type DiskIDs struct { + // Map of Disk ID types and Disk ID values + Identifiers map[string]string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use DiskIDs.ProtoReflect.Descriptor instead. +func (m *DiskIDs) Reset() { *m = DiskIDs{} } +func (m *DiskIDs) String() string { return proto.CompactTextString(m) } +func (*DiskIDs) ProtoMessage() {} func (*DiskIDs) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{8} + return fileDescriptor_b8298108b4474af1, []int{8} } -func (x *DiskIDs) GetIdentifiers() map[string]string { - if x != nil { - return x.Identifiers +func (m *DiskIDs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskIDs.Unmarshal(m, b) +} +func (m *DiskIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskIDs.Marshal(b, m, deterministic) +} +func (m *DiskIDs) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskIDs.Merge(m, src) +} +func (m *DiskIDs) XXX_Size() int { + return xxx_messageInfo_DiskIDs.Size(m) +} +func (m *DiskIDs) XXX_DiscardUnknown() { + xxx_messageInfo_DiskIDs.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskIDs proto.InternalMessageInfo + +func (m *DiskIDs) GetIdentifiers() map[string]string { + if m != nil { + return m.Identifiers } return nil } type ListDiskIDsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Map of disk device numbers and IDs associated with each disk device - DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DiskIDs map[string]*DiskIDs `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListDiskIDsResponse) Reset() { - *x = ListDiskIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListDiskIDsResponse) Reset() { *m = ListDiskIDsResponse{} } +func (m *ListDiskIDsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDiskIDsResponse) ProtoMessage() {} +func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{9} } -func (x *ListDiskIDsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListDiskIDsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDiskIDsResponse.Unmarshal(m, b) } - -func (*ListDiskIDsResponse) ProtoMessage() {} - -func (x *ListDiskIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListDiskIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDiskIDsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListDiskIDsResponse.ProtoReflect.Descriptor instead. -func (*ListDiskIDsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{9} +func (m *ListDiskIDsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskIDsResponse.Merge(m, src) +} +func (m *ListDiskIDsResponse) XXX_Size() int { + return xxx_messageInfo_ListDiskIDsResponse.Size(m) } +func (m *ListDiskIDsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDiskIDsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDiskIDsResponse proto.InternalMessageInfo -func (x *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { - if x != nil { - return x.DiskIDs +func (m *ListDiskIDsResponse) GetDiskIDs() map[string]*DiskIDs { + if m != nil { + return m.DiskIDs } return nil } type DiskStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID of the disk to get the size from - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsRequest) Reset() { - *x = DiskStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsRequest) Reset() { *m = DiskStatsRequest{} } +func (m *DiskStatsRequest) String() string { return proto.CompactTextString(m) } +func (*DiskStatsRequest) ProtoMessage() {} +func (*DiskStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{10} } -func (x *DiskStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsRequest.Unmarshal(m, b) } - -func (*DiskStatsRequest) ProtoMessage() {} - -func (x *DiskStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiskStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsRequest.ProtoReflect.Descriptor instead. -func (*DiskStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{10} +func (m *DiskStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsRequest.Merge(m, src) } +func (m *DiskStatsRequest) XXX_Size() int { + return xxx_messageInfo_DiskStatsRequest.Size(m) +} +func (m *DiskStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsRequest proto.InternalMessageInfo -func (x *DiskStatsRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *DiskStatsRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type DiskStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - //Total size of the volume - DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + DiskSize int64 `protobuf:"varint,1,opt,name=diskSize,proto3" json:"diskSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiskStatsResponse) Reset() { - *x = DiskStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiskStatsResponse) Reset() { *m = DiskStatsResponse{} } +func (m *DiskStatsResponse) String() string { return proto.CompactTextString(m) } +func (*DiskStatsResponse) ProtoMessage() {} +func (*DiskStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{11} } -func (x *DiskStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiskStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiskStatsResponse.Unmarshal(m, b) } - -func (*DiskStatsResponse) ProtoMessage() {} - -func (x *DiskStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *DiskStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiskStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiskStatsResponse.ProtoReflect.Descriptor instead. -func (*DiskStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{11} +func (m *DiskStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskStatsResponse.Merge(m, src) } +func (m *DiskStatsResponse) XXX_Size() int { + return xxx_messageInfo_DiskStatsResponse.Size(m) +} +func (m *DiskStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiskStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiskStatsResponse proto.InternalMessageInfo -func (x *DiskStatsResponse) GetDiskSize() int64 { - if x != nil { - return x.DiskSize +func (m *DiskStatsResponse) GetDiskSize() int64 { + if m != nil { + return m.DiskSize } return 0 } type SetAttachStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Disk device ID (number) of the disk which state will change DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` // Online state to set for the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + IsOnline bool `protobuf:"varint,2,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetAttachStateRequest) Reset() { - *x = SetAttachStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetAttachStateRequest) Reset() { *m = SetAttachStateRequest{} } +func (m *SetAttachStateRequest) String() string { return proto.CompactTextString(m) } +func (*SetAttachStateRequest) ProtoMessage() {} +func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{12} } -func (x *SetAttachStateRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetAttachStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetAttachStateRequest.Unmarshal(m, b) } - -func (*SetAttachStateRequest) ProtoMessage() {} - -func (x *SetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_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) +func (m *SetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetAttachStateRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use SetAttachStateRequest.ProtoReflect.Descriptor instead. -func (*SetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{12} +func (m *SetAttachStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAttachStateRequest.Merge(m, src) } +func (m *SetAttachStateRequest) XXX_Size() int { + return xxx_messageInfo_SetAttachStateRequest.Size(m) +} +func (m *SetAttachStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetAttachStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetAttachStateRequest proto.InternalMessageInfo -func (x *SetAttachStateRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *SetAttachStateRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } -func (x *SetAttachStateRequest) GetIsOnline() bool { - if x != nil { - return x.IsOnline +func (m *SetAttachStateRequest) GetIsOnline() bool { + if m != nil { + return m.IsOnline } return false } type SetAttachStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetAttachStateResponse) Reset() { - *x = SetAttachStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetAttachStateResponse) Reset() { *m = SetAttachStateResponse{} } +func (m *SetAttachStateResponse) String() string { return proto.CompactTextString(m) } +func (*SetAttachStateResponse) ProtoMessage() {} +func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{13} } -func (x *SetAttachStateResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetAttachStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetAttachStateResponse.Unmarshal(m, b) } - -func (*SetAttachStateResponse) ProtoMessage() {} - -func (x *SetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetAttachStateResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use SetAttachStateResponse.ProtoReflect.Descriptor instead. -func (*SetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{13} +func (m *SetAttachStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAttachStateResponse.Merge(m, src) +} +func (m *SetAttachStateResponse) XXX_Size() int { + return xxx_messageInfo_SetAttachStateResponse.Size(m) +} +func (m *SetAttachStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetAttachStateResponse.DiscardUnknown(m) } -type GetAttachStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_SetAttachStateResponse proto.InternalMessageInfo +type GetAttachStateRequest struct { // Disk device ID (number) of the disk - DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + DiskID string `protobuf:"bytes,1,opt,name=diskID,proto3" json:"diskID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAttachStateRequest) Reset() { - *x = GetAttachStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetAttachStateRequest) Reset() { *m = GetAttachStateRequest{} } +func (m *GetAttachStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetAttachStateRequest) ProtoMessage() {} +func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{14} } -func (x *GetAttachStateRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetAttachStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAttachStateRequest.Unmarshal(m, b) } - -func (*GetAttachStateRequest) ProtoMessage() {} - -func (x *GetAttachStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetAttachStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAttachStateRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetAttachStateRequest.ProtoReflect.Descriptor instead. -func (*GetAttachStateRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{14} +func (m *GetAttachStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAttachStateRequest.Merge(m, src) } +func (m *GetAttachStateRequest) XXX_Size() int { + return xxx_messageInfo_GetAttachStateRequest.Size(m) +} +func (m *GetAttachStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAttachStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAttachStateRequest proto.InternalMessageInfo -func (x *GetAttachStateRequest) GetDiskID() string { - if x != nil { - return x.DiskID +func (m *GetAttachStateRequest) GetDiskID() string { + if m != nil { + return m.DiskID } return "" } type GetAttachStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Online state of the disk. true for online, false for offline - IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAttachStateResponse) Reset() { - *x = GetAttachStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetAttachStateResponse) Reset() { *m = GetAttachStateResponse{} } +func (m *GetAttachStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetAttachStateResponse) ProtoMessage() {} +func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b8298108b4474af1, []int{15} } -func (x *GetAttachStateResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetAttachStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAttachStateResponse.Unmarshal(m, b) } - -func (*GetAttachStateResponse) ProtoMessage() {} - -func (x *GetAttachStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15] - 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) +func (m *GetAttachStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAttachStateResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetAttachStateResponse.ProtoReflect.Descriptor instead. -func (*GetAttachStateResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP(), []int{15} +func (m *GetAttachStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAttachStateResponse.Merge(m, src) } +func (m *GetAttachStateResponse) XXX_Size() int { + return xxx_messageInfo_GetAttachStateResponse.Size(m) +} +func (m *GetAttachStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAttachStateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAttachStateResponse proto.InternalMessageInfo -func (x *GetAttachStateResponse) GetIsOnline() bool { - if x != nil { - return x.IsOnline +func (m *GetAttachStateResponse) GetIsOnline() bool { + if m != nil { + return m.IsOnline } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x0c, - 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, - 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x42, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x4c, 0x55, 0x4e, 0x49, 0x44, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x1a, 0x57, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x14, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8e, 0x01, - 0x0a, 0x07, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x1a, 0x3e, - 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa8, - 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x1a, 0x4c, 0x0a, 0x0c, 0x44, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x10, 0x44, 0x69, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, - 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x69, - 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, - 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, - 0x69, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, - 0x15, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x22, 0x34, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, - 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, - 0x6c, 0x69, 0x6e, 0x65, 0x32, 0xaf, 0x04, 0x0a, 0x04, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x5c, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0d, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x1d, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 0x0a, - 0x06, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x17, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, - 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, - 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, - 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2f, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = []interface{}{ - (*ListDiskLocationsRequest)(nil), // 0: v1beta2.ListDiskLocationsRequest - (*DiskLocation)(nil), // 1: v1beta2.DiskLocation - (*ListDiskLocationsResponse)(nil), // 2: v1beta2.ListDiskLocationsResponse - (*PartitionDiskRequest)(nil), // 3: v1beta2.PartitionDiskRequest - (*PartitionDiskResponse)(nil), // 4: v1beta2.PartitionDiskResponse - (*RescanRequest)(nil), // 5: v1beta2.RescanRequest - (*RescanResponse)(nil), // 6: v1beta2.RescanResponse - (*ListDiskIDsRequest)(nil), // 7: v1beta2.ListDiskIDsRequest - (*DiskIDs)(nil), // 8: v1beta2.DiskIDs - (*ListDiskIDsResponse)(nil), // 9: v1beta2.ListDiskIDsResponse - (*DiskStatsRequest)(nil), // 10: v1beta2.DiskStatsRequest - (*DiskStatsResponse)(nil), // 11: v1beta2.DiskStatsResponse - (*SetAttachStateRequest)(nil), // 12: v1beta2.SetAttachStateRequest - (*SetAttachStateResponse)(nil), // 13: v1beta2.SetAttachStateResponse - (*GetAttachStateRequest)(nil), // 14: v1beta2.GetAttachStateRequest - (*GetAttachStateResponse)(nil), // 15: v1beta2.GetAttachStateResponse - nil, // 16: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry - nil, // 17: v1beta2.DiskIDs.IdentifiersEntry - nil, // 18: v1beta2.ListDiskIDsResponse.DiskIDsEntry -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = []int32{ - 16, // 0: v1beta2.ListDiskLocationsResponse.disk_locations:type_name -> v1beta2.ListDiskLocationsResponse.DiskLocationsEntry - 17, // 1: v1beta2.DiskIDs.identifiers:type_name -> v1beta2.DiskIDs.IdentifiersEntry - 18, // 2: v1beta2.ListDiskIDsResponse.diskIDs:type_name -> v1beta2.ListDiskIDsResponse.DiskIDsEntry - 1, // 3: v1beta2.ListDiskLocationsResponse.DiskLocationsEntry.value:type_name -> v1beta2.DiskLocation - 8, // 4: v1beta2.ListDiskIDsResponse.DiskIDsEntry.value:type_name -> v1beta2.DiskIDs - 0, // 5: v1beta2.Disk.ListDiskLocations:input_type -> v1beta2.ListDiskLocationsRequest - 3, // 6: v1beta2.Disk.PartitionDisk:input_type -> v1beta2.PartitionDiskRequest - 5, // 7: v1beta2.Disk.Rescan:input_type -> v1beta2.RescanRequest - 7, // 8: v1beta2.Disk.ListDiskIDs:input_type -> v1beta2.ListDiskIDsRequest - 10, // 9: v1beta2.Disk.DiskStats:input_type -> v1beta2.DiskStatsRequest - 12, // 10: v1beta2.Disk.SetAttachState:input_type -> v1beta2.SetAttachStateRequest - 14, // 11: v1beta2.Disk.GetAttachState:input_type -> v1beta2.GetAttachStateRequest - 2, // 12: v1beta2.Disk.ListDiskLocations:output_type -> v1beta2.ListDiskLocationsResponse - 4, // 13: v1beta2.Disk.PartitionDisk:output_type -> v1beta2.PartitionDiskResponse - 6, // 14: v1beta2.Disk.Rescan:output_type -> v1beta2.RescanResponse - 9, // 15: v1beta2.Disk.ListDiskIDs:output_type -> v1beta2.ListDiskIDsResponse - 11, // 16: v1beta2.Disk.DiskStats:output_type -> v1beta2.DiskStatsResponse - 13, // 17: v1beta2.Disk.SetAttachState:output_type -> v1beta2.SetAttachStateResponse - 15, // 18: v1beta2.Disk.GetAttachState:output_type -> v1beta2.GetAttachStateResponse - 12, // [12:19] is the sub-list for method output_type - 5, // [5:12] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskLocation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RescanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskIDs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDiskIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAttachStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAttachStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAttachStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAttachStateResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 19, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_disk_v1beta2_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListDiskLocationsRequest)(nil), "v1beta2.ListDiskLocationsRequest") + proto.RegisterType((*DiskLocation)(nil), "v1beta2.DiskLocation") + proto.RegisterType((*ListDiskLocationsResponse)(nil), "v1beta2.ListDiskLocationsResponse") + proto.RegisterMapType((map[string]*DiskLocation)(nil), "v1beta2.ListDiskLocationsResponse.DiskLocationsEntry") + proto.RegisterType((*PartitionDiskRequest)(nil), "v1beta2.PartitionDiskRequest") + proto.RegisterType((*PartitionDiskResponse)(nil), "v1beta2.PartitionDiskResponse") + proto.RegisterType((*RescanRequest)(nil), "v1beta2.RescanRequest") + proto.RegisterType((*RescanResponse)(nil), "v1beta2.RescanResponse") + proto.RegisterType((*ListDiskIDsRequest)(nil), "v1beta2.ListDiskIDsRequest") + proto.RegisterType((*DiskIDs)(nil), "v1beta2.DiskIDs") + proto.RegisterMapType((map[string]string)(nil), "v1beta2.DiskIDs.IdentifiersEntry") + proto.RegisterType((*ListDiskIDsResponse)(nil), "v1beta2.ListDiskIDsResponse") + proto.RegisterMapType((map[string]*DiskIDs)(nil), "v1beta2.ListDiskIDsResponse.DiskIDsEntry") + proto.RegisterType((*DiskStatsRequest)(nil), "v1beta2.DiskStatsRequest") + proto.RegisterType((*DiskStatsResponse)(nil), "v1beta2.DiskStatsResponse") + proto.RegisterType((*SetAttachStateRequest)(nil), "v1beta2.SetAttachStateRequest") + proto.RegisterType((*SetAttachStateResponse)(nil), "v1beta2.SetAttachStateResponse") + proto.RegisterType((*GetAttachStateRequest)(nil), "v1beta2.GetAttachStateRequest") + proto.RegisterType((*GetAttachStateResponse)(nil), "v1beta2.GetAttachStateResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta2/api.proto", fileDescriptor_b8298108b4474af1) +} + +var fileDescriptor_b8298108b4474af1 = []byte{ + // 647 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xd3, 0x4c, + 0x10, 0xad, 0x9b, 0xb6, 0x69, 0x27, 0x5f, 0xf3, 0xa5, 0x4b, 0x92, 0xba, 0xe6, 0xaf, 0xdd, 0x0b, + 0x54, 0x40, 0xb5, 0x45, 0x00, 0x09, 0x51, 0x81, 0xd4, 0xd6, 0x55, 0x14, 0x88, 0xa0, 0x72, 0x40, + 0x48, 0xa8, 0x12, 0x72, 0x9c, 0xa5, 0x59, 0x25, 0xd8, 0xc1, 0xbb, 0xa9, 0x08, 0x0f, 0xc1, 0x73, + 0x70, 0xc7, 0xbb, 0xf0, 0x44, 0x68, 0xed, 0xb5, 0xbb, 0x4e, 0x9c, 0x46, 0x88, 0x3b, 0xcf, 0x99, + 0x99, 0xb3, 0x67, 0xfe, 0x64, 0x38, 0xbd, 0xa0, 0xbc, 0x3f, 0xee, 0x9a, 0x5e, 0xf0, 0xc5, 0x1a, + 0x8c, 0xbb, 0x24, 0xf4, 0x09, 0x27, 0xec, 0xc0, 0x63, 0xd4, 0xf2, 0x18, 0x3d, 0x18, 0x85, 0xc1, + 0xb7, 0x89, 0xe5, 0x0d, 0x29, 0xf1, 0xb9, 0xe5, 0x8e, 0xa8, 0xd5, 0xa3, 0x6c, 0x60, 0x5d, 0x3e, + 0xea, 0x12, 0xee, 0x36, 0x04, 0x60, 0x8e, 0xc2, 0x80, 0x07, 0xa8, 0x28, 0x21, 0x6c, 0x80, 0xde, + 0xa6, 0x8c, 0xdb, 0x94, 0x0d, 0xda, 0x81, 0xe7, 0x72, 0x1a, 0xf8, 0xcc, 0x21, 0x5f, 0xc7, 0x84, + 0x71, 0xdc, 0x87, 0xff, 0x54, 0x1c, 0xe9, 0x50, 0x3c, 0xea, 0xb9, 0x23, 0x4e, 0x42, 0x5d, 0xdb, + 0xd5, 0xf6, 0x37, 0x9c, 0xc4, 0x44, 0x15, 0x28, 0x1c, 0x8f, 0x99, 0xbe, 0x1c, 0xa1, 0xe2, 0x13, + 0xd5, 0x61, 0xed, 0x9d, 0x1b, 0x5e, 0x10, 0xae, 0x17, 0x22, 0x50, 0x5a, 0xa8, 0x0a, 0xab, 0xed, + 0xf7, 0x6f, 0x5a, 0xb6, 0xbe, 0x12, 0xc1, 0xb1, 0x81, 0x7f, 0x6b, 0xb0, 0x93, 0x23, 0x83, 0x8d, + 0x02, 0x9f, 0x11, 0x74, 0x0e, 0x65, 0x51, 0xc6, 0xa7, 0x61, 0xe2, 0xd1, 0xb5, 0xdd, 0xc2, 0x7e, + 0xa9, 0xf1, 0xd4, 0x94, 0x55, 0x98, 0x73, 0x73, 0xcd, 0x0c, 0x7a, 0xea, 0xf3, 0x70, 0xe2, 0x6c, + 0xf6, 0x54, 0xcc, 0xf8, 0x00, 0x68, 0x36, 0x48, 0x54, 0x34, 0x20, 0x13, 0x59, 0xa7, 0xf8, 0x44, + 0x0f, 0x61, 0xf5, 0xd2, 0x1d, 0x8e, 0x49, 0x54, 0x65, 0xa9, 0x51, 0x4b, 0x1f, 0x57, 0xb3, 0x9d, + 0x38, 0xe6, 0xf9, 0xf2, 0x33, 0x0d, 0x9b, 0x50, 0x3d, 0x73, 0x43, 0x4e, 0x05, 0x2e, 0x62, 0x64, + 0x5b, 0x45, 0x6b, 0x84, 0x82, 0x96, 0x2d, 0xd9, 0xa5, 0x85, 0xb7, 0xa1, 0x36, 0x15, 0x1f, 0xd7, + 0x80, 0xff, 0x87, 0x4d, 0x87, 0x30, 0xcf, 0xf5, 0x93, 0xc1, 0x54, 0xa0, 0x9c, 0x00, 0x32, 0xa4, + 0x0a, 0x28, 0xe9, 0x41, 0xcb, 0x4e, 0x07, 0xf8, 0x43, 0x83, 0xa2, 0x84, 0xd0, 0x09, 0x94, 0x68, + 0x8f, 0xf8, 0x9c, 0x7e, 0xa6, 0x24, 0x4c, 0x3a, 0xb8, 0x97, 0x29, 0xa2, 0x65, 0x33, 0xb3, 0x75, + 0x15, 0x13, 0x77, 0x4b, 0xcd, 0x32, 0x5e, 0x42, 0x65, 0x3a, 0x20, 0xa7, 0x53, 0x55, 0xb5, 0x53, + 0x1b, 0x6a, 0x4b, 0x7e, 0x6a, 0x70, 0x23, 0xa3, 0x53, 0x4e, 0xf8, 0x04, 0x8a, 0x71, 0x13, 0x12, + 0x61, 0xf7, 0x67, 0x46, 0xab, 0x84, 0x27, 0x62, 0x63, 0x81, 0x49, 0xa6, 0xd1, 0x8e, 0xd7, 0x35, + 0x71, 0xe4, 0x08, 0xbb, 0x97, 0x1d, 0x61, 0x65, 0xba, 0x7a, 0x55, 0xea, 0x03, 0xa8, 0x08, 0xb4, + 0xc3, 0x5d, 0xce, 0x16, 0x4d, 0xce, 0x82, 0x2d, 0x25, 0x56, 0xd6, 0x64, 0xc0, 0xba, 0x70, 0x77, + 0xe8, 0x77, 0x12, 0x85, 0x17, 0x9c, 0xd4, 0xc6, 0xaf, 0xa1, 0xd6, 0x21, 0xfc, 0x88, 0x73, 0xd7, + 0xeb, 0x8b, 0x2c, 0xb2, 0xe0, 0x05, 0x41, 0x46, 0xd9, 0x5b, 0x7f, 0x48, 0xfd, 0x58, 0xfc, 0xba, + 0x93, 0xda, 0x58, 0x87, 0xfa, 0x34, 0x99, 0xdc, 0x0a, 0x0b, 0x6a, 0xcd, 0xbf, 0x79, 0x06, 0x3f, + 0x81, 0x7a, 0x33, 0x97, 0x2a, 0x23, 0x40, 0xcb, 0x0a, 0x68, 0xfc, 0x5a, 0x81, 0x15, 0x51, 0x3f, + 0x3a, 0x87, 0xad, 0x99, 0x4b, 0x44, 0x7b, 0xd7, 0x5d, 0x69, 0x24, 0xc7, 0xc0, 0x8b, 0x0f, 0x19, + 0x2f, 0xa1, 0x33, 0xd8, 0xcc, 0xdc, 0x07, 0xba, 0x9d, 0xa6, 0xe5, 0xdd, 0x99, 0x71, 0x67, 0x9e, + 0x3b, 0x65, 0x3c, 0x84, 0xb5, 0xf8, 0x8e, 0x50, 0x3d, 0x8d, 0xcd, 0x5c, 0x9a, 0xb1, 0x3d, 0x83, + 0xa7, 0xc9, 0xaf, 0xa0, 0xa4, 0xec, 0x26, 0xba, 0x99, 0xbf, 0xb1, 0x31, 0xcd, 0xad, 0xeb, 0xd6, + 0x19, 0x2f, 0x21, 0x1b, 0x36, 0xd2, 0x05, 0x42, 0x3b, 0x99, 0xb5, 0x54, 0x17, 0xd0, 0x30, 0xf2, + 0x5c, 0x29, 0x4b, 0x07, 0xca, 0xd9, 0x45, 0x40, 0x57, 0x2d, 0xc8, 0x5d, 0x37, 0xe3, 0xee, 0x5c, + 0xbf, 0x4a, 0xda, 0x9c, 0x47, 0xda, 0x5c, 0x40, 0xda, 0x9c, 0x43, 0x7a, 0xfc, 0xe2, 0xe3, 0xe1, + 0x3f, 0xfc, 0xc7, 0xba, 0x6b, 0xd1, 0x4f, 0xec, 0xf1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, + 0x06, 0xb4, 0xd5, 0x0d, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1287,25 +838,25 @@ type DiskServer interface { type UnimplementedDiskServer struct { } -func (*UnimplementedDiskServer) ListDiskLocations(context.Context, *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { +func (*UnimplementedDiskServer) ListDiskLocations(ctx context.Context, req *ListDiskLocationsRequest) (*ListDiskLocationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskLocations not implemented") } -func (*UnimplementedDiskServer) PartitionDisk(context.Context, *PartitionDiskRequest) (*PartitionDiskResponse, error) { +func (*UnimplementedDiskServer) PartitionDisk(ctx context.Context, req *PartitionDiskRequest) (*PartitionDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PartitionDisk not implemented") } -func (*UnimplementedDiskServer) Rescan(context.Context, *RescanRequest) (*RescanResponse, error) { +func (*UnimplementedDiskServer) Rescan(ctx context.Context, req *RescanRequest) (*RescanResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedDiskServer) ListDiskIDs(context.Context, *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { +func (*UnimplementedDiskServer) ListDiskIDs(ctx context.Context, req *ListDiskIDsRequest) (*ListDiskIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDiskIDs not implemented") } -func (*UnimplementedDiskServer) DiskStats(context.Context, *DiskStatsRequest) (*DiskStatsResponse, error) { +func (*UnimplementedDiskServer) DiskStats(ctx context.Context, req *DiskStatsRequest) (*DiskStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStats not implemented") } -func (*UnimplementedDiskServer) SetAttachState(context.Context, *SetAttachStateRequest) (*SetAttachStateResponse, error) { +func (*UnimplementedDiskServer) SetAttachState(ctx context.Context, req *SetAttachStateRequest) (*SetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAttachState not implemented") } -func (*UnimplementedDiskServer) GetAttachState(context.Context, *GetAttachStateRequest) (*GetAttachStateResponse, error) { +func (*UnimplementedDiskServer) GetAttachState(ctx context.Context, req *GetAttachStateRequest) (*GetAttachStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAttachState not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go index 15806ce0..9d10268b 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Context of the paths used for path prefix validation type PathContext int32 @@ -40,165 +40,124 @@ const ( PathContext_POD PathContext = 1 ) -// Enum value maps for PathContext. -var ( - PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", - } - PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, - } -) - -func (x PathContext) Enum() *PathContext { - p := new(PathContext) - *p = x - return p +var PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", } -func (x PathContext) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0].Descriptor() -} - -func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes[0] +var PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, } -func (x PathContext) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x PathContext) String() string { + return proto.EnumName(PathContext_name, int32(x)) } -// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_78274760fcbff95c, []int{0} } type PathExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsRequest) Reset() { - *x = PathExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } +func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } +func (*PathExistsRequest) ProtoMessage() {} +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{0} } -func (x *PathExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) } - -func (*PathExistsRequest) ProtoMessage() {} - -func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *PathExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsRequest.Merge(m, src) +} +func (m *PathExistsRequest) XXX_Size() int { + return xxx_messageInfo_PathExistsRequest.Size(m) +} +func (m *PathExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) } -func (x *PathExistsRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo + +func (m *PathExistsRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *PathExistsRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *PathExistsRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type PathExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsResponse) Reset() { - *x = PathExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } +func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } +func (*PathExistsResponse) ProtoMessage() {} +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{1} } -func (x *PathExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) } - -func (*PathExistsResponse) ProtoMessage() {} - -func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *PathExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsResponse.Merge(m, src) +} +func (m *PathExistsResponse) XXX_Size() int { + return xxx_messageInfo_PathExistsResponse.Size(m) +} +func (m *PathExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) } -func (x *PathExistsResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo + +func (m *PathExistsResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *PathExistsResponse) GetExists() bool { - if x != nil { - return x.Exists +func (m *PathExistsResponse) GetExists() bool { + if m != nil { + return m.Exists } return false } type MkdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -220,108 +179,92 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirRequest) Reset() { - *x = MkdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } +func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } +func (*MkdirRequest) ProtoMessage() {} +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{2} } -func (x *MkdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) } - -func (*MkdirRequest) ProtoMessage() {} - -func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_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) +func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *MkdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirRequest.Merge(m, src) +} +func (m *MkdirRequest) XXX_Size() int { + return xxx_messageInfo_MkdirRequest.Size(m) +} +func (m *MkdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirRequest.DiscardUnknown(m) } -func (x *MkdirRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo + +func (m *MkdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *MkdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *MkdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type MkdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirResponse) Reset() { - *x = MkdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } +func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } +func (*MkdirResponse) ProtoMessage() {} +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{3} } -func (x *MkdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) } - -func (*MkdirResponse) ProtoMessage() {} - -func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *MkdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirResponse.Merge(m, src) +} +func (m *MkdirResponse) XXX_Size() int { + return xxx_messageInfo_MkdirResponse.Size(m) } +func (m *MkdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo -func (x *MkdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *MkdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RmdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -342,115 +285,99 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1alpha1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirRequest) Reset() { - *x = RmdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } +func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } +func (*RmdirRequest) ProtoMessage() {} +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{4} } -func (x *RmdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) } - -func (*RmdirRequest) ProtoMessage() {} - -func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *RmdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirRequest.Merge(m, src) +} +func (m *RmdirRequest) XXX_Size() int { + return xxx_messageInfo_RmdirRequest.Size(m) } +func (m *RmdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo -func (x *RmdirRequest) GetPath() string { - if x != nil { - return x.Path +func (m *RmdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *RmdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *RmdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } -func (x *RmdirRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *RmdirRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type RmdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirResponse) Reset() { - *x = RmdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } +func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } +func (*RmdirResponse) ProtoMessage() {} +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{5} } -func (x *RmdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) } - -func (*RmdirResponse) ProtoMessage() {} - -func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *RmdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirResponse.Merge(m, src) +} +func (m *RmdirResponse) XXX_Size() int { + return xxx_messageInfo_RmdirResponse.Size(m) } +func (m *RmdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo -func (x *RmdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *RmdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type LinkPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -481,485 +408,229 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathRequest) Reset() { - *x = LinkPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } +func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } +func (*LinkPathRequest) ProtoMessage() {} +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{6} } -func (x *LinkPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) } - -func (*LinkPathRequest) ProtoMessage() {} - -func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *LinkPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathRequest.Merge(m, src) +} +func (m *LinkPathRequest) XXX_Size() int { + return xxx_messageInfo_LinkPathRequest.Size(m) } +func (m *LinkPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo -func (x *LinkPathRequest) GetSourcePath() string { - if x != nil { - return x.SourcePath +func (m *LinkPathRequest) GetSourcePath() string { + if m != nil { + return m.SourcePath } return "" } -func (x *LinkPathRequest) GetTargetPath() string { - if x != nil { - return x.TargetPath +func (m *LinkPathRequest) GetTargetPath() string { + if m != nil { + return m.TargetPath } return "" } type LinkPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathResponse) Reset() { - *x = LinkPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } +func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } +func (*LinkPathResponse) ProtoMessage() {} +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{7} } -func (x *LinkPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) } - -func (*LinkPathResponse) ProtoMessage() {} - -func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *LinkPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathResponse.Merge(m, src) +} +func (m *LinkPathResponse) XXX_Size() int { + return xxx_messageInfo_LinkPathResponse.Size(m) +} +func (m *LinkPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) } -func (x *LinkPathResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo + +func (m *LinkPathResponse) GetError() string { + if m != nil { + return m.Error } return "" } type IsMountPointRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointRequest) Reset() { - *x = IsMountPointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } +func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } +func (*IsMountPointRequest) ProtoMessage() {} +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{8} } -func (x *IsMountPointRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) } - -func (*IsMountPointRequest) ProtoMessage() {} - -func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointRequest.Merge(m, src) +} +func (m *IsMountPointRequest) XXX_Size() int { + return xxx_messageInfo_IsMountPointRequest.Size(m) +} +func (m *IsMountPointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) } -func (x *IsMountPointRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo + +func (m *IsMountPointRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type IsMountPointResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointResponse) Reset() { - *x = IsMountPointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } +func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } +func (*IsMountPointResponse) ProtoMessage() {} +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78274760fcbff95c, []int{9} } -func (x *IsMountPointResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) } - -func (*IsMountPointResponse) ProtoMessage() {} - -func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointResponse.Merge(m, src) +} +func (m *IsMountPointResponse) XXX_Size() int { + return xxx_messageInfo_IsMountPointResponse.Size(m) +} +func (m *IsMountPointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) } -func (x *IsMountPointResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo + +func (m *IsMountPointResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *IsMountPointResponse) GetIsMountPoint() bool { - if x != nil { - return x.IsMountPoint +func (m *IsMountPointResponse) GetIsMountPoint() bool { + if m != nil { + return m.IsMountPoint } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, - 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, - 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, - 0x0d, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x22, 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, - 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, - 0x0a, 0x14, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, - 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x2a, 0x22, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, - 0x03, 0x50, 0x4f, 0x44, 0x10, 0x01, 0x32, 0xe5, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x49, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x3a, 0x0a, 0x05, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, - 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, - 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, - 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, - 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x44, - 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1alpha1.PathContext - (*PathExistsRequest)(nil), // 1: v1alpha1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1alpha1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1alpha1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1alpha1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1alpha1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1alpha1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1alpha1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1alpha1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1alpha1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1alpha1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.PathExistsRequest.context:type_name -> v1alpha1.PathContext - 0, // 1: v1alpha1.MkdirRequest.context:type_name -> v1alpha1.PathContext - 0, // 2: v1alpha1.RmdirRequest.context:type_name -> v1alpha1.PathContext - 1, // 3: v1alpha1.Filesystem.PathExists:input_type -> v1alpha1.PathExistsRequest - 3, // 4: v1alpha1.Filesystem.Mkdir:input_type -> v1alpha1.MkdirRequest - 5, // 5: v1alpha1.Filesystem.Rmdir:input_type -> v1alpha1.RmdirRequest - 7, // 6: v1alpha1.Filesystem.LinkPath:input_type -> v1alpha1.LinkPathRequest - 9, // 7: v1alpha1.Filesystem.IsMountPoint:input_type -> v1alpha1.IsMountPointRequest - 2, // 8: v1alpha1.Filesystem.PathExists:output_type -> v1alpha1.PathExistsResponse - 4, // 9: v1alpha1.Filesystem.Mkdir:output_type -> v1alpha1.MkdirResponse - 6, // 10: v1alpha1.Filesystem.Rmdir:output_type -> v1alpha1.RmdirResponse - 8, // 11: v1alpha1.Filesystem.LinkPath:output_type -> v1alpha1.LinkPathResponse - 10, // 12: v1alpha1.Filesystem.IsMountPoint:output_type -> v1alpha1.IsMountPointResponse - 8, // [8:13] is the sub-list for method output_type - 3, // [3:8] 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 -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1alpha1.PathContext", PathContext_name, PathContext_value) + proto.RegisterType((*PathExistsRequest)(nil), "v1alpha1.PathExistsRequest") + proto.RegisterType((*PathExistsResponse)(nil), "v1alpha1.PathExistsResponse") + proto.RegisterType((*MkdirRequest)(nil), "v1alpha1.MkdirRequest") + proto.RegisterType((*MkdirResponse)(nil), "v1alpha1.MkdirResponse") + proto.RegisterType((*RmdirRequest)(nil), "v1alpha1.RmdirRequest") + proto.RegisterType((*RmdirResponse)(nil), "v1alpha1.RmdirResponse") + proto.RegisterType((*LinkPathRequest)(nil), "v1alpha1.LinkPathRequest") + proto.RegisterType((*LinkPathResponse)(nil), "v1alpha1.LinkPathResponse") + proto.RegisterType((*IsMountPointRequest)(nil), "v1alpha1.IsMountPointRequest") + proto.RegisterType((*IsMountPointResponse)(nil), "v1alpha1.IsMountPointResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto", fileDescriptor_78274760fcbff95c) +} + +var fileDescriptor_78274760fcbff95c = []byte{ + // 463 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x5f, 0x6f, 0xd3, 0x30, + 0x14, 0xc5, 0xdb, 0x8e, 0x75, 0xe5, 0xae, 0x8c, 0x72, 0x19, 0xa3, 0x84, 0x7f, 0x93, 0x05, 0x52, + 0x41, 0x5a, 0xa2, 0x8d, 0x37, 0x1e, 0x19, 0x7f, 0x54, 0xa9, 0x63, 0x51, 0x26, 0x24, 0xde, 0xaa, + 0x34, 0x78, 0x8b, 0xd5, 0x26, 0x0e, 0xb6, 0x83, 0xba, 0x0f, 0xcc, 0xf7, 0x40, 0x8e, 0x93, 0xc5, + 0x81, 0x92, 0xa7, 0xbd, 0xd5, 0xf7, 0xfe, 0x7c, 0xee, 0xa9, 0xef, 0x51, 0x60, 0x76, 0xc5, 0x54, + 0x9c, 0x2f, 0xdc, 0x88, 0x27, 0xde, 0x32, 0x5f, 0x50, 0x91, 0x52, 0x45, 0xe5, 0x51, 0x24, 0x99, + 0x17, 0x49, 0x76, 0x94, 0x09, 0xbe, 0xbe, 0xf6, 0xa2, 0x15, 0xa3, 0xa9, 0xf2, 0xc2, 0x8c, 0x79, + 0x97, 0x6c, 0x45, 0xe5, 0xb5, 0x54, 0x34, 0xf1, 0x7e, 0x1d, 0x87, 0xab, 0x2c, 0x0e, 0x8f, 0x75, + 0xdd, 0xcd, 0x04, 0x57, 0x1c, 0x07, 0x55, 0x8d, 0x7c, 0x87, 0x07, 0x7e, 0xa8, 0xe2, 0x4f, 0x6b, + 0x26, 0x95, 0x0c, 0xe8, 0xcf, 0x9c, 0x4a, 0x85, 0x08, 0x77, 0xb2, 0x50, 0xc5, 0xe3, 0xee, 0x61, + 0x77, 0x72, 0x37, 0x28, 0x7e, 0xa3, 0x07, 0x3b, 0x11, 0x4f, 0x15, 0x5d, 0xab, 0x71, 0xef, 0xb0, + 0x3b, 0xd9, 0x3b, 0x79, 0xe4, 0x56, 0x22, 0xae, 0x56, 0x38, 0x35, 0xcd, 0xa0, 0xa2, 0xc8, 0x07, + 0x40, 0x5b, 0x59, 0x66, 0x3c, 0x95, 0x14, 0xf7, 0x61, 0x9b, 0x0a, 0xc1, 0x45, 0xa9, 0x6d, 0x0e, + 0x78, 0x00, 0x7d, 0x5a, 0x70, 0x85, 0xf6, 0x20, 0x28, 0x4f, 0xe4, 0x02, 0x86, 0x67, 0xcb, 0x1f, + 0x4c, 0xdc, 0xaa, 0xb1, 0xd7, 0x70, 0xaf, 0x14, 0x6d, 0xf3, 0x44, 0x18, 0x0c, 0x83, 0xe4, 0x96, + 0x67, 0xeb, 0x51, 0x97, 0x5c, 0x44, 0x74, 0xbc, 0x55, 0xfc, 0x4f, 0x73, 0xd0, 0x8e, 0xca, 0x51, + 0xad, 0x8e, 0x2e, 0xe0, 0xfe, 0x8c, 0xa5, 0x4b, 0x2d, 0x5c, 0x99, 0x7a, 0x09, 0xbb, 0x92, 0xe7, + 0x22, 0xa2, 0x73, 0xcb, 0x1b, 0x98, 0x92, 0xe6, 0x34, 0xa0, 0x42, 0x71, 0x45, 0x95, 0x01, 0x7a, + 0x06, 0x30, 0x25, 0x0d, 0x90, 0x09, 0x8c, 0x6a, 0xd1, 0xd6, 0xf1, 0x6f, 0xe0, 0xe1, 0x54, 0x9e, + 0xf1, 0x3c, 0x55, 0x3e, 0x67, 0xa9, 0x6a, 0x79, 0x17, 0x12, 0xc0, 0x7e, 0x13, 0x6d, 0xdd, 0xfe, + 0x2b, 0xd8, 0x63, 0x72, 0x9e, 0x68, 0x7c, 0x9e, 0x69, 0xbe, 0x4c, 0xc1, 0x90, 0x59, 0x1a, 0x6f, + 0x09, 0xec, 0x5a, 0x4f, 0x8a, 0x00, 0x7d, 0x7f, 0xf6, 0xed, 0xcb, 0xf4, 0xeb, 0xa8, 0x83, 0x3b, + 0xb0, 0xe5, 0x9f, 0x7f, 0x1c, 0x75, 0x4f, 0x7e, 0xf7, 0x00, 0x3e, 0xdf, 0x24, 0x1f, 0xa7, 0x00, + 0x75, 0x04, 0xf1, 0x69, 0x73, 0x37, 0x8d, 0xc8, 0x3b, 0xcf, 0x36, 0x37, 0x8d, 0x6f, 0xd2, 0xc1, + 0xf7, 0xb0, 0x5d, 0x84, 0x06, 0x0f, 0x6a, 0xd0, 0x8e, 0xa6, 0xf3, 0xf8, 0x9f, 0xba, 0x7d, 0xb7, + 0x58, 0xaf, 0x7d, 0xd7, 0x8e, 0x96, 0x7d, 0xb7, 0x91, 0x03, 0xd2, 0xc1, 0x53, 0x18, 0x54, 0xeb, + 0xc1, 0x27, 0x35, 0xf6, 0x57, 0x0e, 0x1c, 0x67, 0x53, 0xeb, 0x46, 0xe4, 0x1c, 0x86, 0xf6, 0x3a, + 0xf0, 0x79, 0x4d, 0x6f, 0xd8, 0xa8, 0xf3, 0xe2, 0x7f, 0xed, 0x4a, 0x70, 0xd1, 0x2f, 0x3e, 0x23, + 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0xc0, 0xa2, 0x65, 0x96, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1061,19 +732,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto index b01ce85f..8856da5c 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1alpha1"; - service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -15,7 +13,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -65,7 +63,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -93,7 +91,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -124,7 +122,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -155,7 +153,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go index e87222a7..9b8f897b 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Context of the paths used for path prefix validation type PathContext int32 @@ -40,165 +40,124 @@ const ( PathContext_POD PathContext = 1 ) -// Enum value maps for PathContext. -var ( - PathContext_name = map[int32]string{ - 0: "PLUGIN", - 1: "POD", - } - PathContext_value = map[string]int32{ - "PLUGIN": 0, - "POD": 1, - } -) - -func (x PathContext) Enum() *PathContext { - p := new(PathContext) - *p = x - return p +var PathContext_name = map[int32]string{ + 0: "PLUGIN", + 1: "POD", } -func (x PathContext) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PathContext) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0].Descriptor() -} - -func (PathContext) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes[0] +var PathContext_value = map[string]int32{ + "PLUGIN": 0, + "POD": 1, } -func (x PathContext) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x PathContext) String() string { + return proto.EnumName(PathContext_name, int32(x)) } -// Deprecated: Use PathContext.Descriptor instead. func (PathContext) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_b03a6091226f91c2, []int{0} } type PathExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsRequest) Reset() { - *x = PathExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsRequest) Reset() { *m = PathExistsRequest{} } +func (m *PathExistsRequest) String() string { return proto.CompactTextString(m) } +func (*PathExistsRequest) ProtoMessage() {} +func (*PathExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{0} } -func (x *PathExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsRequest.Unmarshal(m, b) } - -func (*PathExistsRequest) ProtoMessage() {} - -func (x *PathExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *PathExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsRequest.ProtoReflect.Descriptor instead. -func (*PathExistsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *PathExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsRequest.Merge(m, src) +} +func (m *PathExistsRequest) XXX_Size() int { + return xxx_messageInfo_PathExistsRequest.Size(m) +} +func (m *PathExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsRequest.DiscardUnknown(m) } -func (x *PathExistsRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_PathExistsRequest proto.InternalMessageInfo + +func (m *PathExistsRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *PathExistsRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *PathExistsRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type PathExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PathExistsResponse) Reset() { - *x = PathExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PathExistsResponse) Reset() { *m = PathExistsResponse{} } +func (m *PathExistsResponse) String() string { return proto.CompactTextString(m) } +func (*PathExistsResponse) ProtoMessage() {} +func (*PathExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{1} } -func (x *PathExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PathExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PathExistsResponse.Unmarshal(m, b) } - -func (*PathExistsResponse) ProtoMessage() {} - -func (x *PathExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *PathExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PathExistsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use PathExistsResponse.ProtoReflect.Descriptor instead. -func (*PathExistsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *PathExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PathExistsResponse.Merge(m, src) +} +func (m *PathExistsResponse) XXX_Size() int { + return xxx_messageInfo_PathExistsResponse.Size(m) +} +func (m *PathExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PathExistsResponse.DiscardUnknown(m) } -func (x *PathExistsResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_PathExistsResponse proto.InternalMessageInfo + +func (m *PathExistsResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *PathExistsResponse) GetExists() bool { - if x != nil { - return x.Exists +func (m *PathExistsResponse) GetExists() bool { + if m != nil { + return m.Exists } return false } type MkdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to create in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -220,108 +179,92 @@ type MkdirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Context of the path parameter. // This is used to validate prefix for absolute paths passed - Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirRequest) Reset() { - *x = MkdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirRequest) Reset() { *m = MkdirRequest{} } +func (m *MkdirRequest) String() string { return proto.CompactTextString(m) } +func (*MkdirRequest) ProtoMessage() {} +func (*MkdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{2} } -func (x *MkdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirRequest.Unmarshal(m, b) } - -func (*MkdirRequest) ProtoMessage() {} - -func (x *MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_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) +func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirRequest.ProtoReflect.Descriptor instead. -func (*MkdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *MkdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirRequest.Merge(m, src) +} +func (m *MkdirRequest) XXX_Size() int { + return xxx_messageInfo_MkdirRequest.Size(m) +} +func (m *MkdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirRequest.DiscardUnknown(m) } -func (x *MkdirRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_MkdirRequest proto.InternalMessageInfo + +func (m *MkdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *MkdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *MkdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } type MkdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MkdirResponse) Reset() { - *x = MkdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MkdirResponse) Reset() { *m = MkdirResponse{} } +func (m *MkdirResponse) String() string { return proto.CompactTextString(m) } +func (*MkdirResponse) ProtoMessage() {} +func (*MkdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{3} } -func (x *MkdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MkdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MkdirResponse.Unmarshal(m, b) } - -func (*MkdirResponse) ProtoMessage() {} - -func (x *MkdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MkdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MkdirResponse.ProtoReflect.Descriptor instead. -func (*MkdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *MkdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MkdirResponse.Merge(m, src) +} +func (m *MkdirResponse) XXX_Size() int { + return xxx_messageInfo_MkdirResponse.Size(m) } +func (m *MkdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MkdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MkdirResponse proto.InternalMessageInfo -func (x *MkdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *MkdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RmdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path to remove in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -342,115 +285,99 @@ type RmdirRequest struct { // This is used to validate prefix for absolute paths passed Context PathContext `protobuf:"varint,2,opt,name=context,proto3,enum=v1beta1.PathContext" json:"context,omitempty"` // Force remove all contents under path (if any). - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirRequest) Reset() { - *x = RmdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirRequest) Reset() { *m = RmdirRequest{} } +func (m *RmdirRequest) String() string { return proto.CompactTextString(m) } +func (*RmdirRequest) ProtoMessage() {} +func (*RmdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{4} } -func (x *RmdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirRequest.Unmarshal(m, b) } - -func (*RmdirRequest) ProtoMessage() {} - -func (x *RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirRequest.ProtoReflect.Descriptor instead. -func (*RmdirRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{4} +func (m *RmdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirRequest.Merge(m, src) +} +func (m *RmdirRequest) XXX_Size() int { + return xxx_messageInfo_RmdirRequest.Size(m) } +func (m *RmdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirRequest proto.InternalMessageInfo -func (x *RmdirRequest) GetPath() string { - if x != nil { - return x.Path +func (m *RmdirRequest) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *RmdirRequest) GetContext() PathContext { - if x != nil { - return x.Context +func (m *RmdirRequest) GetContext() PathContext { + if m != nil { + return m.Context } return PathContext_PLUGIN } -func (x *RmdirRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *RmdirRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type RmdirResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RmdirResponse) Reset() { - *x = RmdirResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RmdirResponse) Reset() { *m = RmdirResponse{} } +func (m *RmdirResponse) String() string { return proto.CompactTextString(m) } +func (*RmdirResponse) ProtoMessage() {} +func (*RmdirResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{5} } -func (x *RmdirResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RmdirResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RmdirResponse.Unmarshal(m, b) } - -func (*RmdirResponse) ProtoMessage() {} - -func (x *RmdirResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RmdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RmdirResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RmdirResponse.ProtoReflect.Descriptor instead. -func (*RmdirResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{5} +func (m *RmdirResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RmdirResponse.Merge(m, src) +} +func (m *RmdirResponse) XXX_Size() int { + return xxx_messageInfo_RmdirResponse.Size(m) } +func (m *RmdirResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RmdirResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RmdirResponse proto.InternalMessageInfo -func (x *RmdirResponse) GetError() string { - if x != nil { - return x.Error +func (m *RmdirResponse) GetError() string { + if m != nil { + return m.Error } return "" } type LinkPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path where the symlink is created in the host's filesystem. // All special characters allowed by Windows in path names will be allowed // except for restrictions noted below. For details, please check: @@ -481,493 +408,238 @@ type LinkPathRequest struct { // target_path needs to exist as a directory in the host that is empty. // target_path cannot be a symbolic link. // Maximum path length will be capped to 260 characters. - TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + TargetPath string `protobuf:"bytes,2,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathRequest) Reset() { - *x = LinkPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathRequest) Reset() { *m = LinkPathRequest{} } +func (m *LinkPathRequest) String() string { return proto.CompactTextString(m) } +func (*LinkPathRequest) ProtoMessage() {} +func (*LinkPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{6} } -func (x *LinkPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathRequest.Unmarshal(m, b) } - -func (*LinkPathRequest) ProtoMessage() {} - -func (x *LinkPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathRequest.ProtoReflect.Descriptor instead. -func (*LinkPathRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{6} +func (m *LinkPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathRequest.Merge(m, src) +} +func (m *LinkPathRequest) XXX_Size() int { + return xxx_messageInfo_LinkPathRequest.Size(m) } +func (m *LinkPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkPathRequest proto.InternalMessageInfo -func (x *LinkPathRequest) GetSourcePath() string { - if x != nil { - return x.SourcePath +func (m *LinkPathRequest) GetSourcePath() string { + if m != nil { + return m.SourcePath } return "" } -func (x *LinkPathRequest) GetTargetPath() string { - if x != nil { - return x.TargetPath +func (m *LinkPathRequest) GetTargetPath() string { + if m != nil { + return m.TargetPath } return "" } type LinkPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LinkPathResponse) Reset() { - *x = LinkPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LinkPathResponse) Reset() { *m = LinkPathResponse{} } +func (m *LinkPathResponse) String() string { return proto.CompactTextString(m) } +func (*LinkPathResponse) ProtoMessage() {} +func (*LinkPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{7} } -func (x *LinkPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LinkPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkPathResponse.Unmarshal(m, b) } - -func (*LinkPathResponse) ProtoMessage() {} - -func (x *LinkPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LinkPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkPathResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use LinkPathResponse.ProtoReflect.Descriptor instead. -func (*LinkPathResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{7} +func (m *LinkPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkPathResponse.Merge(m, src) +} +func (m *LinkPathResponse) XXX_Size() int { + return xxx_messageInfo_LinkPathResponse.Size(m) +} +func (m *LinkPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LinkPathResponse.DiscardUnknown(m) } -func (x *LinkPathResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_LinkPathResponse proto.InternalMessageInfo + +func (m *LinkPathResponse) GetError() string { + if m != nil { + return m.Error } return "" } type IsMountPointRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The path whose existence we want to check in the host's filesystem - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointRequest) Reset() { - *x = IsMountPointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointRequest) Reset() { *m = IsMountPointRequest{} } +func (m *IsMountPointRequest) String() string { return proto.CompactTextString(m) } +func (*IsMountPointRequest) ProtoMessage() {} +func (*IsMountPointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{8} } -func (x *IsMountPointRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointRequest.Unmarshal(m, b) } - -func (*IsMountPointRequest) ProtoMessage() {} - -func (x *IsMountPointRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointRequest.ProtoReflect.Descriptor instead. -func (*IsMountPointRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{8} +func (m *IsMountPointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointRequest.Merge(m, src) +} +func (m *IsMountPointRequest) XXX_Size() int { + return xxx_messageInfo_IsMountPointRequest.Size(m) +} +func (m *IsMountPointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointRequest.DiscardUnknown(m) } -func (x *IsMountPointRequest) GetPath() string { - if x != nil { - return x.Path +var xxx_messageInfo_IsMountPointRequest proto.InternalMessageInfo + +func (m *IsMountPointRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type IsMountPointResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Error message if any. Empty string indicates success Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Indicates whether the path in PathExistsRequest exists in the host's filesystem - IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + IsMountPoint bool `protobuf:"varint,2,opt,name=is_mount_point,json=isMountPoint,proto3" json:"is_mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsMountPointResponse) Reset() { - *x = IsMountPointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsMountPointResponse) Reset() { *m = IsMountPointResponse{} } +func (m *IsMountPointResponse) String() string { return proto.CompactTextString(m) } +func (*IsMountPointResponse) ProtoMessage() {} +func (*IsMountPointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b03a6091226f91c2, []int{9} } -func (x *IsMountPointResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsMountPointResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsMountPointResponse.Unmarshal(m, b) } - -func (*IsMountPointResponse) ProtoMessage() {} - -func (x *IsMountPointResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsMountPointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsMountPointResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsMountPointResponse.ProtoReflect.Descriptor instead. -func (*IsMountPointResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *IsMountPointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsMountPointResponse.Merge(m, src) +} +func (m *IsMountPointResponse) XXX_Size() int { + return xxx_messageInfo_IsMountPointResponse.Size(m) +} +func (m *IsMountPointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsMountPointResponse.DiscardUnknown(m) } -func (x *IsMountPointResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_IsMountPointResponse proto.InternalMessageInfo + +func (m *IsMountPointResponse) GetError() string { + if m != nil { + return m.Error } return "" } -func (x *IsMountPointResponse) GetIsMountPoint() bool { - if x != nil { - return x.IsMountPoint +func (m *IsMountPointResponse) GetIsMountPoint() bool { + if m != nil { + return m.IsMountPoint } return false } -var File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x57, 0x0a, 0x11, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, - 0x42, 0x0a, 0x12, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x25, 0x0a, 0x0d, 0x4d, 0x6b, 0x64, 0x69, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x68, - 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x52, 0x6d, 0x64, 0x69, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x53, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, - 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x50, 0x61, 0x74, 0x68, 0x22, 0x28, 0x0a, 0x10, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, - 0x0a, 0x13, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x49, 0x73, 0x4d, - 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x69, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x22, 0x0a, - 0x0b, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0a, 0x0a, 0x06, - 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4f, 0x44, 0x10, - 0x01, 0x32, 0xdb, 0x02, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x12, 0x47, 0x0a, 0x0a, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1a, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, - 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x15, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x6d, - 0x64, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, - 0x08, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, - 0x6e, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x4d, 0x0a, 0x0c, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, - 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, - 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, - 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = []interface{}{ - (PathContext)(0), // 0: v1beta1.PathContext - (*PathExistsRequest)(nil), // 1: v1beta1.PathExistsRequest - (*PathExistsResponse)(nil), // 2: v1beta1.PathExistsResponse - (*MkdirRequest)(nil), // 3: v1beta1.MkdirRequest - (*MkdirResponse)(nil), // 4: v1beta1.MkdirResponse - (*RmdirRequest)(nil), // 5: v1beta1.RmdirRequest - (*RmdirResponse)(nil), // 6: v1beta1.RmdirResponse - (*LinkPathRequest)(nil), // 7: v1beta1.LinkPathRequest - (*LinkPathResponse)(nil), // 8: v1beta1.LinkPathResponse - (*IsMountPointRequest)(nil), // 9: v1beta1.IsMountPointRequest - (*IsMountPointResponse)(nil), // 10: v1beta1.IsMountPointResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.PathExistsRequest.context:type_name -> v1beta1.PathContext - 0, // 1: v1beta1.MkdirRequest.context:type_name -> v1beta1.PathContext - 0, // 2: v1beta1.RmdirRequest.context:type_name -> v1beta1.PathContext - 1, // 3: v1beta1.Filesystem.PathExists:input_type -> v1beta1.PathExistsRequest - 3, // 4: v1beta1.Filesystem.Mkdir:input_type -> v1beta1.MkdirRequest - 5, // 5: v1beta1.Filesystem.Rmdir:input_type -> v1beta1.RmdirRequest - 7, // 6: v1beta1.Filesystem.LinkPath:input_type -> v1beta1.LinkPathRequest - 9, // 7: v1beta1.Filesystem.IsMountPoint:input_type -> v1beta1.IsMountPointRequest - 2, // 8: v1beta1.Filesystem.PathExists:output_type -> v1beta1.PathExistsResponse - 4, // 9: v1beta1.Filesystem.Mkdir:output_type -> v1beta1.MkdirResponse - 6, // 10: v1beta1.Filesystem.Rmdir:output_type -> v1beta1.RmdirResponse - 8, // 11: v1beta1.Filesystem.LinkPath:output_type -> v1beta1.LinkPathResponse - 10, // 12: v1beta1.Filesystem.IsMountPoint:output_type -> v1beta1.IsMountPointResponse - 8, // [8:13] is the sub-list for method output_type - 3, // [3:8] 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 -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PathExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MkdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RmdirResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMountPointResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_filesystem_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1beta1.PathContext", PathContext_name, PathContext_value) + proto.RegisterType((*PathExistsRequest)(nil), "v1beta1.PathExistsRequest") + proto.RegisterType((*PathExistsResponse)(nil), "v1beta1.PathExistsResponse") + proto.RegisterType((*MkdirRequest)(nil), "v1beta1.MkdirRequest") + proto.RegisterType((*MkdirResponse)(nil), "v1beta1.MkdirResponse") + proto.RegisterType((*RmdirRequest)(nil), "v1beta1.RmdirRequest") + proto.RegisterType((*RmdirResponse)(nil), "v1beta1.RmdirResponse") + proto.RegisterType((*LinkPathRequest)(nil), "v1beta1.LinkPathRequest") + proto.RegisterType((*LinkPathResponse)(nil), "v1beta1.LinkPathResponse") + proto.RegisterType((*IsMountPointRequest)(nil), "v1beta1.IsMountPointRequest") + proto.RegisterType((*IsMountPointResponse)(nil), "v1beta1.IsMountPointResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto", fileDescriptor_b03a6091226f91c2) +} + +var fileDescriptor_b03a6091226f91c2 = []byte{ + // 461 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0xd3, 0x40, + 0x10, 0xc5, 0x93, 0x94, 0x26, 0x65, 0x1a, 0x4a, 0x18, 0x42, 0x15, 0x0c, 0x88, 0x6a, 0x05, 0x52, + 0x40, 0xaa, 0xad, 0x96, 0x0b, 0x57, 0xfe, 0x56, 0x15, 0x0d, 0x44, 0x46, 0x88, 0x63, 0xe4, 0x98, + 0x69, 0xb3, 0x4a, 0xe3, 0x35, 0xbb, 0x63, 0x94, 0x7e, 0x56, 0xbe, 0x0c, 0x5a, 0xdb, 0x71, 0x37, + 0x55, 0xf0, 0xa9, 0xb7, 0xec, 0xcc, 0x6f, 0xdf, 0xbc, 0xec, 0x3c, 0x19, 0xbe, 0x5c, 0x48, 0x9e, + 0x65, 0x53, 0x3f, 0x56, 0x8b, 0x60, 0x9e, 0x4d, 0x49, 0x27, 0xc4, 0x64, 0x0e, 0x63, 0x23, 0x83, + 0xd8, 0xc8, 0xc3, 0x54, 0xab, 0xe5, 0x55, 0x10, 0x5f, 0x4a, 0x4a, 0x38, 0x88, 0x52, 0x19, 0x9c, + 0xcb, 0x4b, 0x32, 0x57, 0x86, 0x69, 0x11, 0xfc, 0x39, 0x9a, 0x12, 0x47, 0x47, 0xb6, 0xec, 0xa7, + 0x5a, 0xb1, 0xc2, 0x4e, 0x59, 0x12, 0x3f, 0xe1, 0xc1, 0x38, 0xe2, 0xd9, 0xa7, 0xa5, 0x34, 0x6c, + 0x42, 0xfa, 0x9d, 0x91, 0x61, 0x44, 0xb8, 0x93, 0x46, 0x3c, 0x1b, 0x34, 0x0f, 0x9a, 0xc3, 0xbb, + 0x61, 0xfe, 0x1b, 0x7d, 0xe8, 0xc4, 0x2a, 0x61, 0x5a, 0xf2, 0xa0, 0x75, 0xd0, 0x1c, 0xee, 0x1d, + 0xf7, 0xfd, 0x52, 0xc3, 0xb7, 0x02, 0x1f, 0x8a, 0x5e, 0xb8, 0x82, 0xc4, 0x7b, 0x40, 0x57, 0xd8, + 0xa4, 0x2a, 0x31, 0x84, 0x7d, 0xd8, 0x26, 0xad, 0x95, 0x2e, 0xa5, 0x8b, 0x03, 0xee, 0x43, 0x9b, + 0x72, 0x2e, 0x97, 0xde, 0x09, 0xcb, 0x93, 0x08, 0xa1, 0x3b, 0x9a, 0xff, 0x92, 0xfa, 0x36, 0x7d, + 0xbd, 0x84, 0x7b, 0xa5, 0x66, 0x9d, 0x25, 0x31, 0x83, 0x6e, 0xb8, 0xb8, 0xdd, 0xd1, 0x76, 0xd2, + 0xb9, 0xd2, 0x31, 0x0d, 0xb6, 0xf2, 0x7f, 0x59, 0x1c, 0xac, 0xa1, 0x72, 0x52, 0xad, 0xa1, 0xef, + 0x70, 0xff, 0x4c, 0x26, 0x73, 0x2b, 0xbc, 0xf2, 0xf4, 0x1c, 0x76, 0x8d, 0xca, 0x74, 0x4c, 0x13, + 0xc7, 0x1a, 0x14, 0x25, 0xcb, 0x59, 0x80, 0x23, 0x7d, 0x41, 0x5c, 0x00, 0xad, 0x02, 0x28, 0x4a, + 0x16, 0x10, 0x43, 0xe8, 0x5d, 0x8b, 0xd6, 0x8e, 0x7f, 0x05, 0x0f, 0x4f, 0xcd, 0x48, 0x65, 0x09, + 0x8f, 0x95, 0x4c, 0xb8, 0xe6, 0x59, 0x44, 0x08, 0xfd, 0x75, 0xb4, 0x76, 0xf7, 0x2f, 0x60, 0x4f, + 0x9a, 0xc9, 0xc2, 0xe2, 0x93, 0xd4, 0xf2, 0x65, 0x06, 0xba, 0xd2, 0xd1, 0x78, 0x2d, 0x60, 0xd7, + 0x79, 0x52, 0x04, 0x68, 0x8f, 0xcf, 0x7e, 0x9c, 0x9c, 0x7e, 0xed, 0x35, 0xb0, 0x03, 0x5b, 0xe3, + 0x6f, 0x1f, 0x7b, 0xcd, 0xe3, 0xbf, 0x2d, 0x80, 0xcf, 0x55, 0xe8, 0xf1, 0x04, 0xe0, 0x3a, 0x80, + 0xe8, 0xad, 0xad, 0x66, 0x2d, 0xee, 0xde, 0x93, 0x8d, 0xbd, 0xc2, 0xb5, 0x68, 0xe0, 0x5b, 0xd8, + 0xce, 0x13, 0x83, 0x8f, 0x2a, 0xce, 0x4d, 0xa5, 0xb7, 0x7f, 0xb3, 0xec, 0xde, 0xcc, 0x57, 0xeb, + 0xdc, 0x74, 0x43, 0xe5, 0xdc, 0x5c, 0x4b, 0x80, 0x68, 0xe0, 0x3b, 0xd8, 0x59, 0x2d, 0x06, 0x07, + 0x15, 0x75, 0x23, 0x00, 0xde, 0xe3, 0x0d, 0x9d, 0x4a, 0x62, 0x04, 0x5d, 0x77, 0x0d, 0xf8, 0xb4, + 0x82, 0x37, 0x2c, 0xd2, 0x7b, 0xf6, 0x9f, 0xee, 0x4a, 0x6e, 0xda, 0xce, 0x3f, 0x1c, 0x6f, 0xfe, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x54, 0x94, 0x73, 0xfe, 0x87, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // FilesystemClient is the client API for Filesystem service. // @@ -988,10 +660,10 @@ type FilesystemClient interface { } type filesystemClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewFilesystemClient(cc grpc.ClientConnInterface) FilesystemClient { +func NewFilesystemClient(cc *grpc.ClientConn) FilesystemClient { return &filesystemClient{cc} } @@ -1060,19 +732,19 @@ type FilesystemServer interface { type UnimplementedFilesystemServer struct { } -func (*UnimplementedFilesystemServer) PathExists(context.Context, *PathExistsRequest) (*PathExistsResponse, error) { +func (*UnimplementedFilesystemServer) PathExists(ctx context.Context, req *PathExistsRequest) (*PathExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PathExists not implemented") } -func (*UnimplementedFilesystemServer) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) { +func (*UnimplementedFilesystemServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Mkdir not implemented") } -func (*UnimplementedFilesystemServer) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) { +func (*UnimplementedFilesystemServer) Rmdir(ctx context.Context, req *RmdirRequest) (*RmdirResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Rmdir not implemented") } -func (*UnimplementedFilesystemServer) LinkPath(context.Context, *LinkPathRequest) (*LinkPathResponse, error) { +func (*UnimplementedFilesystemServer) LinkPath(ctx context.Context, req *LinkPathRequest) (*LinkPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkPath not implemented") } -func (*UnimplementedFilesystemServer) IsMountPoint(context.Context, *IsMountPointRequest) (*IsMountPointResponse, error) { +func (*UnimplementedFilesystemServer) IsMountPoint(ctx context.Context, req *IsMountPointRequest) (*IsMountPointResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsMountPoint not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto index 421f23cd..3b4c0ab2 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1beta1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/filesystem/v1beta1"; - service Filesystem { // PathExists checks if the requested path exists in the host's filesystem rpc PathExists(PathExistsRequest) returns (PathExistsResponse) {} @@ -15,7 +13,7 @@ service Filesystem { // This may be used for unlinking a symlink created through LinkPath rpc Rmdir(RmdirRequest) returns (RmdirResponse) {} - // LinkPath creates a local directory symbolic link between a source path + // LinkPath creates a local directory symbolic link between a source path // and target path in the host's filesystem rpc LinkPath(LinkPathRequest) returns (LinkPathResponse) {} @@ -65,7 +63,7 @@ message MkdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // The path parameter cannot already exist in the host's filesystem. @@ -93,7 +91,7 @@ message RmdirRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // Depending on the context parameter of this function, the path prefix needs + // Depending on the context parameter of this function, the path prefix needs // to match the paths specified either as kubelet-csi-plugins-path // or as kubelet-pod-path parameters of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. @@ -124,7 +122,7 @@ message LinkPathRequest { // // Restrictions: // Only absolute path (indicated by a drive letter prefix: e.g. "C:\") is accepted. - // The path prefix needs needs to match the paths specified as + // The path prefix needs needs to match the paths specified as // kubelet-csi-plugins-path parameter of csi-proxy. // UNC paths of the form "\\server\share\path\file" are not allowed. // All directory separators need to be backslash character: "\". @@ -155,7 +153,7 @@ message LinkPathResponse { // Error message if any. Empty string indicates success string error = 1; } - + message IsMountPointRequest { // The path whose existence we want to check in the host's filesystem string path = 1; diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go index 3d2edaa0..9ba7f6a4 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AuthenticationType int32 @@ -36,466 +36,372 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -// Enum value maps for AuthenticationType. -var ( - AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", - } - AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, - } -) - -func (x AuthenticationType) Enum() *AuthenticationType { - p := new(AuthenticationType) - *p = x - return p -} - -func (x AuthenticationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", } -func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0].Descriptor() +var AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, } -func (AuthenticationType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes[0] -} - -func (x AuthenticationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AuthenticationType) String() string { + return proto.EnumName(AuthenticationType_name, int32(x)) } -// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_0438d9bfe30f1df4, []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TargetPortal) Reset() { - *x = TargetPortal{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TargetPortal) Reset() { *m = TargetPortal{} } +func (m *TargetPortal) String() string { return proto.CompactTextString(m) } +func (*TargetPortal) ProtoMessage() {} +func (*TargetPortal) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{0} } -func (x *TargetPortal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TargetPortal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetPortal.Unmarshal(m, b) } - -func (*TargetPortal) ProtoMessage() {} - -func (x *TargetPortal) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) } - -// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. -func (*TargetPortal) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *TargetPortal) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetPortal.Merge(m, src) } +func (m *TargetPortal) XXX_Size() int { + return xxx_messageInfo_TargetPortal.Size(m) +} +func (m *TargetPortal) XXX_DiscardUnknown() { + xxx_messageInfo_TargetPortal.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetPortal proto.InternalMessageInfo -func (x *TargetPortal) GetTargetAddress() string { - if x != nil { - return x.TargetAddress +func (m *TargetPortal) GetTargetAddress() string { + if m != nil { + return m.TargetAddress } return "" } -func (x *TargetPortal) GetTargetPort() uint32 { - if x != nil { - return x.TargetPort +func (m *TargetPortal) GetTargetPort() uint32 { + if m != nil { + return m.TargetPort } return 0 } type AddTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalRequest) Reset() { - *x = AddTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } +func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalRequest) ProtoMessage() {} +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{1} } -func (x *AddTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) } - -func (*AddTargetPortalRequest) ProtoMessage() {} - -func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) } +func (m *AddTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalRequest.Size(m) +} +func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo -func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type AddTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalResponse) Reset() { - *x = AddTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } +func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalResponse) ProtoMessage() {} +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{2} } -func (x *AddTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) } - -func (*AddTargetPortalResponse) ProtoMessage() {} - -func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) +} +func (m *AddTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalResponse.Size(m) +} +func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) } -type DiscoverTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +type DiscoverTargetPortalRequest struct { // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalRequest) Reset() { - *x = DiscoverTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } +func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalRequest) ProtoMessage() {} +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{3} } -func (x *DiscoverTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) } - -func (*DiscoverTargetPortalRequest) ProtoMessage() {} - -func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) +} +func (m *DiscoverTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) } +func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo -func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalResponse) Reset() { - *x = DiscoverTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } +func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalResponse) ProtoMessage() {} +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{4} } -func (x *DiscoverTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) } - -func (*DiscoverTargetPortalResponse) ProtoMessage() {} - -func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +} +func (m *DiscoverTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) } +func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo -func (x *DiscoverTargetPortalResponse) GetIqns() []string { - if x != nil { - return x.Iqns +func (m *DiscoverTargetPortalResponse) GetIqns() []string { + if m != nil { + return m.Iqns } return nil } type RemoveTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalRequest) Reset() { - *x = RemoveTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } +func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalRequest) ProtoMessage() {} +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{5} } -func (x *RemoveTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) } - -func (*RemoveTargetPortalRequest) ProtoMessage() {} - -func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) +} +func (m *RemoveTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) } +func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo -func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalResponse) Reset() { - *x = RemoveTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } +func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalResponse) ProtoMessage() {} +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{6} } -func (x *RemoveTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) } - -func (*RemoveTargetPortalResponse) ProtoMessage() {} - -func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) +} +func (m *RemoveTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) +} +func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) } +var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo + type ListTargetPortalsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsRequest) Reset() { - *x = ListTargetPortalsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } +func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsRequest) ProtoMessage() {} +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{7} } -func (x *ListTargetPortalsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) } - -func (*ListTargetPortalsRequest) ProtoMessage() {} - -func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) +} +func (m *ListTargetPortalsRequest) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsRequest.Size(m) +} +func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) } -type ListTargetPortalsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +type ListTargetPortalsResponse struct { // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsResponse) Reset() { - *x = ListTargetPortalsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } +func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsResponse) ProtoMessage() {} +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{8} } -func (x *ListTargetPortalsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) } - -func (*ListTargetPortalsResponse) ProtoMessage() {} - -func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) +} +func (m *ListTargetPortalsResponse) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsResponse.Size(m) +} +func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) } -func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if x != nil { - return x.TargetPortals +var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo + +func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if m != nil { + return m.TargetPortals } return nil } type ConnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -511,715 +417,339 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetRequest) Reset() { - *x = ConnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } +func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetRequest) ProtoMessage() {} +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{9} } -func (x *ConnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) } - -func (*ConnectTargetRequest) ProtoMessage() {} - -func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetRequest.Merge(m, src) +} +func (m *ConnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_ConnectTargetRequest.Size(m) +} +func (m *ConnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) } -func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo + +func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *ConnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *ConnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } -func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { - if x != nil { - return x.AuthType +func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { + if m != nil { + return m.AuthType } return AuthenticationType_NONE } -func (x *ConnectTargetRequest) GetChapUsername() string { - if x != nil { - return x.ChapUsername +func (m *ConnectTargetRequest) GetChapUsername() string { + if m != nil { + return m.ChapUsername } return "" } -func (x *ConnectTargetRequest) GetChapSecret() string { - if x != nil { - return x.ChapSecret +func (m *ConnectTargetRequest) GetChapSecret() string { + if m != nil { + return m.ChapSecret } return "" } type ConnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetResponse) Reset() { - *x = ConnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } +func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetResponse) ProtoMessage() {} +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{10} } -func (x *ConnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) } - -func (*ConnectTargetResponse) ProtoMessage() {} - -func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{10} +func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +} +func (m *ConnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_ConnectTargetResponse.Size(m) +} +func (m *ConnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) } -type GetTargetDisksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +type GetTargetDisksRequest struct { // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksRequest) Reset() { - *x = GetTargetDisksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } +func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksRequest) ProtoMessage() {} +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{11} } -func (x *GetTargetDisksRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) } - -func (*GetTargetDisksRequest) ProtoMessage() {} - -func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{11} +func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) } +func (m *GetTargetDisksRequest) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksRequest.Size(m) +} +func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo -func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *GetTargetDisksRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *GetTargetDisksRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type GetTargetDisksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksResponse) Reset() { - *x = GetTargetDisksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } +func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksResponse) ProtoMessage() {} +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{12} } -func (x *GetTargetDisksResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) } - -func (*GetTargetDisksResponse) ProtoMessage() {} - -func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_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) +func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{12} +func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) +} +func (m *GetTargetDisksResponse) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksResponse.Size(m) } +func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo -func (x *GetTargetDisksResponse) GetDiskIDs() []string { - if x != nil { - return x.DiskIDs +func (m *GetTargetDisksResponse) GetDiskIDs() []string { + if m != nil { + return m.DiskIDs } return nil } type DisconnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetRequest) Reset() { - *x = DisconnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } +func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetRequest) ProtoMessage() {} +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0438d9bfe30f1df4, []int{13} } -func (x *DisconnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) } - -func (*DisconnectTargetRequest) ProtoMessage() {} - -func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{13} +func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) } +func (m *DisconnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetRequest.Size(m) +} +func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo -func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *DisconnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *DisconnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type DisconnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DisconnectTargetResponse) Reset() { - *x = DisconnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectTargetResponse) ProtoMessage() {} - -func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. +func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } +func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetResponse) ProtoMessage() {} func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP(), []int{14} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, - 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, - 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, - 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, - 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, - 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, - 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, - 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, - 0x41, 0x50, 0x10, 0x02, 0x32, 0x95, 0x05, 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, - 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, - 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, - 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = []interface{}{ - (AuthenticationType)(0), // 0: v1alpha1.AuthenticationType - (*TargetPortal)(nil), // 1: v1alpha1.TargetPortal - (*AddTargetPortalRequest)(nil), // 2: v1alpha1.AddTargetPortalRequest - (*AddTargetPortalResponse)(nil), // 3: v1alpha1.AddTargetPortalResponse - (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha1.DiscoverTargetPortalRequest - (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha1.DiscoverTargetPortalResponse - (*RemoveTargetPortalRequest)(nil), // 6: v1alpha1.RemoveTargetPortalRequest - (*RemoveTargetPortalResponse)(nil), // 7: v1alpha1.RemoveTargetPortalResponse - (*ListTargetPortalsRequest)(nil), // 8: v1alpha1.ListTargetPortalsRequest - (*ListTargetPortalsResponse)(nil), // 9: v1alpha1.ListTargetPortalsResponse - (*ConnectTargetRequest)(nil), // 10: v1alpha1.ConnectTargetRequest - (*ConnectTargetResponse)(nil), // 11: v1alpha1.ConnectTargetResponse - (*GetTargetDisksRequest)(nil), // 12: v1alpha1.GetTargetDisksRequest - (*GetTargetDisksResponse)(nil), // 13: v1alpha1.GetTargetDisksResponse - (*DisconnectTargetRequest)(nil), // 14: v1alpha1.DisconnectTargetRequest - (*DisconnectTargetResponse)(nil), // 15: v1alpha1.DisconnectTargetResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha1.AddTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 1: v1alpha1.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 2: v1alpha1.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 3: v1alpha1.ListTargetPortalsResponse.target_portals:type_name -> v1alpha1.TargetPortal - 1, // 4: v1alpha1.ConnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal - 0, // 5: v1alpha1.ConnectTargetRequest.auth_type:type_name -> v1alpha1.AuthenticationType - 1, // 6: v1alpha1.GetTargetDisksRequest.target_portal:type_name -> v1alpha1.TargetPortal - 1, // 7: v1alpha1.DisconnectTargetRequest.target_portal:type_name -> v1alpha1.TargetPortal - 2, // 8: v1alpha1.Iscsi.AddTargetPortal:input_type -> v1alpha1.AddTargetPortalRequest - 4, // 9: v1alpha1.Iscsi.DiscoverTargetPortal:input_type -> v1alpha1.DiscoverTargetPortalRequest - 6, // 10: v1alpha1.Iscsi.RemoveTargetPortal:input_type -> v1alpha1.RemoveTargetPortalRequest - 8, // 11: v1alpha1.Iscsi.ListTargetPortals:input_type -> v1alpha1.ListTargetPortalsRequest - 10, // 12: v1alpha1.Iscsi.ConnectTarget:input_type -> v1alpha1.ConnectTargetRequest - 14, // 13: v1alpha1.Iscsi.DisconnectTarget:input_type -> v1alpha1.DisconnectTargetRequest - 12, // 14: v1alpha1.Iscsi.GetTargetDisks:input_type -> v1alpha1.GetTargetDisksRequest - 3, // 15: v1alpha1.Iscsi.AddTargetPortal:output_type -> v1alpha1.AddTargetPortalResponse - 5, // 16: v1alpha1.Iscsi.DiscoverTargetPortal:output_type -> v1alpha1.DiscoverTargetPortalResponse - 7, // 17: v1alpha1.Iscsi.RemoveTargetPortal:output_type -> v1alpha1.RemoveTargetPortalResponse - 9, // 18: v1alpha1.Iscsi.ListTargetPortals:output_type -> v1alpha1.ListTargetPortalsResponse - 11, // 19: v1alpha1.Iscsi.ConnectTarget:output_type -> v1alpha1.ConnectTargetResponse - 15, // 20: v1alpha1.Iscsi.DisconnectTarget:output_type -> v1alpha1.DisconnectTargetResponse - 13, // 21: v1alpha1.Iscsi.GetTargetDisks:output_type -> v1alpha1.GetTargetDisksResponse - 15, // [15:22] is the sub-list for method output_type - 8, // [8:15] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetPortal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha1_api_proto_depIdxs = nil + return fileDescriptor_0438d9bfe30f1df4, []int{14} +} + +func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) +} +func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) +} +func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +} +func (m *DisconnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetResponse.Size(m) +} +func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("v1alpha1.AuthenticationType", AuthenticationType_name, AuthenticationType_value) + proto.RegisterType((*TargetPortal)(nil), "v1alpha1.TargetPortal") + proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha1.AddTargetPortalRequest") + proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha1.AddTargetPortalResponse") + proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha1.DiscoverTargetPortalRequest") + proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha1.DiscoverTargetPortalResponse") + proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha1.RemoveTargetPortalRequest") + proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha1.RemoveTargetPortalResponse") + proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha1.ListTargetPortalsRequest") + proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha1.ListTargetPortalsResponse") + proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha1.ConnectTargetRequest") + proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha1.ConnectTargetResponse") + proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha1.GetTargetDisksRequest") + proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha1.GetTargetDisksResponse") + proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha1.DisconnectTargetRequest") + proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha1.DisconnectTargetResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha1/api.proto", fileDescriptor_0438d9bfe30f1df4) +} + +var fileDescriptor_0438d9bfe30f1df4 = []byte{ + // 649 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x6d, 0x4f, 0xd3, 0x50, + 0x14, 0xa6, 0xbc, 0x28, 0x3b, 0xac, 0x30, 0x6f, 0x78, 0x29, 0x95, 0xc8, 0xb8, 0x88, 0x59, 0x4c, + 0xd8, 0xc2, 0xfc, 0x64, 0x0c, 0x31, 0x15, 0x08, 0x92, 0x20, 0x90, 0xca, 0x14, 0x67, 0xe2, 0x72, + 0xd7, 0x5d, 0xd7, 0x9b, 0x6d, 0x6d, 0xd7, 0x7b, 0xbb, 0xb8, 0x1f, 0xe2, 0x5f, 0xf4, 0x77, 0x98, + 0xbe, 0xac, 0xeb, 0xb6, 0x6e, 0x7e, 0x70, 0x7c, 0xeb, 0x7d, 0xee, 0x73, 0x9e, 0x73, 0xee, 0x79, + 0x2b, 0x5c, 0x36, 0x99, 0x30, 0xbd, 0x7a, 0xd1, 0xb0, 0x3b, 0xa5, 0x96, 0x57, 0xa7, 0xae, 0x45, + 0x05, 0xe5, 0xc7, 0x06, 0x67, 0x25, 0x83, 0xb3, 0x63, 0xc7, 0xb5, 0x7f, 0xf5, 0x4b, 0x46, 0x9b, + 0x51, 0x4b, 0x94, 0x88, 0xc3, 0x4a, 0x8c, 0xfb, 0x57, 0xbd, 0x13, 0xd2, 0x76, 0x4c, 0x72, 0xe2, + 0x43, 0x45, 0xc7, 0xb5, 0x85, 0x8d, 0x56, 0x07, 0x18, 0xfe, 0x02, 0xd9, 0x7b, 0xe2, 0x36, 0xa9, + 0xb8, 0xb3, 0x5d, 0x41, 0xda, 0xe8, 0x08, 0xd6, 0x45, 0x70, 0xae, 0x91, 0x46, 0xc3, 0xa5, 0x9c, + 0x2b, 0x52, 0x5e, 0x2a, 0x64, 0x74, 0x39, 0x44, 0xb5, 0x10, 0x44, 0xfb, 0xb0, 0x16, 0xd1, 0x1c, + 0xdb, 0x15, 0xca, 0x62, 0x5e, 0x2a, 0xc8, 0x3a, 0x88, 0x58, 0x09, 0x57, 0x60, 0x5b, 0x6b, 0x34, + 0x92, 0xd2, 0x3a, 0xed, 0x7a, 0x94, 0x0b, 0xf4, 0x0e, 0xe4, 0x84, 0x29, 0x69, 0x07, 0x0e, 0xd6, + 0xca, 0xdb, 0xc5, 0x41, 0x4c, 0xc5, 0x11, 0xab, 0xac, 0x48, 0x9c, 0xf0, 0x2e, 0xec, 0x4c, 0xc8, + 0x72, 0xc7, 0xb6, 0x38, 0xc5, 0x55, 0x78, 0x7e, 0xce, 0xb8, 0x61, 0xf7, 0xa8, 0x3b, 0x77, 0xb7, + 0x65, 0xd8, 0x4b, 0xd7, 0x0e, 0x7d, 0x23, 0x04, 0xcb, 0xac, 0x6b, 0xf9, 0xb9, 0x5a, 0x2a, 0x64, + 0xf4, 0xe0, 0x1b, 0x3f, 0xc0, 0xae, 0x4e, 0x3b, 0x76, 0x8f, 0xce, 0x3d, 0x9a, 0x3d, 0x50, 0xd3, + 0x94, 0xa3, 0x3c, 0xa8, 0xa0, 0x5c, 0x33, 0x2e, 0x92, 0x77, 0x3c, 0x72, 0x8b, 0xab, 0xb0, 0x9b, + 0x72, 0x17, 0x3d, 0xe2, 0x34, 0x2e, 0x7d, 0x18, 0x53, 0xf8, 0x9c, 0xe9, 0x41, 0xc9, 0xc9, 0xa0, + 0x38, 0xfe, 0x23, 0xc1, 0xe6, 0x99, 0x6d, 0x59, 0xd4, 0x88, 0xf4, 0xe7, 0xf1, 0x56, 0x94, 0x83, + 0x25, 0xd6, 0xb5, 0x82, 0x06, 0xcb, 0xe8, 0xfe, 0x27, 0x7a, 0x0b, 0x19, 0xe2, 0x09, 0xb3, 0x26, + 0xfa, 0x0e, 0x55, 0x96, 0xf2, 0x52, 0x61, 0xbd, 0xbc, 0x37, 0x94, 0xd2, 0x3c, 0x61, 0x52, 0x4b, + 0x30, 0x83, 0x08, 0x66, 0x5b, 0xf7, 0x7d, 0x87, 0xea, 0xab, 0x3e, 0xdd, 0xff, 0x42, 0x87, 0x20, + 0x1b, 0x26, 0x71, 0x6a, 0x1e, 0xa7, 0xae, 0x45, 0x3a, 0x54, 0x59, 0x0e, 0x64, 0xb3, 0x3e, 0x58, + 0x89, 0x30, 0xbf, 0xb5, 0x03, 0x12, 0xa7, 0x86, 0x4b, 0x85, 0xb2, 0x12, 0x50, 0xc0, 0x87, 0x3e, + 0x07, 0x08, 0xde, 0x81, 0xad, 0xb1, 0x77, 0x46, 0x99, 0xff, 0x09, 0x5b, 0x97, 0x34, 0x02, 0xcf, + 0x19, 0x6f, 0xf1, 0xc7, 0xc9, 0x00, 0x2e, 0xc3, 0xf6, 0xb8, 0x9f, 0xa8, 0x84, 0x0a, 0x3c, 0x6d, + 0x30, 0xde, 0xba, 0x3a, 0x1f, 0xb4, 0xe2, 0xe0, 0x88, 0x4d, 0xd8, 0x09, 0x3a, 0xf8, 0xd1, 0xeb, + 0xe3, 0xf7, 0xdf, 0xa4, 0xa7, 0x30, 0xbe, 0xd7, 0x1a, 0xa0, 0xc9, 0x02, 0xa1, 0x55, 0x58, 0xbe, + 0xb9, 0xbd, 0xb9, 0xc8, 0x2d, 0xa0, 0x1c, 0x64, 0x6f, 0x6f, 0x2e, 0x6a, 0x5f, 0xb5, 0x6f, 0xb5, + 0xb3, 0x8f, 0xda, 0x5d, 0x4e, 0x42, 0x1b, 0xb0, 0xf6, 0xa9, 0x72, 0x5f, 0xd1, 0xae, 0x43, 0x60, + 0xb1, 0xfc, 0x7b, 0x05, 0x56, 0xae, 0xfc, 0xbd, 0x86, 0x1e, 0x60, 0x63, 0x6c, 0x17, 0xa0, 0x7c, + 0xa2, 0x11, 0x52, 0xb7, 0x8f, 0x7a, 0x30, 0x83, 0x11, 0x95, 0x71, 0x01, 0x35, 0x61, 0x33, 0x6d, + 0xdc, 0xd1, 0xd1, 0xd0, 0x78, 0xc6, 0xaa, 0x51, 0x5f, 0xfd, 0x8b, 0x16, 0x3b, 0x22, 0x80, 0x26, + 0x27, 0x19, 0x1d, 0x0e, 0xed, 0xa7, 0x6e, 0x10, 0xf5, 0xe5, 0x6c, 0x52, 0xec, 0xe2, 0x07, 0x3c, + 0x9b, 0x18, 0x79, 0x84, 0x87, 0xc6, 0xd3, 0x76, 0x85, 0x7a, 0x38, 0x93, 0x13, 0xeb, 0xeb, 0x20, + 0x8f, 0x4c, 0x03, 0x7a, 0x31, 0xb4, 0x4b, 0x5b, 0x07, 0xea, 0xfe, 0xd4, 0xfb, 0x58, 0xf3, 0x3b, + 0xe4, 0xc6, 0x5b, 0x08, 0x1d, 0x8c, 0x25, 0x35, 0x45, 0x19, 0xcf, 0xa2, 0xc4, 0xe2, 0x15, 0x58, + 0x1f, 0x9d, 0x1e, 0x94, 0x88, 0x28, 0x75, 0x7e, 0xd5, 0xfc, 0x74, 0xc2, 0x40, 0xf6, 0xc3, 0xfb, + 0xea, 0xe9, 0x7f, 0xfd, 0x9d, 0xeb, 0x4f, 0x82, 0x5f, 0xf3, 0x9b, 0xbf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0xbb, 0x3d, 0x8f, 0x5c, 0xe5, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1357,25 +887,25 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go index 0f8d3406..d3ffff5b 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto package v1alpha2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // iSCSI logon authentication type type AuthenticationType int32 @@ -37,466 +37,372 @@ const ( AuthenticationType_MUTUAL_CHAP AuthenticationType = 2 ) -// Enum value maps for AuthenticationType. -var ( - AuthenticationType_name = map[int32]string{ - 0: "NONE", - 1: "ONE_WAY_CHAP", - 2: "MUTUAL_CHAP", - } - AuthenticationType_value = map[string]int32{ - "NONE": 0, - "ONE_WAY_CHAP": 1, - "MUTUAL_CHAP": 2, - } -) - -func (x AuthenticationType) Enum() *AuthenticationType { - p := new(AuthenticationType) - *p = x - return p -} - -func (x AuthenticationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AuthenticationType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0].Descriptor() +var AuthenticationType_name = map[int32]string{ + 0: "NONE", + 1: "ONE_WAY_CHAP", + 2: "MUTUAL_CHAP", } -func (AuthenticationType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes[0] +var AuthenticationType_value = map[string]int32{ + "NONE": 0, + "ONE_WAY_CHAP": 1, + "MUTUAL_CHAP": 2, } -func (x AuthenticationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AuthenticationType) String() string { + return proto.EnumName(AuthenticationType_name, int32(x)) } -// Deprecated: Use AuthenticationType.Descriptor instead. func (AuthenticationType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_3d2a5b20b77faa63, []int{0} } // TargetPortal is an address and port pair for a specific iSCSI storage // target. type TargetPortal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target (server) address TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // iSCSI Target port (default iSCSI port is 3260) - TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TargetPortal) Reset() { - *x = TargetPortal{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TargetPortal) Reset() { *m = TargetPortal{} } +func (m *TargetPortal) String() string { return proto.CompactTextString(m) } +func (*TargetPortal) ProtoMessage() {} +func (*TargetPortal) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{0} } -func (x *TargetPortal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TargetPortal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetPortal.Unmarshal(m, b) } - -func (*TargetPortal) ProtoMessage() {} - -func (x *TargetPortal) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *TargetPortal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetPortal.Marshal(b, m, deterministic) } - -// Deprecated: Use TargetPortal.ProtoReflect.Descriptor instead. -func (*TargetPortal) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{0} +func (m *TargetPortal) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetPortal.Merge(m, src) } +func (m *TargetPortal) XXX_Size() int { + return xxx_messageInfo_TargetPortal.Size(m) +} +func (m *TargetPortal) XXX_DiscardUnknown() { + xxx_messageInfo_TargetPortal.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetPortal proto.InternalMessageInfo -func (x *TargetPortal) GetTargetAddress() string { - if x != nil { - return x.TargetAddress +func (m *TargetPortal) GetTargetAddress() string { + if m != nil { + return m.TargetAddress } return "" } -func (x *TargetPortal) GetTargetPort() uint32 { - if x != nil { - return x.TargetPort +func (m *TargetPortal) GetTargetPort() uint32 { + if m != nil { + return m.TargetPort } return 0 } type AddTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal to register in the initiator - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalRequest) Reset() { - *x = AddTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalRequest) Reset() { *m = AddTargetPortalRequest{} } +func (m *AddTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalRequest) ProtoMessage() {} +func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{1} } -func (x *AddTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalRequest.Unmarshal(m, b) } - -func (*AddTargetPortalRequest) ProtoMessage() {} - -func (x *AddTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *AddTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*AddTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{1} +func (m *AddTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalRequest.Merge(m, src) +} +func (m *AddTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalRequest.Size(m) } +func (m *AddTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTargetPortalRequest proto.InternalMessageInfo -func (x *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *AddTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type AddTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddTargetPortalResponse) Reset() { - *x = AddTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AddTargetPortalResponse) Reset() { *m = AddTargetPortalResponse{} } +func (m *AddTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*AddTargetPortalResponse) ProtoMessage() {} +func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{2} } -func (x *AddTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AddTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddTargetPortalResponse.Unmarshal(m, b) } - -func (*AddTargetPortalResponse) ProtoMessage() {} - -func (x *AddTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *AddTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use AddTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*AddTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{2} +func (m *AddTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetPortalResponse.Merge(m, src) +} +func (m *AddTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_AddTargetPortalResponse.Size(m) +} +func (m *AddTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTargetPortalResponse.DiscardUnknown(m) } -type DiscoverTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_AddTargetPortalResponse proto.InternalMessageInfo +type DiscoverTargetPortalRequest struct { // iSCSI Target Portal on which to initiate discovery - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalRequest) Reset() { - *x = DiscoverTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalRequest) Reset() { *m = DiscoverTargetPortalRequest{} } +func (m *DiscoverTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalRequest) ProtoMessage() {} +func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{3} } -func (x *DiscoverTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalRequest.Unmarshal(m, b) } - -func (*DiscoverTargetPortalRequest) ProtoMessage() {} - -func (x *DiscoverTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{3} +func (m *DiscoverTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalRequest.Merge(m, src) +} +func (m *DiscoverTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalRequest.Size(m) +} +func (m *DiscoverTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalRequest.DiscardUnknown(m) } -func (x *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_DiscoverTargetPortalRequest proto.InternalMessageInfo + +func (m *DiscoverTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type DiscoverTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List of discovered IQN addresses // follows IQN format: iqn.yyyy-mm.naming-authority:unique-name - Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + Iqns []string `protobuf:"bytes,1,rep,name=iqns,proto3" json:"iqns,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverTargetPortalResponse) Reset() { - *x = DiscoverTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverTargetPortalResponse) Reset() { *m = DiscoverTargetPortalResponse{} } +func (m *DiscoverTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*DiscoverTargetPortalResponse) ProtoMessage() {} +func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{4} } -func (x *DiscoverTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverTargetPortalResponse.Unmarshal(m, b) } - -func (*DiscoverTargetPortalResponse) ProtoMessage() {} - -func (x *DiscoverTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*DiscoverTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{4} +func (m *DiscoverTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverTargetPortalResponse.Merge(m, src) +} +func (m *DiscoverTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_DiscoverTargetPortalResponse.Size(m) } +func (m *DiscoverTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverTargetPortalResponse proto.InternalMessageInfo -func (x *DiscoverTargetPortalResponse) GetIqns() []string { - if x != nil { - return x.Iqns +func (m *DiscoverTargetPortalResponse) GetIqns() []string { + if m != nil { + return m.Iqns } return nil } type RemoveTargetPortalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // iSCSI Target Portal - TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalRequest) Reset() { - *x = RemoveTargetPortalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalRequest) Reset() { *m = RemoveTargetPortalRequest{} } +func (m *RemoveTargetPortalRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalRequest) ProtoMessage() {} +func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{5} } -func (x *RemoveTargetPortalRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalRequest.Unmarshal(m, b) } - -func (*RemoveTargetPortalRequest) ProtoMessage() {} - -func (x *RemoveTargetPortalRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalRequest.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{5} +func (m *RemoveTargetPortalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalRequest.Merge(m, src) +} +func (m *RemoveTargetPortalRequest) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalRequest.Size(m) +} +func (m *RemoveTargetPortalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalRequest.DiscardUnknown(m) } -func (x *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_RemoveTargetPortalRequest proto.InternalMessageInfo + +func (m *RemoveTargetPortalRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } type RemoveTargetPortalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveTargetPortalResponse) Reset() { - *x = RemoveTargetPortalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveTargetPortalResponse) Reset() { *m = RemoveTargetPortalResponse{} } +func (m *RemoveTargetPortalResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveTargetPortalResponse) ProtoMessage() {} +func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{6} } -func (x *RemoveTargetPortalResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveTargetPortalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveTargetPortalResponse.Unmarshal(m, b) } - -func (*RemoveTargetPortalResponse) ProtoMessage() {} - -func (x *RemoveTargetPortalResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveTargetPortalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveTargetPortalResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveTargetPortalResponse.ProtoReflect.Descriptor instead. -func (*RemoveTargetPortalResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{6} +func (m *RemoveTargetPortalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetPortalResponse.Merge(m, src) +} +func (m *RemoveTargetPortalResponse) XXX_Size() int { + return xxx_messageInfo_RemoveTargetPortalResponse.Size(m) } +func (m *RemoveTargetPortalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTargetPortalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTargetPortalResponse proto.InternalMessageInfo type ListTargetPortalsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsRequest) Reset() { - *x = ListTargetPortalsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsRequest) Reset() { *m = ListTargetPortalsRequest{} } +func (m *ListTargetPortalsRequest) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsRequest) ProtoMessage() {} +func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{7} } -func (x *ListTargetPortalsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsRequest.Unmarshal(m, b) } - -func (*ListTargetPortalsRequest) ProtoMessage() {} - -func (x *ListTargetPortalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsRequest.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{7} +func (m *ListTargetPortalsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsRequest.Merge(m, src) +} +func (m *ListTargetPortalsRequest) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsRequest.Size(m) +} +func (m *ListTargetPortalsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsRequest.DiscardUnknown(m) } -type ListTargetPortalsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ListTargetPortalsRequest proto.InternalMessageInfo +type ListTargetPortalsResponse struct { // A list of Target Portals currently registered in the initiator - TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + TargetPortals []*TargetPortal `protobuf:"bytes,1,rep,name=target_portals,json=targetPortals,proto3" json:"target_portals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListTargetPortalsResponse) Reset() { - *x = ListTargetPortalsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListTargetPortalsResponse) Reset() { *m = ListTargetPortalsResponse{} } +func (m *ListTargetPortalsResponse) String() string { return proto.CompactTextString(m) } +func (*ListTargetPortalsResponse) ProtoMessage() {} +func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{8} } -func (x *ListTargetPortalsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListTargetPortalsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTargetPortalsResponse.Unmarshal(m, b) } - -func (*ListTargetPortalsResponse) ProtoMessage() {} - -func (x *ListTargetPortalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ListTargetPortalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTargetPortalsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListTargetPortalsResponse.ProtoReflect.Descriptor instead. -func (*ListTargetPortalsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{8} +func (m *ListTargetPortalsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetPortalsResponse.Merge(m, src) +} +func (m *ListTargetPortalsResponse) XXX_Size() int { + return xxx_messageInfo_ListTargetPortalsResponse.Size(m) +} +func (m *ListTargetPortalsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTargetPortalsResponse.DiscardUnknown(m) } -func (x *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { - if x != nil { - return x.TargetPortals +var xxx_messageInfo_ListTargetPortalsResponse proto.InternalMessageInfo + +func (m *ListTargetPortalsResponse) GetTargetPortals() []*TargetPortal { + if m != nil { + return m.TargetPortals } return nil } type ConnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal to which the initiator will connect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target @@ -513,845 +419,418 @@ type ConnectTargetRequest struct { // CHAP Username used to authenticate the initiator ChapUsername string `protobuf:"bytes,4,opt,name=chap_username,json=chapUsername,proto3" json:"chap_username,omitempty"` // CHAP password used to authenticate the initiator - ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + ChapSecret string `protobuf:"bytes,5,opt,name=chap_secret,json=chapSecret,proto3" json:"chap_secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetRequest) Reset() { - *x = ConnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetRequest) Reset() { *m = ConnectTargetRequest{} } +func (m *ConnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetRequest) ProtoMessage() {} +func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{9} } -func (x *ConnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetRequest.Unmarshal(m, b) } - -func (*ConnectTargetRequest) ProtoMessage() {} - -func (x *ConnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetRequest.ProtoReflect.Descriptor instead. -func (*ConnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{9} +func (m *ConnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetRequest.Merge(m, src) +} +func (m *ConnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_ConnectTargetRequest.Size(m) } +func (m *ConnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConnectTargetRequest proto.InternalMessageInfo -func (x *ConnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *ConnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *ConnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *ConnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } -func (x *ConnectTargetRequest) GetAuthType() AuthenticationType { - if x != nil { - return x.AuthType +func (m *ConnectTargetRequest) GetAuthType() AuthenticationType { + if m != nil { + return m.AuthType } return AuthenticationType_NONE } -func (x *ConnectTargetRequest) GetChapUsername() string { - if x != nil { - return x.ChapUsername +func (m *ConnectTargetRequest) GetChapUsername() string { + if m != nil { + return m.ChapUsername } return "" } -func (x *ConnectTargetRequest) GetChapSecret() string { - if x != nil { - return x.ChapSecret +func (m *ConnectTargetRequest) GetChapSecret() string { + if m != nil { + return m.ChapSecret } return "" } type ConnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConnectTargetResponse) Reset() { - *x = ConnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConnectTargetResponse) Reset() { *m = ConnectTargetResponse{} } +func (m *ConnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*ConnectTargetResponse) ProtoMessage() {} +func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{10} } -func (x *ConnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConnectTargetResponse.Unmarshal(m, b) } - -func (*ConnectTargetResponse) ProtoMessage() {} - -func (x *ConnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConnectTargetResponse.ProtoReflect.Descriptor instead. -func (*ConnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{10} +func (m *ConnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectTargetResponse.Merge(m, src) +} +func (m *ConnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_ConnectTargetResponse.Size(m) +} +func (m *ConnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConnectTargetResponse.DiscardUnknown(m) } -type GetTargetDisksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ConnectTargetResponse proto.InternalMessageInfo +type GetTargetDisksRequest struct { // Target portal whose disks will be queried TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksRequest) Reset() { - *x = GetTargetDisksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksRequest) Reset() { *m = GetTargetDisksRequest{} } +func (m *GetTargetDisksRequest) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksRequest) ProtoMessage() {} +func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{11} } -func (x *GetTargetDisksRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksRequest.Unmarshal(m, b) } - -func (*GetTargetDisksRequest) ProtoMessage() {} - -func (x *GetTargetDisksRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *GetTargetDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksRequest.ProtoReflect.Descriptor instead. -func (*GetTargetDisksRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{11} +func (m *GetTargetDisksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksRequest.Merge(m, src) +} +func (m *GetTargetDisksRequest) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksRequest.Size(m) } +func (m *GetTargetDisksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksRequest proto.InternalMessageInfo -func (x *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +func (m *GetTargetDisksRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *GetTargetDisksRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *GetTargetDisksRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type GetTargetDisksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List composed of disk ids (numbers) that are associated with the // iSCSI target - DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + DiskIDs []string `protobuf:"bytes,1,rep,name=diskIDs,proto3" json:"diskIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetTargetDisksResponse) Reset() { - *x = GetTargetDisksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetTargetDisksResponse) Reset() { *m = GetTargetDisksResponse{} } +func (m *GetTargetDisksResponse) String() string { return proto.CompactTextString(m) } +func (*GetTargetDisksResponse) ProtoMessage() {} +func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{12} } -func (x *GetTargetDisksResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetTargetDisksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTargetDisksResponse.Unmarshal(m, b) } - -func (*GetTargetDisksResponse) ProtoMessage() {} - -func (x *GetTargetDisksResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_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) +func (m *GetTargetDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTargetDisksResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetTargetDisksResponse.ProtoReflect.Descriptor instead. -func (*GetTargetDisksResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{12} +func (m *GetTargetDisksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetDisksResponse.Merge(m, src) +} +func (m *GetTargetDisksResponse) XXX_Size() int { + return xxx_messageInfo_GetTargetDisksResponse.Size(m) } +func (m *GetTargetDisksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTargetDisksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTargetDisksResponse proto.InternalMessageInfo -func (x *GetTargetDisksResponse) GetDiskIDs() []string { - if x != nil { - return x.DiskIDs +func (m *GetTargetDisksResponse) GetDiskIDs() []string { + if m != nil { + return m.DiskIDs } return nil } type DisconnectTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Target portal from which initiator will disconnect TargetPortal *TargetPortal `protobuf:"bytes,1,opt,name=target_portal,json=targetPortal,proto3" json:"target_portal,omitempty"` // IQN of the iSCSI Target - Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + Iqn string `protobuf:"bytes,2,opt,name=iqn,proto3" json:"iqn,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetRequest) Reset() { - *x = DisconnectTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetRequest) Reset() { *m = DisconnectTargetRequest{} } +func (m *DisconnectTargetRequest) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetRequest) ProtoMessage() {} +func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{13} } -func (x *DisconnectTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetRequest.Unmarshal(m, b) } - -func (*DisconnectTargetRequest) ProtoMessage() {} - -func (x *DisconnectTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetRequest.ProtoReflect.Descriptor instead. -func (*DisconnectTargetRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{13} +func (m *DisconnectTargetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetRequest.Merge(m, src) +} +func (m *DisconnectTargetRequest) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetRequest.Size(m) +} +func (m *DisconnectTargetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetRequest.DiscardUnknown(m) } -func (x *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { - if x != nil { - return x.TargetPortal +var xxx_messageInfo_DisconnectTargetRequest proto.InternalMessageInfo + +func (m *DisconnectTargetRequest) GetTargetPortal() *TargetPortal { + if m != nil { + return m.TargetPortal } return nil } -func (x *DisconnectTargetRequest) GetIqn() string { - if x != nil { - return x.Iqn +func (m *DisconnectTargetRequest) GetIqn() string { + if m != nil { + return m.Iqn } return "" } type DisconnectTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DisconnectTargetResponse) Reset() { - *x = DisconnectTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DisconnectTargetResponse) Reset() { *m = DisconnectTargetResponse{} } +func (m *DisconnectTargetResponse) String() string { return proto.CompactTextString(m) } +func (*DisconnectTargetResponse) ProtoMessage() {} +func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{14} } -func (x *DisconnectTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DisconnectTargetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectTargetResponse.Unmarshal(m, b) } - -func (*DisconnectTargetResponse) ProtoMessage() {} - -func (x *DisconnectTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DisconnectTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectTargetResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DisconnectTargetResponse.ProtoReflect.Descriptor instead. -func (*DisconnectTargetResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{14} +func (m *DisconnectTargetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectTargetResponse.Merge(m, src) +} +func (m *DisconnectTargetResponse) XXX_Size() int { + return xxx_messageInfo_DisconnectTargetResponse.Size(m) +} +func (m *DisconnectTargetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectTargetResponse.DiscardUnknown(m) } -type SetMutualChapSecretRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DisconnectTargetResponse proto.InternalMessageInfo +type SetMutualChapSecretRequest struct { // the default CHAP secret that all initiators on this machine (node) use to // authenticate the target on mutual CHAP authentication. // Must be at least 12 byte long for non-Ipsec connections, at least one // byte long for Ipsec connections, and at most 16 bytes long. - MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` + MutualChapSecret string `protobuf:"bytes,1,opt,name=MutualChapSecret,proto3" json:"MutualChapSecret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SetMutualChapSecretRequest) Reset() { - *x = SetMutualChapSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SetMutualChapSecretRequest) Reset() { *m = SetMutualChapSecretRequest{} } +func (m *SetMutualChapSecretRequest) String() string { return proto.CompactTextString(m) } +func (*SetMutualChapSecretRequest) ProtoMessage() {} +func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d2a5b20b77faa63, []int{15} } -func (x *SetMutualChapSecretRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetMutualChapSecretRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMutualChapSecretRequest.Unmarshal(m, b) } - -func (*SetMutualChapSecretRequest) ProtoMessage() {} - -func (x *SetMutualChapSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15] - 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) +func (m *SetMutualChapSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMutualChapSecretRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use SetMutualChapSecretRequest.ProtoReflect.Descriptor instead. -func (*SetMutualChapSecretRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{15} +func (m *SetMutualChapSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMutualChapSecretRequest.Merge(m, src) } - -func (x *SetMutualChapSecretRequest) GetMutualChapSecret() string { - if x != nil { - return x.MutualChapSecret - } - return "" +func (m *SetMutualChapSecretRequest) XXX_Size() int { + return xxx_messageInfo_SetMutualChapSecretRequest.Size(m) } - -type SetMutualChapSecretResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *SetMutualChapSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetMutualChapSecretRequest.DiscardUnknown(m) } -func (x *SetMutualChapSecretResponse) Reset() { - *x = SetMutualChapSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} +var xxx_messageInfo_SetMutualChapSecretRequest proto.InternalMessageInfo -func (x *SetMutualChapSecretResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SetMutualChapSecretRequest) GetMutualChapSecret() string { + if m != nil { + return m.MutualChapSecret + } + return "" } -func (*SetMutualChapSecretResponse) ProtoMessage() {} - -func (x *SetMutualChapSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16] - 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) +type SetMutualChapSecretResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use SetMutualChapSecretResponse.ProtoReflect.Descriptor instead. +func (m *SetMutualChapSecretResponse) Reset() { *m = SetMutualChapSecretResponse{} } +func (m *SetMutualChapSecretResponse) String() string { return proto.CompactTextString(m) } +func (*SetMutualChapSecretResponse) ProtoMessage() {} func (*SetMutualChapSecretResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP(), []int{16} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x69, 0x73, 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x22, 0x56, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x55, 0x0a, 0x16, 0x41, - 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, - 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, - 0x1b, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x1c, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x71, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x69, 0x71, 0x6e, 0x73, 0x22, 0x58, 0x0a, - 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x5a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, - 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0d, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x22, 0xe6, 0x01, - 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x70, 0x5f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x66, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x17, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x69, 0x71, 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, - 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x2a, 0x0a, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x4d, 0x75, 0x74, 0x75, 0x61, - 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x53, - 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x41, 0x0a, 0x12, 0x41, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x4e, - 0x45, 0x5f, 0x57, 0x41, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, - 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x02, 0x32, 0xfb, 0x05, - 0x0a, 0x05, 0x49, 0x73, 0x63, 0x73, 0x69, 0x12, 0x58, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x67, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, - 0x12, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, - 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, - 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, - 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, - 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5b, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, - 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, - 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, - 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, - 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, - 0x74, 0x4d, 0x75, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x73, - 0x63, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = []interface{}{ - (AuthenticationType)(0), // 0: v1alpha2.AuthenticationType - (*TargetPortal)(nil), // 1: v1alpha2.TargetPortal - (*AddTargetPortalRequest)(nil), // 2: v1alpha2.AddTargetPortalRequest - (*AddTargetPortalResponse)(nil), // 3: v1alpha2.AddTargetPortalResponse - (*DiscoverTargetPortalRequest)(nil), // 4: v1alpha2.DiscoverTargetPortalRequest - (*DiscoverTargetPortalResponse)(nil), // 5: v1alpha2.DiscoverTargetPortalResponse - (*RemoveTargetPortalRequest)(nil), // 6: v1alpha2.RemoveTargetPortalRequest - (*RemoveTargetPortalResponse)(nil), // 7: v1alpha2.RemoveTargetPortalResponse - (*ListTargetPortalsRequest)(nil), // 8: v1alpha2.ListTargetPortalsRequest - (*ListTargetPortalsResponse)(nil), // 9: v1alpha2.ListTargetPortalsResponse - (*ConnectTargetRequest)(nil), // 10: v1alpha2.ConnectTargetRequest - (*ConnectTargetResponse)(nil), // 11: v1alpha2.ConnectTargetResponse - (*GetTargetDisksRequest)(nil), // 12: v1alpha2.GetTargetDisksRequest - (*GetTargetDisksResponse)(nil), // 13: v1alpha2.GetTargetDisksResponse - (*DisconnectTargetRequest)(nil), // 14: v1alpha2.DisconnectTargetRequest - (*DisconnectTargetResponse)(nil), // 15: v1alpha2.DisconnectTargetResponse - (*SetMutualChapSecretRequest)(nil), // 16: v1alpha2.SetMutualChapSecretRequest - (*SetMutualChapSecretResponse)(nil), // 17: v1alpha2.SetMutualChapSecretResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha2.AddTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 1: v1alpha2.DiscoverTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 2: v1alpha2.RemoveTargetPortalRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 3: v1alpha2.ListTargetPortalsResponse.target_portals:type_name -> v1alpha2.TargetPortal - 1, // 4: v1alpha2.ConnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal - 0, // 5: v1alpha2.ConnectTargetRequest.auth_type:type_name -> v1alpha2.AuthenticationType - 1, // 6: v1alpha2.GetTargetDisksRequest.target_portal:type_name -> v1alpha2.TargetPortal - 1, // 7: v1alpha2.DisconnectTargetRequest.target_portal:type_name -> v1alpha2.TargetPortal - 2, // 8: v1alpha2.Iscsi.AddTargetPortal:input_type -> v1alpha2.AddTargetPortalRequest - 4, // 9: v1alpha2.Iscsi.DiscoverTargetPortal:input_type -> v1alpha2.DiscoverTargetPortalRequest - 6, // 10: v1alpha2.Iscsi.RemoveTargetPortal:input_type -> v1alpha2.RemoveTargetPortalRequest - 8, // 11: v1alpha2.Iscsi.ListTargetPortals:input_type -> v1alpha2.ListTargetPortalsRequest - 10, // 12: v1alpha2.Iscsi.ConnectTarget:input_type -> v1alpha2.ConnectTargetRequest - 14, // 13: v1alpha2.Iscsi.DisconnectTarget:input_type -> v1alpha2.DisconnectTargetRequest - 12, // 14: v1alpha2.Iscsi.GetTargetDisks:input_type -> v1alpha2.GetTargetDisksRequest - 16, // 15: v1alpha2.Iscsi.SetMutualChapSecret:input_type -> v1alpha2.SetMutualChapSecretRequest - 3, // 16: v1alpha2.Iscsi.AddTargetPortal:output_type -> v1alpha2.AddTargetPortalResponse - 5, // 17: v1alpha2.Iscsi.DiscoverTargetPortal:output_type -> v1alpha2.DiscoverTargetPortalResponse - 7, // 18: v1alpha2.Iscsi.RemoveTargetPortal:output_type -> v1alpha2.RemoveTargetPortalResponse - 9, // 19: v1alpha2.Iscsi.ListTargetPortals:output_type -> v1alpha2.ListTargetPortalsResponse - 11, // 20: v1alpha2.Iscsi.ConnectTarget:output_type -> v1alpha2.ConnectTargetResponse - 15, // 21: v1alpha2.Iscsi.DisconnectTarget:output_type -> v1alpha2.DisconnectTargetResponse - 13, // 22: v1alpha2.Iscsi.GetTargetDisks:output_type -> v1alpha2.GetTargetDisksResponse - 17, // 23: v1alpha2.Iscsi.SetMutualChapSecret:output_type -> v1alpha2.SetMutualChapSecretResponse - 16, // [16:24] is the sub-list for method output_type - 8, // [8:16] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TargetPortal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTargetPortalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTargetPortalsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetDisksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMutualChapSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetMutualChapSecretResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc, - NumEnums: 1, - NumMessages: 17, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_iscsi_v1alpha2_api_proto_depIdxs = nil + return fileDescriptor_3d2a5b20b77faa63, []int{16} +} + +func (m *SetMutualChapSecretResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetMutualChapSecretResponse.Unmarshal(m, b) +} +func (m *SetMutualChapSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetMutualChapSecretResponse.Marshal(b, m, deterministic) +} +func (m *SetMutualChapSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetMutualChapSecretResponse.Merge(m, src) +} +func (m *SetMutualChapSecretResponse) XXX_Size() int { + return xxx_messageInfo_SetMutualChapSecretResponse.Size(m) +} +func (m *SetMutualChapSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetMutualChapSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetMutualChapSecretResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("v1alpha2.AuthenticationType", AuthenticationType_name, AuthenticationType_value) + proto.RegisterType((*TargetPortal)(nil), "v1alpha2.TargetPortal") + proto.RegisterType((*AddTargetPortalRequest)(nil), "v1alpha2.AddTargetPortalRequest") + proto.RegisterType((*AddTargetPortalResponse)(nil), "v1alpha2.AddTargetPortalResponse") + proto.RegisterType((*DiscoverTargetPortalRequest)(nil), "v1alpha2.DiscoverTargetPortalRequest") + proto.RegisterType((*DiscoverTargetPortalResponse)(nil), "v1alpha2.DiscoverTargetPortalResponse") + proto.RegisterType((*RemoveTargetPortalRequest)(nil), "v1alpha2.RemoveTargetPortalRequest") + proto.RegisterType((*RemoveTargetPortalResponse)(nil), "v1alpha2.RemoveTargetPortalResponse") + proto.RegisterType((*ListTargetPortalsRequest)(nil), "v1alpha2.ListTargetPortalsRequest") + proto.RegisterType((*ListTargetPortalsResponse)(nil), "v1alpha2.ListTargetPortalsResponse") + proto.RegisterType((*ConnectTargetRequest)(nil), "v1alpha2.ConnectTargetRequest") + proto.RegisterType((*ConnectTargetResponse)(nil), "v1alpha2.ConnectTargetResponse") + proto.RegisterType((*GetTargetDisksRequest)(nil), "v1alpha2.GetTargetDisksRequest") + proto.RegisterType((*GetTargetDisksResponse)(nil), "v1alpha2.GetTargetDisksResponse") + proto.RegisterType((*DisconnectTargetRequest)(nil), "v1alpha2.DisconnectTargetRequest") + proto.RegisterType((*DisconnectTargetResponse)(nil), "v1alpha2.DisconnectTargetResponse") + proto.RegisterType((*SetMutualChapSecretRequest)(nil), "v1alpha2.SetMutualChapSecretRequest") + proto.RegisterType((*SetMutualChapSecretResponse)(nil), "v1alpha2.SetMutualChapSecretResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/iscsi/v1alpha2/api.proto", fileDescriptor_3d2a5b20b77faa63) +} + +var fileDescriptor_3d2a5b20b77faa63 = []byte{ + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x5b, 0x4f, 0xdb, 0x4c, + 0x10, 0x25, 0x5c, 0xbe, 0x8f, 0x0c, 0x09, 0xa4, 0x53, 0x2e, 0xc6, 0xd0, 0x12, 0x96, 0x52, 0x45, + 0x48, 0x24, 0x6a, 0xfa, 0x54, 0x55, 0xa8, 0x72, 0x01, 0x01, 0x12, 0x37, 0x19, 0xd2, 0x52, 0x2a, + 0x35, 0x5a, 0x9c, 0x2d, 0x59, 0x11, 0x6c, 0xe3, 0x5d, 0xa3, 0xf2, 0x87, 0xfb, 0x27, 0xfa, 0x52, + 0xd9, 0xde, 0x38, 0x26, 0x71, 0xc2, 0x43, 0xc3, 0x9b, 0xf7, 0xec, 0x99, 0x33, 0xb3, 0xb3, 0xb3, + 0x47, 0x86, 0xbd, 0x6b, 0x2e, 0x9b, 0xfe, 0x55, 0xd9, 0x72, 0x6e, 0x2b, 0x37, 0xfe, 0x15, 0xf3, + 0x6c, 0x26, 0x99, 0xd8, 0xb4, 0x04, 0xaf, 0x58, 0x82, 0x6f, 0xba, 0x9e, 0xf3, 0xeb, 0xa1, 0x62, + 0xb5, 0x38, 0xb3, 0x65, 0x85, 0xba, 0xbc, 0xc2, 0x45, 0xb0, 0x75, 0xff, 0x8e, 0xb6, 0xdc, 0x26, + 0xad, 0x06, 0x50, 0xd9, 0xf5, 0x1c, 0xe9, 0xe0, 0x64, 0x1b, 0x23, 0x5f, 0x20, 0x77, 0x4e, 0xbd, + 0x6b, 0x26, 0x4f, 0x1d, 0x4f, 0xd2, 0x16, 0xae, 0xc3, 0xb4, 0x0c, 0xd7, 0x75, 0xda, 0x68, 0x78, + 0x4c, 0x08, 0x2d, 0x53, 0xcc, 0x94, 0xb2, 0x66, 0x3e, 0x42, 0x8d, 0x08, 0xc4, 0x15, 0x98, 0x52, + 0x34, 0xd7, 0xf1, 0xa4, 0x36, 0x5a, 0xcc, 0x94, 0xf2, 0x26, 0xc8, 0x58, 0x89, 0xd4, 0x60, 0xde, + 0x68, 0x34, 0x92, 0xd2, 0x26, 0xbb, 0xf3, 0x99, 0x90, 0xf8, 0x11, 0xf2, 0x89, 0x50, 0xda, 0x0a, + 0x13, 0x4c, 0x55, 0xe7, 0xcb, 0xed, 0x9a, 0xca, 0x8f, 0xa2, 0x72, 0x32, 0xb1, 0x22, 0x8b, 0xb0, + 0xd0, 0x23, 0x2b, 0x5c, 0xc7, 0x16, 0x8c, 0x5c, 0xc2, 0xd2, 0x0e, 0x17, 0x96, 0x73, 0xcf, 0xbc, + 0xa1, 0xa7, 0xad, 0xc2, 0x72, 0xba, 0x76, 0x94, 0x1b, 0x11, 0xc6, 0xf9, 0x9d, 0x1d, 0xf4, 0x6a, + 0xac, 0x94, 0x35, 0xc3, 0x6f, 0x72, 0x01, 0x8b, 0x26, 0xbb, 0x75, 0xee, 0xd9, 0xd0, 0xab, 0x59, + 0x06, 0x3d, 0x4d, 0x59, 0xf5, 0x41, 0x07, 0xed, 0x90, 0x0b, 0x99, 0xdc, 0x13, 0x2a, 0x2d, 0xb9, + 0x84, 0xc5, 0x94, 0x3d, 0x75, 0x88, 0xad, 0xf8, 0xea, 0xa3, 0x9a, 0xa2, 0xe3, 0xf4, 0x2f, 0x2a, + 0x9f, 0x2c, 0x4a, 0x90, 0xdf, 0x19, 0x98, 0xdd, 0x76, 0x6c, 0x9b, 0x59, 0x4a, 0x7f, 0x18, 0x67, + 0xc5, 0x02, 0x8c, 0xf1, 0x3b, 0x3b, 0x1c, 0xb0, 0xac, 0x19, 0x7c, 0xe2, 0x07, 0xc8, 0x52, 0x5f, + 0x36, 0xeb, 0xf2, 0xc1, 0x65, 0xda, 0x58, 0x31, 0x53, 0x9a, 0xae, 0x2e, 0x77, 0xa4, 0x0c, 0x5f, + 0x36, 0x99, 0x2d, 0xb9, 0x45, 0x25, 0x77, 0xec, 0xf3, 0x07, 0x97, 0x99, 0x93, 0x01, 0x3d, 0xf8, + 0xc2, 0x35, 0xc8, 0x5b, 0x4d, 0xea, 0xd6, 0x7d, 0xc1, 0x3c, 0x9b, 0xde, 0x32, 0x6d, 0x3c, 0x94, + 0xcd, 0x05, 0x60, 0x4d, 0x61, 0xc1, 0x68, 0x87, 0x24, 0xc1, 0x2c, 0x8f, 0x49, 0x6d, 0x22, 0xa4, + 0x40, 0x00, 0x9d, 0x85, 0x08, 0x59, 0x80, 0xb9, 0xae, 0x73, 0xaa, 0xce, 0xff, 0x84, 0xb9, 0x3d, + 0xa6, 0xc0, 0x1d, 0x2e, 0x6e, 0xc4, 0xf3, 0x74, 0x80, 0x54, 0x61, 0xbe, 0x3b, 0x8f, 0xba, 0x42, + 0x0d, 0xfe, 0x6f, 0x70, 0x71, 0x73, 0xb0, 0xd3, 0x1e, 0xc5, 0xf6, 0x92, 0x34, 0x61, 0x21, 0x9c, + 0xe0, 0x67, 0xbf, 0x9f, 0x60, 0xfe, 0x7a, 0x33, 0xa9, 0x0e, 0xed, 0x83, 0x7e, 0xc6, 0xe4, 0x91, + 0x2f, 0x7d, 0xda, 0xda, 0x8e, 0x3b, 0xda, 0x2e, 0x64, 0x03, 0x0a, 0xdd, 0x5b, 0xca, 0x7d, 0x7a, + 0x70, 0xf2, 0x0a, 0x96, 0x52, 0x95, 0xa2, 0x44, 0x1b, 0x06, 0x60, 0xef, 0x24, 0xe0, 0x24, 0x8c, + 0x1f, 0x9f, 0x1c, 0xef, 0x16, 0x46, 0xb0, 0x00, 0xb9, 0x93, 0xe3, 0xdd, 0xfa, 0x57, 0xe3, 0x5b, + 0x7d, 0x7b, 0xdf, 0x38, 0x2d, 0x64, 0x70, 0x06, 0xa6, 0x8e, 0x6a, 0xe7, 0x35, 0xe3, 0x30, 0x02, + 0x46, 0xab, 0x7f, 0x26, 0x60, 0xe2, 0x20, 0x30, 0x50, 0xbc, 0x80, 0x99, 0x2e, 0xd3, 0xc1, 0x62, + 0x62, 0xe2, 0x52, 0x6d, 0x4e, 0x5f, 0x1d, 0xc0, 0x50, 0xdd, 0x18, 0xc1, 0x6b, 0x98, 0x4d, 0xf3, + 0x15, 0x5c, 0xef, 0x04, 0x0f, 0xf0, 0x34, 0xfd, 0xed, 0x53, 0xb4, 0x38, 0x11, 0x05, 0xec, 0xb5, + 0x0c, 0x5c, 0xeb, 0xc4, 0xf7, 0xb5, 0x2a, 0xfd, 0xcd, 0x60, 0x52, 0x9c, 0xe2, 0x07, 0xbc, 0xe8, + 0xf1, 0x16, 0x24, 0x9d, 0xe0, 0x7e, 0xa6, 0xa4, 0xaf, 0x0d, 0xe4, 0xc4, 0xfa, 0x26, 0xe4, 0x1f, + 0x3d, 0x3b, 0x7c, 0xdd, 0x89, 0x4b, 0xf3, 0x1d, 0x7d, 0xa5, 0xef, 0x7e, 0xac, 0xf9, 0x1d, 0x0a, + 0xdd, 0xb3, 0x8a, 0xab, 0x5d, 0x4d, 0x4d, 0x51, 0x26, 0x83, 0x28, 0xb1, 0x78, 0x0d, 0xa6, 0x1f, + 0x3f, 0x53, 0x4c, 0x54, 0x94, 0x6a, 0x14, 0x7a, 0xb1, 0x3f, 0x21, 0x96, 0x6d, 0xc0, 0xcb, 0x94, + 0xc9, 0xc7, 0xc4, 0x35, 0xf5, 0x7f, 0x62, 0xfa, 0xfa, 0x13, 0xac, 0x76, 0x96, 0xcf, 0x9f, 0x2e, + 0xb7, 0xfe, 0xe9, 0x67, 0xe3, 0xea, 0xbf, 0xf0, 0x4f, 0xe3, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xaf, 0xbf, 0xa1, 0x93, 0xb4, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1510,28 +989,28 @@ type IscsiServer interface { type UnimplementedIscsiServer struct { } -func (*UnimplementedIscsiServer) AddTargetPortal(context.Context, *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) AddTargetPortal(ctx context.Context, req *AddTargetPortalRequest) (*AddTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTargetPortal not implemented") } -func (*UnimplementedIscsiServer) DiscoverTargetPortal(context.Context, *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) DiscoverTargetPortal(ctx context.Context, req *DiscoverTargetPortalRequest) (*DiscoverTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiscoverTargetPortal not implemented") } -func (*UnimplementedIscsiServer) RemoveTargetPortal(context.Context, *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { +func (*UnimplementedIscsiServer) RemoveTargetPortal(ctx context.Context, req *RemoveTargetPortalRequest) (*RemoveTargetPortalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTargetPortal not implemented") } -func (*UnimplementedIscsiServer) ListTargetPortals(context.Context, *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { +func (*UnimplementedIscsiServer) ListTargetPortals(ctx context.Context, req *ListTargetPortalsRequest) (*ListTargetPortalsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTargetPortals not implemented") } -func (*UnimplementedIscsiServer) ConnectTarget(context.Context, *ConnectTargetRequest) (*ConnectTargetResponse, error) { +func (*UnimplementedIscsiServer) ConnectTarget(ctx context.Context, req *ConnectTargetRequest) (*ConnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectTarget not implemented") } -func (*UnimplementedIscsiServer) DisconnectTarget(context.Context, *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { +func (*UnimplementedIscsiServer) DisconnectTarget(ctx context.Context, req *DisconnectTargetRequest) (*DisconnectTargetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectTarget not implemented") } -func (*UnimplementedIscsiServer) GetTargetDisks(context.Context, *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { +func (*UnimplementedIscsiServer) GetTargetDisks(ctx context.Context, req *GetTargetDisksRequest) (*GetTargetDisksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTargetDisks not implemented") } -func (*UnimplementedIscsiServer) SetMutualChapSecret(context.Context, *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { +func (*UnimplementedIscsiServer) SetMutualChapSecret(ctx context.Context, req *SetMutualChapSecretRequest) (*SetMutualChapSecretResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetMutualChapSecret not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go index 906d2eba..67c8fffa 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.pb.go @@ -1,34 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type NewSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type NewSmbGlobalMappingRequest struct { // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -44,123 +40,107 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingRequest) Reset() { - *x = NewSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } +func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{0} } -func (x *NewSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) +} +func (m *NewSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) +} +func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) } -func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo + +func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } -func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { - if x != nil { - return x.LocalPath +func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { + if m != nil { + return m.LocalPath } return "" } -func (x *NewSmbGlobalMappingRequest) GetUsername() string { - if x != nil { - return x.Username +func (m *NewSmbGlobalMappingRequest) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *NewSmbGlobalMappingRequest) GetPassword() string { - if x != nil { - return x.Password +func (m *NewSmbGlobalMappingRequest) GetPassword() string { + if m != nil { + return m.Password } return "" } type NewSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingResponse) Reset() { - *x = NewSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } +func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{1} } -func (x *NewSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) +} +func (m *NewSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) } +func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo -func (x *NewSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +func (m *NewSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RemoveSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -170,250 +150,117 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingRequest) Reset() { - *x = RemoveSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } +func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{2} } -func (x *RemoveSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_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) +func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) } +func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo -func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingResponse) Reset() { - *x = RemoveSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } +func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_76c5c101454f8b9a, []int{3} } -func (x *RemoveSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) } -func (x *RemoveSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo + +func (m *RemoveSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, - 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, - 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, - 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, - 0x36, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, - 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xda, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, - 0x64, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, - 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, - 0x27, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, - 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, - 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1alpha1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1alpha1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1alpha1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1alpha1.RemoveSmbGlobalMappingResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.Smb.NewSmbGlobalMapping:input_type -> v1alpha1.NewSmbGlobalMappingRequest - 2, // 1: v1alpha1.Smb.RemoveSmbGlobalMapping:input_type -> v1alpha1.RemoveSmbGlobalMappingRequest - 1, // 2: v1alpha1.Smb.NewSmbGlobalMapping:output_type -> v1alpha1.NewSmbGlobalMappingResponse - 3, // 3: v1alpha1.Smb.RemoveSmbGlobalMapping:output_type -> v1alpha1.RemoveSmbGlobalMappingResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1alpha1.NewSmbGlobalMappingRequest") + proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1alpha1.NewSmbGlobalMappingResponse") + proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1alpha1.RemoveSmbGlobalMappingRequest") + proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1alpha1.RemoveSmbGlobalMappingResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto", fileDescriptor_76c5c101454f8b9a) +} + +var fileDescriptor_76c5c101454f8b9a = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4a, 0x03, 0x31, + 0x10, 0xc6, 0x5d, 0xab, 0xd2, 0x8e, 0xb7, 0x28, 0x52, 0x56, 0xaa, 0xb2, 0x28, 0xf6, 0xd2, 0x0d, + 0xb5, 0xe0, 0xd9, 0x8b, 0x78, 0x52, 0xa4, 0x7d, 0x00, 0x49, 0xb6, 0x43, 0x37, 0x98, 0xec, 0xc4, + 0x24, 0xdb, 0xea, 0x7b, 0xf8, 0x74, 0x3e, 0x8d, 0x74, 0xd7, 0xd5, 0x4b, 0xff, 0x80, 0xc7, 0xef, + 0xfb, 0x0d, 0x33, 0x5f, 0x3e, 0x02, 0xf7, 0x33, 0x15, 0xf2, 0x52, 0xa6, 0x19, 0x19, 0xfe, 0x5a, + 0x4a, 0x74, 0x05, 0x06, 0xf4, 0x83, 0xcc, 0x2b, 0x9e, 0x79, 0x35, 0xb0, 0x8e, 0xde, 0x3f, 0x78, + 0xa6, 0x15, 0x16, 0x81, 0x0b, 0xab, 0xb8, 0x37, 0x92, 0xcf, 0x87, 0x42, 0xdb, 0x5c, 0x0c, 0x97, + 0x46, 0x6a, 0x1d, 0x05, 0x62, 0xed, 0xc6, 0x4b, 0x3e, 0x23, 0x88, 0x9f, 0x70, 0x31, 0x31, 0xf2, + 0x41, 0x93, 0x14, 0xfa, 0x51, 0x58, 0xab, 0x8a, 0xd9, 0x18, 0xdf, 0x4a, 0xf4, 0x81, 0x9d, 0xc3, + 0xa1, 0x43, 0x43, 0x01, 0x5f, 0xac, 0x08, 0x79, 0x37, 0xba, 0x88, 0xfa, 0x9d, 0x31, 0xd4, 0xd6, + 0xb3, 0x08, 0x39, 0xeb, 0x01, 0x68, 0xca, 0x84, 0xae, 0xf9, 0x6e, 0xc5, 0x3b, 0x95, 0x53, 0xe1, + 0x18, 0xda, 0xa5, 0x47, 0x57, 0x08, 0x83, 0xdd, 0x56, 0x05, 0x7f, 0xf5, 0x92, 0x59, 0xe1, 0xfd, + 0x82, 0xdc, 0xb4, 0xbb, 0x57, 0xb3, 0x46, 0x27, 0x23, 0x38, 0x5d, 0x99, 0xca, 0x5b, 0x2a, 0x3c, + 0xb2, 0x63, 0xd8, 0x47, 0xe7, 0xc8, 0xfd, 0x04, 0xaa, 0x45, 0x72, 0x07, 0xbd, 0x31, 0x1a, 0x9a, + 0xe3, 0x7f, 0x5f, 0x93, 0xdc, 0xc2, 0xd9, 0xba, 0x0d, 0x9b, 0x2e, 0xdf, 0x7c, 0x45, 0xd0, 0x9a, + 0x18, 0xc9, 0xa6, 0x70, 0xb4, 0x22, 0x36, 0xbb, 0x4c, 0x9b, 0xbe, 0xd3, 0xf5, 0x5d, 0xc7, 0x57, + 0x5b, 0xa6, 0xea, 0x04, 0xc9, 0x0e, 0x33, 0x70, 0xb2, 0x3a, 0x25, 0xbb, 0xfe, 0x5b, 0xb1, 0xb1, + 0x89, 0xb8, 0xbf, 0x7d, 0xb0, 0x39, 0x27, 0x0f, 0xaa, 0x3f, 0x33, 0xfa, 0x0e, 0x00, 0x00, 0xff, + 0xff, 0x75, 0x05, 0x64, 0xd1, 0x7c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -472,10 +319,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto index 2c9eb221..f4d96e9c 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1"; - service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} @@ -58,4 +56,4 @@ message RemoveSmbGlobalMappingResponse { // Windows error code // Success is represented as 0 string error = 1; -} +} \ No newline at end of file diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go index c83a08d9..fbeb6c91 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.pb.go @@ -1,34 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type NewSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type NewSmbGlobalMappingRequest struct { // A remote SMB share to mount // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -44,123 +40,107 @@ type NewSmbGlobalMappingRequest struct { // Username credential associated with the share Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Password credential associated with the share - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingRequest) Reset() { - *x = NewSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingRequest) Reset() { *m = NewSmbGlobalMappingRequest{} } +func (m *NewSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingRequest) ProtoMessage() {} +func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{0} } -func (x *NewSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingRequest.Merge(m, src) +} +func (m *NewSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingRequest.Size(m) +} +func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingRequest.DiscardUnknown(m) } -func (x *NewSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +var xxx_messageInfo_NewSmbGlobalMappingRequest proto.InternalMessageInfo + +func (m *NewSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } -func (x *NewSmbGlobalMappingRequest) GetLocalPath() string { - if x != nil { - return x.LocalPath +func (m *NewSmbGlobalMappingRequest) GetLocalPath() string { + if m != nil { + return m.LocalPath } return "" } -func (x *NewSmbGlobalMappingRequest) GetUsername() string { - if x != nil { - return x.Username +func (m *NewSmbGlobalMappingRequest) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *NewSmbGlobalMappingRequest) GetPassword() string { - if x != nil { - return x.Password +func (m *NewSmbGlobalMappingRequest) GetPassword() string { + if m != nil { + return m.Password } return "" } type NewSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NewSmbGlobalMappingResponse) Reset() { - *x = NewSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NewSmbGlobalMappingResponse) Reset() { *m = NewSmbGlobalMappingResponse{} } +func (m *NewSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*NewSmbGlobalMappingResponse) ProtoMessage() {} +func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{1} } -func (x *NewSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*NewSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewSmbGlobalMappingResponse.Merge(m, src) +} +func (m *NewSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_NewSmbGlobalMappingResponse.Size(m) } +func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NewSmbGlobalMappingResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NewSmbGlobalMappingResponse proto.InternalMessageInfo -func (x *NewSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +func (m *NewSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } type RemoveSmbGlobalMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // A remote SMB share mapping to remove // All unicode characters allowed in SMB server name specifications are // permitted except for restrictions below @@ -170,259 +150,126 @@ type RemoveSmbGlobalMappingRequest struct { // If not an IP address, share name has to be a valid DNS name. // UNC specifications to local paths or prefix: \\?\ is not allowed. // Characters: + [ ] " / : ; | < > , ? * = $ are not allowed. - RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingRequest) Reset() { - *x = RemoveSmbGlobalMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingRequest) Reset() { *m = RemoveSmbGlobalMappingRequest{} } +func (m *RemoveSmbGlobalMappingRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} +func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{2} } -func (x *RemoveSmbGlobalMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingRequest) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_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) +func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingRequest.Size(m) } +func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSmbGlobalMappingRequest proto.InternalMessageInfo -func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string { - if x != nil { - return x.RemotePath +func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string { + if m != nil { + return m.RemotePath } return "" } type RemoveSmbGlobalMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Windows error code // Success is represented as 0 - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RemoveSmbGlobalMappingResponse) Reset() { - *x = RemoveSmbGlobalMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RemoveSmbGlobalMappingResponse) Reset() { *m = RemoveSmbGlobalMappingResponse{} } +func (m *RemoveSmbGlobalMappingResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} +func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_795681d29a954457, []int{3} } -func (x *RemoveSmbGlobalMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Unmarshal(m, b) } - -func (*RemoveSmbGlobalMappingResponse) ProtoMessage() {} - -func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead. -func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.Merge(m, src) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int { + return xxx_messageInfo_RemoveSmbGlobalMappingResponse.Size(m) +} +func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSmbGlobalMappingResponse.DiscardUnknown(m) } -func (x *RemoveSmbGlobalMappingResponse) GetError() string { - if x != nil { - return x.Error +var xxx_messageInfo_RemoveSmbGlobalMappingResponse proto.InternalMessageInfo + +func (m *RemoveSmbGlobalMappingResponse) GetError() string { + if m != nil { + return m.Error } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x69, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, - 0x94, 0x01, 0x0a, 0x1a, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, - 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, - 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1b, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x40, 0x0a, 0x1d, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, - 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd6, 0x01, 0x0a, 0x03, 0x53, 0x6d, 0x62, 0x12, 0x62, 0x0a, - 0x13, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, - 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x62, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, - 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x6d, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = []interface{}{ - (*NewSmbGlobalMappingRequest)(nil), // 0: v1beta1.NewSmbGlobalMappingRequest - (*NewSmbGlobalMappingResponse)(nil), // 1: v1beta1.NewSmbGlobalMappingResponse - (*RemoveSmbGlobalMappingRequest)(nil), // 2: v1beta1.RemoveSmbGlobalMappingRequest - (*RemoveSmbGlobalMappingResponse)(nil), // 3: v1beta1.RemoveSmbGlobalMappingResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.Smb.NewSmbGlobalMapping:input_type -> v1beta1.NewSmbGlobalMappingRequest - 2, // 1: v1beta1.Smb.RemoveSmbGlobalMapping:input_type -> v1beta1.RemoveSmbGlobalMappingRequest - 1, // 2: v1beta1.Smb.NewSmbGlobalMapping:output_type -> v1beta1.NewSmbGlobalMappingResponse - 3, // 3: v1beta1.Smb.RemoveSmbGlobalMapping:output_type -> v1beta1.RemoveSmbGlobalMappingResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewSmbGlobalMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveSmbGlobalMappingResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*NewSmbGlobalMappingRequest)(nil), "v1beta1.NewSmbGlobalMappingRequest") + proto.RegisterType((*NewSmbGlobalMappingResponse)(nil), "v1beta1.NewSmbGlobalMappingResponse") + proto.RegisterType((*RemoveSmbGlobalMappingRequest)(nil), "v1beta1.RemoveSmbGlobalMappingRequest") + proto.RegisterType((*RemoveSmbGlobalMappingResponse)(nil), "v1beta1.RemoveSmbGlobalMappingResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto", fileDescriptor_795681d29a954457) +} + +var fileDescriptor_795681d29a954457 = []byte{ + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x4e, 0xc3, 0x30, + 0x10, 0x85, 0x09, 0xe5, 0xaf, 0xc3, 0xce, 0x20, 0x54, 0x05, 0x15, 0x50, 0x40, 0xc0, 0xa6, 0xb1, + 0x4a, 0x25, 0xd6, 0x2c, 0x90, 0x58, 0x81, 0x50, 0x7b, 0x00, 0x64, 0x87, 0x51, 0x63, 0x35, 0xce, + 0x18, 0xdb, 0x69, 0xe1, 0x1e, 0x9c, 0x8d, 0xf3, 0xa0, 0x26, 0x69, 0x57, 0x69, 0x90, 0x58, 0xbe, + 0xf9, 0x46, 0xf3, 0x9e, 0x9f, 0x0c, 0x8f, 0x53, 0xe5, 0xd3, 0x42, 0xc6, 0x09, 0x69, 0x3e, 0x2b, + 0x24, 0xda, 0x1c, 0x3d, 0xba, 0x41, 0xe2, 0x14, 0x4f, 0x9c, 0x1a, 0x18, 0x4b, 0x9f, 0x5f, 0x3c, + 0xc9, 0x14, 0xe6, 0x9e, 0x0b, 0xa3, 0xb8, 0xd3, 0x92, 0xcf, 0x87, 0x12, 0xbd, 0x18, 0x2e, 0x75, + 0x6c, 0x2c, 0x79, 0x62, 0xfb, 0xf5, 0x28, 0xfa, 0x0e, 0x20, 0x7c, 0xc1, 0xc5, 0x44, 0xcb, 0xa7, + 0x8c, 0xa4, 0xc8, 0x9e, 0x85, 0x31, 0x2a, 0x9f, 0x8e, 0xf1, 0xa3, 0x40, 0xe7, 0xd9, 0x39, 0x1c, + 0x5a, 0xd4, 0xe4, 0xf1, 0xcd, 0x08, 0x9f, 0xf6, 0x82, 0x8b, 0xe0, 0xb6, 0x3b, 0x86, 0x6a, 0xf4, + 0x2a, 0x7c, 0xca, 0xfa, 0x00, 0x19, 0x25, 0x22, 0xab, 0xf8, 0x76, 0xc9, 0xbb, 0xe5, 0xa4, 0xc4, + 0x21, 0x1c, 0x14, 0x0e, 0x6d, 0x2e, 0x34, 0xf6, 0x3a, 0x25, 0x5c, 0xeb, 0x25, 0x33, 0xc2, 0xb9, + 0x05, 0xd9, 0xf7, 0xde, 0x4e, 0xc5, 0x56, 0x3a, 0x1a, 0xc1, 0x69, 0x63, 0x2a, 0x67, 0x28, 0x77, + 0xc8, 0x8e, 0x61, 0x17, 0xad, 0x25, 0x5b, 0x07, 0xaa, 0x44, 0xf4, 0x00, 0xfd, 0x31, 0x6a, 0x9a, + 0xe3, 0x7f, 0x5f, 0x13, 0xdd, 0xc3, 0xd9, 0xa6, 0x0b, 0x6d, 0xce, 0x77, 0x3f, 0x01, 0x74, 0x26, + 0x5a, 0x32, 0x09, 0x47, 0x0d, 0xb1, 0xd9, 0x65, 0x5c, 0xd7, 0x1d, 0x6f, 0xae, 0x3a, 0xbc, 0x6a, + 0x5f, 0xaa, 0xfc, 0xa3, 0x2d, 0x36, 0x83, 0x93, 0xe6, 0x8c, 0xec, 0x7a, 0x7d, 0xa1, 0xb5, 0x86, + 0xf0, 0xe6, 0xcf, 0xbd, 0x95, 0x99, 0xdc, 0x2b, 0xbf, 0xcb, 0xe8, 0x37, 0x00, 0x00, 0xff, 0xff, + 0xbe, 0xd0, 0x14, 0x1b, 0x76, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // SmbClient is the client API for Smb service. // @@ -435,10 +282,10 @@ type SmbClient interface { } type smbClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewSmbClient(cc grpc.ClientConnInterface) SmbClient { +func NewSmbClient(cc *grpc.ClientConn) SmbClient { return &smbClient{cc} } @@ -472,10 +319,10 @@ type SmbServer interface { type UnimplementedSmbServer struct { } -func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) NewSmbGlobalMapping(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewSmbGlobalMapping not implemented") } -func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { +func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveSmbGlobalMapping not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto index 2e0a4d6a..8a2b515a 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1beta1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta1"; - service Smb { // NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share. rpc NewSmbGlobalMapping(NewSmbGlobalMappingRequest) returns (NewSmbGlobalMappingResponse) {} diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go index bb828fd3..6204cf55 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_status#members type ServiceStatus int32 @@ -38,55 +38,34 @@ const ( ServiceStatus_PAUSED ServiceStatus = 7 ) -// Enum value maps for ServiceStatus. -var ( - ServiceStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "STOPPED", - 2: "START_PENDING", - 3: "STOP_PENDING", - 4: "RUNNING", - 5: "CONTINUE_PENDING", - 6: "PAUSE_PENDING", - 7: "PAUSED", - } - ServiceStatus_value = map[string]int32{ - "UNKNOWN": 0, - "STOPPED": 1, - "START_PENDING": 2, - "STOP_PENDING": 3, - "RUNNING": 4, - "CONTINUE_PENDING": 5, - "PAUSE_PENDING": 6, - "PAUSED": 7, - } -) - -func (x ServiceStatus) Enum() *ServiceStatus { - p := new(ServiceStatus) - *p = x - return p -} - -func (x ServiceStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var ServiceStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "STOPPED", + 2: "START_PENDING", + 3: "STOP_PENDING", + 4: "RUNNING", + 5: "CONTINUE_PENDING", + 6: "PAUSE_PENDING", + 7: "PAUSED", } -func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0].Descriptor() +var ServiceStatus_value = map[string]int32{ + "UNKNOWN": 0, + "STOPPED": 1, + "START_PENDING": 2, + "STOP_PENDING": 3, + "RUNNING": 4, + "CONTINUE_PENDING": 5, + "PAUSE_PENDING": 6, + "PAUSED": 7, } -func (ServiceStatus) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[0] -} - -func (x ServiceStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x ServiceStatus) String() string { + return proto.EnumName(ServiceStatus_name, int32(x)) } -// Deprecated: Use ServiceStatus.Descriptor instead. func (ServiceStatus) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} + return fileDescriptor_4066a9d4a9264c6f, []int{0} } // https://docs.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-changeserviceconfiga @@ -100,371 +79,293 @@ const ( StartType_DISABLED StartType = 4 ) -// Enum value maps for StartType. -var ( - StartType_name = map[int32]string{ - 0: "BOOT", - 1: "SYSTEM", - 2: "AUTOMATIC", - 3: "MANUAL", - 4: "DISABLED", - } - StartType_value = map[string]int32{ - "BOOT": 0, - "SYSTEM": 1, - "AUTOMATIC": 2, - "MANUAL": 3, - "DISABLED": 4, - } -) +var StartType_name = map[int32]string{ + 0: "BOOT", + 1: "SYSTEM", + 2: "AUTOMATIC", + 3: "MANUAL", + 4: "DISABLED", +} -func (x StartType) Enum() *StartType { - p := new(StartType) - *p = x - return p +var StartType_value = map[string]int32{ + "BOOT": 0, + "SYSTEM": 1, + "AUTOMATIC": 2, + "MANUAL": 3, + "DISABLED": 4, } func (x StartType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(StartType_name, int32(x)) } -func (StartType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1].Descriptor() +func (StartType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{1} } -func (StartType) Type() protoreflect.EnumType { - return &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes[1] +type GetBIOSSerialNumberRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x StartType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *GetBIOSSerialNumberRequest) Reset() { *m = GetBIOSSerialNumberRequest{} } +func (m *GetBIOSSerialNumberRequest) String() string { return proto.CompactTextString(m) } +func (*GetBIOSSerialNumberRequest) ProtoMessage() {} +func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{0} } -// Deprecated: Use StartType.Descriptor instead. -func (StartType) EnumDescriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *GetBIOSSerialNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Unmarshal(m, b) } - -type GetBIOSSerialNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *GetBIOSSerialNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Marshal(b, m, deterministic) } - -func (x *GetBIOSSerialNumberRequest) Reset() { - *x = GetBIOSSerialNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetBIOSSerialNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBIOSSerialNumberRequest.Merge(m, src) } - -func (x *GetBIOSSerialNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetBIOSSerialNumberRequest) XXX_Size() int { + return xxx_messageInfo_GetBIOSSerialNumberRequest.Size(m) } - -func (*GetBIOSSerialNumberRequest) ProtoMessage() {} - -func (x *GetBIOSSerialNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *GetBIOSSerialNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBIOSSerialNumberRequest.DiscardUnknown(m) } -// Deprecated: Use GetBIOSSerialNumberRequest.ProtoReflect.Descriptor instead. -func (*GetBIOSSerialNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_GetBIOSSerialNumberRequest proto.InternalMessageInfo type GetBIOSSerialNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Serial number - SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` + SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetBIOSSerialNumberResponse) Reset() { - *x = GetBIOSSerialNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetBIOSSerialNumberResponse) Reset() { *m = GetBIOSSerialNumberResponse{} } +func (m *GetBIOSSerialNumberResponse) String() string { return proto.CompactTextString(m) } +func (*GetBIOSSerialNumberResponse) ProtoMessage() {} +func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{1} } -func (x *GetBIOSSerialNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetBIOSSerialNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Unmarshal(m, b) } - -func (*GetBIOSSerialNumberResponse) ProtoMessage() {} - -func (x *GetBIOSSerialNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *GetBIOSSerialNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetBIOSSerialNumberResponse.ProtoReflect.Descriptor instead. -func (*GetBIOSSerialNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *GetBIOSSerialNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBIOSSerialNumberResponse.Merge(m, src) } +func (m *GetBIOSSerialNumberResponse) XXX_Size() int { + return xxx_messageInfo_GetBIOSSerialNumberResponse.Size(m) +} +func (m *GetBIOSSerialNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBIOSSerialNumberResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBIOSSerialNumberResponse proto.InternalMessageInfo -func (x *GetBIOSSerialNumberResponse) GetSerialNumber() string { - if x != nil { - return x.SerialNumber +func (m *GetBIOSSerialNumberResponse) GetSerialNumber() string { + if m != nil { + return m.SerialNumber } return "" } type StartServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StartServiceRequest) Reset() { - *x = StartServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartServiceRequest) Reset() { *m = StartServiceRequest{} } +func (m *StartServiceRequest) String() string { return proto.CompactTextString(m) } +func (*StartServiceRequest) ProtoMessage() {} +func (*StartServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{2} } -func (x *StartServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartServiceRequest.Unmarshal(m, b) } - -func (*StartServiceRequest) ProtoMessage() {} - -func (x *StartServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_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) +func (m *StartServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead. -func (*StartServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *StartServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartServiceRequest.Merge(m, src) +} +func (m *StartServiceRequest) XXX_Size() int { + return xxx_messageInfo_StartServiceRequest.Size(m) +} +func (m *StartServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartServiceRequest.DiscardUnknown(m) } -func (x *StartServiceRequest) GetName() string { - if x != nil { - return x.Name +var xxx_messageInfo_StartServiceRequest proto.InternalMessageInfo + +func (m *StartServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } type StartServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StartServiceResponse) Reset() { - *x = StartServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StartServiceResponse) Reset() { *m = StartServiceResponse{} } +func (m *StartServiceResponse) String() string { return proto.CompactTextString(m) } +func (*StartServiceResponse) ProtoMessage() {} +func (*StartServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{3} } -func (x *StartServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StartServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartServiceResponse.Unmarshal(m, b) } - -func (*StartServiceResponse) ProtoMessage() {} - -func (x *StartServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StartServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use StartServiceResponse.ProtoReflect.Descriptor instead. -func (*StartServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *StartServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartServiceResponse.Merge(m, src) +} +func (m *StartServiceResponse) XXX_Size() int { + return xxx_messageInfo_StartServiceResponse.Size(m) +} +func (m *StartServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StartServiceResponse.DiscardUnknown(m) } -type StopServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_StartServiceResponse proto.InternalMessageInfo +type StopServiceRequest struct { // Service name (as listed in System\CCS\Services keys) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Forces stopping of services that has dependant services - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StopServiceRequest) Reset() { - *x = StopServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StopServiceRequest) Reset() { *m = StopServiceRequest{} } +func (m *StopServiceRequest) String() string { return proto.CompactTextString(m) } +func (*StopServiceRequest) ProtoMessage() {} +func (*StopServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{4} } -func (x *StopServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StopServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopServiceRequest.Unmarshal(m, b) } - -func (*StopServiceRequest) ProtoMessage() {} - -func (x *StopServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead. -func (*StopServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *StopServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopServiceRequest.Merge(m, src) +} +func (m *StopServiceRequest) XXX_Size() int { + return xxx_messageInfo_StopServiceRequest.Size(m) } +func (m *StopServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StopServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StopServiceRequest proto.InternalMessageInfo -func (x *StopServiceRequest) GetName() string { - if x != nil { - return x.Name +func (m *StopServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *StopServiceRequest) GetForce() bool { - if x != nil { - return x.Force +func (m *StopServiceRequest) GetForce() bool { + if m != nil { + return m.Force } return false } type StopServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StopServiceResponse) Reset() { - *x = StopServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StopServiceResponse) Reset() { *m = StopServiceResponse{} } +func (m *StopServiceResponse) String() string { return proto.CompactTextString(m) } +func (*StopServiceResponse) ProtoMessage() {} +func (*StopServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{5} } -func (x *StopServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StopServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopServiceResponse.Unmarshal(m, b) } - -func (*StopServiceResponse) ProtoMessage() {} - -func (x *StopServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StopServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use StopServiceResponse.ProtoReflect.Descriptor instead. -func (*StopServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *StopServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopServiceResponse.Merge(m, src) +} +func (m *StopServiceResponse) XXX_Size() int { + return xxx_messageInfo_StopServiceResponse.Size(m) +} +func (m *StopServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StopServiceResponse.DiscardUnknown(m) } -type GetServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_StopServiceResponse proto.InternalMessageInfo +type GetServiceRequest struct { // Service name (as listed in System\CCS\Services keys) - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetServiceRequest) Reset() { - *x = GetServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } +func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } +func (*GetServiceRequest) ProtoMessage() {} +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{6} } -func (x *GetServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) } - -func (*GetServiceRequest) ProtoMessage() {} - -func (x *GetServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead. -func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *GetServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceRequest.Merge(m, src) +} +func (m *GetServiceRequest) XXX_Size() int { + return xxx_messageInfo_GetServiceRequest.Size(m) +} +func (m *GetServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) } -func (x *GetServiceRequest) GetName() string { - if x != nil { - return x.Name +var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo + +func (m *GetServiceRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Service display name DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Service start type. @@ -472,307 +373,112 @@ type GetServiceResponse struct { // boot phase. StartType StartType `protobuf:"varint,2,opt,name=start_type,json=startType,proto3,enum=v1alpha1.StartType" json:"start_type,omitempty"` // Service status, e.g. stopped, running, paused - Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` + Status ServiceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=v1alpha1.ServiceStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetServiceResponse) Reset() { - *x = GetServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } +func (m *GetServiceResponse) String() string { return proto.CompactTextString(m) } +func (*GetServiceResponse) ProtoMessage() {} +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4066a9d4a9264c6f, []int{7} } -func (x *GetServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetServiceResponse.Unmarshal(m, b) } - -func (*GetServiceResponse) ProtoMessage() {} - -func (x *GetServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead. -func (*GetServiceResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *GetServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceResponse.Merge(m, src) +} +func (m *GetServiceResponse) XXX_Size() int { + return xxx_messageInfo_GetServiceResponse.Size(m) } +func (m *GetServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo -func (x *GetServiceResponse) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *GetServiceResponse) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *GetServiceResponse) GetStartType() StartType { - if x != nil { - return x.StartType +func (m *GetServiceResponse) GetStartType() StartType { + if m != nil { + return m.StartType } return StartType_BOOT } -func (x *GetServiceResponse) GetStatus() ServiceStatus { - if x != nil { - return x.Status +func (m *GetServiceResponse) GetStatus() ServiceStatus { + if m != nil { + return m.Status } return ServiceStatus_UNKNOWN } -var File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, - 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x42, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x12, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x90, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x45, - 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x4f, 0x50, 0x5f, - 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, - 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, - 0x55, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, - 0x50, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, - 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x07, 0x2a, 0x4a, 0x0a, 0x09, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x54, - 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, - 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, - 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x32, 0xd8, 0x02, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x12, 0x64, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, - 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x49, - 0x4f, 0x53, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, - 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, - 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = []interface{}{ - (ServiceStatus)(0), // 0: v1alpha1.ServiceStatus - (StartType)(0), // 1: v1alpha1.StartType - (*GetBIOSSerialNumberRequest)(nil), // 2: v1alpha1.GetBIOSSerialNumberRequest - (*GetBIOSSerialNumberResponse)(nil), // 3: v1alpha1.GetBIOSSerialNumberResponse - (*StartServiceRequest)(nil), // 4: v1alpha1.StartServiceRequest - (*StartServiceResponse)(nil), // 5: v1alpha1.StartServiceResponse - (*StopServiceRequest)(nil), // 6: v1alpha1.StopServiceRequest - (*StopServiceResponse)(nil), // 7: v1alpha1.StopServiceResponse - (*GetServiceRequest)(nil), // 8: v1alpha1.GetServiceRequest - (*GetServiceResponse)(nil), // 9: v1alpha1.GetServiceResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = []int32{ - 1, // 0: v1alpha1.GetServiceResponse.start_type:type_name -> v1alpha1.StartType - 0, // 1: v1alpha1.GetServiceResponse.status:type_name -> v1alpha1.ServiceStatus - 2, // 2: v1alpha1.System.GetBIOSSerialNumber:input_type -> v1alpha1.GetBIOSSerialNumberRequest - 4, // 3: v1alpha1.System.StartService:input_type -> v1alpha1.StartServiceRequest - 6, // 4: v1alpha1.System.StopService:input_type -> v1alpha1.StopServiceRequest - 8, // 5: v1alpha1.System.GetService:input_type -> v1alpha1.GetServiceRequest - 3, // 6: v1alpha1.System.GetBIOSSerialNumber:output_type -> v1alpha1.GetBIOSSerialNumberResponse - 5, // 7: v1alpha1.System.StartService:output_type -> v1alpha1.StartServiceResponse - 7, // 8: v1alpha1.System.StopService:output_type -> v1alpha1.StopServiceResponse - 9, // 9: v1alpha1.System.GetService:output_type -> v1alpha1.GetServiceResponse - 6, // [6:10] is the sub-list for method output_type - 2, // [2:6] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBIOSSerialNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBIOSSerialNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc, - NumEnums: 2, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs, - EnumInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_enumTypes, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_system_v1alpha1_api_proto_depIdxs = nil +func init() { + proto.RegisterEnum("v1alpha1.ServiceStatus", ServiceStatus_name, ServiceStatus_value) + proto.RegisterEnum("v1alpha1.StartType", StartType_name, StartType_value) + proto.RegisterType((*GetBIOSSerialNumberRequest)(nil), "v1alpha1.GetBIOSSerialNumberRequest") + proto.RegisterType((*GetBIOSSerialNumberResponse)(nil), "v1alpha1.GetBIOSSerialNumberResponse") + proto.RegisterType((*StartServiceRequest)(nil), "v1alpha1.StartServiceRequest") + proto.RegisterType((*StartServiceResponse)(nil), "v1alpha1.StartServiceResponse") + proto.RegisterType((*StopServiceRequest)(nil), "v1alpha1.StopServiceRequest") + proto.RegisterType((*StopServiceResponse)(nil), "v1alpha1.StopServiceResponse") + proto.RegisterType((*GetServiceRequest)(nil), "v1alpha1.GetServiceRequest") + proto.RegisterType((*GetServiceResponse)(nil), "v1alpha1.GetServiceResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1/api.proto", fileDescriptor_4066a9d4a9264c6f) +} + +var fileDescriptor_4066a9d4a9264c6f = []byte{ + // 553 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x61, 0x6f, 0xd2, 0x40, + 0x18, 0x5e, 0x81, 0x31, 0x78, 0x01, 0xd3, 0x1d, 0xa8, 0x84, 0x31, 0x33, 0xab, 0xc6, 0xb9, 0x64, + 0x34, 0xc3, 0xef, 0x8b, 0x65, 0x10, 0xac, 0xc2, 0x95, 0xf4, 0xda, 0x18, 0xfd, 0x42, 0x4a, 0x77, + 0xba, 0x46, 0xa0, 0xb5, 0x77, 0x2c, 0xf2, 0x2f, 0xfc, 0x01, 0xfe, 0x30, 0x7f, 0x8e, 0xb9, 0x52, + 0xa0, 0x10, 0xc8, 0x4c, 0xfc, 0x76, 0xef, 0xf3, 0x3c, 0xef, 0xd3, 0xf7, 0xbd, 0x3e, 0x39, 0x78, + 0xff, 0xcd, 0xe3, 0x77, 0xb3, 0x51, 0xc3, 0xf5, 0x27, 0xea, 0xf7, 0xd9, 0x88, 0x86, 0x53, 0xca, + 0x29, 0xbb, 0x74, 0x99, 0xa7, 0xba, 0xcc, 0xbb, 0x0c, 0x42, 0xff, 0xe7, 0x5c, 0x75, 0xc7, 0x1e, + 0x9d, 0x72, 0xd5, 0x09, 0x3c, 0x95, 0xcd, 0x19, 0xa7, 0x13, 0xf5, 0xfe, 0xca, 0x19, 0x07, 0x77, + 0xce, 0x95, 0xc0, 0x1a, 0x41, 0xe8, 0x73, 0x1f, 0xe5, 0x96, 0x98, 0x52, 0x87, 0x5a, 0x97, 0xf2, + 0x96, 0x6e, 0x10, 0x42, 0x43, 0xcf, 0x19, 0xe3, 0xd9, 0x64, 0x44, 0x43, 0x93, 0xfe, 0x98, 0x51, + 0xc6, 0x95, 0x16, 0x9c, 0xec, 0x64, 0x59, 0xe0, 0x4f, 0x19, 0x45, 0x2f, 0xa0, 0xc4, 0x22, 0x7c, + 0x38, 0x8d, 0x88, 0xaa, 0x74, 0x26, 0x9d, 0xe7, 0xcd, 0x22, 0x4b, 0x88, 0x95, 0x37, 0x50, 0x26, + 0xdc, 0x09, 0x39, 0xa1, 0xe1, 0xbd, 0xe7, 0xd2, 0xd8, 0x1a, 0x21, 0xc8, 0x4c, 0x9d, 0x09, 0x8d, + 0x5b, 0xa2, 0xb3, 0xf2, 0x04, 0x2a, 0x9b, 0xd2, 0xc5, 0x77, 0x94, 0x6b, 0x40, 0x84, 0xfb, 0xc1, + 0xc3, 0x0e, 0xa8, 0x02, 0x87, 0x5f, 0xfd, 0xd0, 0xa5, 0xd5, 0xd4, 0x99, 0x74, 0x9e, 0x33, 0x17, + 0x85, 0xf2, 0x58, 0x8c, 0x90, 0xe8, 0x8f, 0x6d, 0x5f, 0xc3, 0x71, 0x97, 0xfe, 0xcb, 0x5c, 0xbf, + 0x25, 0x40, 0x49, 0x65, 0xbc, 0xfe, 0x73, 0x28, 0xde, 0x7a, 0x2c, 0x18, 0x3b, 0xf3, 0x61, 0xa2, + 0xa5, 0x10, 0x63, 0x58, 0xcc, 0xd3, 0x04, 0x60, 0x62, 0xa3, 0x21, 0x9f, 0x07, 0x8b, 0xa1, 0x1e, + 0x35, 0xcb, 0x8d, 0xe5, 0xed, 0x37, 0xa2, 0x6d, 0xad, 0x79, 0x40, 0xcd, 0x3c, 0x5b, 0x1e, 0x91, + 0x0a, 0x59, 0xc6, 0x1d, 0x3e, 0x63, 0xd5, 0x74, 0xa4, 0x7f, 0x9a, 0xd0, 0x2f, 0x26, 0x20, 0x11, + 0x6d, 0xc6, 0xb2, 0x8b, 0x5f, 0x12, 0x94, 0x36, 0x18, 0x54, 0x80, 0x23, 0x1b, 0x7f, 0xc4, 0xc6, + 0x27, 0x2c, 0x1f, 0x88, 0x82, 0x58, 0xc6, 0x60, 0xd0, 0x69, 0xcb, 0x12, 0x3a, 0x86, 0x12, 0xb1, + 0x34, 0xd3, 0x1a, 0x0e, 0x3a, 0xb8, 0xad, 0xe3, 0xae, 0x9c, 0x42, 0x32, 0x14, 0x05, 0xbf, 0x42, + 0xd2, 0xa2, 0xc3, 0xb4, 0x31, 0x16, 0x45, 0x06, 0x55, 0x40, 0xbe, 0x31, 0xb0, 0xa5, 0x63, 0xbb, + 0xb3, 0x92, 0x1c, 0x0a, 0x9f, 0x81, 0x66, 0x93, 0x35, 0x94, 0x45, 0x00, 0xd9, 0x08, 0x6a, 0xcb, + 0x47, 0x17, 0x1f, 0x20, 0xbf, 0xda, 0x0d, 0xe5, 0x20, 0xd3, 0x32, 0x0c, 0x4b, 0x3e, 0x10, 0x12, + 0xf2, 0x99, 0x58, 0x9d, 0xbe, 0x2c, 0xa1, 0x12, 0xe4, 0x35, 0xdb, 0x32, 0xfa, 0x9a, 0xa5, 0xdf, + 0xc8, 0x29, 0x41, 0xf5, 0x35, 0x6c, 0x6b, 0x3d, 0x39, 0x8d, 0x8a, 0x90, 0x6b, 0xeb, 0x44, 0x6b, + 0xf5, 0x3a, 0x6d, 0x39, 0xd3, 0xfc, 0x93, 0x82, 0x2c, 0x89, 0xa2, 0x8c, 0x6e, 0xa1, 0xbc, 0x23, + 0x8f, 0xe8, 0xe5, 0xfa, 0x86, 0xf6, 0x87, 0xb9, 0xf6, 0xea, 0x01, 0x55, 0x9c, 0x8a, 0x03, 0x64, + 0x40, 0x31, 0x19, 0x43, 0x74, 0xba, 0xf5, 0xc3, 0x36, 0x13, 0x53, 0x7b, 0xb6, 0x8f, 0x5e, 0x19, + 0xf6, 0xa0, 0x90, 0xc8, 0x1f, 0xaa, 0x27, 0x1b, 0xb6, 0x63, 0x5d, 0x3b, 0xdd, 0xc3, 0xae, 0xdc, + 0x74, 0x80, 0x75, 0x18, 0xd1, 0xc9, 0xc6, 0x56, 0x5b, 0x5e, 0xf5, 0xdd, 0xe4, 0xd2, 0xaa, 0xf5, + 0xee, 0xcb, 0xf5, 0xff, 0xbd, 0x29, 0xa3, 0x6c, 0xf4, 0xa0, 0xbc, 0xfd, 0x1b, 0x00, 0x00, 0xff, + 0xff, 0x4d, 0x70, 0x16, 0x4a, 0x9c, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -865,16 +571,16 @@ type SystemServer interface { type UnimplementedSystemServer struct { } -func (*UnimplementedSystemServer) GetBIOSSerialNumber(context.Context, *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { +func (*UnimplementedSystemServer) GetBIOSSerialNumber(ctx context.Context, req *GetBIOSSerialNumberRequest) (*GetBIOSSerialNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBIOSSerialNumber not implemented") } -func (*UnimplementedSystemServer) StartService(context.Context, *StartServiceRequest) (*StartServiceResponse, error) { +func (*UnimplementedSystemServer) StartService(ctx context.Context, req *StartServiceRequest) (*StartServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StartService not implemented") } -func (*UnimplementedSystemServer) StopService(context.Context, *StopServiceRequest) (*StopServiceResponse, error) { +func (*UnimplementedSystemServer) StopService(ctx context.Context, req *StopServiceRequest) (*StopServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopService not implemented") } -func (*UnimplementedSystemServer) GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error) { +func (*UnimplementedSystemServer) GetService(ctx context.Context, req *GetServiceRequest) (*GetServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go index d3a5834f..c756e4ef 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.pb.go @@ -1,894 +1,548 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 // source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto package v1alpha1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +} +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) +} +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) } -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo + +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +} +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) +} +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) } -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo + +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) } +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) +} +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) } -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo + +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) } +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +} +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) } -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo + +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) +} +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) } -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo + +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4ca3596f93fa877, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) } +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) +} +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_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 ResizeVolumeResponse.ProtoReflect.Descriptor instead. +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP(), []int{11} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = []byte{ - 0x0a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, - 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, - 0x16, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, - 0x22, 0x39, 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x16, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, - 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8f, 0x04, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x22, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, - 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x55, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, - 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x22, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, - 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1alpha1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1alpha1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1alpha1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1alpha1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1alpha1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1alpha1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1alpha1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1alpha1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1alpha1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1alpha1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1alpha1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1alpha1.ResizeVolumeResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = []int32{ - 0, // 0: v1alpha1.Volume.ListVolumesOnDisk:input_type -> v1alpha1.ListVolumesOnDiskRequest - 2, // 1: v1alpha1.Volume.MountVolume:input_type -> v1alpha1.MountVolumeRequest - 4, // 2: v1alpha1.Volume.DismountVolume:input_type -> v1alpha1.DismountVolumeRequest - 6, // 3: v1alpha1.Volume.IsVolumeFormatted:input_type -> v1alpha1.IsVolumeFormattedRequest - 8, // 4: v1alpha1.Volume.FormatVolume:input_type -> v1alpha1.FormatVolumeRequest - 10, // 5: v1alpha1.Volume.ResizeVolume:input_type -> v1alpha1.ResizeVolumeRequest - 1, // 6: v1alpha1.Volume.ListVolumesOnDisk:output_type -> v1alpha1.ListVolumesOnDiskResponse - 3, // 7: v1alpha1.Volume.MountVolume:output_type -> v1alpha1.MountVolumeResponse - 5, // 8: v1alpha1.Volume.DismountVolume:output_type -> v1alpha1.DismountVolumeResponse - 7, // 9: v1alpha1.Volume.IsVolumeFormatted:output_type -> v1alpha1.IsVolumeFormattedResponse - 9, // 10: v1alpha1.Volume.FormatVolume:output_type -> v1alpha1.FormatVolumeResponse - 11, // 11: v1alpha1.Volume.ResizeVolume:output_type -> v1alpha1.ResizeVolumeResponse - 6, // [6:12] is the sub-list for method output_type - 0, // [0:6] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 12, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1alpha1_api_proto_depIdxs = nil + return fileDescriptor_f4ca3596f93fa877, []int{11} +} + +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) +} +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) +} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1alpha1.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1alpha1.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1alpha1.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1alpha1.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1alpha1.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1alpha1.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1alpha1.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1alpha1.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1alpha1.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1alpha1.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1alpha1.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1alpha1.ResizeVolumeResponse") +} + +func init() { + proto.RegisterFile("github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto", fileDescriptor_f4ca3596f93fa877) +} + +var fileDescriptor_f4ca3596f93fa877 = []byte{ + // 429 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x5f, 0xef, 0xd2, 0x30, + 0x14, 0x05, 0x21, 0xc8, 0xae, 0xc6, 0x84, 0x22, 0x38, 0x26, 0x28, 0xa9, 0x2f, 0xbc, 0xb0, 0x05, + 0x78, 0x30, 0xfa, 0x8c, 0x04, 0x12, 0x0c, 0xc9, 0x12, 0x7d, 0x84, 0x8c, 0xad, 0x4a, 0x03, 0x5b, + 0xe7, 0xda, 0x11, 0xf5, 0x4b, 0xf8, 0x95, 0xcd, 0xfe, 0x41, 0x27, 0x9b, 0xe1, 0x97, 0xfc, 0xde, + 0xba, 0xd3, 0x7b, 0xce, 0xd9, 0xbd, 0xf7, 0xa4, 0xb0, 0xfc, 0x4e, 0xc5, 0x21, 0xdc, 0xeb, 0x36, + 0x73, 0x8d, 0x63, 0xb8, 0x27, 0x81, 0x47, 0x04, 0xe1, 0x63, 0x9b, 0x53, 0xc3, 0xe6, 0x74, 0xec, + 0x07, 0xec, 0xe7, 0x2f, 0xc3, 0x3e, 0x51, 0xe2, 0x09, 0xc3, 0xf2, 0xa9, 0x71, 0x66, 0xa7, 0xd0, + 0x25, 0xc6, 0x79, 0x62, 0x9d, 0xfc, 0x83, 0x35, 0x89, 0x30, 0xdd, 0x0f, 0x98, 0x60, 0xa8, 0x99, + 0x61, 0x78, 0x06, 0xea, 0x9a, 0x72, 0xf1, 0x35, 0x2e, 0xe5, 0x1b, 0x6f, 0x4e, 0xf9, 0xd1, 0x24, + 0x3f, 0x42, 0xc2, 0x05, 0x7a, 0x05, 0x4f, 0x1d, 0xca, 0x8f, 0x3b, 0xea, 0xa8, 0xd5, 0x61, 0x75, + 0xa4, 0x98, 0x8d, 0xe8, 0x73, 0xe5, 0xe0, 0x8f, 0xd0, 0x2b, 0x20, 0x71, 0x9f, 0x79, 0x9c, 0xa0, + 0x01, 0x40, 0x62, 0xbc, 0xa3, 0x0e, 0x57, 0xab, 0xc3, 0xda, 0x48, 0x31, 0x95, 0x04, 0x59, 0x39, + 0x1c, 0x7f, 0x02, 0xf4, 0x99, 0x85, 0x5e, 0x4a, 0xce, 0xac, 0x5e, 0x83, 0x72, 0x21, 0xa5, 0x66, + 0xcd, 0x8c, 0x83, 0x10, 0xd4, 0x7d, 0x4b, 0x1c, 0xd4, 0x27, 0x31, 0x1e, 0x9f, 0x71, 0x07, 0xda, + 0x39, 0x99, 0xc4, 0x1c, 0x2f, 0xa1, 0x33, 0xa7, 0xdc, 0x7d, 0x04, 0x03, 0x15, 0xba, 0xff, 0x2a, + 0xa5, 0x1e, 0xef, 0x41, 0x5d, 0xf1, 0x04, 0x5b, 0xb0, 0xc0, 0xb5, 0x84, 0x20, 0xce, 0x3d, 0x36, + 0xf8, 0x03, 0xf4, 0x0a, 0x88, 0xe9, 0xd8, 0xfa, 0xa0, 0x7c, 0xcb, 0xc0, 0x98, 0xd9, 0x34, 0xaf, + 0x00, 0x9e, 0x42, 0x3b, 0xa1, 0xdc, 0xdf, 0x15, 0xee, 0xc2, 0xcb, 0x3c, 0x27, 0xfd, 0xff, 0x05, + 0xb4, 0x4d, 0xc2, 0xe9, 0x6f, 0xf2, 0xb0, 0x09, 0x45, 0x8c, 0x78, 0x42, 0x35, 0x33, 0x3e, 0x47, + 0xfa, 0x79, 0x9d, 0x44, 0x7f, 0xfa, 0xa7, 0x0e, 0x8d, 0x04, 0x42, 0x5b, 0x68, 0xdd, 0x04, 0x05, + 0x61, 0x3d, 0x4b, 0x9f, 0x5e, 0x16, 0x3d, 0xed, 0xdd, 0x7f, 0x6b, 0xd2, 0x46, 0x2a, 0x68, 0x0d, + 0xcf, 0xa4, 0x14, 0xa0, 0xfe, 0x95, 0x75, 0x9b, 0x31, 0x6d, 0x50, 0x72, 0x7b, 0x51, 0xfb, 0x02, + 0x2f, 0xf2, 0x2b, 0x47, 0x6f, 0xaf, 0x94, 0xc2, 0x58, 0x69, 0xc3, 0xf2, 0x82, 0x8b, 0xec, 0x16, + 0x5a, 0x37, 0x6b, 0x97, 0x87, 0x50, 0x16, 0x26, 0x79, 0x08, 0xa5, 0xb9, 0xc1, 0x15, 0xb4, 0x81, + 0xe7, 0xf2, 0x9e, 0x91, 0xd4, 0x67, 0x41, 0x66, 0xb4, 0x37, 0x65, 0xd7, 0xb2, 0xa0, 0xbc, 0x58, + 0x59, 0xb0, 0x20, 0x38, 0xb2, 0x60, 0x51, 0x1e, 0x70, 0x65, 0xdf, 0x88, 0x5f, 0x9d, 0xd9, 0xdf, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x8e, 0xe9, 0xb0, 0xc1, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1001,22 +655,22 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto index d3e74dc6..5037859e 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1/api.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package v1alpha1; -option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1alpha1"; - service Volume { // ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for // all volumes on a Disk device @@ -68,4 +66,4 @@ message ResizeVolumeRequest { } message ResizeVolumeResponse { // Intentionally empty -} +} \ No newline at end of file diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go index c5a10257..3213b4b5 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.pb.go @@ -1,1323 +1,820 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto +// source: volume/v1beta1/api.proto package v1beta1 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) +} +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) } +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) } +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) +} +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) +} +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) } -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo + +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) } +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) } +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) } +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) } +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) } +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) +} +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{11} } -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) } - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{11} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) } -type VolumeStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +type VolumeStatsRequest struct { // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsRequest) Reset() { - *x = VolumeStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } +func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsRequest) ProtoMessage() {} +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{12} } -func (x *VolumeStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) } - -func (*VolumeStatsRequest) ProtoMessage() {} - -func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_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) +func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{12} +func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +} +func (m *VolumeStatsRequest) XXX_Size() int { + return xxx_messageInfo_VolumeStatsRequest.Size(m) +} +func (m *VolumeStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) } -func (x *VolumeStatsRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo + +func (m *VolumeStatsRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsResponse) Reset() { - *x = VolumeStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } +func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsResponse) ProtoMessage() {} +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{13} } -func (x *VolumeStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) } - -func (*VolumeStatsResponse) ProtoMessage() {} - -func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{13} +func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsResponse.Merge(m, src) +} +func (m *VolumeStatsResponse) XXX_Size() int { + return xxx_messageInfo_VolumeStatsResponse.Size(m) +} +func (m *VolumeStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) } -func (x *VolumeStatsResponse) GetVolumeSize() int64 { - if x != nil { - return x.VolumeSize +var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo + +func (m *VolumeStatsResponse) GetVolumeSize() int64 { + if m != nil { + return m.VolumeSize } return 0 } -func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if x != nil { - return x.VolumeUsedSize +func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if m != nil { + return m.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberRequest) Reset() { - *x = VolumeDiskNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } +func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberRequest) ProtoMessage() {} +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{14} } -func (x *VolumeDiskNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) } - -func (*VolumeDiskNumberRequest) ProtoMessage() {} - -func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{14} +func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) } +func (m *VolumeDiskNumberRequest) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +} +func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo -func (x *VolumeDiskNumberRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *VolumeDiskNumberRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeDiskNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberResponse) Reset() { - *x = VolumeDiskNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } +func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberResponse) ProtoMessage() {} +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{15} } -func (x *VolumeDiskNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) } - -func (*VolumeDiskNumberResponse) ProtoMessage() {} - -func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15] - 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) +func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{15} +func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) +} +func (m *VolumeDiskNumberResponse) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) +} +func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) } -func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if x != nil { - return x.DiskNumber +var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo + +func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if m != nil { + return m.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountRequest) Reset() { - *x = VolumeIDFromMountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } +func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountRequest) ProtoMessage() {} +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{16} } -func (x *VolumeIDFromMountRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) } - -func (*VolumeIDFromMountRequest) ProtoMessage() {} - -func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16] - 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) +func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{16} +func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +} +func (m *VolumeIDFromMountRequest) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) } +func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo -func (x *VolumeIDFromMountRequest) GetMount() string { - if x != nil { - return x.Mount +func (m *VolumeIDFromMountRequest) GetMount() string { + if m != nil { + return m.Mount } return "" } type VolumeIDFromMountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountResponse) Reset() { - *x = VolumeIDFromMountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } +func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountResponse) ProtoMessage() {} +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e25953f9b6119981, []int{17} } -func (x *VolumeIDFromMountResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) } - -func (*VolumeIDFromMountResponse) ProtoMessage() {} - -func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17] - 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) +func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP(), []int{17} +func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) +} +func (m *VolumeIDFromMountResponse) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) +} +func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) } -func (x *VolumeIDFromMountResponse) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo + +func (m *VolumeIDFromMountResponse) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, - 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, - 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, - 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, - 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x32, 0x8e, 0x06, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, - 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, - 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, - 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1e, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, - 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, - 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1c, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, - 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, - 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1beta1.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1beta1.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1beta1.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1beta1.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1beta1.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1beta1.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1beta1.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1beta1.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1beta1.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1beta1.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1beta1.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1beta1.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1beta1.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1beta1.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1beta1.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1beta1.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1beta1.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1beta1.VolumeIDFromMountResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = []int32{ - 0, // 0: v1beta1.Volume.ListVolumesOnDisk:input_type -> v1beta1.ListVolumesOnDiskRequest - 2, // 1: v1beta1.Volume.MountVolume:input_type -> v1beta1.MountVolumeRequest - 4, // 2: v1beta1.Volume.DismountVolume:input_type -> v1beta1.DismountVolumeRequest - 6, // 3: v1beta1.Volume.IsVolumeFormatted:input_type -> v1beta1.IsVolumeFormattedRequest - 8, // 4: v1beta1.Volume.FormatVolume:input_type -> v1beta1.FormatVolumeRequest - 10, // 5: v1beta1.Volume.ResizeVolume:input_type -> v1beta1.ResizeVolumeRequest - 12, // 6: v1beta1.Volume.VolumeStats:input_type -> v1beta1.VolumeStatsRequest - 14, // 7: v1beta1.Volume.GetVolumeDiskNumber:input_type -> v1beta1.VolumeDiskNumberRequest - 16, // 8: v1beta1.Volume.GetVolumeIDFromMount:input_type -> v1beta1.VolumeIDFromMountRequest - 1, // 9: v1beta1.Volume.ListVolumesOnDisk:output_type -> v1beta1.ListVolumesOnDiskResponse - 3, // 10: v1beta1.Volume.MountVolume:output_type -> v1beta1.MountVolumeResponse - 5, // 11: v1beta1.Volume.DismountVolume:output_type -> v1beta1.DismountVolumeResponse - 7, // 12: v1beta1.Volume.IsVolumeFormatted:output_type -> v1beta1.IsVolumeFormattedResponse - 9, // 13: v1beta1.Volume.FormatVolume:output_type -> v1beta1.FormatVolumeResponse - 11, // 14: v1beta1.Volume.ResizeVolume:output_type -> v1beta1.ResizeVolumeResponse - 13, // 15: v1beta1.Volume.VolumeStats:output_type -> v1beta1.VolumeStatsResponse - 15, // 16: v1beta1.Volume.GetVolumeDiskNumber:output_type -> v1beta1.VolumeDiskNumberResponse - 17, // 17: v1beta1.Volume.GetVolumeIDFromMount:output_type -> v1beta1.VolumeIDFromMountResponse - 9, // [9:18] is the sub-list for method output_type - 0, // [0:9] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 18, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta1_api_proto_depIdxs = nil +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta1.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta1.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1beta1.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1beta1.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta1.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta1.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta1.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta1.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta1.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta1.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta1.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta1.ResizeVolumeResponse") + proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta1.VolumeStatsRequest") + proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta1.VolumeStatsResponse") + proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta1.VolumeDiskNumberRequest") + proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta1.VolumeDiskNumberResponse") + proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta1.VolumeIDFromMountRequest") + proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta1.VolumeIDFromMountResponse") +} + +func init() { proto.RegisterFile("volume/v1beta1/api.proto", fileDescriptor_e25953f9b6119981) } + +var fileDescriptor_e25953f9b6119981 = []byte{ + // 588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x6f, 0xd3, 0x30, + 0x18, 0x5d, 0x19, 0x74, 0xeb, 0x07, 0x9a, 0x34, 0xb7, 0xdb, 0xd2, 0xee, 0x42, 0xe7, 0x07, 0xb4, + 0x97, 0x35, 0x74, 0x93, 0xb8, 0x4c, 0x42, 0x48, 0xa8, 0x14, 0x8a, 0x18, 0x48, 0xa9, 0xe0, 0x01, + 0x0d, 0x55, 0x6d, 0x63, 0x98, 0xd5, 0xe5, 0x42, 0xec, 0x4c, 0xc0, 0x8f, 0xe0, 0x37, 0xa3, 0xd8, + 0x4e, 0xe2, 0xdc, 0xaa, 0x22, 0xf1, 0x96, 0x1c, 0xfb, 0x9c, 0xf3, 0xd9, 0xdf, 0x77, 0x64, 0x30, + 0x6e, 0xbd, 0x9b, 0xd0, 0x21, 0xe6, 0x6d, 0x7f, 0x46, 0xf8, 0xb4, 0x6f, 0x4e, 0x7d, 0xda, 0xf3, + 0x03, 0x8f, 0x7b, 0x68, 0x43, 0x41, 0xf8, 0x1c, 0x8c, 0xf7, 0x94, 0xf1, 0xcf, 0x62, 0x23, 0xfb, + 0xe8, 0x0e, 0x28, 0x5b, 0x58, 0xe4, 0x47, 0x48, 0x18, 0x47, 0x7b, 0xb0, 0x61, 0x53, 0xb6, 0x98, + 0x50, 0xdb, 0xa8, 0x75, 0x6b, 0x27, 0x0d, 0xab, 0x1e, 0xfd, 0x8e, 0x6c, 0x7c, 0x01, 0xed, 0x12, + 0x12, 0xf3, 0x3d, 0x97, 0x11, 0x74, 0x08, 0x20, 0x6d, 0x27, 0xd4, 0x66, 0x46, 0xad, 0xbb, 0x7e, + 0xd2, 0xb0, 0x1a, 0x12, 0x19, 0xd9, 0x0c, 0xbf, 0x06, 0x74, 0xe9, 0x85, 0xae, 0x22, 0xc7, 0x56, + 0xfb, 0xd0, 0x48, 0x48, 0xca, 0x6c, 0x33, 0xe6, 0x20, 0x04, 0x77, 0xfd, 0x29, 0xbf, 0x36, 0xee, + 0x08, 0x5c, 0x7c, 0xe3, 0x1d, 0x68, 0x66, 0x64, 0xa4, 0x39, 0x7e, 0x0b, 0x3b, 0x03, 0xca, 0x9c, + 0xff, 0x60, 0x60, 0xc0, 0x6e, 0x5e, 0x49, 0x79, 0x3c, 0x05, 0x63, 0xc4, 0x24, 0x36, 0xf4, 0x02, + 0x67, 0xca, 0x39, 0xb1, 0x57, 0xb1, 0xc1, 0xcf, 0xa1, 0x5d, 0x42, 0x54, 0xd7, 0x76, 0x00, 0x8d, + 0x6f, 0x31, 0x28, 0x98, 0x9b, 0x56, 0x0a, 0xe0, 0x33, 0x68, 0x4a, 0xca, 0xea, 0xa7, 0xc2, 0xbb, + 0xd0, 0xca, 0x72, 0x54, 0xfd, 0x43, 0x68, 0x5a, 0x84, 0xd1, 0xdf, 0xe4, 0xdf, 0x6e, 0x28, 0x62, + 0x88, 0x1b, 0x5a, 0xb7, 0xc4, 0x77, 0xa4, 0x9f, 0xd5, 0x51, 0xfa, 0x7d, 0x40, 0x12, 0x19, 0xf3, + 0x29, 0x67, 0x2b, 0x95, 0xfa, 0x15, 0x9a, 0x19, 0x8a, 0xba, 0x93, 0xa3, 0x78, 0x94, 0xc6, 0x91, + 0x77, 0x4d, 0x78, 0x6b, 0x08, 0x7a, 0x04, 0x5b, 0xf2, 0xef, 0x13, 0x23, 0xf6, 0x38, 0xad, 0x2f, + 0x87, 0xe2, 0x27, 0xb0, 0x27, 0xe5, 0xa3, 0x41, 0xfd, 0x10, 0x3a, 0x33, 0x12, 0xac, 0x54, 0xd6, + 0x05, 0x18, 0x45, 0x5e, 0x5a, 0x9b, 0x9d, 0xa0, 0x71, 0x6d, 0x29, 0x82, 0x1f, 0xc7, 0xdc, 0xd1, + 0x60, 0x18, 0x78, 0x8e, 0x18, 0xd6, 0xd8, 0xb4, 0x05, 0xf7, 0xc4, 0x60, 0x29, 0x43, 0xf9, 0x83, + 0x9f, 0x41, 0xbb, 0x84, 0xa1, 0xec, 0x96, 0xd5, 0x79, 0xf6, 0xa7, 0x0e, 0x75, 0x49, 0x45, 0x57, + 0xb0, 0x5d, 0x88, 0x26, 0x3a, 0xee, 0xa9, 0xb8, 0xf7, 0xaa, 0xb2, 0xde, 0xc1, 0xcb, 0xb6, 0xa8, + 0xc6, 0xae, 0xa1, 0x77, 0x70, 0x5f, 0x4b, 0x1d, 0xda, 0x4f, 0x48, 0xc5, 0x48, 0x77, 0x0e, 0xca, + 0x17, 0x13, 0xad, 0x31, 0x6c, 0x65, 0x03, 0x86, 0x8e, 0x12, 0x46, 0x69, 0x86, 0x3b, 0x0f, 0x2b, + 0xd7, 0x13, 0xd1, 0x2b, 0xd8, 0x2e, 0x44, 0x4c, 0x3b, 0x7e, 0x55, 0x6e, 0xb5, 0xe3, 0x57, 0x26, + 0x14, 0xaf, 0xa1, 0x4b, 0x78, 0xa0, 0x27, 0x0a, 0xa5, 0x47, 0x2c, 0x09, 0x67, 0xe7, 0xb0, 0x62, + 0x55, 0x97, 0xd3, 0x03, 0xa4, 0xc9, 0x95, 0xe4, 0x53, 0x93, 0x2b, 0x4d, 0x9d, 0x68, 0x8e, 0x16, + 0x22, 0xad, 0x39, 0xc5, 0x34, 0x6a, 0xcd, 0x29, 0xc9, 0x9d, 0xb8, 0xc7, 0xe6, 0x1b, 0xc2, 0xf3, + 0xc3, 0x8f, 0xba, 0x39, 0x5a, 0x21, 0x4f, 0x9d, 0xe3, 0x25, 0x3b, 0x12, 0xf5, 0x09, 0xb4, 0x12, + 0x75, 0x6d, 0xd8, 0x51, 0x9e, 0x5c, 0x8c, 0x8e, 0xd6, 0xa8, 0xca, 0xac, 0xe0, 0xb5, 0x57, 0x2f, + 0xbf, 0xbc, 0xf8, 0x4e, 0xf9, 0x75, 0x38, 0xeb, 0xcd, 0x3d, 0xc7, 0x5c, 0x84, 0x33, 0x12, 0xb8, + 0x84, 0x13, 0x76, 0x3a, 0x67, 0xd4, 0x9c, 0x33, 0x7a, 0xea, 0x07, 0xde, 0xcf, 0x5f, 0xe6, 0xfc, + 0x86, 0x12, 0x97, 0x47, 0xcf, 0xa2, 0x99, 0x7d, 0x29, 0x67, 0x75, 0xf1, 0x4c, 0x9e, 0xff, 0x0d, + 0x00, 0x00, 0xff, 0xff, 0xb6, 0x33, 0x17, 0x80, 0x42, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // VolumeClient is the client API for Volume service. // @@ -1345,10 +842,10 @@ type VolumeClient interface { } type volumeClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { +func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { return &volumeClient{cc} } @@ -1460,31 +957,31 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } @@ -1696,5 +1193,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta1/api.proto", + Metadata: "volume/v1beta1/api.proto", } diff --git a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go index 0236c3c2..2bc4962c 100644 --- a/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go +++ b/vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.pb.go @@ -1,1447 +1,898 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.4 -// source: github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto +// source: client/api/volume/v1beta2/api.proto package v1beta2 import ( context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ListVolumesOnDiskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type ListVolumesOnDiskRequest struct { // Disk device ID of the disk to query for volumes - DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskRequest) Reset() { - *x = ListVolumesOnDiskRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskRequest) Reset() { *m = ListVolumesOnDiskRequest{} } +func (m *ListVolumesOnDiskRequest) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskRequest) ProtoMessage() {} +func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{0} } -func (x *ListVolumesOnDiskRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskRequest.Unmarshal(m, b) } - -func (*ListVolumesOnDiskRequest) ProtoMessage() {} - -func (x *ListVolumesOnDiskRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ListVolumesOnDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskRequest.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{0} +func (m *ListVolumesOnDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskRequest.Merge(m, src) } +func (m *ListVolumesOnDiskRequest) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskRequest.Size(m) +} +func (m *ListVolumesOnDiskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskRequest proto.InternalMessageInfo -func (x *ListVolumesOnDiskRequest) GetDiskId() string { - if x != nil { - return x.DiskId +func (m *ListVolumesOnDiskRequest) GetDiskId() string { + if m != nil { + return m.DiskId } return "" } type ListVolumesOnDiskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device IDs of volumes on the specified disk - VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListVolumesOnDiskResponse) Reset() { - *x = ListVolumesOnDiskResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ListVolumesOnDiskResponse) Reset() { *m = ListVolumesOnDiskResponse{} } +func (m *ListVolumesOnDiskResponse) String() string { return proto.CompactTextString(m) } +func (*ListVolumesOnDiskResponse) ProtoMessage() {} +func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{1} } -func (x *ListVolumesOnDiskResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ListVolumesOnDiskResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVolumesOnDiskResponse.Unmarshal(m, b) } - -func (*ListVolumesOnDiskResponse) ProtoMessage() {} - -func (x *ListVolumesOnDiskResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ListVolumesOnDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVolumesOnDiskResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ListVolumesOnDiskResponse.ProtoReflect.Descriptor instead. -func (*ListVolumesOnDiskResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{1} +func (m *ListVolumesOnDiskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVolumesOnDiskResponse.Merge(m, src) +} +func (m *ListVolumesOnDiskResponse) XXX_Size() int { + return xxx_messageInfo_ListVolumesOnDiskResponse.Size(m) } +func (m *ListVolumesOnDiskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVolumesOnDiskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListVolumesOnDiskResponse proto.InternalMessageInfo -func (x *ListVolumesOnDiskResponse) GetVolumeIds() []string { - if x != nil { - return x.VolumeIds +func (m *ListVolumesOnDiskResponse) GetVolumeIds() []string { + if m != nil { + return m.VolumeIds } return nil } type MountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to mount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path in the host's file system where the volume needs to be mounted - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeRequest) Reset() { - *x = MountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeRequest) Reset() { *m = MountVolumeRequest{} } +func (m *MountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*MountVolumeRequest) ProtoMessage() {} +func (*MountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{2} } -func (x *MountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeRequest.Unmarshal(m, b) } - -func (*MountVolumeRequest) ProtoMessage() {} - -func (x *MountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *MountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeRequest.ProtoReflect.Descriptor instead. -func (*MountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{2} +func (m *MountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeRequest.Merge(m, src) +} +func (m *MountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_MountVolumeRequest.Size(m) +} +func (m *MountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeRequest.DiscardUnknown(m) } -func (x *MountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_MountVolumeRequest proto.InternalMessageInfo + +func (m *MountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *MountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *MountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type MountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MountVolumeResponse) Reset() { - *x = MountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MountVolumeResponse) Reset() { *m = MountVolumeResponse{} } +func (m *MountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*MountVolumeResponse) ProtoMessage() {} +func (*MountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{3} } -func (x *MountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MountVolumeResponse.Unmarshal(m, b) } - -func (*MountVolumeResponse) ProtoMessage() {} - -func (x *MountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MountVolumeResponse.ProtoReflect.Descriptor instead. -func (*MountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{3} +func (m *MountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MountVolumeResponse.Merge(m, src) +} +func (m *MountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_MountVolumeResponse.Size(m) +} +func (m *MountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MountVolumeResponse.DiscardUnknown(m) } -type DismountVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_MountVolumeResponse proto.InternalMessageInfo +type DismountVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // Path where the volume has been mounted. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeRequest) Reset() { - *x = DismountVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeRequest) Reset() { *m = DismountVolumeRequest{} } +func (m *DismountVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeRequest) ProtoMessage() {} +func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{4} } -func (x *DismountVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeRequest.Unmarshal(m, b) } - -func (*DismountVolumeRequest) ProtoMessage() {} - -func (x *DismountVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeRequest.ProtoReflect.Descriptor instead. -func (*DismountVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{4} +func (m *DismountVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeRequest.Merge(m, src) +} +func (m *DismountVolumeRequest) XXX_Size() int { + return xxx_messageInfo_DismountVolumeRequest.Size(m) +} +func (m *DismountVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeRequest.DiscardUnknown(m) } -func (x *DismountVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_DismountVolumeRequest proto.InternalMessageInfo + +func (m *DismountVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *DismountVolumeRequest) GetPath() string { - if x != nil { - return x.Path +func (m *DismountVolumeRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type DismountVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DismountVolumeResponse) Reset() { - *x = DismountVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DismountVolumeResponse) Reset() { *m = DismountVolumeResponse{} } +func (m *DismountVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*DismountVolumeResponse) ProtoMessage() {} +func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{5} } -func (x *DismountVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DismountVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DismountVolumeResponse.Unmarshal(m, b) } - -func (*DismountVolumeResponse) ProtoMessage() {} - -func (x *DismountVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DismountVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DismountVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DismountVolumeResponse.ProtoReflect.Descriptor instead. -func (*DismountVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{5} +func (m *DismountVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DismountVolumeResponse.Merge(m, src) +} +func (m *DismountVolumeResponse) XXX_Size() int { + return xxx_messageInfo_DismountVolumeResponse.Size(m) +} +func (m *DismountVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DismountVolumeResponse.DiscardUnknown(m) } -type IsVolumeFormattedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_DismountVolumeResponse proto.InternalMessageInfo +type IsVolumeFormattedRequest struct { // Volume device ID of the volume to check - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedRequest) Reset() { - *x = IsVolumeFormattedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedRequest) Reset() { *m = IsVolumeFormattedRequest{} } +func (m *IsVolumeFormattedRequest) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedRequest) ProtoMessage() {} +func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{6} } -func (x *IsVolumeFormattedRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedRequest.Unmarshal(m, b) } - -func (*IsVolumeFormattedRequest) ProtoMessage() {} - -func (x *IsVolumeFormattedRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedRequest.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{6} +func (m *IsVolumeFormattedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedRequest.Merge(m, src) +} +func (m *IsVolumeFormattedRequest) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedRequest.Size(m) +} +func (m *IsVolumeFormattedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedRequest.DiscardUnknown(m) } -func (x *IsVolumeFormattedRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_IsVolumeFormattedRequest proto.InternalMessageInfo + +func (m *IsVolumeFormattedRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type IsVolumeFormattedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Is the volume formatted with NTFS - Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + Formatted bool `protobuf:"varint,1,opt,name=formatted,proto3" json:"formatted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsVolumeFormattedResponse) Reset() { - *x = IsVolumeFormattedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *IsVolumeFormattedResponse) Reset() { *m = IsVolumeFormattedResponse{} } +func (m *IsVolumeFormattedResponse) String() string { return proto.CompactTextString(m) } +func (*IsVolumeFormattedResponse) ProtoMessage() {} +func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{7} } -func (x *IsVolumeFormattedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *IsVolumeFormattedResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsVolumeFormattedResponse.Unmarshal(m, b) } - -func (*IsVolumeFormattedResponse) ProtoMessage() {} - -func (x *IsVolumeFormattedResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *IsVolumeFormattedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsVolumeFormattedResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use IsVolumeFormattedResponse.ProtoReflect.Descriptor instead. -func (*IsVolumeFormattedResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{7} +func (m *IsVolumeFormattedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsVolumeFormattedResponse.Merge(m, src) +} +func (m *IsVolumeFormattedResponse) XXX_Size() int { + return xxx_messageInfo_IsVolumeFormattedResponse.Size(m) +} +func (m *IsVolumeFormattedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsVolumeFormattedResponse.DiscardUnknown(m) } -func (x *IsVolumeFormattedResponse) GetFormatted() bool { - if x != nil { - return x.Formatted +var xxx_messageInfo_IsVolumeFormattedResponse proto.InternalMessageInfo + +func (m *IsVolumeFormattedResponse) GetFormatted() bool { + if m != nil { + return m.Formatted } return false } type FormatVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to format - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeRequest) Reset() { - *x = FormatVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeRequest) Reset() { *m = FormatVolumeRequest{} } +func (m *FormatVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeRequest) ProtoMessage() {} +func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{8} } -func (x *FormatVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeRequest.Unmarshal(m, b) } - -func (*FormatVolumeRequest) ProtoMessage() {} - -func (x *FormatVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeRequest.ProtoReflect.Descriptor instead. -func (*FormatVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{8} +func (m *FormatVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeRequest.Merge(m, src) +} +func (m *FormatVolumeRequest) XXX_Size() int { + return xxx_messageInfo_FormatVolumeRequest.Size(m) +} +func (m *FormatVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeRequest.DiscardUnknown(m) } -func (x *FormatVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_FormatVolumeRequest proto.InternalMessageInfo + +func (m *FormatVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type FormatVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FormatVolumeResponse) Reset() { - *x = FormatVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FormatVolumeResponse) Reset() { *m = FormatVolumeResponse{} } +func (m *FormatVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*FormatVolumeResponse) ProtoMessage() {} +func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{9} } -func (x *FormatVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FormatVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FormatVolumeResponse.Unmarshal(m, b) } - -func (*FormatVolumeResponse) ProtoMessage() {} - -func (x *FormatVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FormatVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FormatVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use FormatVolumeResponse.ProtoReflect.Descriptor instead. -func (*FormatVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{9} +func (m *FormatVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FormatVolumeResponse.Merge(m, src) +} +func (m *FormatVolumeResponse) XXX_Size() int { + return xxx_messageInfo_FormatVolumeResponse.Size(m) +} +func (m *FormatVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FormatVolumeResponse.DiscardUnknown(m) } -type ResizeVolumeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_FormatVolumeResponse proto.InternalMessageInfo +type ResizeVolumeRequest struct { // Volume device ID of the volume to dismount VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` // New size of the volume - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeRequest) Reset() { - *x = ResizeVolumeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeRequest) Reset() { *m = ResizeVolumeRequest{} } +func (m *ResizeVolumeRequest) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeRequest) ProtoMessage() {} +func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{10} } -func (x *ResizeVolumeRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeRequest.Unmarshal(m, b) } - -func (*ResizeVolumeRequest) ProtoMessage() {} - -func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ResizeVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead. -func (*ResizeVolumeRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{10} +func (m *ResizeVolumeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeRequest.Merge(m, src) +} +func (m *ResizeVolumeRequest) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeRequest.Size(m) } +func (m *ResizeVolumeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResizeVolumeRequest proto.InternalMessageInfo -func (x *ResizeVolumeRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *ResizeVolumeRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } -func (x *ResizeVolumeRequest) GetSize() int64 { - if x != nil { - return x.Size +func (m *ResizeVolumeRequest) GetSize() int64 { + if m != nil { + return m.Size } return 0 } type ResizeVolumeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResizeVolumeResponse) Reset() { - *x = ResizeVolumeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ResizeVolumeResponse) Reset() { *m = ResizeVolumeResponse{} } +func (m *ResizeVolumeResponse) String() string { return proto.CompactTextString(m) } +func (*ResizeVolumeResponse) ProtoMessage() {} +func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{11} } -func (x *ResizeVolumeResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ResizeVolumeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResizeVolumeResponse.Unmarshal(m, b) } - -func (*ResizeVolumeResponse) ProtoMessage() {} - -func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *ResizeVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResizeVolumeResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead. -func (*ResizeVolumeResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{11} +func (m *ResizeVolumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResizeVolumeResponse.Merge(m, src) +} +func (m *ResizeVolumeResponse) XXX_Size() int { + return xxx_messageInfo_ResizeVolumeResponse.Size(m) +} +func (m *ResizeVolumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResizeVolumeResponse.DiscardUnknown(m) } -type VolumeStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_ResizeVolumeResponse proto.InternalMessageInfo +type VolumeStatsRequest struct { // Volume device Id of the volume to get the stats for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsRequest) Reset() { - *x = VolumeStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsRequest) Reset() { *m = VolumeStatsRequest{} } +func (m *VolumeStatsRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsRequest) ProtoMessage() {} +func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{12} } -func (x *VolumeStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsRequest.Unmarshal(m, b) } - -func (*VolumeStatsRequest) ProtoMessage() {} - -func (x *VolumeStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_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) +func (m *VolumeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsRequest.ProtoReflect.Descriptor instead. -func (*VolumeStatsRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{12} +func (m *VolumeStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsRequest.Merge(m, src) +} +func (m *VolumeStatsRequest) XXX_Size() int { + return xxx_messageInfo_VolumeStatsRequest.Size(m) +} +func (m *VolumeStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsRequest.DiscardUnknown(m) } -func (x *VolumeStatsRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeStatsRequest proto.InternalMessageInfo + +func (m *VolumeStatsRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Capacity of the volume VolumeSize int64 `protobuf:"varint,1,opt,name=volumeSize,proto3" json:"volumeSize,omitempty"` // Used bytes - VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + VolumeUsedSize int64 `protobuf:"varint,2,opt,name=volumeUsedSize,proto3" json:"volumeUsedSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeStatsResponse) Reset() { - *x = VolumeStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeStatsResponse) Reset() { *m = VolumeStatsResponse{} } +func (m *VolumeStatsResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeStatsResponse) ProtoMessage() {} +func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{13} } -func (x *VolumeStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeStatsResponse.Unmarshal(m, b) } - -func (*VolumeStatsResponse) ProtoMessage() {} - -func (x *VolumeStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeStatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeStatsResponse.ProtoReflect.Descriptor instead. -func (*VolumeStatsResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{13} +func (m *VolumeStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeStatsResponse.Merge(m, src) } +func (m *VolumeStatsResponse) XXX_Size() int { + return xxx_messageInfo_VolumeStatsResponse.Size(m) +} +func (m *VolumeStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeStatsResponse proto.InternalMessageInfo -func (x *VolumeStatsResponse) GetVolumeSize() int64 { - if x != nil { - return x.VolumeSize +func (m *VolumeStatsResponse) GetVolumeSize() int64 { + if m != nil { + return m.VolumeSize } return 0 } -func (x *VolumeStatsResponse) GetVolumeUsedSize() int64 { - if x != nil { - return x.VolumeUsedSize +func (m *VolumeStatsResponse) GetVolumeUsedSize() int64 { + if m != nil { + return m.VolumeUsedSize } return 0 } type VolumeDiskNumberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device Id of the volume to get the disk number for - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberRequest) Reset() { - *x = VolumeDiskNumberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberRequest) Reset() { *m = VolumeDiskNumberRequest{} } +func (m *VolumeDiskNumberRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberRequest) ProtoMessage() {} +func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{14} } -func (x *VolumeDiskNumberRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberRequest.Unmarshal(m, b) } - -func (*VolumeDiskNumberRequest) ProtoMessage() {} - -func (x *VolumeDiskNumberRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *VolumeDiskNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberRequest.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{14} +func (m *VolumeDiskNumberRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberRequest.Merge(m, src) +} +func (m *VolumeDiskNumberRequest) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberRequest.Size(m) +} +func (m *VolumeDiskNumberRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberRequest.DiscardUnknown(m) } -func (x *VolumeDiskNumberRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId +var xxx_messageInfo_VolumeDiskNumberRequest proto.InternalMessageInfo + +func (m *VolumeDiskNumberRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type VolumeDiskNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Corresponding disk number - DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + DiskNumber int64 `protobuf:"varint,1,opt,name=diskNumber,proto3" json:"diskNumber,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeDiskNumberResponse) Reset() { - *x = VolumeDiskNumberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeDiskNumberResponse) Reset() { *m = VolumeDiskNumberResponse{} } +func (m *VolumeDiskNumberResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeDiskNumberResponse) ProtoMessage() {} +func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{15} } -func (x *VolumeDiskNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeDiskNumberResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeDiskNumberResponse.Unmarshal(m, b) } - -func (*VolumeDiskNumberResponse) ProtoMessage() {} - -func (x *VolumeDiskNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15] - 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) +func (m *VolumeDiskNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeDiskNumberResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeDiskNumberResponse.ProtoReflect.Descriptor instead. -func (*VolumeDiskNumberResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{15} +func (m *VolumeDiskNumberResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeDiskNumberResponse.Merge(m, src) +} +func (m *VolumeDiskNumberResponse) XXX_Size() int { + return xxx_messageInfo_VolumeDiskNumberResponse.Size(m) } +func (m *VolumeDiskNumberResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeDiskNumberResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeDiskNumberResponse proto.InternalMessageInfo -func (x *VolumeDiskNumberResponse) GetDiskNumber() int64 { - if x != nil { - return x.DiskNumber +func (m *VolumeDiskNumberResponse) GetDiskNumber() int64 { + if m != nil { + return m.DiskNumber } return 0 } type VolumeIDFromMountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountRequest) Reset() { - *x = VolumeIDFromMountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountRequest) Reset() { *m = VolumeIDFromMountRequest{} } +func (m *VolumeIDFromMountRequest) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountRequest) ProtoMessage() {} +func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{16} } -func (x *VolumeIDFromMountRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountRequest.Unmarshal(m, b) } - -func (*VolumeIDFromMountRequest) ProtoMessage() {} - -func (x *VolumeIDFromMountRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16] - 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) +func (m *VolumeIDFromMountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountRequest.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{16} +func (m *VolumeIDFromMountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountRequest.Merge(m, src) +} +func (m *VolumeIDFromMountRequest) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountRequest.Size(m) } +func (m *VolumeIDFromMountRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountRequest proto.InternalMessageInfo -func (x *VolumeIDFromMountRequest) GetMount() string { - if x != nil { - return x.Mount +func (m *VolumeIDFromMountRequest) GetMount() string { + if m != nil { + return m.Mount } return "" } type VolumeIDFromMountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Mount - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *VolumeIDFromMountResponse) Reset() { - *x = VolumeIDFromMountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *VolumeIDFromMountResponse) Reset() { *m = VolumeIDFromMountResponse{} } +func (m *VolumeIDFromMountResponse) String() string { return proto.CompactTextString(m) } +func (*VolumeIDFromMountResponse) ProtoMessage() {} +func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{17} } -func (x *VolumeIDFromMountResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *VolumeIDFromMountResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VolumeIDFromMountResponse.Unmarshal(m, b) } - -func (*VolumeIDFromMountResponse) ProtoMessage() {} - -func (x *VolumeIDFromMountResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17] - 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) +func (m *VolumeIDFromMountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VolumeIDFromMountResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use VolumeIDFromMountResponse.ProtoReflect.Descriptor instead. -func (*VolumeIDFromMountResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{17} +func (m *VolumeIDFromMountResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VolumeIDFromMountResponse.Merge(m, src) +} +func (m *VolumeIDFromMountResponse) XXX_Size() int { + return xxx_messageInfo_VolumeIDFromMountResponse.Size(m) } +func (m *VolumeIDFromMountResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VolumeIDFromMountResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_VolumeIDFromMountResponse proto.InternalMessageInfo -func (x *VolumeIDFromMountResponse) GetVolumeId() string { - if x != nil { - return x.VolumeId +func (m *VolumeIDFromMountResponse) GetVolumeId() string { + if m != nil { + return m.VolumeId } return "" } type WriteVolumeCacheRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Volume device ID of the volume to flush the cache - VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WriteVolumeCacheRequest) Reset() { - *x = WriteVolumeCacheRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *WriteVolumeCacheRequest) Reset() { *m = WriteVolumeCacheRequest{} } +func (m *WriteVolumeCacheRequest) String() string { return proto.CompactTextString(m) } +func (*WriteVolumeCacheRequest) ProtoMessage() {} +func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_99d2e9a7d1d95ce9, []int{18} } -func (x *WriteVolumeCacheRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WriteVolumeCacheRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteVolumeCacheRequest.Unmarshal(m, b) } - -func (*WriteVolumeCacheRequest) ProtoMessage() {} - -func (x *WriteVolumeCacheRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18] - 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) +func (m *WriteVolumeCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteVolumeCacheRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use WriteVolumeCacheRequest.ProtoReflect.Descriptor instead. -func (*WriteVolumeCacheRequest) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{18} +func (m *WriteVolumeCacheRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteVolumeCacheRequest.Merge(m, src) } - -func (x *WriteVolumeCacheRequest) GetVolumeId() string { - if x != nil { - return x.VolumeId - } - return "" +func (m *WriteVolumeCacheRequest) XXX_Size() int { + return xxx_messageInfo_WriteVolumeCacheRequest.Size(m) } - -type WriteVolumeCacheResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *WriteVolumeCacheRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WriteVolumeCacheRequest.DiscardUnknown(m) } -func (x *WriteVolumeCacheResponse) Reset() { - *x = WriteVolumeCacheResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} +var xxx_messageInfo_WriteVolumeCacheRequest proto.InternalMessageInfo -func (x *WriteVolumeCacheResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *WriteVolumeCacheRequest) GetVolumeId() string { + if m != nil { + return m.VolumeId + } + return "" } -func (*WriteVolumeCacheResponse) ProtoMessage() {} - -func (x *WriteVolumeCacheResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19] - 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) +type WriteVolumeCacheResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use WriteVolumeCacheResponse.ProtoReflect.Descriptor instead. +func (m *WriteVolumeCacheResponse) Reset() { *m = WriteVolumeCacheResponse{} } +func (m *WriteVolumeCacheResponse) String() string { return proto.CompactTextString(m) } +func (*WriteVolumeCacheResponse) ProtoMessage() {} func (*WriteVolumeCacheResponse) Descriptor() ([]byte, []int) { - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP(), []int{19} -} - -var File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto protoreflect.FileDescriptor - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = []byte{ - 0x0a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, - 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x32, 0x22, 0x33, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x48, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x18, 0x0a, 0x16, 0x44, - 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x18, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x39, - 0x0a, 0x19, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, - 0x14, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x16, 0x0a, - 0x14, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, - 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x3a, 0x0a, 0x18, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x18, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, - 0x19, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, - 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x06, 0x0a, 0x06, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x53, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x73, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x11, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, - 0x69, 0x7a, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x7a, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x12, 0x1b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, - 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x10, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x12, 0x20, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x57, 0x72, 0x69, - 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, - 0x2d, 0x63, 0x73, 0x69, 0x2f, 0x63, 0x73, 0x69, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce sync.Once - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc -) - -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescGZIP() []byte { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescOnce.Do(func() { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData) - }) - return file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDescData -} - -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = []interface{}{ - (*ListVolumesOnDiskRequest)(nil), // 0: v1beta2.ListVolumesOnDiskRequest - (*ListVolumesOnDiskResponse)(nil), // 1: v1beta2.ListVolumesOnDiskResponse - (*MountVolumeRequest)(nil), // 2: v1beta2.MountVolumeRequest - (*MountVolumeResponse)(nil), // 3: v1beta2.MountVolumeResponse - (*DismountVolumeRequest)(nil), // 4: v1beta2.DismountVolumeRequest - (*DismountVolumeResponse)(nil), // 5: v1beta2.DismountVolumeResponse - (*IsVolumeFormattedRequest)(nil), // 6: v1beta2.IsVolumeFormattedRequest - (*IsVolumeFormattedResponse)(nil), // 7: v1beta2.IsVolumeFormattedResponse - (*FormatVolumeRequest)(nil), // 8: v1beta2.FormatVolumeRequest - (*FormatVolumeResponse)(nil), // 9: v1beta2.FormatVolumeResponse - (*ResizeVolumeRequest)(nil), // 10: v1beta2.ResizeVolumeRequest - (*ResizeVolumeResponse)(nil), // 11: v1beta2.ResizeVolumeResponse - (*VolumeStatsRequest)(nil), // 12: v1beta2.VolumeStatsRequest - (*VolumeStatsResponse)(nil), // 13: v1beta2.VolumeStatsResponse - (*VolumeDiskNumberRequest)(nil), // 14: v1beta2.VolumeDiskNumberRequest - (*VolumeDiskNumberResponse)(nil), // 15: v1beta2.VolumeDiskNumberResponse - (*VolumeIDFromMountRequest)(nil), // 16: v1beta2.VolumeIDFromMountRequest - (*VolumeIDFromMountResponse)(nil), // 17: v1beta2.VolumeIDFromMountResponse - (*WriteVolumeCacheRequest)(nil), // 18: v1beta2.WriteVolumeCacheRequest - (*WriteVolumeCacheResponse)(nil), // 19: v1beta2.WriteVolumeCacheResponse -} -var file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = []int32{ - 0, // 0: v1beta2.Volume.ListVolumesOnDisk:input_type -> v1beta2.ListVolumesOnDiskRequest - 2, // 1: v1beta2.Volume.MountVolume:input_type -> v1beta2.MountVolumeRequest - 4, // 2: v1beta2.Volume.DismountVolume:input_type -> v1beta2.DismountVolumeRequest - 6, // 3: v1beta2.Volume.IsVolumeFormatted:input_type -> v1beta2.IsVolumeFormattedRequest - 8, // 4: v1beta2.Volume.FormatVolume:input_type -> v1beta2.FormatVolumeRequest - 10, // 5: v1beta2.Volume.ResizeVolume:input_type -> v1beta2.ResizeVolumeRequest - 12, // 6: v1beta2.Volume.VolumeStats:input_type -> v1beta2.VolumeStatsRequest - 14, // 7: v1beta2.Volume.GetVolumeDiskNumber:input_type -> v1beta2.VolumeDiskNumberRequest - 16, // 8: v1beta2.Volume.GetVolumeIDFromMount:input_type -> v1beta2.VolumeIDFromMountRequest - 18, // 9: v1beta2.Volume.WriteVolumeCache:input_type -> v1beta2.WriteVolumeCacheRequest - 1, // 10: v1beta2.Volume.ListVolumesOnDisk:output_type -> v1beta2.ListVolumesOnDiskResponse - 3, // 11: v1beta2.Volume.MountVolume:output_type -> v1beta2.MountVolumeResponse - 5, // 12: v1beta2.Volume.DismountVolume:output_type -> v1beta2.DismountVolumeResponse - 7, // 13: v1beta2.Volume.IsVolumeFormatted:output_type -> v1beta2.IsVolumeFormattedResponse - 9, // 14: v1beta2.Volume.FormatVolume:output_type -> v1beta2.FormatVolumeResponse - 11, // 15: v1beta2.Volume.ResizeVolume:output_type -> v1beta2.ResizeVolumeResponse - 13, // 16: v1beta2.Volume.VolumeStats:output_type -> v1beta2.VolumeStatsResponse - 15, // 17: v1beta2.Volume.GetVolumeDiskNumber:output_type -> v1beta2.VolumeDiskNumberResponse - 17, // 18: v1beta2.Volume.GetVolumeIDFromMount:output_type -> v1beta2.VolumeIDFromMountResponse - 19, // 19: v1beta2.Volume.WriteVolumeCache:output_type -> v1beta2.WriteVolumeCacheResponse - 10, // [10:20] is the sub-list for method output_type - 0, // [0:10] 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() } -func file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_init() { - if File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListVolumesOnDiskResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DismountVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsVolumeFormattedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResizeVolumeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeDiskNumberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VolumeIDFromMountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteVolumeCacheRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteVolumeCacheResponse); 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_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 20, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes, - DependencyIndexes: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs, - MessageInfos: file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_msgTypes, - }.Build() - File_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto = out.File - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_rawDesc = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_goTypes = nil - file_github_com_kubernetes_csi_csi_proxy_client_api_volume_v1beta2_api_proto_depIdxs = nil + return fileDescriptor_99d2e9a7d1d95ce9, []int{19} +} + +func (m *WriteVolumeCacheResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteVolumeCacheResponse.Unmarshal(m, b) +} +func (m *WriteVolumeCacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteVolumeCacheResponse.Marshal(b, m, deterministic) +} +func (m *WriteVolumeCacheResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteVolumeCacheResponse.Merge(m, src) +} +func (m *WriteVolumeCacheResponse) XXX_Size() int { + return xxx_messageInfo_WriteVolumeCacheResponse.Size(m) +} +func (m *WriteVolumeCacheResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WriteVolumeCacheResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteVolumeCacheResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListVolumesOnDiskRequest)(nil), "v1beta2.ListVolumesOnDiskRequest") + proto.RegisterType((*ListVolumesOnDiskResponse)(nil), "v1beta2.ListVolumesOnDiskResponse") + proto.RegisterType((*MountVolumeRequest)(nil), "v1beta2.MountVolumeRequest") + proto.RegisterType((*MountVolumeResponse)(nil), "v1beta2.MountVolumeResponse") + proto.RegisterType((*DismountVolumeRequest)(nil), "v1beta2.DismountVolumeRequest") + proto.RegisterType((*DismountVolumeResponse)(nil), "v1beta2.DismountVolumeResponse") + proto.RegisterType((*IsVolumeFormattedRequest)(nil), "v1beta2.IsVolumeFormattedRequest") + proto.RegisterType((*IsVolumeFormattedResponse)(nil), "v1beta2.IsVolumeFormattedResponse") + proto.RegisterType((*FormatVolumeRequest)(nil), "v1beta2.FormatVolumeRequest") + proto.RegisterType((*FormatVolumeResponse)(nil), "v1beta2.FormatVolumeResponse") + proto.RegisterType((*ResizeVolumeRequest)(nil), "v1beta2.ResizeVolumeRequest") + proto.RegisterType((*ResizeVolumeResponse)(nil), "v1beta2.ResizeVolumeResponse") + proto.RegisterType((*VolumeStatsRequest)(nil), "v1beta2.VolumeStatsRequest") + proto.RegisterType((*VolumeStatsResponse)(nil), "v1beta2.VolumeStatsResponse") + proto.RegisterType((*VolumeDiskNumberRequest)(nil), "v1beta2.VolumeDiskNumberRequest") + proto.RegisterType((*VolumeDiskNumberResponse)(nil), "v1beta2.VolumeDiskNumberResponse") + proto.RegisterType((*VolumeIDFromMountRequest)(nil), "v1beta2.VolumeIDFromMountRequest") + proto.RegisterType((*VolumeIDFromMountResponse)(nil), "v1beta2.VolumeIDFromMountResponse") + proto.RegisterType((*WriteVolumeCacheRequest)(nil), "v1beta2.WriteVolumeCacheRequest") + proto.RegisterType((*WriteVolumeCacheResponse)(nil), "v1beta2.WriteVolumeCacheResponse") +} + +func init() { + proto.RegisterFile("client/api/volume/v1beta2/api.proto", fileDescriptor_99d2e9a7d1d95ce9) +} + +var fileDescriptor_99d2e9a7d1d95ce9 = []byte{ + // 625 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x6b, 0x6f, 0xd3, 0x30, + 0x14, 0x6d, 0x19, 0x74, 0xeb, 0x05, 0x4d, 0xcc, 0xdd, 0x23, 0xcd, 0x1e, 0x74, 0x46, 0x42, 0xfb, + 0xb2, 0x86, 0x75, 0xd2, 0x80, 0x49, 0x08, 0x09, 0x4a, 0xa1, 0x88, 0x81, 0x94, 0x0a, 0x10, 0x68, + 0xa8, 0x4a, 0x1b, 0x43, 0xad, 0x2e, 0x4d, 0x89, 0x9d, 0x09, 0xf8, 0xc7, 0xfc, 0x0b, 0x14, 0xdb, + 0x49, 0xdd, 0x3c, 0xaa, 0x22, 0xf1, 0x2d, 0x3e, 0xf6, 0x39, 0xe7, 0xda, 0xbe, 0xc7, 0x81, 0xfb, + 0xc3, 0x2b, 0x4a, 0x26, 0xdc, 0x72, 0xa6, 0xd4, 0xba, 0xf6, 0xaf, 0x42, 0x8f, 0x58, 0xd7, 0x27, + 0x03, 0xc2, 0x9d, 0x56, 0x04, 0x35, 0xa7, 0x81, 0xcf, 0x7d, 0xb4, 0xaa, 0x20, 0x7c, 0x0a, 0xc6, + 0x5b, 0xca, 0xf8, 0x47, 0xb1, 0x90, 0xbd, 0x9f, 0xb4, 0x29, 0x1b, 0xdb, 0xe4, 0x47, 0x48, 0x18, + 0x47, 0x3b, 0xb0, 0xea, 0x52, 0x36, 0xee, 0x53, 0xd7, 0x28, 0x37, 0xca, 0x47, 0x55, 0xbb, 0x12, + 0x0d, 0xbb, 0x2e, 0x3e, 0x87, 0x7a, 0x0e, 0x89, 0x4d, 0xfd, 0x09, 0x23, 0x68, 0x1f, 0x40, 0xda, + 0xf6, 0xa9, 0xcb, 0x8c, 0x72, 0x63, 0xe5, 0xa8, 0x6a, 0x57, 0x25, 0xd2, 0x75, 0x19, 0x7e, 0x09, + 0xe8, 0xc2, 0x0f, 0x27, 0x8a, 0x1c, 0x5b, 0xed, 0x42, 0x35, 0x21, 0x29, 0xb3, 0xb5, 0x98, 0x83, + 0x10, 0xdc, 0x9c, 0x3a, 0x7c, 0x64, 0xdc, 0x10, 0xb8, 0xf8, 0xc6, 0x5b, 0x50, 0x9b, 0x93, 0x91, + 0xe6, 0xf8, 0x35, 0x6c, 0xb5, 0x29, 0xf3, 0xfe, 0x83, 0x81, 0x01, 0xdb, 0x69, 0x25, 0xe5, 0xf1, + 0x08, 0x8c, 0x2e, 0x93, 0x58, 0xc7, 0x0f, 0x3c, 0x87, 0x73, 0xe2, 0x2e, 0x63, 0x83, 0x9f, 0x40, + 0x3d, 0x87, 0xa8, 0x8e, 0x6d, 0x0f, 0xaa, 0xdf, 0x62, 0x50, 0x30, 0xd7, 0xec, 0x19, 0x80, 0x5b, + 0x50, 0x93, 0x94, 0xe5, 0x77, 0x85, 0xb7, 0x61, 0x73, 0x9e, 0xa3, 0xea, 0xef, 0x40, 0xcd, 0x26, + 0x8c, 0xfe, 0x26, 0xff, 0x76, 0x42, 0x11, 0x43, 0x9c, 0xd0, 0x8a, 0x2d, 0xbe, 0x23, 0xfd, 0x79, + 0x1d, 0xa5, 0x7f, 0x02, 0x48, 0x22, 0x3d, 0xee, 0x70, 0xb6, 0x54, 0xa9, 0x5f, 0xa1, 0x36, 0x47, + 0x51, 0x67, 0x72, 0x10, 0xb7, 0x52, 0x2f, 0xf2, 0x2e, 0x0b, 0x6f, 0x0d, 0x41, 0x0f, 0x60, 0x5d, + 0x8e, 0x3e, 0x30, 0xe2, 0xf6, 0x66, 0xf5, 0xa5, 0x50, 0x7c, 0x06, 0x3b, 0x52, 0x3e, 0x6a, 0xd4, + 0x77, 0xa1, 0x37, 0x20, 0xc1, 0x52, 0x65, 0x9d, 0x83, 0x91, 0xe5, 0xcd, 0x6a, 0x73, 0x13, 0x34, + 0xae, 0x6d, 0x86, 0xe0, 0x87, 0x31, 0xb7, 0xdb, 0xee, 0x04, 0xbe, 0x27, 0x9a, 0x35, 0x36, 0xdd, + 0x84, 0x5b, 0xa2, 0xb1, 0x94, 0xa1, 0x1c, 0xe0, 0xc7, 0x50, 0xcf, 0x61, 0x28, 0xbb, 0x85, 0x75, + 0x9e, 0xc1, 0xce, 0xa7, 0x80, 0x72, 0x75, 0x11, 0x2f, 0x9c, 0xe1, 0x68, 0xb9, 0x0e, 0x31, 0xc1, + 0xc8, 0xf2, 0xa4, 0x61, 0xeb, 0x4f, 0x05, 0x2a, 0x12, 0x47, 0x97, 0xb0, 0x91, 0x89, 0x3b, 0x3a, + 0x6c, 0xaa, 0x27, 0xa4, 0x59, 0xf4, 0x7e, 0x98, 0x78, 0xd1, 0x12, 0xd5, 0x2c, 0x25, 0xf4, 0x06, + 0x6e, 0x6b, 0x49, 0x46, 0xbb, 0x09, 0x29, 0xfb, 0x4c, 0x98, 0x7b, 0xf9, 0x93, 0x89, 0x56, 0x0f, + 0xd6, 0xe7, 0x43, 0x8b, 0x0e, 0x12, 0x46, 0xee, 0xbb, 0x60, 0xde, 0x2b, 0x9c, 0x4f, 0x44, 0x2f, + 0x61, 0x23, 0x13, 0x5b, 0x6d, 0xfb, 0x45, 0x6f, 0x81, 0xb6, 0xfd, 0xc2, 0xd4, 0xe3, 0x12, 0xba, + 0x80, 0x3b, 0x7a, 0x4a, 0xd1, 0x6c, 0x8b, 0x39, 0x81, 0x37, 0xf7, 0x0b, 0x66, 0x75, 0x39, 0x3d, + 0x94, 0x9a, 0x5c, 0x4e, 0xe6, 0x35, 0xb9, 0xdc, 0x24, 0x8b, 0xcb, 0xd1, 0x82, 0xa9, 0x5d, 0x4e, + 0x36, 0xe1, 0xda, 0xe5, 0xe4, 0x64, 0x59, 0x9c, 0x63, 0xed, 0x15, 0xe1, 0xe9, 0x40, 0xa1, 0x46, + 0x8a, 0x96, 0xc9, 0xa8, 0x79, 0xb8, 0x60, 0x45, 0xa2, 0xde, 0x87, 0xcd, 0x44, 0x5d, 0x0b, 0x10, + 0x4a, 0x93, 0xb3, 0x71, 0xd4, 0x2e, 0xaa, 0x30, 0x7f, 0xb8, 0x84, 0x3e, 0xc3, 0xdd, 0x74, 0x58, + 0xb4, 0xda, 0x0b, 0xf2, 0xa7, 0xd5, 0x5e, 0x94, 0x34, 0x5c, 0x7a, 0xfe, 0xec, 0xcb, 0xd3, 0xef, + 0x94, 0x8f, 0xc2, 0x41, 0x73, 0xe8, 0x7b, 0xd6, 0x38, 0x1c, 0x90, 0x60, 0x42, 0x38, 0x61, 0xc7, + 0x43, 0x46, 0xad, 0x21, 0xa3, 0xc7, 0xd3, 0xc0, 0xff, 0xf9, 0xcb, 0x2a, 0xfc, 0xb1, 0x0f, 0x2a, + 0xe2, 0xaf, 0x7e, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0xef, 0xbc, 0x51, 0x38, 0xfc, 0x07, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // VolumeClient is the client API for Volume service. // @@ -1471,10 +922,10 @@ type VolumeClient interface { } type volumeClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { +func NewVolumeClient(cc *grpc.ClientConn) VolumeClient { return &volumeClient{cc} } @@ -1597,34 +1048,34 @@ type VolumeServer interface { type UnimplementedVolumeServer struct { } -func (*UnimplementedVolumeServer) ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { +func (*UnimplementedVolumeServer) ListVolumesOnDisk(ctx context.Context, req *ListVolumesOnDiskRequest) (*ListVolumesOnDiskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListVolumesOnDisk not implemented") } -func (*UnimplementedVolumeServer) MountVolume(context.Context, *MountVolumeRequest) (*MountVolumeResponse, error) { +func (*UnimplementedVolumeServer) MountVolume(ctx context.Context, req *MountVolumeRequest) (*MountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MountVolume not implemented") } -func (*UnimplementedVolumeServer) DismountVolume(context.Context, *DismountVolumeRequest) (*DismountVolumeResponse, error) { +func (*UnimplementedVolumeServer) DismountVolume(ctx context.Context, req *DismountVolumeRequest) (*DismountVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DismountVolume not implemented") } -func (*UnimplementedVolumeServer) IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { +func (*UnimplementedVolumeServer) IsVolumeFormatted(ctx context.Context, req *IsVolumeFormattedRequest) (*IsVolumeFormattedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsVolumeFormatted not implemented") } -func (*UnimplementedVolumeServer) FormatVolume(context.Context, *FormatVolumeRequest) (*FormatVolumeResponse, error) { +func (*UnimplementedVolumeServer) FormatVolume(ctx context.Context, req *FormatVolumeRequest) (*FormatVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FormatVolume not implemented") } -func (*UnimplementedVolumeServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { +func (*UnimplementedVolumeServer) ResizeVolume(ctx context.Context, req *ResizeVolumeRequest) (*ResizeVolumeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResizeVolume not implemented") } -func (*UnimplementedVolumeServer) VolumeStats(context.Context, *VolumeStatsRequest) (*VolumeStatsResponse, error) { +func (*UnimplementedVolumeServer) VolumeStats(ctx context.Context, req *VolumeStatsRequest) (*VolumeStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VolumeStats not implemented") } -func (*UnimplementedVolumeServer) GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeDiskNumber(ctx context.Context, req *VolumeDiskNumberRequest) (*VolumeDiskNumberResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeDiskNumber not implemented") } -func (*UnimplementedVolumeServer) GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { +func (*UnimplementedVolumeServer) GetVolumeIDFromMount(ctx context.Context, req *VolumeIDFromMountRequest) (*VolumeIDFromMountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVolumeIDFromMount not implemented") } -func (*UnimplementedVolumeServer) WriteVolumeCache(context.Context, *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { +func (*UnimplementedVolumeServer) WriteVolumeCache(ctx context.Context, req *WriteVolumeCacheRequest) (*WriteVolumeCacheResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteVolumeCache not implemented") } @@ -1858,5 +1309,5 @@ var _Volume_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta2/api.proto", + Metadata: "client/api/volume/v1beta2/api.proto", }