automation-tests/pkg
Matthew Heon 118e78c5d6 Add structure for new exec session tracking to DB
As part of the rework of exec sessions, we need to address them
independently of containers. In the new API, we need to be able
to fetch them by their ID, regardless of what container they are
associated with. Unfortunately, our existing exec sessions are
tied to individual containers; there's no way to tell what
container a session belongs to and retrieve it without getting
every exec session for every container.

This adds a pointer to the container an exec session is
associated with to the database. The sessions themselves are
still stored in the container.

Exec-related APIs have been restructured to work with the new
database representation. The originally monolithic API has been
split into a number of smaller calls to allow more fine-grained
control of lifecycle. Support for legacy exec sessions has been
retained, but in a deprecated fashion; we should remove this in
a few releases.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-18 11:02:14 -04:00
..
adapter Add structure for new exec session tracking to DB 2020-03-18 11:02:14 -04:00
annotations Add `ContainerManager` annotation to created containers 2019-09-10 09:37:14 +02:00
api Merge pull request #5449 from baude/manifests 2020-03-17 16:00:05 +01:00
apparmor golangci: enable goimports 2020-03-05 20:03:44 +01:00
bindings Merge pull request #5449 from baude/manifests 2020-03-17 16:00:05 +01:00
cgroups update systemd & dbus dependencies 2020-03-10 18:34:55 +01:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
env Merge pull request #5381 from vrothberg/ENVFIX 2020-03-04 13:26:48 -05:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks golangci: enable goimports 2020-03-05 20:03:44 +01:00
inspect consolidate env handling into pkg/env 2020-03-03 11:47:24 +01:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup golangci: enable goimports 2020-03-05 20:03:44 +01:00
namespaces namespaces: by default create cgroupns on cgroups v2 2019-11-05 17:29:01 +01:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network network create should use firewall plugin 2020-02-27 14:39:31 -06:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf use storage/pkg/ioutils 2020-03-09 09:03:51 +01:00
rootless Merge pull request #5324 from giuseppe/fix-running-no-pause 2020-02-25 21:16:26 +01:00
rootlessport rootlessport: detect rootless-child exit 2020-03-12 11:39:13 +01:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
signal add pkg/signal 2020-02-14 15:04:14 +01:00
spec Fix spelling mistakes in code found by codespell 2020-03-07 10:30:44 -05:00
specgen add default network for apiv2 create 2020-03-06 14:31:45 -06:00
sysinfo Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
systemd fix systemd generate tests 2020-03-16 16:39:27 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust codespell: spelling corrections 2019-11-13 08:15:00 +11:00
util Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
varlinkapi Add structure for new exec session tracking to DB 2020-03-18 11:02:14 -04:00