Documentation ¶
Index ¶
- Constants
- type EtcdStore
- func (store *EtcdStore) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *EtcdStore) CommitTransaction(ctx context.Context) error
- func (store *EtcdStore) DeleteEntry(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *EtcdStore) DeleteFolderChildren(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *EtcdStore) FindEntry(ctx context.Context, fullpath weed_util.FullPath) (entry *filer.Entry, err error)
- func (store *EtcdStore) GetName() string
- func (store *EtcdStore) Initialize(configuration weed_util.Configuration, prefix string) (err error)
- func (store *EtcdStore) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)
- func (store *EtcdStore) KvDelete(ctx context.Context, key []byte) (err error)
- func (store *EtcdStore) KvGet(ctx context.Context, key []byte) (value []byte, err error)
- func (store *EtcdStore) KvPut(ctx context.Context, key []byte, value []byte) (err error)
- func (store *EtcdStore) ListDirectoryEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *EtcdStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *EtcdStore) RollbackTransaction(ctx context.Context) error
- func (store *EtcdStore) Shutdown()
- func (store *EtcdStore) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)
Constants ¶
View Source
const (
DIR_FILE_SEPARATOR = byte(0x00)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdStore ¶
type EtcdStore struct {
// contains filtered or unexported fields
}
func (*EtcdStore) BeginTransaction ¶
func (*EtcdStore) CommitTransaction ¶
func (*EtcdStore) DeleteEntry ¶
func (*EtcdStore) DeleteFolderChildren ¶
func (*EtcdStore) Initialize ¶
func (store *EtcdStore) Initialize(configuration weed_util.Configuration, prefix string) (err error)
func (*EtcdStore) InsertEntry ¶
func (*EtcdStore) ListDirectoryEntries ¶
func (*EtcdStore) ListDirectoryPrefixedEntries ¶
func (*EtcdStore) RollbackTransaction ¶
Click to show internal directories.
Click to hide internal directories.