diff --git a/libcontainer/criu_opts.go b/libcontainer/criu_opts_unix.go similarity index 98% rename from libcontainer/criu_opts.go rename to libcontainer/criu_opts_unix.go index 6d6062a8..a2a816bd 100644 --- a/libcontainer/criu_opts.go +++ b/libcontainer/criu_opts_unix.go @@ -1,3 +1,5 @@ +// +build linux freebsd + package libcontainer // cgroup restoring strategy provided by criu diff --git a/libcontainer/criu_opts_windows.go b/libcontainer/criu_opts_windows.go new file mode 100644 index 00000000..bc920770 --- /dev/null +++ b/libcontainer/criu_opts_windows.go @@ -0,0 +1,6 @@ +package libcontainer + +// TODO Windows: This can ultimately be entirely factored out as criu is +// a Unix concept not relevant on Windows. +type CriuOpts struct { +}