Add push object

Split resolver to only return a name with separate methods
for getting a fetcher and pusher. Add implementation for
push.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-05-16 13:08:06 -07:00
parent 8f3b89c79d
commit 735b0e515e
12 changed files with 590 additions and 209 deletions

1
cmd/dist/main.go vendored
View File

@@ -77,6 +77,7 @@ distribution tool
fetchObjectCommand,
applyCommand,
rootfsCommand,
pushObjectCommand,
}
app.Before = func(context *cli.Context) error {
timeout = context.GlobalDuration("timeout")