github.com/DaoCloud/dao@v0.0.0-20161212064103-c3dbfd13ee36/libcontainerd/remote_solaris.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 func (r *remote) Cleanup() { 20 } 21 22 func (r *remote) UpdateOptions(opts ...RemoteOption) error { 23 return nil 24 } 25 26 // New creates a fresh instance of libcontainerd remote. 27 func New(_ string, _ ...RemoteOption) (Remote, error) { 28 return &remote{}, nil 29 } 30 31 // WithLiveRestore is a noop on solaris. 32 func WithLiveRestore(v bool) RemoteOption { 33 return nil 34 }