summaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/runtime_pod_unsupported.go')
-rw-r--r--libpod/runtime_pod_unsupported.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/libpod/runtime_pod_unsupported.go b/libpod/runtime_pod_unsupported.go
new file mode 100644
index 000000000..b22f151d8
--- /dev/null
+++ b/libpod/runtime_pod_unsupported.go
@@ -0,0 +1,16 @@
+// +build !linux
+
+package libpod
+
+import (
+ "context"
+)
+
+// NewPod makes a new, empty pod
+func (r *Runtime) NewPod(options ...PodCreateOption) (*Pod, error) {
+ return nil, ErrOSNotSupported
+}
+
+func (r *Runtime) RemovePod(ctx context.Context, p *Pod, removeCtrs, force bool) error {
+ return ErrOSNotSupported
+}