diff --git a/Makefile b/Makefile index 7fd22d5c..97fc6090 100644 --- a/Makefile +++ b/Makefile @@ -30,11 +30,11 @@ 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 - $(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/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/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/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/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/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/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/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/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/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