Copy copies a remote image or index from src to dst.
(src, dst string, opts ...Option)
| 62 | |
| 63 | // Copy copies a remote image or index from src to dst. |
| 64 | func Copy(src, dst string, opts ...Option) error { |
| 65 | o := makeOptions(opts...) |
| 66 | // Just reuse crane's copy logic with gcrane's credential logic. |
| 67 | return crane.Copy(src, dst, o.crane...) |
| 68 | } |
| 69 | |
| 70 | // CopyRepository copies everything from the src GCR repository to the |
| 71 | // dst GCR repository. |
searching dependent graphs…