caee4a99c9
Vendor updated containers/image and containers/storage, along with any new dependencies they drag in, and updated versions of other dependencies that happen to get pulled in. github.com/coreos/go-systemd/daemon/SdNotify() now takes a boolean to control whether or not it unsets the NOTIFY_SOCKET variable from the calling process's environment. Adapt. github.com/opencontainers/runtime-tools/generate/Generator.AddProcessEnv() now takes the environment variable name and value as two arguments, not one. Adapt. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
24 lines
551 B
Go
24 lines
551 B
Go
package ocicni
|
|
|
|
type cniNoOp struct {
|
|
}
|
|
|
|
func (noop *cniNoOp) Name() string {
|
|
return "CNINoOp"
|
|
}
|
|
|
|
func (noop *cniNoOp) SetUpPod(netnsPath string, namespace string, name string, containerID string) error {
|
|
return nil
|
|
}
|
|
|
|
func (noop *cniNoOp) TearDownPod(netnsPath string, namespace string, name string, containerID string) error {
|
|
return nil
|
|
}
|
|
|
|
func (noop *cniNoOp) GetContainerNetworkStatus(netnsPath string, namespace string, name string, containerID string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func (noop *cniNoOp) Status() error {
|
|
return nil
|
|
}
|