filer_pb

package
v0.0.0-...-d8c34b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Entry) GetAttributes

func (m *Entry) GetAttributes() *FuseAttributes

func (*Entry) GetChunks

func (m *Entry) GetChunks() []*FileChunk

func (*Entry) GetExtended

func (m *Entry) GetExtended() map[string][]byte

func (*Entry) GetIsDirectory

func (m *Entry) GetIsDirectory() bool

func (*Entry) GetName

func (m *Entry) GetName() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) String

func (m *Entry) String() string

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) Descriptor() ([]byte, []int)

func (*FileChunk) GetETag

func (m *FileChunk) GetETag() string

func (*FileChunk) GetFid

func (m *FileChunk) GetFid() *FileId

func (*FileChunk) GetFileId

func (m *FileChunk) GetFileId() string

func (*FileChunk) GetFileIdString

func (c *FileChunk) GetFileIdString() string

func (*FileChunk) GetMtime

func (m *FileChunk) GetMtime() int64

func (*FileChunk) GetOffset

func (m *FileChunk) GetOffset() int64

func (*FileChunk) GetSize

func (m *FileChunk) GetSize() uint64

func (*FileChunk) GetSourceFid

func (m *FileChunk) GetSourceFid() *FileId

func (*FileChunk) GetSourceFileId

func (m *FileChunk) GetSourceFileId() string

func (*FileChunk) ProtoMessage

func (*FileChunk) ProtoMessage()

func (*FileChunk) Reset

func (m *FileChunk) Reset()

func (*FileChunk) String

func (m *FileChunk) String() string

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) Descriptor() ([]byte, []int)

func (*FileId) GetCookie

func (m *FileId) GetCookie() uint32

func (*FileId) GetFileKey

func (m *FileId) GetFileKey() uint64

func (*FileId) GetVolumeId

func (m *FileId) GetVolumeId() uint32

func (*FileId) ProtoMessage

func (*FileId) ProtoMessage()

func (*FileId) Reset

func (m *FileId) Reset()

func (*FileId) String

func (m *FileId) String() string

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) Descriptor() ([]byte, []int)

func (*FullEntry) GetDir

func (m *FullEntry) GetDir() string

func (*FullEntry) GetEntry

func (m *FullEntry) GetEntry() *Entry

func (*FullEntry) ProtoMessage

func (*FullEntry) ProtoMessage()

func (*FullEntry) Reset

func (m *FullEntry) Reset()

func (*FullEntry) String

func (m *FullEntry) String() string

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

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

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) Descriptor() ([]byte, []int)

func (*Location) GetPublicUrl

func (m *Location) GetPublicUrl() string

func (*Location) GetUrl

func (m *Location) GetUrl() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) String

func (m *Location) String() string

type Locations

type Locations struct {
	Locations []*Location `protobuf:"bytes,1,rep,name=locations" json:"locations,omitempty"`
}

func (*Locations) Descriptor

func (*Locations) Descriptor() ([]byte, []int)

func (*Locations) GetLocations

func (m *Locations) GetLocations() []*Location

func (*Locations) ProtoMessage

func (*Locations) ProtoMessage()

func (*Locations) Reset

func (m *Locations) Reset()

func (*Locations) String

func (m *Locations) String() string

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

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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL