summaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAge
* podmanv2 pod create using podspecgenBrent Baude2020-03-27
| | | | | | | | 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>
* podmanV2: implement topValentin Rothberg2020-03-27
| | | | | | Implement the `top` command for podmanV2. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* podmanv2 container inspectBrent Baude2020-03-26
| | | | | | add ability to inspect a container Signed-off-by: Brent Baude <bbaude@redhat.com>
* podmanv2 pod subcommandsBrent Baude2020-03-26
| | | | | | add pod kill, pause, restart, rm, start, stop, and unpause Signed-off-by: Brent Baude <bbaude@redhat.com>
* Merge pull request #5573 from mheon/add_basic_exec_endpointsOpenShift Merge Robot2020-03-26
|\ | | | | Implement APIv2 Exec Create and Inspect Endpoints
| * Add bindings for Container Exec Create + InspectMatthew Heon2020-03-26
| | | | | | | | | | | | | | 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>
| * Implement APIv2 Exec Create and Inspect EndpointsMatthew Heon2020-03-23
| | | | | | | | | | | | Start and Resize require further implementation work. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | Merge pull request #5627 from baude/apiv2createnetOpenShift Merge Robot2020-03-26
|\ \ | | | | | | apiv2 add default network in specgen
| * | apiv2 add default network in specgenBrent Baude2020-03-26
| | | | | | | | | | | | | | | | | | | | | | | | when a network is not provided, we should set a default mode based on rootless or rootfull. Fixes: #5366 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5615 from jwhonce/wip/imagesOpenShift Merge Robot2020-03-26
|\ \ \ | |/ / |/| | V2 podman image rm | podman rmi [IMAGE]
| * | V2 podman image rm | podman rmi [IMAGE]Jhon Honce2020-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for rm and rmi commands * Support for registry.ExitCode * Support for N-errors from domain layer * Add log-level support * Add syslog support Signed-off-by: Jhon Honce <jhonce@redhat.com>
| * | V2 podman imageJhon Honce2020-03-25
| | | | | | | | | | | | | | | | | | * Exists() Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | enable linting on v2Brent Baude2020-03-25
|/ / | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5604 from jwhonce/wip/imagesOpenShift Merge Robot2020-03-25
|\ \ | | | | | | V2 podman images/image list
| * | V2 podman images/image listJhon Honce2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | podmanv2 volumesBrent Baude2020-03-24
|/ / | | | | | | | | | | add volume commands: create, inspect, ls, prune, and rm Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Combine GlobalFlags and EngineFlags into EngineOptionsJhon Honce2020-03-24
| | | | | | | | | | | | | | * EngineOptions obtained in command via `opt, err := registry.Options(cmd)` Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | Merge pull request #5589 from giuseppe/rootlessport-use-unixOpenShift Merge Robot2020-03-24
|\ \ | | | | | | rootlessport: use x/sys/unix instead of syscall
| * | rootlessport: use x/sys/unix instead of syscallGiuseppe Scrivano2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | Dup2 is not defined on arm64 in the syscall package. Closes: https://github.com/containers/libpod/issues/5587 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Complete podmanV2 history commandJhon Honce2020-03-24
| | | | | | | | | | | | | | | | | | * All format options now implemented Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #5598 from marusak/doc_commit_endpointOpenShift Merge Robot2020-03-24
|\ \ \ | |/ / |/| | Correctly document libpod commit endpoint
| * | Correctly document libpod commit endpointMatej Marusak2020-03-24
| | | | | | | | | | | | | | | | | | In #5588 it was forgotten and documentation still points to `/commit`. Signed-off-by: Matej Marusak <mmarusak@redhat.com>
* | | Merge pull request #5581 from baude/v2containersOpenShift Merge Robot2020-03-24
|\ \ \ | |/ / |/| | podmanv2 add core container commands
| * | podmanv2 add core container commandsBrent Baude2020-03-22
| | | | | | | | | | | | | | | | | | add core container commands for podmanv2: kill, pause, restart, rm, stop, unpause Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5560 from QiWang19/remote_cedsOpenShift Merge Robot2020-03-23
|\ \ \ | |_|/ |/| | Use creds form PullImage remote
| * | Use creds form PullImage remoteQi Wang2020-03-19
| | | | | | | | | | | | | | | | | | | | | fix #5511 Adds creds argument to PullImage API and Enables podman-remote to pull image with --creds Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | apiv2 container commit for libpodBrent Baude2020-03-23
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #5436 from QiWang19/rm_created_ctrOpenShift Merge Robot2020-03-23
|\ \ \ | | | | | | | | container prune remove state created, configured
| * | | container prune remove state created, configuredQi Wang2020-03-10
| | | | | | | | | | | | | | | | | | | | | | | | podman container prune should remove containers with state Created, Configured to be compatible with docker Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | Merge pull request #5567 from rhatdan/serviceOpenShift Merge Robot2020-03-23
|\ \ \ \ | | | | | | | | | | Add APIV2 service files
| * | | | Add APIV2 service filesDaniel J Walsh2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix issue in pods_test.go Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5552 from giuseppe/rootlessport-handle-sigpipeOpenShift Merge Robot2020-03-22
|\ \ \ \ \ | |_|_|_|/ |/| | | | rootlessport: handle SIGPIPE
| * | | | rootlessport: handle SIGPIPEGiuseppe Scrivano2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when a sigpipe is received the stdout/stderr pipe was closed, so reopen them with /dev/null. Closes: https://github.com/containers/libpod/issues/5541 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | Merge pull request #5579 from mtrmac/macOS-unit-testsOpenShift Merge Robot2020-03-21
|\ \ \ \ \ | | | | | | | | | | | | Make macOS unit tests runnable
| * | | | | Add stubs for pkg/adapter/terminal_linux.goMiloslav Trmač2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
| * | | | | Only run TestGetImageConfigStopSignal on LinuxMiloslav Trmač2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... because the implementation requires Linux-only pkg/signal Signed-off-by: Miloslav Trmač <mitr@redhat.com>
| * | | | | Fix the pkg/specgen/SpecGenerator.getSeccompConfig stubMiloslav Trmač2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | | | | | Merge pull request #5577 from baude/v2volumecreateOpenShift Merge Robot2020-03-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | podmanv2 volume create
| * | | | | | podmanv2 volume createBrent Baude2020-03-20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add volume create Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | Merge pull request #5578 from baude/v2podexistsOpenShift Merge Robot2020-03-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | podmanv2 pod exists
| * | | | | | podmanv2 pod existsBrent Baude2020-03-20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add pod exists for podman v2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | Merge pull request #5555 from mheon/pod_specgenOpenShift Merge Robot2020-03-21
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add basic structure of a spec generator for pods
| * | | | | Add basic structure of a spec generator for podsMatthew Heon2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used for remote creation of pods initially. Signed-off-by: Matthew Heon <mheon@redhat.com>
| * | | | | [CI:DOCS]fix type issue in pod binding testBrent Baude2020-03-20
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | podmanv2 enable remote waitBrent Baude2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enable remote container wait with condition Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | fix remote connection use of contextBrent Baude2020-03-20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | use boolreport for containerexists responseBrent Baude2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the case of exists, use a boolreport structure so that responses can be consistent pointer and error Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | podmanv2 container exists|waitBrent Baude2020-03-20
|/ / / / | | | | | | | | | | | | | | | | | | | | enable container exists and wait for podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5525 from baude/apiv2bindinglogsOpenShift Merge Robot2020-03-19
|\ \ \ \ | | | | | | | | | | apiv2 add bindings for logs|events
| * | | | apiv2 add bindings for logs|eventsBrent Baude2020-03-19
| |/ / / | | | | | | | | | | | | | | | | | | | | add go-bindings for logs and events. tests were also added. Signed-off-by: Brent Baude <bbaude@redhat.com>