Files
docker-cli/components/engine/libcontainerd/remote_windows.go
John Howard a76e16e99f Windows libcontainerd implementation
Signed-off-by: John Howard <jhoward@microsoft.com>
Signed-off-by: John Starks <jostarks@microsoft.com>
Signed-off-by: Darren Stahl <darst@microsoft.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 94d70d835500bec3b171425271916d3e40f29635
Component: engine
2016-03-18 13:38:41 -07:00

29 lines
634 B
Go

package libcontainerd
import "sync"
type remote struct {
}
func (r *remote) Client(b Backend) (Client, error) {
c := &client{
clientCommon: clientCommon{
backend: b,
containerMutexes: make(map[string]*sync.Mutex),
containers: make(map[string]*container),
},
}
return c, nil
}
// Cleanup is a no-op on Windows. It is here to implement the same interface
// to meet compilation requirements.
func (r *remote) Cleanup() {
}
// New creates a fresh instance of libcontainerd remote. This is largely
// a no-op on Windows.
func New(_ string, _ ...RemoteOption) (Remote, error) {
return &remote{}, nil
}