github.com/portworx/docker@v1.12.1/libcontainerd/client_solaris.go (about) 1 package libcontainerd 2 3 import "golang.org/x/net/context" 4 5 type client struct { 6 clientCommon 7 8 // Platform specific properties below here. 9 } 10 11 func (clnt *client) AddProcess(ctx context.Context, containerID, processFriendlyName string, specp Process) error { 12 return nil 13 } 14 15 func (clnt *client) Create(containerID string, spec Spec, options ...CreateOption) (err error) { 16 return nil 17 } 18 19 func (clnt *client) Signal(containerID string, sig int) error { 20 return nil 21 } 22 23 func (clnt *client) Resize(containerID, processFriendlyName string, width, height int) error { 24 return nil 25 } 26 27 func (clnt *client) Pause(containerID string) error { 28 return nil 29 } 30 31 func (clnt *client) Resume(containerID string) error { 32 return nil 33 } 34 35 func (clnt *client) Stats(containerID string) (*Stats, error) { 36 return nil, nil 37 } 38 39 // Restore is the handler for restoring a container 40 func (clnt *client) Restore(containerID string, unusedOnWindows ...CreateOption) error { 41 return nil 42 } 43 44 func (clnt *client) GetPidsForContainer(containerID string) ([]int, error) { 45 return nil, nil 46 } 47 48 // Summary returns a summary of the processes running in a container. 49 func (clnt *client) Summary(containerID string) ([]Summary, error) { 50 return nil, nil 51 } 52 53 // UpdateResources updates resources for a running container. 54 func (clnt *client) UpdateResources(containerID string, resources Resources) error { 55 // Updating resource isn't supported on Solaris 56 // but we should return nil for enabling updating container 57 return nil 58 }