skipper: 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


Check if an eskip file has valid syntax:

eskip check routes.eskip

Print routes stored in etcd:

eskip print -etcd-urls

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:,

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.