mirror of
https://github.com/containers/podman.git
synced 2025-05-23 10:07:33 +08:00

This includes: Implement exec -i and fix some typos in description of -i docs pass failed runtime status to caller Add resize handling for a terminal connection Customize exec systemd-cgroup slice fix healthcheck fix top add --detach-keys Implement podman-remote exec (jhonce) * Cleanup some orphaned code (jhonce) adapt remote exec for conmon exec (pehunt) Fix healthcheck and exec to match docs Introduce two new OCIRuntime errors to more comprehensively describe situations in which the runtime can error Use these different errors in branching for exit code in healthcheck and exec Set conmon to use new api version Signed-off-by: Jhon Honce <jhonce@redhat.com> Signed-off-by: Peter Hunt <pehunt@redhat.com>
19 lines
538 B
Go
19 lines
538 B
Go
//+build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/containers/libpod/libpod/define"
|
|
"k8s.io/client-go/tools/remotecommand"
|
|
)
|
|
|
|
func (c *Container) attach(streams *AttachStreams, keys string, resize <-chan remotecommand.TerminalSize, startContainer bool, started chan bool) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) attachToExec(streams *AttachStreams, keys string, resize <-chan remotecommand.TerminalSize, sessionID string, startFd *os.File, attachFd *os.File) error {
|
|
return define.ErrNotImplemented
|
|
}
|