Skip to content

Add push object#886

Merged
stevvooe merged 1 commit intocontainerd:masterfrom
dmcgowan:pusher
May 24, 2017
Merged

Add push object#886
stevvooe merged 1 commit intocontainerd:masterfrom
dmcgowan:pusher

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

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

There will be a couple follow ups to this PR.

  • Handler for pushing a manifest and a manifest's contents
  • Implementation of registry uploaded using content.Ingester interface.

@dmcgowan dmcgowan force-pushed the pusher branch 2 times, most recently from 5fee084 to daa9d59 Compare May 22, 2017 23:45
Comment thread cmd/dist/pushobject.go Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: pushes an object to a remote?

Comment thread remotes/resolver.go Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to keep the existing naming in place.

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 <[email protected]>
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #886 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #886   +/-   ##
=======================================
  Coverage   59.55%   59.55%           
=======================================
  Files           5        5           
  Lines         759      759           
=======================================
  Hits          452      452           
  Misses        199      199           
  Partials      108      108

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f3b89c...735b0e5. Read the comment docs.

@stevvooe
Copy link
Copy Markdown
Member

LGTM

@stevvooe stevvooe merged commit 17033dc into containerd:master May 24, 2017
@dmcgowan dmcgowan deleted the pusher branch May 30, 2017 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants