Files
containerd/vendor/github.com/cri-o/ocicni/noop.go
2017-08-23 01:25:12 +00:00

25 lines
396 B
Go

package ocicni
type cniNoOp struct {
}
func (noop *cniNoOp) Name() string {
return "CNINoOp"
}
func (noop *cniNoOp) SetUpPod(network PodNetwork) error {
return nil
}
func (noop *cniNoOp) TearDownPod(network PodNetwork) error {
return nil
}
func (noop *cniNoOp) GetPodNetworkStatus(netnsPath string) (string, error) {
return "", nil
}
func (noop *cniNoOp) Status() error {
return nil
}