skipper: github.com/zalando/skipper/cmd/eskip Files

Command eskip

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)

Package Files

args.go doc.go eskip.go load.go media.go mediadefaults.go readclient.go write.go writeclient.go

Package main imports 15 packages (graph). Updated 2019-01-09. Refresh now. Tools for package owners.