Documentation ¶
Overview ¶
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 FullEntry EventNotification FileChunk FileId FuseAttributes CreateEntryRequest CreateEntryResponse UpdateEntryRequest UpdateEntryResponse DeleteEntryRequest DeleteEntryResponse AtomicRenameEntryRequest AtomicRenameEntryResponse AssignVolumeRequest AssignVolumeResponse LookupVolumeRequest Locations Location LookupVolumeResponse DeleteCollectionRequest DeleteCollectionResponse StatisticsRequest StatisticsResponse GetFilerConfigurationRequest GetFilerConfigurationResponse
Index ¶
- func AfterEntryDeserialization(chunks []*FileChunk)
- func BeforeEntrySerialization(chunks []*FileChunk)
- func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer)
- type AssignVolumeRequest
- func (*AssignVolumeRequest) Descriptor() ([]byte, []int)
- func (m *AssignVolumeRequest) GetCollection() string
- func (m *AssignVolumeRequest) GetCount() int32
- func (m *AssignVolumeRequest) GetDataCenter() string
- func (m *AssignVolumeRequest) GetReplication() string
- func (m *AssignVolumeRequest) GetTtlSec() int32
- func (*AssignVolumeRequest) ProtoMessage()
- func (m *AssignVolumeRequest) Reset()
- func (m *AssignVolumeRequest) String() string
- type AssignVolumeResponse
- func (*AssignVolumeResponse) Descriptor() ([]byte, []int)
- func (m *AssignVolumeResponse) GetAuth() string
- func (m *AssignVolumeResponse) GetCount() int32
- func (m *AssignVolumeResponse) GetFileId() string
- func (m *AssignVolumeResponse) GetPublicUrl() string
- func (m *AssignVolumeResponse) GetUrl() string
- func (*AssignVolumeResponse) ProtoMessage()
- func (m *AssignVolumeResponse) Reset()
- func (m *AssignVolumeResponse) String() string
- type AtomicRenameEntryRequest
- func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int)
- func (m *AtomicRenameEntryRequest) GetNewDirectory() string
- func (m *AtomicRenameEntryRequest) GetNewName() string
- func (m *AtomicRenameEntryRequest) GetOldDirectory() string
- func (m *AtomicRenameEntryRequest) GetOldName() string
- func (*AtomicRenameEntryRequest) ProtoMessage()
- func (m *AtomicRenameEntryRequest) Reset()
- func (m *AtomicRenameEntryRequest) String() string
- type AtomicRenameEntryResponse
- type CreateEntryRequest
- type CreateEntryResponse
- type DeleteCollectionRequest
- type DeleteCollectionResponse
- type DeleteEntryRequest
- func (*DeleteEntryRequest) Descriptor() ([]byte, []int)
- func (m *DeleteEntryRequest) GetDirectory() string
- func (m *DeleteEntryRequest) GetIgnoreRecursiveError() bool
- func (m *DeleteEntryRequest) GetIsDeleteData() bool
- func (m *DeleteEntryRequest) GetIsRecursive() bool
- func (m *DeleteEntryRequest) GetName() string
- func (*DeleteEntryRequest) ProtoMessage()
- func (m *DeleteEntryRequest) Reset()
- func (m *DeleteEntryRequest) String() string
- type DeleteEntryResponse
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetAttributes() *FuseAttributes
- func (m *Entry) GetChunks() []*FileChunk
- func (m *Entry) GetExtended() map[string][]byte
- func (m *Entry) GetIsDirectory() bool
- func (m *Entry) GetName() string
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- type EventNotification
- func (*EventNotification) Descriptor() ([]byte, []int)
- func (m *EventNotification) GetDeleteChunks() bool
- func (m *EventNotification) GetNewEntry() *Entry
- func (m *EventNotification) GetNewParentPath() string
- func (m *EventNotification) GetOldEntry() *Entry
- func (*EventNotification) ProtoMessage()
- func (m *EventNotification) Reset()
- func (m *EventNotification) String() string
- type FileChunk
- func (*FileChunk) Descriptor() ([]byte, []int)
- func (m *FileChunk) GetETag() string
- func (m *FileChunk) GetFid() *FileId
- func (m *FileChunk) GetFileId() string
- func (c *FileChunk) GetFileIdString() string
- func (m *FileChunk) GetMtime() int64
- func (m *FileChunk) GetOffset() int64
- func (m *FileChunk) GetSize() uint64
- func (m *FileChunk) GetSourceFid() *FileId
- func (m *FileChunk) GetSourceFileId() string
- func (*FileChunk) ProtoMessage()
- func (m *FileChunk) Reset()
- func (m *FileChunk) String() string
- type FileId
- type FullEntry
- type FuseAttributes
- func (*FuseAttributes) Descriptor() ([]byte, []int)
- func (m *FuseAttributes) GetCollection() string
- func (m *FuseAttributes) GetCrtime() int64
- func (m *FuseAttributes) GetFileMode() uint32
- func (m *FuseAttributes) GetFileSize() uint64
- func (m *FuseAttributes) GetGid() uint32
- func (m *FuseAttributes) GetGroupName() []string
- func (m *FuseAttributes) GetMime() string
- func (m *FuseAttributes) GetMtime() int64
- func (m *FuseAttributes) GetReplication() string
- func (m *FuseAttributes) GetSymlinkTarget() string
- func (m *FuseAttributes) GetTtlSec() int32
- func (m *FuseAttributes) GetUid() uint32
- func (m *FuseAttributes) GetUserName() string
- func (*FuseAttributes) ProtoMessage()
- func (m *FuseAttributes) Reset()
- func (m *FuseAttributes) String() string
- type GetFilerConfigurationRequest
- type GetFilerConfigurationResponse
- func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *GetFilerConfigurationResponse) GetCollection() string
- func (m *GetFilerConfigurationResponse) GetMasters() []string
- func (m *GetFilerConfigurationResponse) GetMaxMb() uint32
- func (m *GetFilerConfigurationResponse) GetReplication() string
- func (*GetFilerConfigurationResponse) ProtoMessage()
- func (m *GetFilerConfigurationResponse) Reset()
- func (m *GetFilerConfigurationResponse) String() string
- type ListEntriesRequest
- func (*ListEntriesRequest) Descriptor() ([]byte, []int)
- func (m *ListEntriesRequest) GetDirectory() string
- func (m *ListEntriesRequest) GetInclusiveStartFrom() bool
- func (m *ListEntriesRequest) GetLimit() uint32
- func (m *ListEntriesRequest) GetPrefix() string
- func (m *ListEntriesRequest) GetStartFromFileName() string
- func (*ListEntriesRequest) ProtoMessage()
- func (m *ListEntriesRequest) Reset()
- func (m *ListEntriesRequest) String() string
- type ListEntriesResponse
- type Location
- type Locations
- type LookupDirectoryEntryRequest
- func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int)
- func (m *LookupDirectoryEntryRequest) GetDirectory() string
- func (m *LookupDirectoryEntryRequest) GetName() string
- func (*LookupDirectoryEntryRequest) ProtoMessage()
- func (m *LookupDirectoryEntryRequest) Reset()
- func (m *LookupDirectoryEntryRequest) String() string
- type LookupDirectoryEntryResponse
- type LookupVolumeRequest
- type LookupVolumeResponse
- type SeaweedFilerClient
- type SeaweedFilerServer
- type StatisticsRequest
- func (*StatisticsRequest) Descriptor() ([]byte, []int)
- func (m *StatisticsRequest) GetCollection() string
- func (m *StatisticsRequest) GetReplication() string
- func (m *StatisticsRequest) GetTtl() string
- func (*StatisticsRequest) ProtoMessage()
- func (m *StatisticsRequest) Reset()
- func (m *StatisticsRequest) String() string
- type StatisticsResponse
- func (*StatisticsResponse) Descriptor() ([]byte, []int)
- func (m *StatisticsResponse) GetCollection() string
- func (m *StatisticsResponse) GetFileCount() uint64
- func (m *StatisticsResponse) GetReplication() string
- func (m *StatisticsResponse) GetTotalSize() uint64
- func (m *StatisticsResponse) GetTtl() string
- func (m *StatisticsResponse) GetUsedSize() uint64
- func (*StatisticsResponse) ProtoMessage()
- func (m *StatisticsResponse) Reset()
- func (m *StatisticsResponse) String() string
- type UpdateEntryRequest
- type UpdateEntryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterEntryDeserialization ¶
func AfterEntryDeserialization(chunks []*FileChunk)
func BeforeEntrySerialization ¶
func BeforeEntrySerialization(chunks []*FileChunk)
func RegisterSeaweedFilerServer ¶
func RegisterSeaweedFilerServer(s *grpc.Server, srv SeaweedFilerServer)
Types ¶
type AssignVolumeRequest ¶
type AssignVolumeRequest struct { Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"` Replication string `protobuf:"bytes,3,opt,name=replication" json:"replication,omitempty"` TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec" json:"ttl_sec,omitempty"` DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter" json:"data_center,omitempty"` }
func (*AssignVolumeRequest) Descriptor ¶
func (*AssignVolumeRequest) Descriptor() ([]byte, []int)
func (*AssignVolumeRequest) GetCollection ¶
func (m *AssignVolumeRequest) GetCollection() string
func (*AssignVolumeRequest) GetCount ¶
func (m *AssignVolumeRequest) GetCount() int32
func (*AssignVolumeRequest) GetDataCenter ¶
func (m *AssignVolumeRequest) GetDataCenter() string
func (*AssignVolumeRequest) GetReplication ¶
func (m *AssignVolumeRequest) GetReplication() string
func (*AssignVolumeRequest) GetTtlSec ¶
func (m *AssignVolumeRequest) GetTtlSec() int32
func (*AssignVolumeRequest) ProtoMessage ¶
func (*AssignVolumeRequest) ProtoMessage()
func (*AssignVolumeRequest) Reset ¶
func (m *AssignVolumeRequest) Reset()
func (*AssignVolumeRequest) String ¶
func (m *AssignVolumeRequest) String() string
type AssignVolumeResponse ¶
type AssignVolumeResponse struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"` Auth string `protobuf:"bytes,5,opt,name=auth" json:"auth,omitempty"` }
func (*AssignVolumeResponse) Descriptor ¶
func (*AssignVolumeResponse) Descriptor() ([]byte, []int)
func (*AssignVolumeResponse) GetAuth ¶
func (m *AssignVolumeResponse) GetAuth() string
func (*AssignVolumeResponse) GetCount ¶
func (m *AssignVolumeResponse) GetCount() int32
func (*AssignVolumeResponse) GetFileId ¶
func (m *AssignVolumeResponse) GetFileId() string
func (*AssignVolumeResponse) GetPublicUrl ¶
func (m *AssignVolumeResponse) GetPublicUrl() string
func (*AssignVolumeResponse) GetUrl ¶
func (m *AssignVolumeResponse) GetUrl() string
func (*AssignVolumeResponse) ProtoMessage ¶
func (*AssignVolumeResponse) ProtoMessage()
func (*AssignVolumeResponse) Reset ¶
func (m *AssignVolumeResponse) Reset()
func (*AssignVolumeResponse) String ¶
func (m *AssignVolumeResponse) String() string
type AtomicRenameEntryRequest ¶
type AtomicRenameEntryRequest struct { OldDirectory string `protobuf:"bytes,1,opt,name=old_directory,json=oldDirectory" json:"old_directory,omitempty"` OldName string `protobuf:"bytes,2,opt,name=old_name,json=oldName" json:"old_name,omitempty"` NewDirectory string `protobuf:"bytes,3,opt,name=new_directory,json=newDirectory" json:"new_directory,omitempty"` NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName" json:"new_name,omitempty"` }
func (*AtomicRenameEntryRequest) Descriptor ¶
func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int)
func (*AtomicRenameEntryRequest) GetNewDirectory ¶
func (m *AtomicRenameEntryRequest) GetNewDirectory() string
func (*AtomicRenameEntryRequest) GetNewName ¶
func (m *AtomicRenameEntryRequest) GetNewName() string
func (*AtomicRenameEntryRequest) GetOldDirectory ¶
func (m *AtomicRenameEntryRequest) GetOldDirectory() string
func (*AtomicRenameEntryRequest) GetOldName ¶
func (m *AtomicRenameEntryRequest) GetOldName() string
func (*AtomicRenameEntryRequest) ProtoMessage ¶
func (*AtomicRenameEntryRequest) ProtoMessage()
func (*AtomicRenameEntryRequest) Reset ¶
func (m *AtomicRenameEntryRequest) Reset()
func (*AtomicRenameEntryRequest) String ¶
func (m *AtomicRenameEntryRequest) String() string
type AtomicRenameEntryResponse ¶
type AtomicRenameEntryResponse struct { }
func (*AtomicRenameEntryResponse) Descriptor ¶
func (*AtomicRenameEntryResponse) Descriptor() ([]byte, []int)
func (*AtomicRenameEntryResponse) ProtoMessage ¶
func (*AtomicRenameEntryResponse) ProtoMessage()
func (*AtomicRenameEntryResponse) Reset ¶
func (m *AtomicRenameEntryResponse) Reset()
func (*AtomicRenameEntryResponse) String ¶
func (m *AtomicRenameEntryResponse) String() string
type CreateEntryRequest ¶
type CreateEntryRequest struct { Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"` }
func (*CreateEntryRequest) Descriptor ¶
func (*CreateEntryRequest) Descriptor() ([]byte, []int)
func (*CreateEntryRequest) GetDirectory ¶
func (m *CreateEntryRequest) GetDirectory() string
func (*CreateEntryRequest) GetEntry ¶
func (m *CreateEntryRequest) GetEntry() *Entry
func (*CreateEntryRequest) ProtoMessage ¶
func (*CreateEntryRequest) ProtoMessage()
func (*CreateEntryRequest) Reset ¶
func (m *CreateEntryRequest) Reset()
func (*CreateEntryRequest) String ¶
func (m *CreateEntryRequest) String() string
type CreateEntryResponse ¶
type CreateEntryResponse struct { }
func (*CreateEntryResponse) Descriptor ¶
func (*CreateEntryResponse) Descriptor() ([]byte, []int)
func (*CreateEntryResponse) ProtoMessage ¶
func (*CreateEntryResponse) ProtoMessage()
func (*CreateEntryResponse) Reset ¶
func (m *CreateEntryResponse) Reset()
func (*CreateEntryResponse) String ¶
func (m *CreateEntryResponse) String() string
type DeleteCollectionRequest ¶
type DeleteCollectionRequest struct {
Collection string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
}
func (*DeleteCollectionRequest) Descriptor ¶
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)
func (*DeleteCollectionRequest) GetCollection ¶
func (m *DeleteCollectionRequest) GetCollection() string
func (*DeleteCollectionRequest) ProtoMessage ¶
func (*DeleteCollectionRequest) ProtoMessage()
func (*DeleteCollectionRequest) Reset ¶
func (m *DeleteCollectionRequest) Reset()
func (*DeleteCollectionRequest) String ¶
func (m *DeleteCollectionRequest) String() string
type DeleteCollectionResponse ¶
type DeleteCollectionResponse struct { }
func (*DeleteCollectionResponse) Descriptor ¶
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int)
func (*DeleteCollectionResponse) ProtoMessage ¶
func (*DeleteCollectionResponse) ProtoMessage()
func (*DeleteCollectionResponse) Reset ¶
func (m *DeleteCollectionResponse) Reset()
func (*DeleteCollectionResponse) String ¶
func (m *DeleteCollectionResponse) String() string
type DeleteEntryRequest ¶
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"` // bool is_directory = 3; IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData" json:"is_delete_data,omitempty"` IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive" json:"is_recursive,omitempty"` IgnoreRecursiveError bool `protobuf:"varint,6,opt,name=ignore_recursive_error,json=ignoreRecursiveError" json:"ignore_recursive_error,omitempty"` }
func (*DeleteEntryRequest) Descriptor ¶
func (*DeleteEntryRequest) Descriptor() ([]byte, []int)
func (*DeleteEntryRequest) GetDirectory ¶
func (m *DeleteEntryRequest) GetDirectory() string
func (*DeleteEntryRequest) GetIgnoreRecursiveError ¶
func (m *DeleteEntryRequest) GetIgnoreRecursiveError() bool
func (*DeleteEntryRequest) GetIsDeleteData ¶
func (m *DeleteEntryRequest) GetIsDeleteData() bool
func (*DeleteEntryRequest) GetIsRecursive ¶
func (m *DeleteEntryRequest) GetIsRecursive() bool
func (*DeleteEntryRequest) GetName ¶
func (m *DeleteEntryRequest) GetName() string
func (*DeleteEntryRequest) ProtoMessage ¶
func (*DeleteEntryRequest) ProtoMessage()
func (*DeleteEntryRequest) Reset ¶
func (m *DeleteEntryRequest) Reset()
func (*DeleteEntryRequest) String ¶
func (m *DeleteEntryRequest) String() string
type DeleteEntryResponse ¶
type DeleteEntryResponse struct { }
func (*DeleteEntryResponse) Descriptor ¶
func (*DeleteEntryResponse) Descriptor() ([]byte, []int)
func (*DeleteEntryResponse) ProtoMessage ¶
func (*DeleteEntryResponse) ProtoMessage()
func (*DeleteEntryResponse) Reset ¶
func (m *DeleteEntryResponse) Reset()
func (*DeleteEntryResponse) String ¶
func (m *DeleteEntryResponse) String() string
type Entry ¶
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"` Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks" json:"chunks,omitempty"` Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes" json:"attributes,omitempty"` Extended map[string][]byte `` /* 143-byte string literal not displayed */ }
func (*Entry) Descriptor ¶
func (*Entry) GetAttributes ¶
func (m *Entry) GetAttributes() *FuseAttributes
func (*Entry) GetExtended ¶
func (*Entry) GetIsDirectory ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
type EventNotification ¶
type EventNotification struct { OldEntry *Entry `protobuf:"bytes,1,opt,name=old_entry,json=oldEntry" json:"old_entry,omitempty"` NewEntry *Entry `protobuf:"bytes,2,opt,name=new_entry,json=newEntry" json:"new_entry,omitempty"` DeleteChunks bool `protobuf:"varint,3,opt,name=delete_chunks,json=deleteChunks" json:"delete_chunks,omitempty"` NewParentPath string `protobuf:"bytes,4,opt,name=new_parent_path,json=newParentPath" json:"new_parent_path,omitempty"` }
func (*EventNotification) Descriptor ¶
func (*EventNotification) Descriptor() ([]byte, []int)
func (*EventNotification) GetDeleteChunks ¶
func (m *EventNotification) GetDeleteChunks() bool
func (*EventNotification) GetNewEntry ¶
func (m *EventNotification) GetNewEntry() *Entry
func (*EventNotification) GetNewParentPath ¶
func (m *EventNotification) GetNewParentPath() string
func (*EventNotification) GetOldEntry ¶
func (m *EventNotification) GetOldEntry() *Entry
func (*EventNotification) ProtoMessage ¶
func (*EventNotification) ProtoMessage()
func (*EventNotification) Reset ¶
func (m *EventNotification) Reset()
func (*EventNotification) String ¶
func (m *EventNotification) String() string
type FileChunk ¶
type FileChunk struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"` Mtime int64 `protobuf:"varint,4,opt,name=mtime" json:"mtime,omitempty"` ETag string `protobuf:"bytes,5,opt,name=e_tag,json=eTag" json:"e_tag,omitempty"` SourceFileId string `protobuf:"bytes,6,opt,name=source_file_id,json=sourceFileId" json:"source_file_id,omitempty"` Fid *FileId `protobuf:"bytes,7,opt,name=fid" json:"fid,omitempty"` SourceFid *FileId `protobuf:"bytes,8,opt,name=source_fid,json=sourceFid" json:"source_fid,omitempty"` }
func (*FileChunk) Descriptor ¶
func (*FileChunk) GetFileIdString ¶
func (*FileChunk) GetSourceFid ¶
func (*FileChunk) GetSourceFileId ¶
func (*FileChunk) ProtoMessage ¶
func (*FileChunk) ProtoMessage()
type FileId ¶
type FileId struct { VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"` FileKey uint64 `protobuf:"varint,2,opt,name=file_key,json=fileKey" json:"file_key,omitempty"` Cookie uint32 `protobuf:"fixed32,3,opt,name=cookie" json:"cookie,omitempty"` }
func (*FileId) Descriptor ¶
func (*FileId) GetFileKey ¶
func (*FileId) GetVolumeId ¶
func (*FileId) ProtoMessage ¶
func (*FileId) ProtoMessage()
type FullEntry ¶
type FullEntry struct { Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"` Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"` }
func (*FullEntry) Descriptor ¶
func (*FullEntry) ProtoMessage ¶
func (*FullEntry) ProtoMessage()
type FuseAttributes ¶
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"` Crtime int64 `protobuf:"varint,6,opt,name=crtime" json:"crtime,omitempty"` Mime string `protobuf:"bytes,7,opt,name=mime" json:"mime,omitempty"` Replication string `protobuf:"bytes,8,opt,name=replication" json:"replication,omitempty"` Collection string `protobuf:"bytes,9,opt,name=collection" json:"collection,omitempty"` TtlSec int32 `protobuf:"varint,10,opt,name=ttl_sec,json=ttlSec" json:"ttl_sec,omitempty"` UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName" json:"user_name,omitempty"` GroupName []string `protobuf:"bytes,12,rep,name=group_name,json=groupName" json:"group_name,omitempty"` SymlinkTarget string `protobuf:"bytes,13,opt,name=symlink_target,json=symlinkTarget" json:"symlink_target,omitempty"` }
func (*FuseAttributes) Descriptor ¶
func (*FuseAttributes) Descriptor() ([]byte, []int)
func (*FuseAttributes) GetCollection ¶
func (m *FuseAttributes) GetCollection() string
func (*FuseAttributes) GetCrtime ¶
func (m *FuseAttributes) GetCrtime() int64
func (*FuseAttributes) GetFileMode ¶
func (m *FuseAttributes) GetFileMode() uint32
func (*FuseAttributes) GetFileSize ¶
func (m *FuseAttributes) GetFileSize() uint64
func (*FuseAttributes) GetGid ¶
func (m *FuseAttributes) GetGid() uint32
func (*FuseAttributes) GetGroupName ¶
func (m *FuseAttributes) GetGroupName() []string
func (*FuseAttributes) GetMime ¶
func (m *FuseAttributes) GetMime() string
func (*FuseAttributes) GetMtime ¶
func (m *FuseAttributes) GetMtime() int64
func (*FuseAttributes) GetReplication ¶
func (m *FuseAttributes) GetReplication() string
func (*FuseAttributes) GetSymlinkTarget ¶
func (m *FuseAttributes) GetSymlinkTarget() string
func (*FuseAttributes) GetTtlSec ¶
func (m *FuseAttributes) GetTtlSec() int32
func (*FuseAttributes) GetUid ¶
func (m *FuseAttributes) GetUid() uint32
func (*FuseAttributes) GetUserName ¶
func (m *FuseAttributes) GetUserName() string
func (*FuseAttributes) ProtoMessage ¶
func (*FuseAttributes) ProtoMessage()
func (*FuseAttributes) Reset ¶
func (m *FuseAttributes) Reset()
func (*FuseAttributes) String ¶
func (m *FuseAttributes) String() string
type GetFilerConfigurationRequest ¶
type GetFilerConfigurationRequest struct { }
func (*GetFilerConfigurationRequest) Descriptor ¶
func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int)
func (*GetFilerConfigurationRequest) ProtoMessage ¶
func (*GetFilerConfigurationRequest) ProtoMessage()
func (*GetFilerConfigurationRequest) Reset ¶
func (m *GetFilerConfigurationRequest) Reset()
func (*GetFilerConfigurationRequest) String ¶
func (m *GetFilerConfigurationRequest) String() string
type GetFilerConfigurationResponse ¶
type GetFilerConfigurationResponse struct { Masters []string `protobuf:"bytes,1,rep,name=masters" json:"masters,omitempty"` Replication string `protobuf:"bytes,2,opt,name=replication" json:"replication,omitempty"` Collection string `protobuf:"bytes,3,opt,name=collection" json:"collection,omitempty"` MaxMb uint32 `protobuf:"varint,4,opt,name=max_mb,json=maxMb" json:"max_mb,omitempty"` }
func (*GetFilerConfigurationResponse) Descriptor ¶
func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int)
func (*GetFilerConfigurationResponse) GetCollection ¶
func (m *GetFilerConfigurationResponse) GetCollection() string
func (*GetFilerConfigurationResponse) GetMasters ¶
func (m *GetFilerConfigurationResponse) GetMasters() []string
func (*GetFilerConfigurationResponse) GetMaxMb ¶
func (m *GetFilerConfigurationResponse) GetMaxMb() uint32
func (*GetFilerConfigurationResponse) GetReplication ¶
func (m *GetFilerConfigurationResponse) GetReplication() string
func (*GetFilerConfigurationResponse) ProtoMessage ¶
func (*GetFilerConfigurationResponse) ProtoMessage()
func (*GetFilerConfigurationResponse) Reset ¶
func (m *GetFilerConfigurationResponse) Reset()
func (*GetFilerConfigurationResponse) String ¶
func (m *GetFilerConfigurationResponse) String() string
type ListEntriesRequest ¶
type ListEntriesRequest struct { Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty"` StartFromFileName string `protobuf:"bytes,3,opt,name=startFromFileName" json:"startFromFileName,omitempty"` InclusiveStartFrom bool `protobuf:"varint,4,opt,name=inclusiveStartFrom" json:"inclusiveStartFrom,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"` }
func (*ListEntriesRequest) Descriptor ¶
func (*ListEntriesRequest) Descriptor() ([]byte, []int)
func (*ListEntriesRequest) GetDirectory ¶
func (m *ListEntriesRequest) GetDirectory() string
func (*ListEntriesRequest) GetInclusiveStartFrom ¶
func (m *ListEntriesRequest) GetInclusiveStartFrom() bool
func (*ListEntriesRequest) GetLimit ¶
func (m *ListEntriesRequest) GetLimit() uint32
func (*ListEntriesRequest) GetPrefix ¶
func (m *ListEntriesRequest) GetPrefix() string
func (*ListEntriesRequest) GetStartFromFileName ¶
func (m *ListEntriesRequest) GetStartFromFileName() string
func (*ListEntriesRequest) ProtoMessage ¶
func (*ListEntriesRequest) ProtoMessage()
func (*ListEntriesRequest) Reset ¶
func (m *ListEntriesRequest) Reset()
func (*ListEntriesRequest) String ¶
func (m *ListEntriesRequest) String() string
type ListEntriesResponse ¶
type ListEntriesResponse struct {
Entries []*Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
}
func (*ListEntriesResponse) Descriptor ¶
func (*ListEntriesResponse) Descriptor() ([]byte, []int)
func (*ListEntriesResponse) GetEntries ¶
func (m *ListEntriesResponse) GetEntries() []*Entry
func (*ListEntriesResponse) ProtoMessage ¶
func (*ListEntriesResponse) ProtoMessage()
func (*ListEntriesResponse) Reset ¶
func (m *ListEntriesResponse) Reset()
func (*ListEntriesResponse) String ¶
func (m *ListEntriesResponse) String() string
type Location ¶
type Location struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl" json:"public_url,omitempty"` }
func (*Location) Descriptor ¶
func (*Location) GetPublicUrl ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
type Locations ¶
type Locations struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
}
func (*Locations) Descriptor ¶
func (*Locations) GetLocations ¶
func (*Locations) ProtoMessage ¶
func (*Locations) ProtoMessage()
type LookupDirectoryEntryRequest ¶
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 (*LookupDirectoryEntryRequest) Descriptor ¶
func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int)
func (*LookupDirectoryEntryRequest) GetDirectory ¶
func (m *LookupDirectoryEntryRequest) GetDirectory() string
func (*LookupDirectoryEntryRequest) GetName ¶
func (m *LookupDirectoryEntryRequest) GetName() string
func (*LookupDirectoryEntryRequest) ProtoMessage ¶
func (*LookupDirectoryEntryRequest) ProtoMessage()
func (*LookupDirectoryEntryRequest) Reset ¶
func (m *LookupDirectoryEntryRequest) Reset()
func (*LookupDirectoryEntryRequest) String ¶
func (m *LookupDirectoryEntryRequest) String() string
type LookupDirectoryEntryResponse ¶
type LookupDirectoryEntryResponse struct {
Entry *Entry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"`
}
func (*LookupDirectoryEntryResponse) Descriptor ¶
func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int)
func (*LookupDirectoryEntryResponse) GetEntry ¶
func (m *LookupDirectoryEntryResponse) GetEntry() *Entry
func (*LookupDirectoryEntryResponse) ProtoMessage ¶
func (*LookupDirectoryEntryResponse) ProtoMessage()
func (*LookupDirectoryEntryResponse) Reset ¶
func (m *LookupDirectoryEntryResponse) Reset()
func (*LookupDirectoryEntryResponse) String ¶
func (m *LookupDirectoryEntryResponse) String() string
type LookupVolumeRequest ¶
type LookupVolumeRequest struct {
VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds" json:"volume_ids,omitempty"`
}
func (*LookupVolumeRequest) Descriptor ¶
func (*LookupVolumeRequest) Descriptor() ([]byte, []int)
func (*LookupVolumeRequest) GetVolumeIds ¶
func (m *LookupVolumeRequest) GetVolumeIds() []string
func (*LookupVolumeRequest) ProtoMessage ¶
func (*LookupVolumeRequest) ProtoMessage()
func (*LookupVolumeRequest) Reset ¶
func (m *LookupVolumeRequest) Reset()
func (*LookupVolumeRequest) String ¶
func (m *LookupVolumeRequest) String() string
type LookupVolumeResponse ¶
type LookupVolumeResponse struct {
LocationsMap map[string]*Locations `` /* 164-byte string literal not displayed */
}
func (*LookupVolumeResponse) Descriptor ¶
func (*LookupVolumeResponse) Descriptor() ([]byte, []int)
func (*LookupVolumeResponse) GetLocationsMap ¶
func (m *LookupVolumeResponse) GetLocationsMap() map[string]*Locations
func (*LookupVolumeResponse) ProtoMessage ¶
func (*LookupVolumeResponse) ProtoMessage()
func (*LookupVolumeResponse) Reset ¶
func (m *LookupVolumeResponse) Reset()
func (*LookupVolumeResponse) String ¶
func (m *LookupVolumeResponse) String() string
type SeaweedFilerClient ¶
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) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) GetFilerConfiguration(ctx context.Context, in *GetFilerConfigurationRequest, opts ...grpc.CallOption) (*GetFilerConfigurationResponse, error) }
func NewSeaweedFilerClient ¶
func NewSeaweedFilerClient(cc *grpc.ClientConn) SeaweedFilerClient
type SeaweedFilerServer ¶
type SeaweedFilerServer interface { LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) GetFilerConfiguration(context.Context, *GetFilerConfigurationRequest) (*GetFilerConfigurationResponse, error) }
type StatisticsRequest ¶
type StatisticsRequest struct { Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"` Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"` Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"` }
func (*StatisticsRequest) Descriptor ¶
func (*StatisticsRequest) Descriptor() ([]byte, []int)
func (*StatisticsRequest) GetCollection ¶
func (m *StatisticsRequest) GetCollection() string
func (*StatisticsRequest) GetReplication ¶
func (m *StatisticsRequest) GetReplication() string
func (*StatisticsRequest) GetTtl ¶
func (m *StatisticsRequest) GetTtl() string
func (*StatisticsRequest) ProtoMessage ¶
func (*StatisticsRequest) ProtoMessage()
func (*StatisticsRequest) Reset ¶
func (m *StatisticsRequest) Reset()
func (*StatisticsRequest) String ¶
func (m *StatisticsRequest) String() string
type StatisticsResponse ¶
type StatisticsResponse struct { Replication string `protobuf:"bytes,1,opt,name=replication" json:"replication,omitempty"` Collection string `protobuf:"bytes,2,opt,name=collection" json:"collection,omitempty"` Ttl string `protobuf:"bytes,3,opt,name=ttl" json:"ttl,omitempty"` TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize" json:"total_size,omitempty"` UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize" json:"used_size,omitempty"` FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount" json:"file_count,omitempty"` }
func (*StatisticsResponse) Descriptor ¶
func (*StatisticsResponse) Descriptor() ([]byte, []int)
func (*StatisticsResponse) GetCollection ¶
func (m *StatisticsResponse) GetCollection() string
func (*StatisticsResponse) GetFileCount ¶
func (m *StatisticsResponse) GetFileCount() uint64
func (*StatisticsResponse) GetReplication ¶
func (m *StatisticsResponse) GetReplication() string
func (*StatisticsResponse) GetTotalSize ¶
func (m *StatisticsResponse) GetTotalSize() uint64
func (*StatisticsResponse) GetTtl ¶
func (m *StatisticsResponse) GetTtl() string
func (*StatisticsResponse) GetUsedSize ¶
func (m *StatisticsResponse) GetUsedSize() uint64
func (*StatisticsResponse) ProtoMessage ¶
func (*StatisticsResponse) ProtoMessage()
func (*StatisticsResponse) Reset ¶
func (m *StatisticsResponse) Reset()
func (*StatisticsResponse) String ¶
func (m *StatisticsResponse) String() string
type UpdateEntryRequest ¶
type UpdateEntryRequest struct { Directory string `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Entry *Entry `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"` }
func (*UpdateEntryRequest) Descriptor ¶
func (*UpdateEntryRequest) Descriptor() ([]byte, []int)
func (*UpdateEntryRequest) GetDirectory ¶
func (m *UpdateEntryRequest) GetDirectory() string
func (*UpdateEntryRequest) GetEntry ¶
func (m *UpdateEntryRequest) GetEntry() *Entry
func (*UpdateEntryRequest) ProtoMessage ¶
func (*UpdateEntryRequest) ProtoMessage()
func (*UpdateEntryRequest) Reset ¶
func (m *UpdateEntryRequest) Reset()
func (*UpdateEntryRequest) String ¶
func (m *UpdateEntryRequest) String() string
type UpdateEntryResponse ¶
type UpdateEntryResponse struct { }
func (*UpdateEntryResponse) Descriptor ¶
func (*UpdateEntryResponse) Descriptor() ([]byte, []int)
func (*UpdateEntryResponse) ProtoMessage ¶
func (*UpdateEntryResponse) ProtoMessage()
func (*UpdateEntryResponse) Reset ¶
func (m *UpdateEntryResponse) Reset()
func (*UpdateEntryResponse) String ¶
func (m *UpdateEntryResponse) String() string
Click to show internal directories.
Click to hide internal directories.