summaryrefslogtreecommitdiff
path: root/libpod/oci_attach_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/oci_attach_unsupported.go')
-rw-r--r--libpod/oci_attach_unsupported.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/libpod/oci_attach_unsupported.go b/libpod/oci_attach_unsupported.go
new file mode 100644
index 000000000..987d2c973
--- /dev/null
+++ b/libpod/oci_attach_unsupported.go
@@ -0,0 +1,18 @@
+//+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
+}