OpenShift Merge Robot
11c8b01e1d
Merge pull request #5739 from jwhonce/wip/diff
...
V2 Podman diff(changes) support
2020-04-07 21:49:24 +02:00
Jhon Honce
8ae28a55ac
V2 podman diff(changes) support
...
* Ported CLI command
* Added API endpoint
* Added bindings
* Updated swagger (TODO: n endpoints, one handler)
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-04-07 09:39:46 -07:00
Brent Baude
013ecca895
podmanv2 info
...
add ability to run info for v2
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-07 07:15:09 -05:00
OpenShift Merge Robot
843fa25890
Merge pull request #5716 from baude/v2ps
...
podmanv2 ps
2020-04-06 22:04:16 +02:00
Brent Baude
e20ecc733c
refactor info
...
the current implementation of info, while typed, is very loosely done so. we need stronger types for our apiv2 implmentation and bindings.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-06 12:45:42 -05:00
Brent Baude
b22254dc8b
podmanv2 ps
...
add the ability to list containers
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-06 12:12:59 -05:00
OpenShift Merge Robot
ba64186750
Merge pull request #5689 from sujil02/v2-pod-inspect
...
podmanv2 pod inspect
2020-04-06 15:23:19 +02:00
OpenShift Merge Robot
35f5867833
Merge pull request #5672 from baude/v2save
...
podmanv2 save image
2020-04-03 22:41:18 +02:00
Brent Baude
837aad724f
podmanv2 save image
...
add ability to save an image for podman v2
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-03 13:07:35 -05:00
OpenShift Merge Robot
64cade0f71
Merge pull request #5638 from baude/v2containercheck
...
podmanv2 checkpoint and restore
2020-04-03 20:05:30 +02:00
Brent Baude
8a16674722
podmanv2 checkpoint and restore
...
add the ability to checkpoint and restore containers on v2podman
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-03 09:32:06 -05:00
Valentin Rothberg
44a515015c
podmanV2: implement push
...
* Implement `podman-push` and `podman-image-push` for the podmanV2
client.
* Tests for `pkg/bindings` are not possible at the time of writing as we
don't have a local registry running.
* Implement `/images/{name}/push` compat endpoint. Tests are not
implemented for this v2 endpoint. It has been tested manually.
General note: The auth config extraction from the http header is not
implement for push. Since it's not yet supported for other endpoints
either, I deferred it to future work.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-04-02 17:01:32 +02:00
OpenShift Merge Robot
82610d657d
Merge pull request #5688 from baude/v2import
...
podmanv2 import
2020-04-02 14:20:57 +02:00
Brent Baude
bb39051616
podmanv2 export
...
add ability to export a container to a tarball
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-01 16:02:53 -05:00
Brent Baude
0433081983
podmanv2 import
...
add the ability to import a container image from a container export
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-01 15:56:26 -05:00
Brent Baude
8500ce6b9a
podmanv2 load
...
enable podman load for v2
add reexec into main
add systemd build flag to v2 makefile
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-04-01 14:10:57 -05:00
Sujil02
7cbc09971a
podmanv2 pod inspect
...
Add the ability to inspect pod in podmanv2
Signed-off-by: Sujil02 <sushah@redhat.com >
2020-04-01 15:10:49 -04:00
Jhon Honce
46e3b2efb8
V2 podman inspect
...
* Expose podman container inspect
* Expose podman image inspect
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-04-01 08:07:43 -07:00
Brent Baude
26644d7cb8
podman v2 image tag and untag
...
add the ability to tag and untag images in podmanv2
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-31 19:36:26 -05:00
OpenShift Merge Robot
6e8f6cab60
Merge pull request #5675 from vrothberg/v2-pull
...
podmanV2: implement pull
2020-03-31 21:12:49 +02:00
Valentin Rothberg
3bdad6fa2a
podmanV2: implement pull
...
Implement pulling images for the v2 client. What I _really_ don't like
is the fact that we are now having a near identical code clone among
`pkg/domain/infra/abi` and `pkg/api/handlers/libpod`. Partly because we
don't yet have a higher-level pull function and partly because we have
redudancy among `pkg/domain` and `pkg/api`. Pull might be a high
outlier but I am concerned already by the potential of introducing more
redundancy. I'd love to `infra/abi` and `pkg/abi` to really use the
same code in the future.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-03-31 13:01:27 +02:00
Valentin Rothberg
9812804f75
podmanv2: implement pod top
...
Implement `podman pod top` for podmanV2.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-03-28 17:32:22 +01:00
OpenShift Merge Robot
2c5c198020
Merge pull request #5632 from jwhonce/wip/images
...
V2 podman image prune
2020-03-27 18:47:51 +01:00
Brent Baude
e56d529561
podmanv2 pod create using podspecgen
...
using the factory approach similar to container, we now create pods based on a pod spec generator. wired up the podmanv2 pod create command, podcreatewithspec binding, simple binding test, and apiv2 endpoint.
also included some code refactoring as it introduced as easy circular import.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-27 09:04:10 -05:00
Valentin Rothberg
500a2d508b
podmanV2: implement top
...
Implement the `top` command for podmanV2.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2020-03-27 09:14:01 +01:00
Jhon Honce
581dd312af
V2 podman image prune
...
* Fixed header for `podman image ls`
* Implemented prune `all` flag, preserved filter method for backwards
capability
* Updated binding tests
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-03-26 18:32:44 -07:00
Brent Baude
2fa78938a9
podmanv2 container inspect
...
add ability to inspect a container
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-26 15:54:26 -05:00
Brent Baude
c5ce210f7d
podmanv2 pod subcommands
...
add pod kill, pause, restart, rm, start, stop, and unpause
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-26 14:14:05 -05:00
OpenShift Merge Robot
913426c70c
Merge pull request #5573 from mheon/add_basic_exec_endpoints
...
Implement APIv2 Exec Create and Inspect Endpoints
2020-03-26 20:10:08 +01:00
Matthew Heon
e42cbdd1b2
Add bindings for Container Exec Create + Inspect
...
Also adds some basic tests for these two. More tests are needed
but will have to wait for state to be finished.
Signed-off-by: Matthew Heon <matthew.heon@pm.me >
2020-03-26 13:33:33 -04:00
OpenShift Merge Robot
69b011d3ac
Merge pull request #5604 from jwhonce/wip/images
...
V2 podman images/image list
2020-03-25 01:26:21 +01:00
Jhon Honce
1d7cb7cc48
V2 podman images/image list
...
* Updated entities to support flags/options
* Updated bindings caused by entities changes
* Removed handlers.ImageSummary in favor of entities.ImageSummary
* Introduced StringSet() container object to simply error checking
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-03-24 16:06:01 -07:00
Brent Baude
ae614920bf
podmanv2 volumes
...
add volume commands: create, inspect, ls, prune, and rm
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-24 16:03:49 -05:00
OpenShift Merge Robot
3dbf2cb5af
Merge pull request #5581 from baude/v2containers
...
podmanv2 add core container commands
2020-03-24 13:12:06 +01:00
Brent Baude
12e78155e1
apiv2 container commit for libpod
...
add an endpoint for a libpod specific commit. add the abilility to define the format. also update documentation accordingly.
Fixes : #5586
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-23 14:14:17 -05:00
OpenShift Merge Robot
72a2011cb1
Merge pull request #5567 from rhatdan/service
...
Add APIV2 service files
2020-03-23 11:42:22 +01:00
Brent Baude
9536560b4f
podmanv2 add core container commands
...
add core container commands for podmanv2: kill, pause, restart, rm, stop, unpause
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-22 13:24:45 -05:00
Brent Baude
c3a9ff1174
podmanv2 volume create
...
add volume create
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-20 18:27:08 -05:00
Brent Baude
c81e065149
podmanv2 enable remote wait
...
enable remote container wait with condition
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-20 14:33:33 -05:00
Brent Baude
87293028e6
podmanv2 container exists|wait
...
enable container exists and wait for podmanv2
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-20 12:54:45 -05:00
Daniel J Walsh
8ab686f0e0
Add APIV2 service files
...
Also fix issue in pods_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2020-03-20 09:09:42 -04:00
OpenShift Merge Robot
d927b43350
Merge pull request #5525 from baude/apiv2bindinglogs
...
apiv2 add bindings for logs|events
2020-03-19 23:49:44 +01:00
OpenShift Merge Robot
093d9ef673
Merge pull request #5546 from jwhonce/wip/entities
...
V2 podman command
2020-03-19 18:19:43 +01:00
OpenShift Merge Robot
1be6178915
Merge pull request #5445 from sujil02/podFilter-new
...
Filter pods through pod list api
2020-03-19 15:50:50 +01:00
Brent Baude
d1c26af144
apiv2 add bindings for logs|events
...
add go-bindings for logs and events. tests were also added.
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-19 09:38:00 -05:00
Jhon Honce
fbe743501e
V2 podman command
...
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-03-18 16:41:12 -07:00
Jhon Honce
651ddd3560
Reduce CPU usage when --timeout=0
...
* Add second go routine for when a Timer is not needed.
* goimports updated some project files
Fixes #5531
Signed-off-by: Jhon Honce <jhonce@redhat.com >
2020-03-18 10:27:25 -07:00
Sujil02
15326f051d
Filter pods through pod list api
...
Refactored current filter pods flow through the shared pod functions
so filter pod functionalities can be shared between api and cmd.
Signed-off-by: Sujil02 <sushah@redhat.com >
2020-03-17 17:46:20 -04:00
OpenShift Merge Robot
9ef5d28759
Merge pull request #5449 from baude/manifests
...
apiv2 addition of manifests
2020-03-17 16:00:05 +01:00
Brent Baude
abbbeacd68
apiv2 addition of manifests
...
add endpoints for create, add, remove, inspect, and push. this allows manifests to be managed through the restful interfaces.
also added go-bindings and tests
Signed-off-by: Brent Baude <bbaude@redhat.com >
2020-03-16 10:03:55 -05:00