@ -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.3.0
// - protoc v4.25.3
// - protoc-gen-go-grpc v1.5.1
// - protoc v5.28.1
// source: filer.proto
// source: filer.proto
package filer_pb
package filer_pb
@ -15,8 +15,8 @@ import (
// This is a compile-time assertion to ensure that this generated file
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32 .0 or later.
const _ = grpc . SupportPackageIsVersion7
// Requires gRPC-Go v1.64 .0 or later.
const _ = grpc . SupportPackageIsVersion9
const (
const (
SeaweedFiler_LookupDirectoryEntry_FullMethodName = "/filer_pb.SeaweedFiler/LookupDirectoryEntry"
SeaweedFiler_LookupDirectoryEntry_FullMethodName = "/filer_pb.SeaweedFiler/LookupDirectoryEntry"
@ -51,13 +51,13 @@ const (
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type SeaweedFilerClient interface {
type SeaweedFilerClient interface {
LookupDirectoryEntry ( ctx context . Context , in * LookupDirectoryEntryRequest , opts ... grpc . CallOption ) ( * LookupDirectoryEntryResponse , error )
LookupDirectoryEntry ( ctx context . Context , in * LookupDirectoryEntryRequest , opts ... grpc . CallOption ) ( * LookupDirectoryEntryResponse , error )
ListEntries ( ctx context . Context , in * ListEntriesRequest , opts ... grpc . CallOption ) ( SeaweedFiler_ListEntriesClient , error )
ListEntries ( ctx context . Context , in * ListEntriesRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ ListEntriesResponse ] , error )
CreateEntry ( ctx context . Context , in * CreateEntryRequest , opts ... grpc . CallOption ) ( * CreateEntryResponse , error )
CreateEntry ( ctx context . Context , in * CreateEntryRequest , opts ... grpc . CallOption ) ( * CreateEntryResponse , error )
UpdateEntry ( ctx context . Context , in * UpdateEntryRequest , opts ... grpc . CallOption ) ( * UpdateEntryResponse , error )
UpdateEntry ( ctx context . Context , in * UpdateEntryRequest , opts ... grpc . CallOption ) ( * UpdateEntryResponse , error )
AppendToEntry ( ctx context . Context , in * AppendToEntryRequest , opts ... grpc . CallOption ) ( * AppendToEntryResponse , error )
AppendToEntry ( ctx context . Context , in * AppendToEntryRequest , opts ... grpc . CallOption ) ( * AppendToEntryResponse , error )
DeleteEntry ( ctx context . Context , in * DeleteEntryRequest , opts ... grpc . CallOption ) ( * DeleteEntryResponse , error )
DeleteEntry ( ctx context . Context , in * DeleteEntryRequest , opts ... grpc . CallOption ) ( * DeleteEntryResponse , error )
AtomicRenameEntry ( ctx context . Context , in * AtomicRenameEntryRequest , opts ... grpc . CallOption ) ( * AtomicRenameEntryResponse , error )
AtomicRenameEntry ( ctx context . Context , in * AtomicRenameEntryRequest , opts ... grpc . CallOption ) ( * AtomicRenameEntryResponse , error )
StreamRenameEntry ( ctx context . Context , in * StreamRenameEntryRequest , opts ... grpc . CallOption ) ( SeaweedFiler_StreamRenameEntryClient , error )
StreamRenameEntry ( ctx context . Context , in * StreamRenameEntryRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ StreamRenameEntryResponse ] , error )
AssignVolume ( ctx context . Context , in * AssignVolumeRequest , opts ... grpc . CallOption ) ( * AssignVolumeResponse , error )
AssignVolume ( ctx context . Context , in * AssignVolumeRequest , opts ... grpc . CallOption ) ( * AssignVolumeResponse , error )
LookupVolume ( ctx context . Context , in * LookupVolumeRequest , opts ... grpc . CallOption ) ( * LookupVolumeResponse , error )
LookupVolume ( ctx context . Context , in * LookupVolumeRequest , opts ... grpc . CallOption ) ( * LookupVolumeResponse , error )
CollectionList ( ctx context . Context , in * CollectionListRequest , opts ... grpc . CallOption ) ( * CollectionListResponse , error )
CollectionList ( ctx context . Context , in * CollectionListRequest , opts ... grpc . CallOption ) ( * CollectionListResponse , error )
@ -65,9 +65,9 @@ type SeaweedFilerClient interface {
Statistics ( ctx context . Context , in * StatisticsRequest , opts ... grpc . CallOption ) ( * StatisticsResponse , error )
Statistics ( ctx context . Context , in * StatisticsRequest , opts ... grpc . CallOption ) ( * StatisticsResponse , error )
Ping ( ctx context . Context , in * PingRequest , opts ... grpc . CallOption ) ( * PingResponse , error )
Ping ( ctx context . Context , in * PingRequest , opts ... grpc . CallOption ) ( * PingResponse , error )
GetFilerConfiguration ( ctx context . Context , in * GetFilerConfigurationRequest , opts ... grpc . CallOption ) ( * GetFilerConfigurationResponse , error )
GetFilerConfiguration ( ctx context . Context , in * GetFilerConfigurationRequest , opts ... grpc . CallOption ) ( * GetFilerConfigurationResponse , error )
TraverseBfsMetadata ( ctx context . Context , in * TraverseBfsMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_TraverseBfsMetadataClient , error )
SubscribeMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_SubscribeMetadataClient , error )
SubscribeLocalMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_SubscribeLocalMetadataClient , error )
TraverseBfsMetadata ( ctx context . Context , in * TraverseBfsMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ TraverseBfsMetadataResponse ] , error )
SubscribeMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ SubscribeMetadataResponse ] , error )
SubscribeLocalMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ SubscribeMetadataResponse ] , error )
KvGet ( ctx context . Context , in * KvGetRequest , opts ... grpc . CallOption ) ( * KvGetResponse , error )
KvGet ( ctx context . Context , in * KvGetRequest , opts ... grpc . CallOption ) ( * KvGetResponse , error )
KvPut ( ctx context . Context , in * KvPutRequest , opts ... grpc . CallOption ) ( * KvPutResponse , error )
KvPut ( ctx context . Context , in * KvPutRequest , opts ... grpc . CallOption ) ( * KvPutResponse , error )
CacheRemoteObjectToLocalCluster ( ctx context . Context , in * CacheRemoteObjectToLocalClusterRequest , opts ... grpc . CallOption ) ( * CacheRemoteObjectToLocalClusterResponse , error )
CacheRemoteObjectToLocalCluster ( ctx context . Context , in * CacheRemoteObjectToLocalClusterRequest , opts ... grpc . CallOption ) ( * CacheRemoteObjectToLocalClusterResponse , error )
@ -87,20 +87,22 @@ func NewSeaweedFilerClient(cc grpc.ClientConnInterface) SeaweedFilerClient {
}
}
func ( c * seaweedFilerClient ) LookupDirectoryEntry ( ctx context . Context , in * LookupDirectoryEntryRequest , opts ... grpc . CallOption ) ( * LookupDirectoryEntryResponse , error ) {
func ( c * seaweedFilerClient ) LookupDirectoryEntry ( ctx context . Context , in * LookupDirectoryEntryRequest , opts ... grpc . CallOption ) ( * LookupDirectoryEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( LookupDirectoryEntryResponse )
out := new ( LookupDirectoryEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_LookupDirectoryEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_LookupDirectoryEntry_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
return out , nil
return out , nil
}
}
func ( c * seaweedFilerClient ) ListEntries ( ctx context . Context , in * ListEntriesRequest , opts ... grpc . CallOption ) ( SeaweedFiler_ListEntriesClient , error ) {
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 0 ] , SeaweedFiler_ListEntries_FullMethodName , opts ... )
func ( c * seaweedFilerClient ) ListEntries ( ctx context . Context , in * ListEntriesRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ ListEntriesResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 0 ] , SeaweedFiler_ListEntries_FullMethodName , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
x := & seaweedFilerListEntriesClient { stream }
x := & grpc . GenericClientStream [ ListEntriesRequest , ListEntriesResponse ] { ClientStream : stream }
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
return nil , err
return nil , err
}
}
@ -110,26 +112,13 @@ func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesReq
return x , nil
return x , nil
}
}
type SeaweedFiler_ListEntriesClient interface {
Recv ( ) ( * ListEntriesResponse , error )
grpc . ClientStream
}
type seaweedFilerListEntriesClient struct {
grpc . ClientStream
}
func ( x * seaweedFilerListEntriesClient ) Recv ( ) ( * ListEntriesResponse , error ) {
m := new ( ListEntriesResponse )
if err := x . ClientStream . RecvMsg ( m ) ; err != nil {
return nil , err
}
return m , nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_ListEntriesClient = grpc . ServerStreamingClient [ ListEntriesResponse ]
func ( c * seaweedFilerClient ) CreateEntry ( ctx context . Context , in * CreateEntryRequest , opts ... grpc . CallOption ) ( * CreateEntryResponse , error ) {
func ( c * seaweedFilerClient ) CreateEntry ( ctx context . Context , in * CreateEntryRequest , opts ... grpc . CallOption ) ( * CreateEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( CreateEntryResponse )
out := new ( CreateEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_CreateEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_CreateEntry_FullMethodName , in , out , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -137,8 +126,9 @@ func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryReq
}
}
func ( c * seaweedFilerClient ) UpdateEntry ( ctx context . Context , in * UpdateEntryRequest , opts ... grpc . CallOption ) ( * UpdateEntryResponse , error ) {
func ( c * seaweedFilerClient ) UpdateEntry ( ctx context . Context , in * UpdateEntryRequest , opts ... grpc . CallOption ) ( * UpdateEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( UpdateEntryResponse )
out := new ( UpdateEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_UpdateEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_UpdateEntry_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -146,8 +136,9 @@ func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryReq
}
}
func ( c * seaweedFilerClient ) AppendToEntry ( ctx context . Context , in * AppendToEntryRequest , opts ... grpc . CallOption ) ( * AppendToEntryResponse , error ) {
func ( c * seaweedFilerClient ) AppendToEntry ( ctx context . Context , in * AppendToEntryRequest , opts ... grpc . CallOption ) ( * AppendToEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( AppendToEntryResponse )
out := new ( AppendToEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_AppendToEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_AppendToEntry_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -155,8 +146,9 @@ func (c *seaweedFilerClient) AppendToEntry(ctx context.Context, in *AppendToEntr
}
}
func ( c * seaweedFilerClient ) DeleteEntry ( ctx context . Context , in * DeleteEntryRequest , opts ... grpc . CallOption ) ( * DeleteEntryResponse , error ) {
func ( c * seaweedFilerClient ) DeleteEntry ( ctx context . Context , in * DeleteEntryRequest , opts ... grpc . CallOption ) ( * DeleteEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( DeleteEntryResponse )
out := new ( DeleteEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_DeleteEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_DeleteEntry_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -164,20 +156,22 @@ func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryReq
}
}
func ( c * seaweedFilerClient ) AtomicRenameEntry ( ctx context . Context , in * AtomicRenameEntryRequest , opts ... grpc . CallOption ) ( * AtomicRenameEntryResponse , error ) {
func ( c * seaweedFilerClient ) AtomicRenameEntry ( ctx context . Context , in * AtomicRenameEntryRequest , opts ... grpc . CallOption ) ( * AtomicRenameEntryResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( AtomicRenameEntryResponse )
out := new ( AtomicRenameEntryResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_AtomicRenameEntry_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_AtomicRenameEntry_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
return out , nil
return out , nil
}
}
func ( c * seaweedFilerClient ) StreamRenameEntry ( ctx context . Context , in * StreamRenameEntryRequest , opts ... grpc . CallOption ) ( SeaweedFiler_StreamRenameEntryClient , error ) {
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 1 ] , SeaweedFiler_StreamRenameEntry_FullMethodName , opts ... )
func ( c * seaweedFilerClient ) StreamRenameEntry ( ctx context . Context , in * StreamRenameEntryRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ StreamRenameEntryResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 1 ] , SeaweedFiler_StreamRenameEntry_FullMethodName , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
x := & seaweedFilerStreamRenameEntryClient { stream }
x := & grpc . GenericClientStream [ StreamRenameEntryRequest , StreamRenameEntryResponse ] { ClientStream : stream }
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
return nil , err
return nil , err
}
}
@ -187,26 +181,13 @@ func (c *seaweedFilerClient) StreamRenameEntry(ctx context.Context, in *StreamRe
return x , nil
return x , nil
}
}
type SeaweedFiler_StreamRenameEntryClient interface {
Recv ( ) ( * StreamRenameEntryResponse , error )
grpc . ClientStream
}
type seaweedFilerStreamRenameEntryClient struct {
grpc . ClientStream
}
func ( x * seaweedFilerStreamRenameEntryClient ) Recv ( ) ( * StreamRenameEntryResponse , error ) {
m := new ( StreamRenameEntryResponse )
if err := x . ClientStream . RecvMsg ( m ) ; err != nil {
return nil , err
}
return m , nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_StreamRenameEntryClient = grpc . ServerStreamingClient [ StreamRenameEntryResponse ]
func ( c * seaweedFilerClient ) AssignVolume ( ctx context . Context , in * AssignVolumeRequest , opts ... grpc . CallOption ) ( * AssignVolumeResponse , error ) {
func ( c * seaweedFilerClient ) AssignVolume ( ctx context . Context , in * AssignVolumeRequest , opts ... grpc . CallOption ) ( * AssignVolumeResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( AssignVolumeResponse )
out := new ( AssignVolumeResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_AssignVolume_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_AssignVolume_FullMethodName , in , out , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -214,8 +195,9 @@ func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeR
}
}
func ( c * seaweedFilerClient ) LookupVolume ( ctx context . Context , in * LookupVolumeRequest , opts ... grpc . CallOption ) ( * LookupVolumeResponse , error ) {
func ( c * seaweedFilerClient ) LookupVolume ( ctx context . Context , in * LookupVolumeRequest , opts ... grpc . CallOption ) ( * LookupVolumeResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( LookupVolumeResponse )
out := new ( LookupVolumeResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_LookupVolume_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_LookupVolume_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -223,8 +205,9 @@ func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeR
}
}
func ( c * seaweedFilerClient ) CollectionList ( ctx context . Context , in * CollectionListRequest , opts ... grpc . CallOption ) ( * CollectionListResponse , error ) {
func ( c * seaweedFilerClient ) CollectionList ( ctx context . Context , in * CollectionListRequest , opts ... grpc . CallOption ) ( * CollectionListResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( CollectionListResponse )
out := new ( CollectionListResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_CollectionList_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_CollectionList_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -232,8 +215,9 @@ func (c *seaweedFilerClient) CollectionList(ctx context.Context, in *CollectionL
}
}
func ( c * seaweedFilerClient ) DeleteCollection ( ctx context . Context , in * DeleteCollectionRequest , opts ... grpc . CallOption ) ( * DeleteCollectionResponse , error ) {
func ( c * seaweedFilerClient ) DeleteCollection ( ctx context . Context , in * DeleteCollectionRequest , opts ... grpc . CallOption ) ( * DeleteCollectionResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( DeleteCollectionResponse )
out := new ( DeleteCollectionResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_DeleteCollection_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_DeleteCollection_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -241,8 +225,9 @@ func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCol
}
}
func ( c * seaweedFilerClient ) Statistics ( ctx context . Context , in * StatisticsRequest , opts ... grpc . CallOption ) ( * StatisticsResponse , error ) {
func ( c * seaweedFilerClient ) Statistics ( ctx context . Context , in * StatisticsRequest , opts ... grpc . CallOption ) ( * StatisticsResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( StatisticsResponse )
out := new ( StatisticsResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_Statistics_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_Statistics_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -250,8 +235,9 @@ func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsReque
}
}
func ( c * seaweedFilerClient ) Ping ( ctx context . Context , in * PingRequest , opts ... grpc . CallOption ) ( * PingResponse , error ) {
func ( c * seaweedFilerClient ) Ping ( ctx context . Context , in * PingRequest , opts ... grpc . CallOption ) ( * PingResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( PingResponse )
out := new ( PingResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_Ping_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_Ping_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -259,20 +245,22 @@ func (c *seaweedFilerClient) Ping(ctx context.Context, in *PingRequest, opts ...
}
}
func ( c * seaweedFilerClient ) GetFilerConfiguration ( ctx context . Context , in * GetFilerConfigurationRequest , opts ... grpc . CallOption ) ( * GetFilerConfigurationResponse , error ) {
func ( c * seaweedFilerClient ) GetFilerConfiguration ( ctx context . Context , in * GetFilerConfigurationRequest , opts ... grpc . CallOption ) ( * GetFilerConfigurationResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( GetFilerConfigurationResponse )
out := new ( GetFilerConfigurationResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_GetFilerConfiguration_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_GetFilerConfiguration_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
return out , nil
return out , nil
}
}
func ( c * seaweedFilerClient ) TraverseBfsMetadata ( ctx context . Context , in * TraverseBfsMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_TraverseBfsMetadataClient , error ) {
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 2 ] , SeaweedFiler_TraverseBfsMetadata_FullMethodName , opts ... )
func ( c * seaweedFilerClient ) TraverseBfsMetadata ( ctx context . Context , in * TraverseBfsMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ TraverseBfsMetadataResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 2 ] , SeaweedFiler_TraverseBfsMetadata_FullMethodName , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
x := & seaweedFilerTraverseBfsMetadataClient { stream }
x := & grpc . GenericClientStream [ TraverseBfsMetadataRequest , TraverseBfsMetadataResponse ] { ClientStream : stream }
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
return nil , err
return nil , err
}
}
@ -282,29 +270,16 @@ func (c *seaweedFilerClient) TraverseBfsMetadata(ctx context.Context, in *Traver
return x , nil
return x , nil
}
}
type SeaweedFiler_TraverseBfsMetadataClient interface {
Recv ( ) ( * TraverseBfsMetadataResponse , error )
grpc . ClientStream
}
type seaweedFilerTraverseBfsMetadataClient struct {
grpc . ClientStream
}
func ( x * seaweedFilerTraverseBfsMetadataClient ) Recv ( ) ( * TraverseBfsMetadataResponse , error ) {
m := new ( TraverseBfsMetadataResponse )
if err := x . ClientStream . RecvMsg ( m ) ; err != nil {
return nil , err
}
return m , nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_TraverseBfsMetadataClient = grpc . ServerStreamingClient [ TraverseBfsMetadataResponse ]
func ( c * seaweedFilerClient ) SubscribeMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_SubscribeMetadataClient , error ) {
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 3 ] , SeaweedFiler_SubscribeMetadata_FullMethodName , opts ... )
func ( c * seaweedFilerClient ) SubscribeMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ SubscribeMetadataResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 3 ] , SeaweedFiler_SubscribeMetadata_FullMethodName , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
x := & seaweedFilerSubscribeMetadataClient { stream }
x := & grpc . GenericClientStream [ SubscribeMetadataRequest , SubscribeMetadataResponse ] { ClientStream : stream }
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
return nil , err
return nil , err
}
}
@ -314,29 +289,16 @@ func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *Subscrib
return x , nil
return x , nil
}
}
type SeaweedFiler_SubscribeMetadataClient interface {
Recv ( ) ( * SubscribeMetadataResponse , error )
grpc . ClientStream
}
type seaweedFilerSubscribeMetadataClient struct {
grpc . ClientStream
}
func ( x * seaweedFilerSubscribeMetadataClient ) Recv ( ) ( * SubscribeMetadataResponse , error ) {
m := new ( SubscribeMetadataResponse )
if err := x . ClientStream . RecvMsg ( m ) ; err != nil {
return nil , err
}
return m , nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_SubscribeMetadataClient = grpc . ServerStreamingClient [ SubscribeMetadataResponse ]
func ( c * seaweedFilerClient ) SubscribeLocalMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( SeaweedFiler_SubscribeLocalMetadataClient , error ) {
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 4 ] , SeaweedFiler_SubscribeLocalMetadata_FullMethodName , opts ... )
func ( c * seaweedFilerClient ) SubscribeLocalMetadata ( ctx context . Context , in * SubscribeMetadataRequest , opts ... grpc . CallOption ) ( grpc . ServerStreamingClient [ SubscribeMetadataResponse ] , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
stream , err := c . cc . NewStream ( ctx , & SeaweedFiler_ServiceDesc . Streams [ 4 ] , SeaweedFiler_SubscribeLocalMetadata_FullMethodName , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
x := & seaweedFilerSubscribeLocalMetadataClient { stream }
x := & grpc . GenericClientStream [ SubscribeMetadataRequest , SubscribeMetadataResponse ] { ClientStream : stream }
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
if err := x . ClientStream . SendMsg ( in ) ; err != nil {
return nil , err
return nil , err
}
}
@ -346,26 +308,13 @@ func (c *seaweedFilerClient) SubscribeLocalMetadata(ctx context.Context, in *Sub
return x , nil
return x , nil
}
}
type SeaweedFiler_SubscribeLocalMetadataClient interface {
Recv ( ) ( * SubscribeMetadataResponse , error )
grpc . ClientStream
}
type seaweedFilerSubscribeLocalMetadataClient struct {
grpc . ClientStream
}
func ( x * seaweedFilerSubscribeLocalMetadataClient ) Recv ( ) ( * SubscribeMetadataResponse , error ) {
m := new ( SubscribeMetadataResponse )
if err := x . ClientStream . RecvMsg ( m ) ; err != nil {
return nil , err
}
return m , nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_SubscribeLocalMetadataClient = grpc . ServerStreamingClient [ SubscribeMetadataResponse ]
func ( c * seaweedFilerClient ) KvGet ( ctx context . Context , in * KvGetRequest , opts ... grpc . CallOption ) ( * KvGetResponse , error ) {
func ( c * seaweedFilerClient ) KvGet ( ctx context . Context , in * KvGetRequest , opts ... grpc . CallOption ) ( * KvGetResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( KvGetResponse )
out := new ( KvGetResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_KvGet_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_KvGet_FullMethodName , in , out , cOpts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -373,8 +322,9 @@ func (c *seaweedFilerClient) KvGet(ctx context.Context, in *KvGetRequest, opts .
}
}
func ( c * seaweedFilerClient ) KvPut ( ctx context . Context , in * KvPutRequest , opts ... grpc . CallOption ) ( * KvPutResponse , error ) {
func ( c * seaweedFilerClient ) KvPut ( ctx context . Context , in * KvPutRequest , opts ... grpc . CallOption ) ( * KvPutResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( KvPutResponse )
out := new ( KvPutResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_KvPut_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_KvPut_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -382,8 +332,9 @@ func (c *seaweedFilerClient) KvPut(ctx context.Context, in *KvPutRequest, opts .
}
}
func ( c * seaweedFilerClient ) CacheRemoteObjectToLocalCluster ( ctx context . Context , in * CacheRemoteObjectToLocalClusterRequest , opts ... grpc . CallOption ) ( * CacheRemoteObjectToLocalClusterResponse , error ) {
func ( c * seaweedFilerClient ) CacheRemoteObjectToLocalCluster ( ctx context . Context , in * CacheRemoteObjectToLocalClusterRequest , opts ... grpc . CallOption ) ( * CacheRemoteObjectToLocalClusterResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( CacheRemoteObjectToLocalClusterResponse )
out := new ( CacheRemoteObjectToLocalClusterResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_CacheRemoteObjectToLocalCluster_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_CacheRemoteObjectToLocalCluster_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -391,8 +342,9 @@ func (c *seaweedFilerClient) CacheRemoteObjectToLocalCluster(ctx context.Context
}
}
func ( c * seaweedFilerClient ) DistributedLock ( ctx context . Context , in * LockRequest , opts ... grpc . CallOption ) ( * LockResponse , error ) {
func ( c * seaweedFilerClient ) DistributedLock ( ctx context . Context , in * LockRequest , opts ... grpc . CallOption ) ( * LockResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( LockResponse )
out := new ( LockResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_DistributedLock_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_DistributedLock_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -400,8 +352,9 @@ func (c *seaweedFilerClient) DistributedLock(ctx context.Context, in *LockReques
}
}
func ( c * seaweedFilerClient ) DistributedUnlock ( ctx context . Context , in * UnlockRequest , opts ... grpc . CallOption ) ( * UnlockResponse , error ) {
func ( c * seaweedFilerClient ) DistributedUnlock ( ctx context . Context , in * UnlockRequest , opts ... grpc . CallOption ) ( * UnlockResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( UnlockResponse )
out := new ( UnlockResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_DistributedUnlock_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_DistributedUnlock_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -409,8 +362,9 @@ func (c *seaweedFilerClient) DistributedUnlock(ctx context.Context, in *UnlockRe
}
}
func ( c * seaweedFilerClient ) FindLockOwner ( ctx context . Context , in * FindLockOwnerRequest , opts ... grpc . CallOption ) ( * FindLockOwnerResponse , error ) {
func ( c * seaweedFilerClient ) FindLockOwner ( ctx context . Context , in * FindLockOwnerRequest , opts ... grpc . CallOption ) ( * FindLockOwnerResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( FindLockOwnerResponse )
out := new ( FindLockOwnerResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_FindLockOwner_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_FindLockOwner_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -418,8 +372,9 @@ func (c *seaweedFilerClient) FindLockOwner(ctx context.Context, in *FindLockOwne
}
}
func ( c * seaweedFilerClient ) TransferLocks ( ctx context . Context , in * TransferLocksRequest , opts ... grpc . CallOption ) ( * TransferLocksResponse , error ) {
func ( c * seaweedFilerClient ) TransferLocks ( ctx context . Context , in * TransferLocksRequest , opts ... grpc . CallOption ) ( * TransferLocksResponse , error ) {
cOpts := append ( [ ] grpc . CallOption { grpc . StaticMethod ( ) } , opts ... )
out := new ( TransferLocksResponse )
out := new ( TransferLocksResponse )
err := c . cc . Invoke ( ctx , SeaweedFiler_TransferLocks_FullMethodName , in , out , o pts... )
err := c . cc . Invoke ( ctx , SeaweedFiler_TransferLocks_FullMethodName , in , out , cO pts... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -428,16 +383,16 @@ func (c *seaweedFilerClient) TransferLocks(ctx context.Context, in *TransferLock
// SeaweedFilerServer is the server API for SeaweedFiler service.
// SeaweedFilerServer is the server API for SeaweedFiler service.
// All implementations must embed UnimplementedSeaweedFilerServer
// All implementations must embed UnimplementedSeaweedFilerServer
// for forward compatibility
// for forward compatibility.
type SeaweedFilerServer interface {
type SeaweedFilerServer interface {
LookupDirectoryEntry ( context . Context , * LookupDirectoryEntryRequest ) ( * LookupDirectoryEntryResponse , error )
LookupDirectoryEntry ( context . Context , * LookupDirectoryEntryRequest ) ( * LookupDirectoryEntryResponse , error )
ListEntries ( * ListEntriesRequest , SeaweedFiler_ListEntriesServer ) error
ListEntries ( * ListEntriesRequest , grpc . ServerStreamingServer [ ListEntriesResponse ] ) error
CreateEntry ( context . Context , * CreateEntryRequest ) ( * CreateEntryResponse , error )
CreateEntry ( context . Context , * CreateEntryRequest ) ( * CreateEntryResponse , error )
UpdateEntry ( context . Context , * UpdateEntryRequest ) ( * UpdateEntryResponse , error )
UpdateEntry ( context . Context , * UpdateEntryRequest ) ( * UpdateEntryResponse , error )
AppendToEntry ( context . Context , * AppendToEntryRequest ) ( * AppendToEntryResponse , error )
AppendToEntry ( context . Context , * AppendToEntryRequest ) ( * AppendToEntryResponse , error )
DeleteEntry ( context . Context , * DeleteEntryRequest ) ( * DeleteEntryResponse , error )
DeleteEntry ( context . Context , * DeleteEntryRequest ) ( * DeleteEntryResponse , error )
AtomicRenameEntry ( context . Context , * AtomicRenameEntryRequest ) ( * AtomicRenameEntryResponse , error )
AtomicRenameEntry ( context . Context , * AtomicRenameEntryRequest ) ( * AtomicRenameEntryResponse , error )
StreamRenameEntry ( * StreamRenameEntryRequest , SeaweedFiler_StreamRenameEntryServer ) error
StreamRenameEntry ( * StreamRenameEntryRequest , grpc . ServerStreamingServer [ StreamRenameEntryResponse ] ) error
AssignVolume ( context . Context , * AssignVolumeRequest ) ( * AssignVolumeResponse , error )
AssignVolume ( context . Context , * AssignVolumeRequest ) ( * AssignVolumeResponse , error )
LookupVolume ( context . Context , * LookupVolumeRequest ) ( * LookupVolumeResponse , error )
LookupVolume ( context . Context , * LookupVolumeRequest ) ( * LookupVolumeResponse , error )
CollectionList ( context . Context , * CollectionListRequest ) ( * CollectionListResponse , error )
CollectionList ( context . Context , * CollectionListRequest ) ( * CollectionListResponse , error )
@ -445,9 +400,9 @@ type SeaweedFilerServer interface {
Statistics ( context . Context , * StatisticsRequest ) ( * StatisticsResponse , error )
Statistics ( context . Context , * StatisticsRequest ) ( * StatisticsResponse , error )
Ping ( context . Context , * PingRequest ) ( * PingResponse , error )
Ping ( context . Context , * PingRequest ) ( * PingResponse , error )
GetFilerConfiguration ( context . Context , * GetFilerConfigurationRequest ) ( * GetFilerConfigurationResponse , error )
GetFilerConfiguration ( context . Context , * GetFilerConfigurationRequest ) ( * GetFilerConfigurationResponse , error )
TraverseBfsMetadata ( * TraverseBfsMetadataRequest , SeaweedFiler_TraverseBfsMetadataServer ) error
SubscribeMetadata ( * SubscribeMetadataRequest , SeaweedFiler_SubscribeMetadataServer ) error
SubscribeLocalMetadata ( * SubscribeMetadataRequest , SeaweedFiler_SubscribeLocalMetadataServer ) error
TraverseBfsMetadata ( * TraverseBfsMetadataRequest , grpc . ServerStreamingServer [ TraverseBfsMetadataResponse ] ) error
SubscribeMetadata ( * SubscribeMetadataRequest , grpc . ServerStreamingServer [ SubscribeMetadataResponse ] ) error
SubscribeLocalMetadata ( * SubscribeMetadataRequest , grpc . ServerStreamingServer [ SubscribeMetadataResponse ] ) error
KvGet ( context . Context , * KvGetRequest ) ( * KvGetResponse , error )
KvGet ( context . Context , * KvGetRequest ) ( * KvGetResponse , error )
KvPut ( context . Context , * KvPutRequest ) ( * KvPutResponse , error )
KvPut ( context . Context , * KvPutRequest ) ( * KvPutResponse , error )
CacheRemoteObjectToLocalCluster ( context . Context , * CacheRemoteObjectToLocalClusterRequest ) ( * CacheRemoteObjectToLocalClusterResponse , error )
CacheRemoteObjectToLocalCluster ( context . Context , * CacheRemoteObjectToLocalClusterRequest ) ( * CacheRemoteObjectToLocalClusterResponse , error )
@ -459,14 +414,17 @@ type SeaweedFilerServer interface {
mustEmbedUnimplementedSeaweedFilerServer ( )
mustEmbedUnimplementedSeaweedFilerServer ( )
}
}
// UnimplementedSeaweedFilerServer must be embedded to have forward compatible implementations.
type UnimplementedSeaweedFilerServer struct {
}
// UnimplementedSeaweedFilerServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedSeaweedFilerServer struct { }
func ( UnimplementedSeaweedFilerServer ) LookupDirectoryEntry ( context . Context , * LookupDirectoryEntryRequest ) ( * LookupDirectoryEntryResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) LookupDirectoryEntry ( context . Context , * LookupDirectoryEntryRequest ) ( * LookupDirectoryEntryResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method LookupDirectoryEntry not implemented" )
return nil , status . Errorf ( codes . Unimplemented , "method LookupDirectoryEntry not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) ListEntries ( * ListEntriesRequest , SeaweedFiler_ListEntriesServer ) error {
func ( UnimplementedSeaweedFilerServer ) ListEntries ( * ListEntriesRequest , grpc . ServerStreamingServer [ ListEntriesResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method ListEntries not implemented" )
return status . Errorf ( codes . Unimplemented , "method ListEntries not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) CreateEntry ( context . Context , * CreateEntryRequest ) ( * CreateEntryResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) CreateEntry ( context . Context , * CreateEntryRequest ) ( * CreateEntryResponse , error ) {
@ -484,7 +442,7 @@ func (UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntry
func ( UnimplementedSeaweedFilerServer ) AtomicRenameEntry ( context . Context , * AtomicRenameEntryRequest ) ( * AtomicRenameEntryResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) AtomicRenameEntry ( context . Context , * AtomicRenameEntryRequest ) ( * AtomicRenameEntryResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method AtomicRenameEntry not implemented" )
return nil , status . Errorf ( codes . Unimplemented , "method AtomicRenameEntry not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) StreamRenameEntry ( * StreamRenameEntryRequest , SeaweedFiler_StreamRenameEntryServer ) error {
func ( UnimplementedSeaweedFilerServer ) StreamRenameEntry ( * StreamRenameEntryRequest , grpc . ServerStreamingServer [ StreamRenameEntryResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method StreamRenameEntry not implemented" )
return status . Errorf ( codes . Unimplemented , "method StreamRenameEntry not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) AssignVolume ( context . Context , * AssignVolumeRequest ) ( * AssignVolumeResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) AssignVolume ( context . Context , * AssignVolumeRequest ) ( * AssignVolumeResponse , error ) {
@ -508,13 +466,13 @@ func (UnimplementedSeaweedFilerServer) Ping(context.Context, *PingRequest) (*Pin
func ( UnimplementedSeaweedFilerServer ) GetFilerConfiguration ( context . Context , * GetFilerConfigurationRequest ) ( * GetFilerConfigurationResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) GetFilerConfiguration ( context . Context , * GetFilerConfigurationRequest ) ( * GetFilerConfigurationResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetFilerConfiguration not implemented" )
return nil , status . Errorf ( codes . Unimplemented , "method GetFilerConfiguration not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) TraverseBfsMetadata ( * TraverseBfsMetadataRequest , SeaweedFiler_TraverseBfsMetadataServer ) error {
func ( UnimplementedSeaweedFilerServer ) TraverseBfsMetadata ( * TraverseBfsMetadataRequest , grpc . ServerStreamingServer [ TraverseBfsMetadataResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method TraverseBfsMetadata not implemented" )
return status . Errorf ( codes . Unimplemented , "method TraverseBfsMetadata not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) SubscribeMetadata ( * SubscribeMetadataRequest , SeaweedFiler_SubscribeMetadataServer ) error {
func ( UnimplementedSeaweedFilerServer ) SubscribeMetadata ( * SubscribeMetadataRequest , grpc . ServerStreamingServer [ SubscribeMetadataResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method SubscribeMetadata not implemented" )
return status . Errorf ( codes . Unimplemented , "method SubscribeMetadata not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) SubscribeLocalMetadata ( * SubscribeMetadataRequest , SeaweedFiler_SubscribeLocalMetadataServer ) error {
func ( UnimplementedSeaweedFilerServer ) SubscribeLocalMetadata ( * SubscribeMetadataRequest , grpc . ServerStreamingServer [ SubscribeMetadataResponse ] ) error {
return status . Errorf ( codes . Unimplemented , "method SubscribeLocalMetadata not implemented" )
return status . Errorf ( codes . Unimplemented , "method SubscribeLocalMetadata not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) KvGet ( context . Context , * KvGetRequest ) ( * KvGetResponse , error ) {
func ( UnimplementedSeaweedFilerServer ) KvGet ( context . Context , * KvGetRequest ) ( * KvGetResponse , error ) {
@ -539,6 +497,7 @@ func (UnimplementedSeaweedFilerServer) TransferLocks(context.Context, *TransferL
return nil , status . Errorf ( codes . Unimplemented , "method TransferLocks not implemented" )
return nil , status . Errorf ( codes . Unimplemented , "method TransferLocks not implemented" )
}
}
func ( UnimplementedSeaweedFilerServer ) mustEmbedUnimplementedSeaweedFilerServer ( ) { }
func ( UnimplementedSeaweedFilerServer ) mustEmbedUnimplementedSeaweedFilerServer ( ) { }
func ( UnimplementedSeaweedFilerServer ) testEmbeddedByValue ( ) { }
// UnsafeSeaweedFilerServer may be embedded to opt out of forward compatibility for this service.
// UnsafeSeaweedFilerServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to SeaweedFilerServer will
// Use of this interface is not recommended, as added methods to SeaweedFilerServer will
@ -548,6 +507,13 @@ type UnsafeSeaweedFilerServer interface {
}
}
func RegisterSeaweedFilerServer ( s grpc . ServiceRegistrar , srv SeaweedFilerServer ) {
func RegisterSeaweedFilerServer ( s grpc . ServiceRegistrar , srv SeaweedFilerServer ) {
// If the following call pancis, it indicates UnimplementedSeaweedFilerServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t , ok := srv . ( interface { testEmbeddedByValue ( ) } ) ; ok {
t . testEmbeddedByValue ( )
}
s . RegisterService ( & SeaweedFiler_ServiceDesc , srv )
s . RegisterService ( & SeaweedFiler_ServiceDesc , srv )
}
}
@ -574,21 +540,11 @@ func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
return err
return err
}
}
return srv . ( SeaweedFilerServer ) . ListEntries ( m , & seaweedFilerListEntriesServer { stream } )
}
type SeaweedFiler_ListEntriesServer interface {
Send ( * ListEntriesResponse ) error
grpc . ServerStream
return srv . ( SeaweedFilerServer ) . ListEntries ( m , & grpc . GenericServerStream [ ListEntriesRequest , ListEntriesResponse ] { ServerStream : stream } )
}
}
type seaweedFilerListEntriesServer struct {
grpc . ServerStream
}
func ( x * seaweedFilerListEntriesServer ) Send ( m * ListEntriesResponse ) error {
return x . ServerStream . SendMsg ( m )
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_ListEntriesServer = grpc . ServerStreamingServer [ ListEntriesResponse ]
func _SeaweedFiler_CreateEntry_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _SeaweedFiler_CreateEntry_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CreateEntryRequest )
in := new ( CreateEntryRequest )
@ -685,21 +641,11 @@ func _SeaweedFiler_StreamRenameEntry_Handler(srv interface{}, stream grpc.Server
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
return err
return err
}
}
return srv . ( SeaweedFilerServer ) . StreamRenameEntry ( m , & seaweedFilerStreamRenameEntryServer { stream } )
}
type SeaweedFiler_StreamRenameEntryServer interface {
Send ( * StreamRenameEntryResponse ) error
grpc . ServerStream
}
type seaweedFilerStreamRenameEntryServer struct {
grpc . ServerStream
return srv . ( SeaweedFilerServer ) . StreamRenameEntry ( m , & grpc . GenericServerStream [ StreamRenameEntryRequest , StreamRenameEntryResponse ] { ServerStream : stream } )
}
}
func ( x * seaweedFilerStreamRenameEntryServer ) Send ( m * StreamRenameEntryResponse ) error {
return x . ServerStream . SendMsg ( m )
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_StreamRenameEntryServer = grpc . ServerStreamingServer [ StreamRenameEntryResponse ]
func _SeaweedFiler_AssignVolume_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _SeaweedFiler_AssignVolume_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( AssignVolumeRequest )
in := new ( AssignVolumeRequest )
@ -832,63 +778,33 @@ func _SeaweedFiler_TraverseBfsMetadata_Handler(srv interface{}, stream grpc.Serv
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
return err
return err
}
}
return srv . ( SeaweedFilerServer ) . TraverseBfsMetadata ( m , & seaweedFilerTraverseBfsMetadataServer { stream } )
return srv . ( SeaweedFilerServer ) . TraverseBfsMetadata ( m , & grpc . GenericServerStream [ TraverseBfsMetadataRequest , TraverseBfsMetadataResponse ] { ServerStream : stream } )
}
}
type SeaweedFiler_TraverseBfsMetadataServer interface {
Send ( * TraverseBfsMetadataResponse ) error
grpc . ServerStream
}
type seaweedFilerTraverseBfsMetadataServer struct {
grpc . ServerStream
}
func ( x * seaweedFilerTraverseBfsMetadataServer ) Send ( m * TraverseBfsMetadataResponse ) error {
return x . ServerStream . SendMsg ( m )
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_TraverseBfsMetadataServer = grpc . ServerStreamingServer [ TraverseBfsMetadataResponse ]
func _SeaweedFiler_SubscribeMetadata_Handler ( srv interface { } , stream grpc . ServerStream ) error {
func _SeaweedFiler_SubscribeMetadata_Handler ( srv interface { } , stream grpc . ServerStream ) error {
m := new ( SubscribeMetadataRequest )
m := new ( SubscribeMetadataRequest )
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
return err
return err
}
}
return srv . ( SeaweedFilerServer ) . SubscribeMetadata ( m , & seaweedFilerSubscribeMetadataServer { stream } )
}
type SeaweedFiler_SubscribeMetadataServer interface {
Send ( * SubscribeMetadataResponse ) error
grpc . ServerStream
return srv . ( SeaweedFilerServer ) . SubscribeMetadata ( m , & grpc . GenericServerStream [ SubscribeMetadataRequest , SubscribeMetadataResponse ] { ServerStream : stream } )
}
}
type seaweedFilerSubscribeMetadataServer struct {
grpc . ServerStream
}
func ( x * seaweedFilerSubscribeMetadataServer ) Send ( m * SubscribeMetadataResponse ) error {
return x . ServerStream . SendMsg ( m )
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_SubscribeMetadataServer = grpc . ServerStreamingServer [ SubscribeMetadataResponse ]
func _SeaweedFiler_SubscribeLocalMetadata_Handler ( srv interface { } , stream grpc . ServerStream ) error {
func _SeaweedFiler_SubscribeLocalMetadata_Handler ( srv interface { } , stream grpc . ServerStream ) error {
m := new ( SubscribeMetadataRequest )
m := new ( SubscribeMetadataRequest )
if err := stream . RecvMsg ( m ) ; err != nil {
if err := stream . RecvMsg ( m ) ; err != nil {
return err
return err
}
}
return srv . ( SeaweedFilerServer ) . SubscribeLocalMetadata ( m , & seaweedFilerSubscribeLocalMetadataServer { stream } )
}
type SeaweedFiler_SubscribeLocalMetadataServer interface {
Send ( * SubscribeMetadataResponse ) error
grpc . ServerStream
return srv . ( SeaweedFilerServer ) . SubscribeLocalMetadata ( m , & grpc . GenericServerStream [ SubscribeMetadataRequest , SubscribeMetadataResponse ] { ServerStream : stream } )
}
}
type seaweedFilerSubscribeLocalMetadataServer struct {
grpc . ServerStream
}
func ( x * seaweedFilerSubscribeLocalMetadataServer ) Send ( m * SubscribeMetadataResponse ) error {
return x . ServerStream . SendMsg ( m )
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeaweedFiler_SubscribeLocalMetadataServer = grpc . ServerStreamingServer [ SubscribeMetadataResponse ]
func _SeaweedFiler_KvGet_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _SeaweedFiler_KvGet_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( KvGetRequest )
in := new ( KvGetRequest )