summaryrefslogtreecommitdiff
path: root/pkg/adapter/terminal_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/adapter/terminal_unsupported.go')
-rw-r--r--pkg/adapter/terminal_unsupported.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/pkg/adapter/terminal_unsupported.go b/pkg/adapter/terminal_unsupported.go
deleted file mode 100644
index 3009f0a38..000000000
--- a/pkg/adapter/terminal_unsupported.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// +build !linux
-
-package adapter
-
-import (
- "context"
- "os"
-
- "github.com/containers/libpod/libpod"
- "github.com/containers/libpod/libpod/define"
-)
-
-// ExecAttachCtr execs and attaches to a container
-func ExecAttachCtr(ctx context.Context, ctr *libpod.Container, tty, privileged bool, env map[string]string, cmd []string, user, workDir string, streams *libpod.AttachStreams, preserveFDs uint, detachKeys string) (int, error) {
- return -1, define.ErrNotImplemented
-}
-
-// StartAttachCtr starts and (if required) attaches to a container
-// if you change the signature of this function from os.File to io.Writer, it will trigger a downstream
-// error. we may need to just lint disable this one.
-func StartAttachCtr(ctx context.Context, ctr *libpod.Container, stdout, stderr, stdin *os.File, detachKeys string, sigProxy bool, startContainer bool, recursive bool) error { //nolint-interfacer
- return define.ErrNotImplemented
-}