github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/libcontainerd/client_solaris.go (about)

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