aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/namespaces_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/specgen/generate/namespaces_unsupported.go')
-rw-r--r--pkg/specgen/generate/namespaces_unsupported.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/specgen/generate/namespaces_unsupported.go b/pkg/specgen/generate/namespaces_unsupported.go
new file mode 100644
index 000000000..c4a9c22d8
--- /dev/null
+++ b/pkg/specgen/generate/namespaces_unsupported.go
@@ -0,0 +1,16 @@
+//go:build !linux && !freebsd
+// +build !linux,!freebsd
+
+package generate
+
+import (
+ "errors"
+
+ "github.com/containers/podman/v4/libpod"
+ "github.com/containers/podman/v4/pkg/specgen"
+ "github.com/opencontainers/runtime-tools/generate"
+)
+
+func specConfigureNamespaces(s *specgen.SpecGenerator, g *generate.Generator, rt *libpod.Runtime, pod *libpod.Pod) error {
+ return errors.New("unsupported specConfigureNamespaces")
+}