spiegel_podman/libpod
Matthew Heon 15040dc708 Move Attach under the OCI Runtime interface
With conmon-rs on the horizon, we need to disentangle Libpod from
legacy Conmon to the greatest extent possible. There are
definitely opportunities for codesharing between the two, but we
have to assume the implementations will be largely disjoint given
the different architectures.

Fortunately, most of the work has already been done in the past.
The conmon-managed OCI runtime mostly sits behind an interface,
with a few exceptions - the most notable of those being attach.
This PR thus moves Attach behind the interface, to ensure that we
can have attach implementations that don't use our existing unix
socket streaming if necessary.

Still to-do is conmon cleanup. There's a lot of code that removes
Conmon-specific files, or kills the Conmon PID, and all of it
will need to be refactored behind the interface.

[NO NEW TESTS NEEDED] Just moving some things around.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2022-06-14 16:12:10 -04:00
..
common fix a number of godot issues 2022-03-22 13:04:35 +01:00
define Fix swagger model of InspectPodResponse 2022-06-14 14:33:16 -04:00
driver bump go module to version 4 2022-01-18 12:47:07 +01:00
events auto update: create an event 2022-06-14 13:50:03 -04:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
linkmode go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
lock replace golint with revive linter 2022-04-22 15:12:33 +02:00
logs enable gocritic linter 2022-04-26 18:12:22 +02:00
plugin bump go module to version 4 2022-01-18 12:47:07 +01:00
shutdown Fix CI flake on time of shutdown for API service 2021-10-12 09:53:19 -07:00
boltdb_state.go Instead of erroring, clean up after dangling IDs in DB 2022-06-14 13:56:42 -04:00
boltdb_state_internal.go libpod: unset networks before storing container conf 2022-05-03 13:49:56 -04:00
boltdb_state_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
common_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
container.go fix: Container.cGroupPath() skip empty line to avoid false error logging 2022-06-14 13:11:47 -04:00
container_api.go Move Attach under the OCI Runtime interface 2022-06-14 16:12:10 -04:00
container_commit.go container-commit: support --squash to squash layers into one 2022-02-23 17:38:28 +05:30
container_config.go fix podman container restore without CreateNetNS 2022-06-14 14:38:23 -04:00
container_copy_linux.go enable errcheck linter 2022-05-03 13:44:33 -04:00
container_exec.go enable gocritic linter 2022-04-26 18:12:22 +02:00
container_graph.go bump go module to version 4 2022-01-18 12:47:07 +01:00
container_graph_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
container_inspect.go enable staticcheck linter 2022-04-22 12:51:29 +02:00
container_internal.go Merge pull request #13973 from Luap99/linter-revive 2022-04-23 06:32:41 -04:00
container_internal_linux.go Support running podman under a root v2 cgroup 2022-06-14 14:26:55 -04:00
container_internal_linux_test.go enable unparam linter 2022-04-25 13:23:20 +02:00
container_internal_test.go Refactor container config 2020-07-23 10:18:14 -04:00
container_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_log.go Add option for pod logs to display different colors per container. 2022-03-29 17:29:13 +02:00
container_log_linux.go Fix --tail log on restart problem 2022-04-13 14:07:15 -04:00
container_log_unsupported.go Add option for pod logs to display different colors per container. 2022-03-29 17:29:13 +02:00
container_path_resolution.go document that using libpod package directly is not supported 2022-03-23 19:05:29 +01:00
container_stat_linux.go enable gocritic linter 2022-04-26 18:12:22 +02:00
container_top_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_validate.go bump go module to version 4 2022-01-18 12:47:07 +01:00
diff.go bump go module to version 4 2022-01-18 12:47:07 +01:00
doc.go document that using libpod package directly is not supported 2022-03-23 19:05:29 +01:00
events.go auto update: create an event 2022-06-14 13:50:03 -04:00
healthcheck.go healthcheck, libpod: Read healthcheck event output from os pipe 2022-02-04 21:15:03 +05:30
healthcheck_linux.go healthcheck: wait for systemd operations 2022-06-14 16:12:10 -04:00
info.go Robust whitespace split of cpu utilization line from /proc/stat 2022-06-14 13:23:49 -04:00
info_test.go Robust whitespace split of cpu utilization line from /proc/stat 2022-06-14 13:23:49 -04:00
kube.go Use containers/common/pkg/util.StringToSlice 2022-06-14 14:25:33 -04:00
mounts_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
networking_linux.go podman stats: work with network connect/disconnect 2022-06-14 16:12:10 -04:00
networking_linux_test.go enable unparam linter 2022-04-25 13:23:20 +02:00
networking_machine.go enable gocritic linter 2022-04-26 18:12:22 +02:00
networking_slirp4netns.go enable gocritic linter 2022-04-26 18:12:22 +02:00
oci.go Move Attach under the OCI Runtime interface 2022-06-14 16:12:10 -04:00
oci_conmon.go podman: add new cgroup mode split 2020-06-25 17:16:12 +02:00
oci_conmon_attach_linux.go Move Attach under the OCI Runtime interface 2022-06-14 16:12:10 -04:00
oci_conmon_exec_linux.go play kube log tag handling 2022-06-14 13:08:53 -04:00
oci_conmon_linux.go sdnotify: send MAINPID only once 2022-06-14 13:18:52 -04:00
oci_missing.go Move Attach under the OCI Runtime interface 2022-06-14 16:12:10 -04:00
oci_util.go bump go module to version 4 2022-01-18 12:47:07 +01:00
options.go Use containers/common/pkg/util.StringToSlice 2022-06-14 14:25:33 -04:00
pod.go remove unused codepath for creating/running ctr in a pod 2022-05-03 13:43:12 -04:00
pod_api.go Report properly whether pod shares host network 2022-05-03 13:39:17 -04:00
pod_internal.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_status.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_top_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
reset.go system prune: remove all networks 2022-02-03 13:14:07 +01:00
runtime.go auto update: create an event 2022-06-14 13:50:03 -04:00
runtime_cstorage.go Remove the runtime lock 2022-02-22 11:05:26 -05:00
runtime_ctr.go Use containers/common/pkg/util.StringToSlice 2022-06-14 14:25:33 -04:00
runtime_img.go Remove the runtime lock 2022-02-22 11:05:26 -05:00
runtime_migrate.go enable unparam linter 2022-04-25 13:23:20 +02:00
runtime_pod.go Use containers/common/pkg/util.StringToSlice 2022-06-14 14:25:33 -04:00
runtime_pod_linux.go libpod: unlock containers when removing pod 2022-05-03 13:43:59 -04:00
runtime_renumber.go auto update: create an event 2022-06-14 13:50:03 -04:00
runtime_volume.go Remove the runtime lock 2022-02-22 11:05:26 -05:00
runtime_volume_linux.go volume: add new option -o o=noquota 2022-05-03 13:36:00 -04:00
state.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
state_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
stats.go podman stats: improve cpu average calc 2022-03-22 17:44:58 +01:00
storage.go bump go module to version 4 2022-01-18 12:47:07 +01:00
util.go enable errcheck linter 2022-05-03 13:44:33 -04:00
util_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
util_linux_test.go Fix mismatch between log messages and behavior of libpod.LabelVolumePath. 2020-09-13 23:24:15 -04:00
util_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume.go volume: add new option -o o=noquota 2022-05-03 13:36:00 -04:00
volume_inspect.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_internal.go volume: add new option -o o=noquota 2022-05-03 13:36:00 -04:00
volume_internal_linux.go Add podman volume mount support 2022-02-28 14:26:22 -05:00