package network import ( specs "github.com/opencontainers/runtime-spec/specs-go" ) func NewNoneProvider() Provider { return &none{} } type none struct { } func (h *none) New() (Namespace, error) { return &noneNS{}, nil } type noneNS struct { } func (h *noneNS) Set(s *specs.Spec) error { return nil } func (h *noneNS) Close() error { return nil }