mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-25 11:39:12 +08:00
585 lines
22 KiB
Go
585 lines
22 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: filer.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package filer_pb is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
filer.proto
|
|
|
|
It has these top-level messages:
|
|
LookupDirectoryEntryRequest
|
|
LookupDirectoryEntryResponse
|
|
ListEntriesRequest
|
|
ListEntriesResponse
|
|
Entry
|
|
FuseAttributes
|
|
GetFileAttributesRequest
|
|
GetFileAttributesResponse
|
|
GetFileContentRequest
|
|
GetFileContentResponse
|
|
DeleteEntryRequest
|
|
DeleteEntryResponse
|
|
*/
|
|
package filer_pb
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type LookupDirectoryEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryRequest) Reset() { *m = LookupDirectoryEntryRequest{} }
|
|
func (m *LookupDirectoryEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupDirectoryEntryRequest) ProtoMessage() {}
|
|
func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *LookupDirectoryEntryRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LookupDirectoryEntryResponse struct {
|
|
Entry *Entry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"`
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryResponse) Reset() { *m = LookupDirectoryEntryResponse{} }
|
|
func (m *LookupDirectoryEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupDirectoryEntryResponse) ProtoMessage() {}
|
|
func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
func (m *LookupDirectoryEntryResponse) GetEntry() *Entry {
|
|
if m != nil {
|
|
return m.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListEntriesRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
|
|
}
|
|
|
|
func (m *ListEntriesRequest) Reset() { *m = ListEntriesRequest{} }
|
|
func (m *ListEntriesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListEntriesRequest) ProtoMessage() {}
|
|
func (*ListEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
func (m *ListEntriesRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListEntriesResponse struct {
|
|
Entries []*Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
|
|
}
|
|
|
|
func (m *ListEntriesResponse) Reset() { *m = ListEntriesResponse{} }
|
|
func (m *ListEntriesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListEntriesResponse) ProtoMessage() {}
|
|
func (*ListEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
|
|
|
func (m *ListEntriesResponse) GetEntries() []*Entry {
|
|
if m != nil {
|
|
return m.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Entry struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory" json:"is_directory,omitempty"`
|
|
FileId string `protobuf:"bytes,3,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
|
|
Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes" json:"attributes,omitempty"`
|
|
}
|
|
|
|
func (m *Entry) Reset() { *m = Entry{} }
|
|
func (m *Entry) String() string { return proto.CompactTextString(m) }
|
|
func (*Entry) ProtoMessage() {}
|
|
func (*Entry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
|
|
|
func (m *Entry) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Entry) GetIsDirectory() bool {
|
|
if m != nil {
|
|
return m.IsDirectory
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Entry) GetFileId() string {
|
|
if m != nil {
|
|
return m.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Entry) GetAttributes() *FuseAttributes {
|
|
if m != nil {
|
|
return m.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FuseAttributes struct {
|
|
FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize" json:"file_size,omitempty"`
|
|
Mtime int64 `protobuf:"varint,2,opt,name=mtime" json:"mtime,omitempty"`
|
|
FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode" json:"file_mode,omitempty"`
|
|
Uid uint32 `protobuf:"varint,4,opt,name=uid" json:"uid,omitempty"`
|
|
Gid uint32 `protobuf:"varint,5,opt,name=gid" json:"gid,omitempty"`
|
|
}
|
|
|
|
func (m *FuseAttributes) Reset() { *m = FuseAttributes{} }
|
|
func (m *FuseAttributes) String() string { return proto.CompactTextString(m) }
|
|
func (*FuseAttributes) ProtoMessage() {}
|
|
func (*FuseAttributes) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
|
|
|
func (m *FuseAttributes) GetFileSize() uint64 {
|
|
if m != nil {
|
|
return m.FileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetMtime() int64 {
|
|
if m != nil {
|
|
return m.Mtime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetFileMode() uint32 {
|
|
if m != nil {
|
|
return m.FileMode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetUid() uint32 {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetGid() uint32 {
|
|
if m != nil {
|
|
return m.Gid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetFileAttributesRequest struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
ParentDir string `protobuf:"bytes,2,opt,name=parent_dir,json=parentDir" json:"parent_dir,omitempty"`
|
|
FileId string `protobuf:"bytes,3,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
|
|
}
|
|
|
|
func (m *GetFileAttributesRequest) Reset() { *m = GetFileAttributesRequest{} }
|
|
func (m *GetFileAttributesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetFileAttributesRequest) ProtoMessage() {}
|
|
func (*GetFileAttributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
|
|
|
func (m *GetFileAttributesRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetFileAttributesRequest) GetParentDir() string {
|
|
if m != nil {
|
|
return m.ParentDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetFileAttributesRequest) GetFileId() string {
|
|
if m != nil {
|
|
return m.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetFileAttributesResponse struct {
|
|
Attributes *FuseAttributes `protobuf:"bytes,1,opt,name=attributes" json:"attributes,omitempty"`
|
|
}
|
|
|
|
func (m *GetFileAttributesResponse) Reset() { *m = GetFileAttributesResponse{} }
|
|
func (m *GetFileAttributesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetFileAttributesResponse) ProtoMessage() {}
|
|
func (*GetFileAttributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
|
|
|
func (m *GetFileAttributesResponse) GetAttributes() *FuseAttributes {
|
|
if m != nil {
|
|
return m.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetFileContentRequest struct {
|
|
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
|
|
}
|
|
|
|
func (m *GetFileContentRequest) Reset() { *m = GetFileContentRequest{} }
|
|
func (m *GetFileContentRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetFileContentRequest) ProtoMessage() {}
|
|
func (*GetFileContentRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
|
|
|
func (m *GetFileContentRequest) GetFileId() string {
|
|
if m != nil {
|
|
return m.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetFileContentResponse struct {
|
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
}
|
|
|
|
func (m *GetFileContentResponse) Reset() { *m = GetFileContentResponse{} }
|
|
func (m *GetFileContentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetFileContentResponse) ProtoMessage() {}
|
|
func (*GetFileContentResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
|
|
|
func (m *GetFileContentResponse) GetContent() []byte {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
|
IsDirectory bool `protobuf:"varint,3,opt,name=is_directory,json=isDirectory" json:"is_directory,omitempty"`
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) Reset() { *m = DeleteEntryRequest{} }
|
|
func (m *DeleteEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteEntryRequest) ProtoMessage() {}
|
|
func (*DeleteEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
|
|
|
func (m *DeleteEntryRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) GetIsDirectory() bool {
|
|
if m != nil {
|
|
return m.IsDirectory
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteEntryResponse struct {
|
|
}
|
|
|
|
func (m *DeleteEntryResponse) Reset() { *m = DeleteEntryResponse{} }
|
|
func (m *DeleteEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteEntryResponse) ProtoMessage() {}
|
|
func (*DeleteEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
|
|
|
func init() {
|
|
proto.RegisterType((*LookupDirectoryEntryRequest)(nil), "filer_pb.LookupDirectoryEntryRequest")
|
|
proto.RegisterType((*LookupDirectoryEntryResponse)(nil), "filer_pb.LookupDirectoryEntryResponse")
|
|
proto.RegisterType((*ListEntriesRequest)(nil), "filer_pb.ListEntriesRequest")
|
|
proto.RegisterType((*ListEntriesResponse)(nil), "filer_pb.ListEntriesResponse")
|
|
proto.RegisterType((*Entry)(nil), "filer_pb.Entry")
|
|
proto.RegisterType((*FuseAttributes)(nil), "filer_pb.FuseAttributes")
|
|
proto.RegisterType((*GetFileAttributesRequest)(nil), "filer_pb.GetFileAttributesRequest")
|
|
proto.RegisterType((*GetFileAttributesResponse)(nil), "filer_pb.GetFileAttributesResponse")
|
|
proto.RegisterType((*GetFileContentRequest)(nil), "filer_pb.GetFileContentRequest")
|
|
proto.RegisterType((*GetFileContentResponse)(nil), "filer_pb.GetFileContentResponse")
|
|
proto.RegisterType((*DeleteEntryRequest)(nil), "filer_pb.DeleteEntryRequest")
|
|
proto.RegisterType((*DeleteEntryResponse)(nil), "filer_pb.DeleteEntryResponse")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// Client API for SeaweedFiler service
|
|
|
|
type SeaweedFilerClient interface {
|
|
LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error)
|
|
ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
|
|
GetFileAttributes(ctx context.Context, in *GetFileAttributesRequest, opts ...grpc.CallOption) (*GetFileAttributesResponse, error)
|
|
GetFileContent(ctx context.Context, in *GetFileContentRequest, opts ...grpc.CallOption) (*GetFileContentResponse, error)
|
|
DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
|
|
}
|
|
|
|
type seaweedFilerClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewSeaweedFilerClient(cc *grpc.ClientConn) SeaweedFilerClient {
|
|
return &seaweedFilerClient{cc}
|
|
}
|
|
|
|
func (c *seaweedFilerClient) LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) {
|
|
out := new(LookupDirectoryEntryResponse)
|
|
err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) {
|
|
out := new(ListEntriesResponse)
|
|
err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/ListEntries", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) GetFileAttributes(ctx context.Context, in *GetFileAttributesRequest, opts ...grpc.CallOption) (*GetFileAttributesResponse, error) {
|
|
out := new(GetFileAttributesResponse)
|
|
err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFileAttributes", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) GetFileContent(ctx context.Context, in *GetFileContentRequest, opts ...grpc.CallOption) (*GetFileContentResponse, error) {
|
|
out := new(GetFileContentResponse)
|
|
err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/GetFileContent", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) {
|
|
out := new(DeleteEntryResponse)
|
|
err := grpc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for SeaweedFiler service
|
|
|
|
type SeaweedFilerServer interface {
|
|
LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error)
|
|
ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
|
|
GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error)
|
|
GetFileContent(context.Context, *GetFileContentRequest) (*GetFileContentResponse, error)
|
|
DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
|
|
}
|
|
|
|
func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer) {
|
|
s.RegisterService(&_SeaweedFiler_serviceDesc, srv)
|
|
}
|
|
|
|
func _SeaweedFiler_LookupDirectoryEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(LookupDirectoryEntryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/LookupDirectoryEntry",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).LookupDirectoryEntry(ctx, req.(*LookupDirectoryEntryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_ListEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListEntriesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).ListEntries(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/ListEntries",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).ListEntries(ctx, req.(*ListEntriesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_GetFileAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetFileAttributesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).GetFileAttributes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/GetFileAttributes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).GetFileAttributes(ctx, req.(*GetFileAttributesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_GetFileContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetFileContentRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).GetFileContent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/GetFileContent",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).GetFileContent(ctx, req.(*GetFileContentRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteEntryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).DeleteEntry(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/DeleteEntry",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).DeleteEntry(ctx, req.(*DeleteEntryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _SeaweedFiler_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "filer_pb.SeaweedFiler",
|
|
HandlerType: (*SeaweedFilerServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "LookupDirectoryEntry",
|
|
Handler: _SeaweedFiler_LookupDirectoryEntry_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListEntries",
|
|
Handler: _SeaweedFiler_ListEntries_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetFileAttributes",
|
|
Handler: _SeaweedFiler_GetFileAttributes_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetFileContent",
|
|
Handler: _SeaweedFiler_GetFileContent_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteEntry",
|
|
Handler: _SeaweedFiler_DeleteEntry_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "filer.proto",
|
|
}
|
|
|
|
func init() { proto.RegisterFile("filer.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 532 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0x4d, 0x6f, 0xd3, 0x40,
|
|
0x10, 0xad, 0x71, 0xd2, 0x34, 0x93, 0xb4, 0xc0, 0xb4, 0x05, 0x93, 0xa6, 0x22, 0x2c, 0x2a, 0x82,
|
|
0x4b, 0x84, 0xc2, 0x85, 0x23, 0x88, 0xb4, 0x08, 0x29, 0x08, 0xc9, 0x55, 0xaf, 0x44, 0x49, 0x3d,
|
|
0x8d, 0x56, 0x24, 0x76, 0xf0, 0xae, 0x85, 0xda, 0x33, 0x7f, 0x80, 0xbf, 0xc5, 0xa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