diff options
author | Matthew Heon <matthew.heon@pm.me> | 2022-05-26 14:33:48 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-05-26 14:57:08 -0400 |
commit | ea1a8e24320eb9cd12b73d3ea7446e35d6cd23a5 (patch) | |
tree | 97e61b860283fb8f4f8ef8a5c719f9e6b41ae1fd /contrib | |
parent | 819e5bcb943c6f604fdc65be1c0387055e0a9f20 (diff) | |
download | podman-ea1a8e24320eb9cd12b73d3ea7446e35d6cd23a5.tar.gz podman-ea1a8e24320eb9cd12b73d3ea7446e35d6cd23a5.tar.bz2 podman-ea1a8e24320eb9cd12b73d3ea7446e35d6cd23a5.zip |
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>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions