eskip

command
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

This utility can be used to verify, print, update or delete eskip formatted routes from and to different data sources.

For command line help, enter:

eskip -help

Examples

Check if an eskip file has valid syntax:

eskip check routes.eskip

Print routes stored in etcd:

eskip print -etcd-urls https://etcd.example.org

Print routes as JSON:

eskip print -json

Insert/update routes in etcd from an eskip file:

eskip upsert routes.eskip

Sync routes from an eskip file to etcd:

eskip reset routes.eskip

Delete routes from etcd:

eskip delete -ids route1,route2,route3

Delete all routes from etcd:

eskip print | eskip delete

Copy all routes in etcd under a different prefix:

eskip print | eskip upsert -etcd-prefix /skipper-backup

(Where -etcd-urls is not set for write operations like upsert, reset and delete, the default etcd cluster urls are used: http://127.0.0.1:2379,http://127.0.0.1:4001)

Jump to

Keyboard shortcuts

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