@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc v6.33.4
// - protoc-gen-go-grpc v1.6.0
// - protoc v3.21.12
// source: volume_server.proto
// source: volume_server.proto
package volume_server_pb
package volume_server_pb
@ -35,6 +35,8 @@ const (
VolumeServer_VolumeMarkWritable_FullMethodName = "/volume_server_pb.VolumeServer/VolumeMarkWritable"
VolumeServer_VolumeMarkWritable_FullMethodName = "/volume_server_pb.VolumeServer/VolumeMarkWritable"
VolumeServer_VolumeConfigure_FullMethodName = "/volume_server_pb.VolumeServer/VolumeConfigure"
VolumeServer_VolumeConfigure_FullMethodName = "/volume_server_pb.VolumeServer/VolumeConfigure"
VolumeServer_VolumeStatus_FullMethodName = "/volume_server_pb.VolumeServer/VolumeStatus"
VolumeServer_VolumeStatus_FullMethodName = "/volume_server_pb.VolumeServer/VolumeStatus"
VolumeServer_GetState_FullMethodName = "/volume_server_pb.VolumeServer/GetState"
VolumeServer_SetState_FullMethodName = "/volume_server_pb.VolumeServer/SetState"
VolumeServer_VolumeCopy_FullMethodName = "/volume_server_pb.VolumeServer/VolumeCopy"
VolumeServer_VolumeCopy_FullMethodName = "/volume_server_pb.VolumeServer/VolumeCopy"
VolumeServer_ReadVolumeFileStatus_FullMethodName = "/volume_server_pb.VolumeServer/ReadVolumeFileStatus"
VolumeServer_ReadVolumeFileStatus_FullMethodName = "/volume_server_pb.VolumeServer/ReadVolumeFileStatus"
VolumeServer_CopyFile_FullMethodName = "/volume_server_pb.VolumeServer/CopyFile"
VolumeServer_CopyFile_FullMethodName = "/volume_server_pb.VolumeServer/CopyFile"
@ -86,6 +88,8 @@ type VolumeServerClient interface {
VolumeMarkWritable ( ctx context . Context , in * VolumeMarkWritableRequest , opts ... grpc . CallOption ) ( * VolumeMarkWritableResponse , error )
VolumeMarkWritable ( ctx context . Context , in * VolumeMarkWritableRequest , opts ... grpc . CallOption ) ( * VolumeMarkWritableResponse , error )
VolumeConfigure ( ctx context . Context , in * VolumeConfigureRequest , opts ... grpc . CallOption ) ( * VolumeConfigureResponse , error )
VolumeConfigure ( ctx context . Context , in * VolumeConfigureRequest , opts ... grpc . CallOption ) ( * VolumeConfigureResponse , error )
VolumeStatus ( ctx context . Context , in * VolumeStatusRequest , opts ... grpc . CallOption ) ( * VolumeStatusResponse , error )
VolumeStatus ( ctx context . Context , in * VolumeStatusRequest , opts ... grpc . CallOption ) ( * VolumeStatusResponse , error )
GetState ( ctx context . Context , in * GetStateRequest , opts ... grpc . CallOption ) ( * GetStateResponse , error )
SetState ( ctx context . Context , in * SetStateRequest , opts ... grpc . CallOption ) ( * SetStateResponse , error )
// copy the .idx .dat files, and mount this volume
// copy the .idx .dat files, and mount this volume
VolumeCopy ( ctx context . Context , in * VolumeCopyRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ VolumeCopyResponse ] , error )
VolumeCopy ( ctx context . Context , in * VolumeCopyRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ VolumeCopyResponse ] , error )
ReadVolumeFileStatus ( ctx context . Context , in * ReadVolumeFileStatusRequest , opts ... grpc . CallOption ) ( * ReadVolumeFileStatusResponse , error )
ReadVolumeFileStatus ( ctx context . Context , in * ReadVolumeFileStatusRequest , opts ... grpc . CallOption ) ( * ReadVolumeFileStatusResponse , error )
@ -307,6 +311,26 @@ func (c *volumeServerClient) VolumeStatus(ctx context.Context, in *VolumeStatusR
return out , nil
return out , nil
}
}
func ( c * volumeServerClient ) GetState ( ctx context . Context , in * GetStateRequest , opts ... grpc . CallOption ) ( * GetStateResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( GetStateResponse )
err := c . cc . Invoke ( ctx , VolumeServer_GetState_FullMethodName , in , out , cOpts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * volumeServerClient ) SetState ( ctx context . Context , in * SetStateRequest , opts ... grpc . CallOption ) ( * SetStateResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( SetStateResponse )
err := c . cc . Invoke ( ctx , VolumeServer_SetState_FullMethodName , in , out , cOpts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * volumeServerClient ) VolumeCopy ( ctx context . Context , in * VolumeCopyRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ VolumeCopyResponse ] , error ) {
func ( c * volumeServerClient ) VolumeCopy ( ctx context . Context , in * VolumeCopyRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ VolumeCopyResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & VolumeServer_ServiceDesc . Streams [ 2 ] , VolumeServer_VolumeCopy_FullMethodName , cOpts ... )
stream , err := c . cc . NewStream ( ctx , & VolumeServer_ServiceDesc . Streams [ 2 ] , VolumeServer_VolumeCopy_FullMethodName , cOpts ... )
@ -683,6 +707,8 @@ type VolumeServerServer interface {
VolumeMarkWritable ( context . Context , * VolumeMarkWritableRequest ) ( * VolumeMarkWritableResponse , error )
VolumeMarkWritable ( context . Context , * VolumeMarkWritableRequest ) ( * VolumeMarkWritableResponse , error )
VolumeConfigure ( context . Context , * VolumeConfigureRequest ) ( * VolumeConfigureResponse , error )
VolumeConfigure ( context . Context , * VolumeConfigureRequest ) ( * VolumeConfigureResponse , error )
VolumeStatus ( context . Context , * VolumeStatusRequest ) ( * VolumeStatusResponse , error )
VolumeStatus ( context . Context , * VolumeStatusRequest ) ( * VolumeStatusResponse , error )
GetState ( context . Context , * GetStateRequest ) ( * GetStateResponse , error )
SetState ( context . Context , * SetStateRequest ) ( * SetStateResponse , error )
// copy the .idx .dat files, and mount this volume
// copy the .idx .dat files, and mount this volume
VolumeCopy ( * VolumeCopyRequest , grpc . ServerStreamingServer [ VolumeCopyResponse ] ) error
VolumeCopy ( * VolumeCopyRequest , grpc . ServerStreamingServer [ VolumeCopyResponse ] ) error
ReadVolumeFileStatus ( context . Context , * ReadVolumeFileStatusRequest ) ( * ReadVolumeFileStatusResponse , error )
ReadVolumeFileStatus ( context . Context , * ReadVolumeFileStatusRequest ) ( * ReadVolumeFileStatusResponse , error )
@ -727,136 +753,142 @@ type VolumeServerServer interface {
type UnimplementedVolumeServerServer struct { }
type UnimplementedVolumeServerServer struct { }
func ( UnimplementedVolumeServerServer ) BatchDelete ( context . Context , * BatchDeleteRequest ) ( * BatchDeleteResponse , error ) {
func ( UnimplementedVolumeServerServer ) BatchDelete ( context . Context , * BatchDeleteRequest ) ( * BatchDeleteResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method BatchDelete not implemented" )
return nil , status . Error ( codes . Unimplemented , "method BatchDelete not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VacuumVolumeCheck ( context . Context , * VacuumVolumeCheckRequest ) ( * VacuumVolumeCheckResponse , error ) {
func ( UnimplementedVolumeServerServer ) VacuumVolumeCheck ( context . Context , * VacuumVolumeCheckRequest ) ( * VacuumVolumeCheckResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VacuumVolumeCheck not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VacuumVolumeCheck not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VacuumVolumeCompact ( * VacuumVolumeCompactRequest , grpc . ServerStreamingServer [ VacuumVolumeCompactResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VacuumVolumeCompact ( * VacuumVolumeCompactRequest , grpc . ServerStreamingServer [ VacuumVolumeCompactResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VacuumVolumeCompact not implemented" )
return status . Error ( codes . Unimplemented , "method VacuumVolumeCompact not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VacuumVolumeCommit ( context . Context , * VacuumVolumeCommitRequest ) ( * VacuumVolumeCommitResponse , error ) {
func ( UnimplementedVolumeServerServer ) VacuumVolumeCommit ( context . Context , * VacuumVolumeCommitRequest ) ( * VacuumVolumeCommitResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VacuumVolumeCommit not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VacuumVolumeCommit not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VacuumVolumeCleanup ( context . Context , * VacuumVolumeCleanupRequest ) ( * VacuumVolumeCleanupResponse , error ) {
func ( UnimplementedVolumeServerServer ) VacuumVolumeCleanup ( context . Context , * VacuumVolumeCleanupRequest ) ( * VacuumVolumeCleanupResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VacuumVolumeCleanup not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VacuumVolumeCleanup not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) DeleteCollection ( context . Context , * DeleteCollectionRequest ) ( * DeleteCollectionResponse , error ) {
func ( UnimplementedVolumeServerServer ) DeleteCollection ( context . Context , * DeleteCollectionRequest ) ( * DeleteCollectionResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DeleteCollection not implemented" )
return nil , status . Error ( codes . Unimplemented , "method DeleteCollection not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) AllocateVolume ( context . Context , * AllocateVolumeRequest ) ( * AllocateVolumeResponse , error ) {
func ( UnimplementedVolumeServerServer ) AllocateVolume ( context . Context , * AllocateVolumeRequest ) ( * AllocateVolumeResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method AllocateVolume not implemented" )
return nil , status . Error ( codes . Unimplemented , "method AllocateVolume not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeSyncStatus ( context . Context , * VolumeSyncStatusRequest ) ( * VolumeSyncStatusResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeSyncStatus ( context . Context , * VolumeSyncStatusRequest ) ( * VolumeSyncStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeSyncStatus not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeSyncStatus not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeIncrementalCopy ( * VolumeIncrementalCopyRequest , grpc . ServerStreamingServer [ VolumeIncrementalCopyResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeIncrementalCopy ( * VolumeIncrementalCopyRequest , grpc . ServerStreamingServer [ VolumeIncrementalCopyResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeIncrementalCopy not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeIncrementalCopy not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeMount ( context . Context , * VolumeMountRequest ) ( * VolumeMountResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeMount ( context . Context , * VolumeMountRequest ) ( * VolumeMountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeMount not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeMount not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeUnmount ( context . Context , * VolumeUnmountRequest ) ( * VolumeUnmountResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeUnmount ( context . Context , * VolumeUnmountRequest ) ( * VolumeUnmountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeUnmount not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeUnmount not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeDelete ( context . Context , * VolumeDeleteRequest ) ( * VolumeDeleteResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeDelete ( context . Context , * VolumeDeleteRequest ) ( * VolumeDeleteResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeDelete not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeDelete not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeMarkReadonly ( context . Context , * VolumeMarkReadonlyRequest ) ( * VolumeMarkReadonlyResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeMarkReadonly ( context . Context , * VolumeMarkReadonlyRequest ) ( * VolumeMarkReadonlyResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeMarkReadonly not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeMarkReadonly not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeMarkWritable ( context . Context , * VolumeMarkWritableRequest ) ( * VolumeMarkWritableResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeMarkWritable ( context . Context , * VolumeMarkWritableRequest ) ( * VolumeMarkWritableResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeMarkWritable not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeMarkWritable not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeConfigure ( context . Context , * VolumeConfigureRequest ) ( * VolumeConfigureResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeConfigure ( context . Context , * VolumeConfigureRequest ) ( * VolumeConfigureResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeConfigure not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeConfigure not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeStatus ( context . Context , * VolumeStatusRequest ) ( * VolumeStatusResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeStatus ( context . Context , * VolumeStatusRequest ) ( * VolumeStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeStatus not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeStatus not implemented" )
}
func ( UnimplementedVolumeServerServer ) GetState ( context . Context , * GetStateRequest ) ( * GetStateResponse , error ) {
return nil , status . Error ( codes . Unimplemented , "method GetState not implemented" )
}
func ( UnimplementedVolumeServerServer ) SetState ( context . Context , * SetStateRequest ) ( * SetStateResponse , error ) {
return nil , status . Error ( codes . Unimplemented , "method SetState not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeCopy ( * VolumeCopyRequest , grpc . ServerStreamingServer [ VolumeCopyResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeCopy ( * VolumeCopyRequest , grpc . ServerStreamingServer [ VolumeCopyResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeCopy not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeCopy not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) ReadVolumeFileStatus ( context . Context , * ReadVolumeFileStatusRequest ) ( * ReadVolumeFileStatusResponse , error ) {
func ( UnimplementedVolumeServerServer ) ReadVolumeFileStatus ( context . Context , * ReadVolumeFileStatusRequest ) ( * ReadVolumeFileStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ReadVolumeFileStatus not implemented" )
return nil , status . Error ( codes . Unimplemented , "method ReadVolumeFileStatus not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) CopyFile ( * CopyFileRequest , grpc . ServerStreamingServer [ CopyFileResponse ] ) error {
func ( UnimplementedVolumeServerServer ) CopyFile ( * CopyFileRequest , grpc . ServerStreamingServer [ CopyFileResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method CopyFile not implemented" )
return status . Error ( codes . Unimplemented , "method CopyFile not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) ReceiveFile ( grpc . ClientStreamingServer [ ReceiveFileRequest , ReceiveFileResponse ] ) error {
func ( UnimplementedVolumeServerServer ) ReceiveFile ( grpc . ClientStreamingServer [ ReceiveFileRequest , ReceiveFileResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method ReceiveFile not implemented" )
return status . Error ( codes . Unimplemented , "method ReceiveFile not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) ReadNeedleBlob ( context . Context , * ReadNeedleBlobRequest ) ( * ReadNeedleBlobResponse , error ) {
func ( UnimplementedVolumeServerServer ) ReadNeedleBlob ( context . Context , * ReadNeedleBlobRequest ) ( * ReadNeedleBlobResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ReadNeedleBlob not implemented" )
return nil , status . Error ( codes . Unimplemented , "method ReadNeedleBlob not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) ReadNeedleMeta ( context . Context , * ReadNeedleMetaRequest ) ( * ReadNeedleMetaResponse , error ) {
func ( UnimplementedVolumeServerServer ) ReadNeedleMeta ( context . Context , * ReadNeedleMetaRequest ) ( * ReadNeedleMetaResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ReadNeedleMeta not implemented" )
return nil , status . Error ( codes . Unimplemented , "method ReadNeedleMeta not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) WriteNeedleBlob ( context . Context , * WriteNeedleBlobRequest ) ( * WriteNeedleBlobResponse , error ) {
func ( UnimplementedVolumeServerServer ) WriteNeedleBlob ( context . Context , * WriteNeedleBlobRequest ) ( * WriteNeedleBlobResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method WriteNeedleBlob not implemented" )
return nil , status . Error ( codes . Unimplemented , "method WriteNeedleBlob not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) ReadAllNeedles ( * ReadAllNeedlesRequest , grpc . ServerStreamingServer [ ReadAllNeedlesResponse ] ) error {
func ( UnimplementedVolumeServerServer ) ReadAllNeedles ( * ReadAllNeedlesRequest , grpc . ServerStreamingServer [ ReadAllNeedlesResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method ReadAllNeedles not implemented" )
return status . Error ( codes . Unimplemented , "method ReadAllNeedles not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeTailSender ( * VolumeTailSenderRequest , grpc . ServerStreamingServer [ VolumeTailSenderResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeTailSender ( * VolumeTailSenderRequest , grpc . ServerStreamingServer [ VolumeTailSenderResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeTailSender not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeTailSender not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeTailReceiver ( context . Context , * VolumeTailReceiverRequest ) ( * VolumeTailReceiverResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeTailReceiver ( context . Context , * VolumeTailReceiverRequest ) ( * VolumeTailReceiverResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeTailReceiver not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeTailReceiver not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsGenerate ( context . Context , * VolumeEcShardsGenerateRequest ) ( * VolumeEcShardsGenerateResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsGenerate ( context . Context , * VolumeEcShardsGenerateRequest ) ( * VolumeEcShardsGenerateResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsGenerate not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsGenerate not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsRebuild ( context . Context , * VolumeEcShardsRebuildRequest ) ( * VolumeEcShardsRebuildResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsRebuild ( context . Context , * VolumeEcShardsRebuildRequest ) ( * VolumeEcShardsRebuildResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsRebuild not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsRebuild not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsCopy ( context . Context , * VolumeEcShardsCopyRequest ) ( * VolumeEcShardsCopyResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsCopy ( context . Context , * VolumeEcShardsCopyRequest ) ( * VolumeEcShardsCopyResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsCopy not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsCopy not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsDelete ( context . Context , * VolumeEcShardsDeleteRequest ) ( * VolumeEcShardsDeleteResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsDelete ( context . Context , * VolumeEcShardsDeleteRequest ) ( * VolumeEcShardsDeleteResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsDelete not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsDelete not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsMount ( context . Context , * VolumeEcShardsMountRequest ) ( * VolumeEcShardsMountResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsMount ( context . Context , * VolumeEcShardsMountRequest ) ( * VolumeEcShardsMountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsMount not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsMount not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsUnmount ( context . Context , * VolumeEcShardsUnmountRequest ) ( * VolumeEcShardsUnmountResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsUnmount ( context . Context , * VolumeEcShardsUnmountRequest ) ( * VolumeEcShardsUnmountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsUnmount not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsUnmount not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardRead ( * VolumeEcShardReadRequest , grpc . ServerStreamingServer [ VolumeEcShardReadResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeEcShardRead ( * VolumeEcShardReadRequest , grpc . ServerStreamingServer [ VolumeEcShardReadResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeEcShardRead not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeEcShardRead not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcBlobDelete ( context . Context , * VolumeEcBlobDeleteRequest ) ( * VolumeEcBlobDeleteResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcBlobDelete ( context . Context , * VolumeEcBlobDeleteRequest ) ( * VolumeEcBlobDeleteResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcBlobDelete not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcBlobDelete not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsToVolume ( context . Context , * VolumeEcShardsToVolumeRequest ) ( * VolumeEcShardsToVolumeResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsToVolume ( context . Context , * VolumeEcShardsToVolumeRequest ) ( * VolumeEcShardsToVolumeResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsToVolume not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsToVolume not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeEcShardsInfo ( context . Context , * VolumeEcShardsInfoRequest ) ( * VolumeEcShardsInfoResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeEcShardsInfo ( context . Context , * VolumeEcShardsInfoRequest ) ( * VolumeEcShardsInfoResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeEcShardsInfo not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeEcShardsInfo not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeTierMoveDatToRemote ( * VolumeTierMoveDatToRemoteRequest , grpc . ServerStreamingServer [ VolumeTierMoveDatToRemoteResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeTierMoveDatToRemote ( * VolumeTierMoveDatToRemoteRequest , grpc . ServerStreamingServer [ VolumeTierMoveDatToRemoteResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeTierMoveDatToRemote not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeTierMoveDatToRemote not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeTierMoveDatFromRemote ( * VolumeTierMoveDatFromRemoteRequest , grpc . ServerStreamingServer [ VolumeTierMoveDatFromRemoteResponse ] ) error {
func ( UnimplementedVolumeServerServer ) VolumeTierMoveDatFromRemote ( * VolumeTierMoveDatFromRemoteRequest , grpc . ServerStreamingServer [ VolumeTierMoveDatFromRemoteResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method VolumeTierMoveDatFromRemote not implemented" )
return status . Error ( codes . Unimplemented , "method VolumeTierMoveDatFromRemote not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeServerStatus ( context . Context , * VolumeServerStatusRequest ) ( * VolumeServerStatusResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeServerStatus ( context . Context , * VolumeServerStatusRequest ) ( * VolumeServerStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeServerStatus not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeServerStatus not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeServerLeave ( context . Context , * VolumeServerLeaveRequest ) ( * VolumeServerLeaveResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeServerLeave ( context . Context , * VolumeServerLeaveRequest ) ( * VolumeServerLeaveResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeServerLeave not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeServerLeave not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) FetchAndWriteNeedle ( context . Context , * FetchAndWriteNeedleRequest ) ( * FetchAndWriteNeedleResponse , error ) {
func ( UnimplementedVolumeServerServer ) FetchAndWriteNeedle ( context . Context , * FetchAndWriteNeedleRequest ) ( * FetchAndWriteNeedleResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FetchAndWriteNeedle not implemented" )
return nil , status . Error ( codes . Unimplemented , "method FetchAndWriteNeedle not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) Query ( * QueryRequest , grpc . ServerStreamingServer [ QueriedStripe ] ) error {
func ( UnimplementedVolumeServerServer ) Query ( * QueryRequest , grpc . ServerStreamingServer [ QueriedStripe ] ) error {
return status . Errorf ( codes . Unimplemented , "method Query not implemented" )
return status . Error ( codes . Unimplemented , "method Query not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) VolumeNeedleStatus ( context . Context , * VolumeNeedleStatusRequest ) ( * VolumeNeedleStatusResponse , error ) {
func ( UnimplementedVolumeServerServer ) VolumeNeedleStatus ( context . Context , * VolumeNeedleStatusRequest ) ( * VolumeNeedleStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VolumeNeedleStatus not implemented" )
return nil , status . Error ( codes . Unimplemented , "method VolumeNeedleStatus not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) Ping ( context . Context , * PingRequest ) ( * PingResponse , error ) {
func ( UnimplementedVolumeServerServer ) Ping ( context . Context , * PingRequest ) ( * PingResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Ping not implemented" )
return nil , status . Error ( codes . Unimplemented , "method Ping not implemented" )
}
}
func ( UnimplementedVolumeServerServer ) mustEmbedUnimplementedVolumeServerServer ( ) { }
func ( UnimplementedVolumeServerServer ) mustEmbedUnimplementedVolumeServerServer ( ) { }
func ( UnimplementedVolumeServerServer ) testEmbeddedByValue ( ) { }
func ( UnimplementedVolumeServerServer ) testEmbeddedByValue ( ) { }
@ -869,7 +901,7 @@ type UnsafeVolumeServerServer interface {
}
}
func RegisterVolumeServerServer ( s grpc . ServiceRegistrar , srv VolumeServerServer ) {
func RegisterVolumeServerServer ( s grpc . ServiceRegistrar , srv VolumeServerServer ) {
// If the following call panc is, it indicates UnimplementedVolumeServerServer was
// If the following call panic s, it indicates UnimplementedVolumeServerServer was
// embedded by pointer and is nil. This will cause panics if an
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
// time to prevent it from happening at runtime later due to I/O.
@ -1153,6 +1185,42 @@ func _VolumeServer_VolumeStatus_Handler(srv interface{}, ctx context.Context, de
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _VolumeServer_GetState_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetStateRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( VolumeServerServer ) . GetState ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : VolumeServer_GetState_FullMethodName ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( VolumeServerServer ) . GetState ( ctx , req . ( * GetStateRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _VolumeServer_SetState_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SetStateRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( VolumeServerServer ) . SetState ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : VolumeServer_SetState_FullMethodName ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( VolumeServerServer ) . SetState ( ctx , req . ( * SetStateRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _VolumeServer_VolumeCopy_Handler ( srv interface { } , stream grpc . ServerStream ) error {
func _VolumeServer_VolumeCopy_Handler ( srv interface { } , stream grpc . ServerStream ) error {
m := new ( VolumeCopyRequest )
m := new ( VolumeCopyRequest )
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
@ -1653,6 +1721,14 @@ var VolumeServer_ServiceDesc = grpc.ServiceDesc{
MethodName : "VolumeStatus" ,
MethodName : "VolumeStatus" ,
Handler : _VolumeServer_VolumeStatus_Handler ,
Handler : _VolumeServer_VolumeStatus_Handler ,
} ,
} ,
{
MethodName : "GetState" ,
Handler : _VolumeServer_GetState_Handler ,
} ,
{
MethodName : "SetState" ,
Handler : _VolumeServer_SetState_Handler ,
} ,
{
{
MethodName : "ReadVolumeFileStatus" ,
MethodName : "ReadVolumeFileStatus" ,
Handler : _VolumeServer_ReadVolumeFileStatus_Handler ,
Handler : _VolumeServer_ReadVolumeFileStatus_Handler ,