Documentation ¶
Index ¶
- type PostgresConf
- type PostgresStore
- func (s *PostgresStore) Close()
- func (s *PostgresStore) CreateFile(fullFileName string, fid string) (err error)
- func (s *PostgresStore) Delete(fullFilePath string) (err error)
- func (s *PostgresStore) DeleteDir(dirPath string, recursive bool) (err error)
- func (s *PostgresStore) DeleteDirectory(dirPath string, recursive bool) (err error)
- func (s *PostgresStore) DeleteFile(fullFileName string) (fid string, err error)
- func (s *PostgresStore) FindDir(dirPath string) (dirId filer.DirectoryId, err error)
- func (s *PostgresStore) FindDirectory(dirPath string) (dirId filer.DirectoryId, err error)
- func (s *PostgresStore) FindFile(fullFileName string) (fid string, err error)
- func (s *PostgresStore) FindFiles(dirPath string, lastFileName string, limit int) (files []filer.FileEntry, err error)
- func (s *PostgresStore) Get(fullFilePath string) (fid string, err error)
- func (s *PostgresStore) ListDirectories(dirPath string) (dirs []filer.DirectoryEntry, err error)
- func (s *PostgresStore) ListDirs(dirPath string) (dirs []filer.DirectoryEntry, err error)
- func (s *PostgresStore) ListFiles(dirPath string, lastFileName string, limit int) (files []filer.FileEntry, err error)
- func (s *PostgresStore) Move(fromPath string, toPath string) (err error)
- func (s *PostgresStore) Put(fullFilePath string, fid string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresConf ¶
type PostgresStore ¶
type PostgresStore struct {
// contains filtered or unexported fields
}
func NewPostgresStore ¶
func NewPostgresStore(master string, conf PostgresConf) *PostgresStore
func NewPostgresStore(master string, confs []PostgresConf, isSharding bool, shardCount int) *PostgresStore {
func (*PostgresStore) Close ¶
func (s *PostgresStore) Close()
func (*PostgresStore) CreateFile ¶
func (s *PostgresStore) CreateFile(fullFileName string, fid string) (err error)
func (*PostgresStore) Delete ¶
func (s *PostgresStore) Delete(fullFilePath string) (err error)
func (*PostgresStore) DeleteDir ¶
func (s *PostgresStore) DeleteDir(dirPath string, recursive bool) (err error)
func (*PostgresStore) DeleteDirectory ¶
func (s *PostgresStore) DeleteDirectory(dirPath string, recursive bool) (err error)
func (*PostgresStore) DeleteFile ¶
func (s *PostgresStore) DeleteFile(fullFileName string) (fid string, err error)
func (*PostgresStore) FindDir ¶
func (s *PostgresStore) FindDir(dirPath string) (dirId filer.DirectoryId, err error)
func (*PostgresStore) FindDirectory ¶
func (s *PostgresStore) FindDirectory(dirPath string) (dirId filer.DirectoryId, err error)
func (*PostgresStore) FindFile ¶
func (s *PostgresStore) FindFile(fullFileName string) (fid string, err error)
func (*PostgresStore) Get ¶
func (s *PostgresStore) Get(fullFilePath string) (fid string, err error)
func (*PostgresStore) ListDirectories ¶
func (s *PostgresStore) ListDirectories(dirPath string) (dirs []filer.DirectoryEntry, err error)
func (*PostgresStore) ListDirs ¶
func (s *PostgresStore) ListDirs(dirPath string) (dirs []filer.DirectoryEntry, err error)
Click to show internal directories.
Click to hide internal directories.