github.com/akerouanton/docker@v1.11.0-rc3/libcontainerd/remote_windows.go (about) 1 package libcontainerd 2 3 import "github.com/docker/docker/pkg/locker" 4 5 type remote struct { 6 } 7 8 func (r *remote) Client(b Backend) (Client, error) { 9 c := &client{ 10 clientCommon: clientCommon{ 11 backend: b, 12 containers: make(map[string]*container), 13 locker: locker.New(), 14 }, 15 } 16 return c, nil 17 } 18 19 // Cleanup is a no-op on Windows. It is here to implement the interface. 20 func (r *remote) Cleanup() { 21 } 22 23 // New creates a fresh instance of libcontainerd remote. On Windows, 24 // this is not used as there is no remote containerd process. 25 func New(_ string, _ ...RemoteOption) (Remote, error) { 26 return &remote{}, nil 27 }