etcddir

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2015 License: MIT Imports: 11 Imported by: 0

README

File-system cross-platform interface for etcd.

It isn't production ready and use myself for simple interface for etcd under windows, where I can't use etcd-fuse https://github.com/xetorthio/etcd-fs

For usage:

  1. download binary or compile sources
  2. create directory for sync with etcd
  3. create MARK-file .ETCDIR_MARK_FILE_HUGSDBDND in the directory
  4. run etcdir <PATH_TO_DIRECTORY_WITH_MARK_FILE>

example:

mkdir c:\\tmp\\etcdir
echo > c:\\tmp\\etcdir\\.ETCDIR_MARK_FILE_HUGSDBDND
etcdir c:\\tmp\\etcdir

The mark-file need for prevent fatal-error: etcdir REMOVE ALL CONTENTS from synced dir when start and replace it from etcd.

Now it work only with default etcd: http://127.0.0.1:4001 without authentication - for work with local server. If you need normal authenticate mode - write me or create pull request.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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