github.com/brandon-bethke-neudesic/moby@v1.13.1/client/container_unpause.go (about)

     1  package client
     2  
     3  import "golang.org/x/net/context"
     4  
     5  // ContainerUnpause resumes the process execution within a container
     6  func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error {
     7  	resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil)
     8  	ensureReaderClosed(resp)
     9  	return err
    10  }