etcd-batch

command module
v0.2.1 Latest Latest
Warning

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

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

README

WORK IN PROGRESS

ETCD BATCH

Etcd batch can import a json to etcd or dump etcd to a json

Also support file format JSON,

TODO YAML, TOML, envfile

EXAMPLE

import from a json file

etcd-batch apply -f foo.json --prefix ""

dump to a json file

etcd-batch dump -o json --prefix "" > bar.json

flat json file

etcd-batch flat foo.json

Install

Just download from Release page.

Other

This tool is created due to this issue: https://github.com/etcd-io/etcd/issues/8205

Similiar tools: etcdtool but not support for etcd v3.

Documentation

Overview

Copyright © 2019 victor23d <victor6742x@gmail.com> This file is part of {{ .appName }}.

Directories

Path Synopsis
Modified Copyright © 2019 victor23d <victor6742x@gmail.com> This file is part of {{ .appName }}.
Modified Copyright © 2019 victor23d <victor6742x@gmail.com> This file is part of {{ .appName }}.

Jump to

Keyboard shortcuts

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