You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1764 lines
64 KiB
1764 lines
64 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: filer.proto
|
|
|
|
package filer_pb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
grpc "google.golang.org/grpc"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type LookupDirectoryEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryRequest) Reset() { *m = LookupDirectoryEntryRequest{} }
|
|
func (m *LookupDirectoryEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupDirectoryEntryRequest) ProtoMessage() {}
|
|
func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{0}
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LookupDirectoryEntryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *LookupDirectoryEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LookupDirectoryEntryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LookupDirectoryEntryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LookupDirectoryEntryRequest.Merge(m, src)
|
|
}
|
|
func (m *LookupDirectoryEntryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_LookupDirectoryEntryRequest.Size(m)
|
|
}
|
|
func (m *LookupDirectoryEntryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LookupDirectoryEntryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LookupDirectoryEntryRequest proto.InternalMessageInfo
|
|
|
|
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,proto3" json:"entry,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryResponse) Reset() { *m = LookupDirectoryEntryResponse{} }
|
|
func (m *LookupDirectoryEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupDirectoryEntryResponse) ProtoMessage() {}
|
|
func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{1}
|
|
}
|
|
|
|
func (m *LookupDirectoryEntryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LookupDirectoryEntryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *LookupDirectoryEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LookupDirectoryEntryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LookupDirectoryEntryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LookupDirectoryEntryResponse.Merge(m, src)
|
|
}
|
|
func (m *LookupDirectoryEntryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_LookupDirectoryEntryResponse.Size(m)
|
|
}
|
|
func (m *LookupDirectoryEntryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LookupDirectoryEntryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LookupDirectoryEntryResponse proto.InternalMessageInfo
|
|
|
|
func (m *LookupDirectoryEntryResponse) GetEntry() *Entry {
|
|
if m != nil {
|
|
return m.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListEntriesRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
StartFromFileName string `protobuf:"bytes,3,opt,name=startFromFileName,proto3" json:"startFromFileName,omitempty"`
|
|
InclusiveStartFrom bool `protobuf:"varint,4,opt,name=inclusiveStartFrom,proto3" json:"inclusiveStartFrom,omitempty"`
|
|
Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListEntriesRequest) Reset() { *m = ListEntriesRequest{} }
|
|
func (m *ListEntriesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListEntriesRequest) ProtoMessage() {}
|
|
func (*ListEntriesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{2}
|
|
}
|
|
|
|
func (m *ListEntriesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListEntriesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListEntriesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListEntriesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListEntriesRequest.Merge(m, src)
|
|
}
|
|
func (m *ListEntriesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListEntriesRequest.Size(m)
|
|
}
|
|
func (m *ListEntriesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListEntriesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListEntriesRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListEntriesRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListEntriesRequest) GetPrefix() string {
|
|
if m != nil {
|
|
return m.Prefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListEntriesRequest) GetStartFromFileName() string {
|
|
if m != nil {
|
|
return m.StartFromFileName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListEntriesRequest) GetInclusiveStartFrom() bool {
|
|
if m != nil {
|
|
return m.InclusiveStartFrom
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ListEntriesRequest) GetLimit() uint32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListEntriesResponse struct {
|
|
Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListEntriesResponse) Reset() { *m = ListEntriesResponse{} }
|
|
func (m *ListEntriesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListEntriesResponse) ProtoMessage() {}
|
|
func (*ListEntriesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{3}
|
|
}
|
|
|
|
func (m *ListEntriesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListEntriesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListEntriesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListEntriesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListEntriesResponse.Merge(m, src)
|
|
}
|
|
func (m *ListEntriesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListEntriesResponse.Size(m)
|
|
}
|
|
func (m *ListEntriesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListEntriesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListEntriesResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListEntriesResponse) GetEntries() []*Entry {
|
|
if m != nil {
|
|
return m.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Entry struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
|
|
Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
|
|
Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
|
Extended map[string][]byte `protobuf:"bytes,5,rep,name=extended,proto3" json:"extended,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Entry) Reset() { *m = Entry{} }
|
|
func (m *Entry) String() string { return proto.CompactTextString(m) }
|
|
func (*Entry) ProtoMessage() {}
|
|
func (*Entry) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{4}
|
|
}
|
|
|
|
func (m *Entry) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Entry.Unmarshal(m, b)
|
|
}
|
|
func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Entry.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Entry) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Entry.Merge(m, src)
|
|
}
|
|
func (m *Entry) XXX_Size() int {
|
|
return xxx_messageInfo_Entry.Size(m)
|
|
}
|
|
func (m *Entry) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Entry.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Entry proto.InternalMessageInfo
|
|
|
|
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) GetChunks() []*FileChunk {
|
|
if m != nil {
|
|
return m.Chunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Entry) GetAttributes() *FuseAttributes {
|
|
if m != nil {
|
|
return m.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Entry) GetExtended() map[string][]byte {
|
|
if m != nil {
|
|
return m.Extended
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EventNotification struct {
|
|
OldEntry *Entry `protobuf:"bytes,1,opt,name=old_entry,json=oldEntry,proto3" json:"old_entry,omitempty"`
|
|
NewEntry *Entry `protobuf:"bytes,2,opt,name=new_entry,json=newEntry,proto3" json:"new_entry,omitempty"`
|
|
DeleteChunks bool `protobuf:"varint,3,opt,name=delete_chunks,json=deleteChunks,proto3" json:"delete_chunks,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *EventNotification) Reset() { *m = EventNotification{} }
|
|
func (m *EventNotification) String() string { return proto.CompactTextString(m) }
|
|
func (*EventNotification) ProtoMessage() {}
|
|
func (*EventNotification) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{5}
|
|
}
|
|
|
|
func (m *EventNotification) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_EventNotification.Unmarshal(m, b)
|
|
}
|
|
func (m *EventNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_EventNotification.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *EventNotification) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EventNotification.Merge(m, src)
|
|
}
|
|
func (m *EventNotification) XXX_Size() int {
|
|
return xxx_messageInfo_EventNotification.Size(m)
|
|
}
|
|
func (m *EventNotification) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EventNotification.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EventNotification proto.InternalMessageInfo
|
|
|
|
func (m *EventNotification) GetOldEntry() *Entry {
|
|
if m != nil {
|
|
return m.OldEntry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EventNotification) GetNewEntry() *Entry {
|
|
if m != nil {
|
|
return m.NewEntry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *EventNotification) GetDeleteChunks() bool {
|
|
if m != nil {
|
|
return m.DeleteChunks
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FileChunk struct {
|
|
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
Mtime int64 `protobuf:"varint,4,opt,name=mtime,proto3" json:"mtime,omitempty"`
|
|
ETag string `protobuf:"bytes,5,opt,name=e_tag,json=eTag,proto3" json:"e_tag,omitempty"`
|
|
SourceFileId string `protobuf:"bytes,6,opt,name=source_file_id,json=sourceFileId,proto3" json:"source_file_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FileChunk) Reset() { *m = FileChunk{} }
|
|
func (m *FileChunk) String() string { return proto.CompactTextString(m) }
|
|
func (*FileChunk) ProtoMessage() {}
|
|
func (*FileChunk) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{6}
|
|
}
|
|
|
|
func (m *FileChunk) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FileChunk.Unmarshal(m, b)
|
|
}
|
|
func (m *FileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FileChunk.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FileChunk) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FileChunk.Merge(m, src)
|
|
}
|
|
func (m *FileChunk) XXX_Size() int {
|
|
return xxx_messageInfo_FileChunk.Size(m)
|
|
}
|
|
func (m *FileChunk) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FileChunk.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FileChunk proto.InternalMessageInfo
|
|
|
|
func (m *FileChunk) GetFileId() string {
|
|
if m != nil {
|
|
return m.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FileChunk) GetOffset() int64 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FileChunk) GetSize() uint64 {
|
|
if m != nil {
|
|
return m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FileChunk) GetMtime() int64 {
|
|
if m != nil {
|
|
return m.Mtime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FileChunk) GetETag() string {
|
|
if m != nil {
|
|
return m.ETag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FileChunk) GetSourceFileId() string {
|
|
if m != nil {
|
|
return m.SourceFileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FuseAttributes struct {
|
|
FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
|
|
Mtime int64 `protobuf:"varint,2,opt,name=mtime,proto3" json:"mtime,omitempty"`
|
|
FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
|
|
Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Gid uint32 `protobuf:"varint,5,opt,name=gid,proto3" json:"gid,omitempty"`
|
|
Crtime int64 `protobuf:"varint,6,opt,name=crtime,proto3" json:"crtime,omitempty"`
|
|
Mime string `protobuf:"bytes,7,opt,name=mime,proto3" json:"mime,omitempty"`
|
|
Replication string `protobuf:"bytes,8,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Collection string `protobuf:"bytes,9,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
TtlSec int32 `protobuf:"varint,10,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
|
|
UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
GroupName []string `protobuf:"bytes,12,rep,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
|
|
SymlinkTarget string `protobuf:"bytes,13,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FuseAttributes) Reset() { *m = FuseAttributes{} }
|
|
func (m *FuseAttributes) String() string { return proto.CompactTextString(m) }
|
|
func (*FuseAttributes) ProtoMessage() {}
|
|
func (*FuseAttributes) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{7}
|
|
}
|
|
|
|
func (m *FuseAttributes) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FuseAttributes.Unmarshal(m, b)
|
|
}
|
|
func (m *FuseAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FuseAttributes.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FuseAttributes) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FuseAttributes.Merge(m, src)
|
|
}
|
|
func (m *FuseAttributes) XXX_Size() int {
|
|
return xxx_messageInfo_FuseAttributes.Size(m)
|
|
}
|
|
func (m *FuseAttributes) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FuseAttributes.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FuseAttributes proto.InternalMessageInfo
|
|
|
|
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
|
|
}
|
|
|
|
func (m *FuseAttributes) GetCrtime() int64 {
|
|
if m != nil {
|
|
return m.Crtime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetMime() string {
|
|
if m != nil {
|
|
return m.Mime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FuseAttributes) GetReplication() string {
|
|
if m != nil {
|
|
return m.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FuseAttributes) GetCollection() string {
|
|
if m != nil {
|
|
return m.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FuseAttributes) GetTtlSec() int32 {
|
|
if m != nil {
|
|
return m.TtlSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FuseAttributes) GetUserName() string {
|
|
if m != nil {
|
|
return m.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FuseAttributes) GetGroupName() []string {
|
|
if m != nil {
|
|
return m.GroupName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FuseAttributes) GetSymlinkTarget() string {
|
|
if m != nil {
|
|
return m.SymlinkTarget
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateEntryRequest) Reset() { *m = CreateEntryRequest{} }
|
|
func (m *CreateEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateEntryRequest) ProtoMessage() {}
|
|
func (*CreateEntryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{8}
|
|
}
|
|
|
|
func (m *CreateEntryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateEntryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateEntryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateEntryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateEntryRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateEntryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateEntryRequest.Size(m)
|
|
}
|
|
func (m *CreateEntryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateEntryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateEntryRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateEntryRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateEntryRequest) GetEntry() *Entry {
|
|
if m != nil {
|
|
return m.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateEntryResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateEntryResponse) Reset() { *m = CreateEntryResponse{} }
|
|
func (m *CreateEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateEntryResponse) ProtoMessage() {}
|
|
func (*CreateEntryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{9}
|
|
}
|
|
|
|
func (m *CreateEntryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateEntryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateEntryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateEntryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateEntryResponse.Merge(m, src)
|
|
}
|
|
func (m *CreateEntryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CreateEntryResponse.Size(m)
|
|
}
|
|
func (m *CreateEntryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateEntryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateEntryResponse proto.InternalMessageInfo
|
|
|
|
type UpdateEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateEntryRequest) Reset() { *m = UpdateEntryRequest{} }
|
|
func (m *UpdateEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateEntryRequest) ProtoMessage() {}
|
|
func (*UpdateEntryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{10}
|
|
}
|
|
|
|
func (m *UpdateEntryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateEntryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateEntryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UpdateEntryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateEntryRequest.Merge(m, src)
|
|
}
|
|
func (m *UpdateEntryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateEntryRequest.Size(m)
|
|
}
|
|
func (m *UpdateEntryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateEntryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateEntryRequest proto.InternalMessageInfo
|
|
|
|
func (m *UpdateEntryRequest) GetDirectory() string {
|
|
if m != nil {
|
|
return m.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateEntryRequest) GetEntry() *Entry {
|
|
if m != nil {
|
|
return m.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateEntryResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateEntryResponse) Reset() { *m = UpdateEntryResponse{} }
|
|
func (m *UpdateEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateEntryResponse) ProtoMessage() {}
|
|
func (*UpdateEntryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{11}
|
|
}
|
|
|
|
func (m *UpdateEntryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateEntryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateEntryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UpdateEntryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateEntryResponse.Merge(m, src)
|
|
}
|
|
func (m *UpdateEntryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateEntryResponse.Size(m)
|
|
}
|
|
func (m *UpdateEntryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateEntryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateEntryResponse proto.InternalMessageInfo
|
|
|
|
type DeleteEntryRequest struct {
|
|
Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// bool is_directory = 3;
|
|
IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData,proto3" json:"is_delete_data,omitempty"`
|
|
IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive,proto3" json:"is_recursive,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) Reset() { *m = DeleteEntryRequest{} }
|
|
func (m *DeleteEntryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteEntryRequest) ProtoMessage() {}
|
|
func (*DeleteEntryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{12}
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteEntryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteEntryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteEntryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteEntryRequest.Merge(m, src)
|
|
}
|
|
func (m *DeleteEntryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteEntryRequest.Size(m)
|
|
}
|
|
func (m *DeleteEntryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteEntryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteEntryRequest proto.InternalMessageInfo
|
|
|
|
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) GetIsDeleteData() bool {
|
|
if m != nil {
|
|
return m.IsDeleteData
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *DeleteEntryRequest) GetIsRecursive() bool {
|
|
if m != nil {
|
|
return m.IsRecursive
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteEntryResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteEntryResponse) Reset() { *m = DeleteEntryResponse{} }
|
|
func (m *DeleteEntryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteEntryResponse) ProtoMessage() {}
|
|
func (*DeleteEntryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{13}
|
|
}
|
|
|
|
func (m *DeleteEntryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteEntryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteEntryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteEntryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteEntryResponse.Merge(m, src)
|
|
}
|
|
func (m *DeleteEntryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteEntryResponse.Size(m)
|
|
}
|
|
func (m *DeleteEntryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteEntryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteEntryResponse proto.InternalMessageInfo
|
|
|
|
type AssignVolumeRequest struct {
|
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
|
|
DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) Reset() { *m = AssignVolumeRequest{} }
|
|
func (m *AssignVolumeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignVolumeRequest) ProtoMessage() {}
|
|
func (*AssignVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{14}
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignVolumeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignVolumeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignVolumeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignVolumeRequest.Merge(m, src)
|
|
}
|
|
func (m *AssignVolumeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AssignVolumeRequest.Size(m)
|
|
}
|
|
func (m *AssignVolumeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignVolumeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignVolumeRequest proto.InternalMessageInfo
|
|
|
|
func (m *AssignVolumeRequest) GetCount() int32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) GetCollection() string {
|
|
if m != nil {
|
|
return m.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) GetReplication() string {
|
|
if m != nil {
|
|
return m.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) GetTtlSec() int32 {
|
|
if m != nil {
|
|
return m.TtlSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignVolumeRequest) GetDataCenter() string {
|
|
if m != nil {
|
|
return m.DataCenter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AssignVolumeResponse struct {
|
|
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignVolumeResponse) Reset() { *m = AssignVolumeResponse{} }
|
|
func (m *AssignVolumeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignVolumeResponse) ProtoMessage() {}
|
|
func (*AssignVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{15}
|
|
}
|
|
|
|
func (m *AssignVolumeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignVolumeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignVolumeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignVolumeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignVolumeResponse.Merge(m, src)
|
|
}
|
|
func (m *AssignVolumeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AssignVolumeResponse.Size(m)
|
|
}
|
|
func (m *AssignVolumeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignVolumeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignVolumeResponse proto.InternalMessageInfo
|
|
|
|
func (m *AssignVolumeResponse) GetFileId() string {
|
|
if m != nil {
|
|
return m.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignVolumeResponse) GetUrl() string {
|
|
if m != nil {
|
|
return m.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignVolumeResponse) GetPublicUrl() string {
|
|
if m != nil {
|
|
return m.PublicUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignVolumeResponse) GetCount() int32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LookupVolumeRequest struct {
|
|
VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LookupVolumeRequest) Reset() { *m = LookupVolumeRequest{} }
|
|
func (m *LookupVolumeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupVolumeRequest) ProtoMessage() {}
|
|
func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{16}
|
|
}
|
|
|
|
func (m *LookupVolumeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LookupVolumeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *LookupVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LookupVolumeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LookupVolumeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LookupVolumeRequest.Merge(m, src)
|
|
}
|
|
func (m *LookupVolumeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_LookupVolumeRequest.Size(m)
|
|
}
|
|
func (m *LookupVolumeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LookupVolumeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LookupVolumeRequest proto.InternalMessageInfo
|
|
|
|
func (m *LookupVolumeRequest) GetVolumeIds() []string {
|
|
if m != nil {
|
|
return m.VolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Locations struct {
|
|
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Locations) Reset() { *m = Locations{} }
|
|
func (m *Locations) String() string { return proto.CompactTextString(m) }
|
|
func (*Locations) ProtoMessage() {}
|
|
func (*Locations) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{17}
|
|
}
|
|
|
|
func (m *Locations) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Locations.Unmarshal(m, b)
|
|
}
|
|
func (m *Locations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Locations.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Locations) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Locations.Merge(m, src)
|
|
}
|
|
func (m *Locations) XXX_Size() int {
|
|
return xxx_messageInfo_Locations.Size(m)
|
|
}
|
|
func (m *Locations) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Locations.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Locations proto.InternalMessageInfo
|
|
|
|
func (m *Locations) GetLocations() []*Location {
|
|
if m != nil {
|
|
return m.Locations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Location struct {
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Location) Reset() { *m = Location{} }
|
|
func (m *Location) String() string { return proto.CompactTextString(m) }
|
|
func (*Location) ProtoMessage() {}
|
|
func (*Location) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{18}
|
|
}
|
|
|
|
func (m *Location) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Location.Unmarshal(m, b)
|
|
}
|
|
func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Location.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Location) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Location.Merge(m, src)
|
|
}
|
|
func (m *Location) XXX_Size() int {
|
|
return xxx_messageInfo_Location.Size(m)
|
|
}
|
|
func (m *Location) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Location.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Location proto.InternalMessageInfo
|
|
|
|
func (m *Location) GetUrl() string {
|
|
if m != nil {
|
|
return m.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Location) GetPublicUrl() string {
|
|
if m != nil {
|
|
return m.PublicUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LookupVolumeResponse struct {
|
|
LocationsMap map[string]*Locations `protobuf:"bytes,1,rep,name=locations_map,json=locationsMap,proto3" json:"locations_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LookupVolumeResponse) Reset() { *m = LookupVolumeResponse{} }
|
|
func (m *LookupVolumeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*LookupVolumeResponse) ProtoMessage() {}
|
|
func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{19}
|
|
}
|
|
|
|
func (m *LookupVolumeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LookupVolumeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *LookupVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LookupVolumeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LookupVolumeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LookupVolumeResponse.Merge(m, src)
|
|
}
|
|
func (m *LookupVolumeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_LookupVolumeResponse.Size(m)
|
|
}
|
|
func (m *LookupVolumeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LookupVolumeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LookupVolumeResponse proto.InternalMessageInfo
|
|
|
|
func (m *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
|
|
if m != nil {
|
|
return m.LocationsMap
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteCollectionRequest struct {
|
|
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteCollectionRequest) Reset() { *m = DeleteCollectionRequest{} }
|
|
func (m *DeleteCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteCollectionRequest) ProtoMessage() {}
|
|
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{20}
|
|
}
|
|
|
|
func (m *DeleteCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteCollectionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteCollectionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteCollectionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteCollectionRequest.Merge(m, src)
|
|
}
|
|
func (m *DeleteCollectionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteCollectionRequest.Size(m)
|
|
}
|
|
func (m *DeleteCollectionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteCollectionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteCollectionRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeleteCollectionRequest) GetCollection() string {
|
|
if m != nil {
|
|
return m.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteCollectionResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteCollectionResponse) Reset() { *m = DeleteCollectionResponse{} }
|
|
func (m *DeleteCollectionResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteCollectionResponse) ProtoMessage() {}
|
|
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{21}
|
|
}
|
|
|
|
func (m *DeleteCollectionResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteCollectionResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteCollectionResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteCollectionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteCollectionResponse.Merge(m, src)
|
|
}
|
|
func (m *DeleteCollectionResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteCollectionResponse.Size(m)
|
|
}
|
|
func (m *DeleteCollectionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteCollectionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteCollectionResponse proto.InternalMessageInfo
|
|
|
|
type StatisticsRequest struct {
|
|
Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StatisticsRequest) Reset() { *m = StatisticsRequest{} }
|
|
func (m *StatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*StatisticsRequest) ProtoMessage() {}
|
|
func (*StatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{22}
|
|
}
|
|
|
|
func (m *StatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StatisticsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *StatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StatisticsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StatisticsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StatisticsRequest.Merge(m, src)
|
|
}
|
|
func (m *StatisticsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_StatisticsRequest.Size(m)
|
|
}
|
|
func (m *StatisticsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StatisticsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StatisticsRequest proto.InternalMessageInfo
|
|
|
|
func (m *StatisticsRequest) GetReplication() string {
|
|
if m != nil {
|
|
return m.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StatisticsRequest) GetCollection() string {
|
|
if m != nil {
|
|
return m.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StatisticsRequest) GetTtl() string {
|
|
if m != nil {
|
|
return m.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StatisticsResponse struct {
|
|
Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
|
|
UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
|
|
FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StatisticsResponse) Reset() { *m = StatisticsResponse{} }
|
|
func (m *StatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*StatisticsResponse) ProtoMessage() {}
|
|
func (*StatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1b851e6b82c6fa16, []int{23}
|
|
}
|
|
|
|
func (m *StatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StatisticsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *StatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StatisticsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StatisticsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StatisticsResponse.Merge(m, src)
|
|
}
|
|
func (m *StatisticsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_StatisticsResponse.Size(m)
|
|
}
|
|
func (m *StatisticsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StatisticsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StatisticsResponse proto.InternalMessageInfo
|
|
|
|
func (m *StatisticsResponse) GetReplication() string {
|
|
if m != nil {
|
|
return m.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StatisticsResponse) GetCollection() string {
|
|
if m != nil {
|
|
return m.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StatisticsResponse) GetTtl() string {
|
|
if m != nil {
|
|
return m.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StatisticsResponse) GetTotalSize() uint64 {
|
|
if m != nil {
|
|
return m.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *StatisticsResponse) GetUsedSize() uint64 {
|
|
if m != nil {
|
|
return m.UsedSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *StatisticsResponse) GetFileCount() uint64 {
|
|
if m != nil {
|
|
return m.FileCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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.RegisterMapType((map[string][]byte)(nil), "filer_pb.Entry.ExtendedEntry")
|
|
proto.RegisterType((*EventNotification)(nil), "filer_pb.EventNotification")
|
|
proto.RegisterType((*FileChunk)(nil), "filer_pb.FileChunk")
|
|
proto.RegisterType((*FuseAttributes)(nil), "filer_pb.FuseAttributes")
|
|
proto.RegisterType((*CreateEntryRequest)(nil), "filer_pb.CreateEntryRequest")
|
|
proto.RegisterType((*CreateEntryResponse)(nil), "filer_pb.CreateEntryResponse")
|
|
proto.RegisterType((*UpdateEntryRequest)(nil), "filer_pb.UpdateEntryRequest")
|
|
proto.RegisterType((*UpdateEntryResponse)(nil), "filer_pb.UpdateEntryResponse")
|
|
proto.RegisterType((*DeleteEntryRequest)(nil), "filer_pb.DeleteEntryRequest")
|
|
proto.RegisterType((*DeleteEntryResponse)(nil), "filer_pb.DeleteEntryResponse")
|
|
proto.RegisterType((*AssignVolumeRequest)(nil), "filer_pb.AssignVolumeRequest")
|
|
proto.RegisterType((*AssignVolumeResponse)(nil), "filer_pb.AssignVolumeResponse")
|
|
proto.RegisterType((*LookupVolumeRequest)(nil), "filer_pb.LookupVolumeRequest")
|
|
proto.RegisterType((*Locations)(nil), "filer_pb.Locations")
|
|
proto.RegisterType((*Location)(nil), "filer_pb.Location")
|
|
proto.RegisterType((*LookupVolumeResponse)(nil), "filer_pb.LookupVolumeResponse")
|
|
proto.RegisterMapType((map[string]*Locations)(nil), "filer_pb.LookupVolumeResponse.LocationsMapEntry")
|
|
proto.RegisterType((*DeleteCollectionRequest)(nil), "filer_pb.DeleteCollectionRequest")
|
|
proto.RegisterType((*DeleteCollectionResponse)(nil), "filer_pb.DeleteCollectionResponse")
|
|
proto.RegisterType((*StatisticsRequest)(nil), "filer_pb.StatisticsRequest")
|
|
proto.RegisterType((*StatisticsResponse)(nil), "filer_pb.StatisticsResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("filer.proto", fileDescriptor_1b851e6b82c6fa16) }
|
|
|
|
var fileDescriptor_1b851e6b82c6fa16 = []byte{
|
|
// 1291 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4d, 0x8f, 0xdc, 0x44,
|
|
0x13, 0x8e, 0xe7, 0x2b, 0xe3, 0x9a, 0x99, 0xbc, 0xbb, 0x3d, 0xfb, 0x12, 0x6b, 0xb2, 0x1b, 0x26,
|
|
0x86, 0xa0, 0x8d, 0x88, 0x46, 0x51, 0xe0, 0x90, 0x10, 0x21, 0x91, 0x6c, 0x36, 0x52, 0xa4, 0x4d,
|
|
0x82, 0xbc, 0x09, 0x12, 0xe2, 0x60, 0x79, 0xed, 0x9e, 0xa1, 0xb5, 0x1e, 0x7b, 0x70, 0xb7, 0x37,
|
|
0x09, 0x7f, 0x82, 0x0b, 0x57, 0x0e, 0x9c, 0xf8, 0x17, 0x5c, 0xf8, 0x3f, 0xdc, 0xb9, 0xa1, 0xae,
|
|
0x6e, 0x7b, 0xda, 0x63, 0xef, 0x06, 0x84, 0x72, 0xeb, 0x7e, 0xaa, 0xba, 0xbe, 0xfa, 0xe9, 0x2a,
|
|
0x1b, 0x06, 0x73, 0x16, 0xd3, 0x6c, 0xb6, 0xca, 0x52, 0x91, 0x92, 0x3e, 0x6e, 0xfc, 0xd5, 0x89,
|
|
0xfb, 0x02, 0xae, 0x1d, 0xa5, 0xe9, 0x69, 0xbe, 0x7a, 0xcc, 0x32, 0x1a, 0x8a, 0x34, 0x7b, 0x7b,
|
|
0x98, 0x88, 0xec, 0xad, 0x47, 0x7f, 0xc8, 0x29, 0x17, 0x64, 0x17, 0xec, 0xa8, 0x10, 0x38, 0xd6,
|
|
0xd4, 0xda, 0xb7, 0xbd, 0x35, 0x40, 0x08, 0x74, 0x92, 0x60, 0x49, 0x9d, 0x16, 0x0a, 0x70, 0xed,
|
|
0x1e, 0xc2, 0x6e, 0xb3, 0x41, 0xbe, 0x4a, 0x13, 0x4e, 0xc9, 0x4d, 0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, 0x45, 0x2a,
|
|
0xa5, 0xf1, 0xa7, 0x00, 0xeb, 0x57, 0x47, 0xae, 0xad, 0xcf, 0xd4, 0x5e, 0xfd, 0x64, 0xb7, 0x59,
|
|
0x58, 0x98, 0x7a, 0x74, 0x1d, 0xb6, 0xb8, 0xa2, 0xfe, 0x9c, 0xcf, 0xc2, 0x98, 0xd1, 0x44, 0x3c,
|
|
0x02, 0x7c, 0x05, 0x5f, 0xcb, 0x3f, 0xc7, 0x93, 0x1e, 0xfe, 0x40, 0x7e, 0xf6, 0x77, 0x00, 0x00,
|
|
0x00, 0xff, 0xff, 0x8d, 0x38, 0xa9, 0x9f, 0x4f, 0x0e, 0x00, 0x00,
|
|
}
|
|
|
|
// 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
|
|
|
|
// SeaweedFilerClient is the client API for SeaweedFiler service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
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)
|
|
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)
|
|
}
|
|
|
|
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 := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupDirectoryEntry", in, out, 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 := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/ListEntries", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) {
|
|
out := new(CreateEntryResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/CreateEntry", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) {
|
|
out := new(UpdateEntryResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/UpdateEntry", in, out, 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 := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteEntry", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) AssignVolume(ctx context.Context, in *AssignVolumeRequest, opts ...grpc.CallOption) (*AssignVolumeResponse, error) {
|
|
out := new(AssignVolumeResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/AssignVolume", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
|
|
out := new(LookupVolumeResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/LookupVolume", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) {
|
|
out := new(DeleteCollectionResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/DeleteCollection", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *seaweedFilerClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
|
|
out := new(StatisticsResponse)
|
|
err := c.cc.Invoke(ctx, "/filer_pb.SeaweedFiler/Statistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// SeaweedFilerServer is the server API for SeaweedFiler service.
|
|
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)
|
|
AssignVolume(context.Context, *AssignVolumeRequest) (*AssignVolumeResponse, error)
|
|
LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
|
|
DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
|
|
Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, 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_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateEntryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).CreateEntry(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/CreateEntry",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).CreateEntry(ctx, req.(*CreateEntryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateEntryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).UpdateEntry(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/UpdateEntry",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).UpdateEntry(ctx, req.(*UpdateEntryRequest))
|
|
}
|
|
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)
|
|
}
|
|
|
|
func _SeaweedFiler_AssignVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AssignVolumeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).AssignVolume(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/AssignVolume",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).AssignVolume(ctx, req.(*AssignVolumeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(LookupVolumeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).LookupVolume(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/LookupVolume",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_DeleteCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteCollectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).DeleteCollection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/DeleteCollection",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).DeleteCollection(ctx, req.(*DeleteCollectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _SeaweedFiler_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StatisticsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(SeaweedFilerServer).Statistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/filer_pb.SeaweedFiler/Statistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(SeaweedFilerServer).Statistics(ctx, req.(*StatisticsRequest))
|
|
}
|
|
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: "CreateEntry",
|
|
Handler: _SeaweedFiler_CreateEntry_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateEntry",
|
|
Handler: _SeaweedFiler_UpdateEntry_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteEntry",
|
|
Handler: _SeaweedFiler_DeleteEntry_Handler,
|
|
},
|
|
{
|
|
MethodName: "AssignVolume",
|
|
Handler: _SeaweedFiler_AssignVolume_Handler,
|
|
},
|
|
{
|
|
MethodName: "LookupVolume",
|
|
Handler: _SeaweedFiler_LookupVolume_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteCollection",
|
|
Handler: _SeaweedFiler_DeleteCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "Statistics",
|
|
Handler: _SeaweedFiler_Statistics_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "filer.proto",
|
|
}
|