mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-18 05:44:24 +01:00
And move the current implementation into a Linux only file. Signed-off-by: Samuel Ortiz <s.ortiz@apple.com>
23 lines
394 B
Go
23 lines
394 B
Go
// Copyright (c) 2022 Apple Inc.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package katautils
|
|
|
|
import (
|
|
vc "github.com/kata-containers/kata-containers/src/runtime/virtcontainers"
|
|
)
|
|
|
|
func EnterNetNS(networkID string, cb func() error) error {
|
|
return nil
|
|
}
|
|
|
|
func SetupNetworkNamespace(config *vc.NetworkConfig) error {
|
|
return nil
|
|
}
|
|
|
|
func cleanupNetNS(netNSPath string) error {
|
|
return nil
|
|
}
|