diff options
Diffstat (limited to 'internal/namespace/ops.go')
| -rw-r--r-- | internal/namespace/ops.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/namespace/ops.go b/internal/namespace/ops.go index b2b5e10..76f696c 100644 --- a/internal/namespace/ops.go +++ b/internal/namespace/ops.go @@ -9,6 +9,7 @@ import ( // Ops defines the set of operations required by the Manager to handle // namespace isolation, lifecycle, and synchronization. type Ops interface { + CheckSystemRequirements() error IsIsolated() bool Bootstrap() error BootstrapJoin(pid int) error @@ -31,6 +32,10 @@ func NewLinuxOps() Ops { return &linuxOps{} } +func (l *linuxOps) CheckSystemRequirements() error { + return CheckSystemRequirements() +} + func (l *linuxOps) IsIsolated() bool { return IsIsolated() } |
