umohnani8
356df5d18e
Continue switching from libkpod to libpod
...
Refactored rmi, images, diff, and history.
Made fixes to kpod images in the way it was handing the templates as well as printing the image names
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-10-10 11:22:09 -04:00
baude
e27230bbaf
kpod rmi by ID untagged: %name incorrect
...
As described in https://github.com/kubernetes-incubator/cri-o/issues/888 , when
deleting by ID, the name being returned for the untagged message was "".
Signed-off-by: baude <bbaude@redhat.com>
2017-10-04 15:16:10 -05:00
Matthew Heon
00e1ac7b25
Move runtime Pod and Container APIs to separate files
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:18:47 -04:00
Matthew Heon
ae5634f8dd
Add errors listing to libpod
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:18:47 -04:00
Matthew Heon
f8e48aad29
Change names of GetContainers and GetPods
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:16:09 -04:00
Matthew Heon
35e951fc8c
Add basic skeletons of state handling, containers and pods
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:16:09 -04:00
Matthew Heon
2850fb60a5
Add basic state interface for libpod
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:13:11 -04:00
Matthew Heon
ee24340f0c
Make runtimes invalid on shutdown to prevent furhter use
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:13:11 -04:00
Matthew Heon
bb77300641
Move everything in libpod into a single package for simplicity
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-09-28 11:13:11 -04:00
Daniel J Walsh
e70802863e
Switch kpod load/push/save to use libpod runtime
...
Since this is the last use of libpod/images/copy.go,
removing that code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-27 22:33:20 -04:00
Daniel J Walsh
8949e669c9
Modify kpod tag to use libpod runtime interface
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-26 16:14:34 -04:00
baude
951a943d16
libkpod/image/copy.go: Add pull by short-name
...
If the user provides kpod pull a short name like 'debian', we
still want the pull to be sucessful. As such, when a short
name is provided, we get the list of searchable registries via
the systemregistries code in containers-storage. We then
append a tag of 'latest' (if not provided) and we formulate
a list of possible fully-qualified image names to try.
Vendor update for containers-storage to bring in the system_registries
code.
Also includes a patch from Nalin to fix compilation errors.
Signed-off-by: baude <bbaude@redhat.com>
2017-09-14 08:33:10 -05:00
Antonio Murdaca
22f96b1806
fix issue with official images and manifest lits
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-13 19:01:06 +02:00
umohnani8
79c09d4343
Update kpod load and save for oci-archive
...
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-08 10:33:58 -04:00
Daniel J Walsh
9f282717da
Begin converting kpod pull to use libpod/runtime
...
We want to drop brute force mechainism for handling image
movement, this patch experiments with moving kpod pull
to use new libpod interfaces.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-06 19:38:47 +00:00
Daniel J Walsh
e18e962238
Move libkpod/image libkpod/layer to libpod/images and libpod/layers
...
Begin moving image and layer handling out of libkpod into libpod.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-06 19:25:45 +00:00
Matthew Heon
2a121111b5
Add basic skeleton of libpod runtime
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-08-29 13:57:20 -04:00
Matthew Heon
d6eb943075
Move some image functions around
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-08-17 11:47:10 -04:00
Matthew Heon
6be525b9f0
Modify container exec and attach, add image import/export
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-08-17 10:43:24 -04:00
Matthew Heon
bdddb3d36b
Add preliminary libpod image API
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-08-17 10:43:24 -04:00
Matthew Heon
9d56fd8443
Add skeleton of new libpod API
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2017-08-17 10:43:24 -04:00