Documentation ¶
Index ¶
- type Client
- func (d *Client) CpFile(ctx context.Context, containerID, src, dst string) error
- func (d *Client) CpFileOld(ctx context.Context, containerID, src, dst string) error
- func (d *Client) Exec(ctx context.Context, containerID, cmd string) (string, error)
- func (d *Client) GetAllPidList(ctx context.Context, containerID string) ([]base.SimpleProcess, error)
- func (d *Client) GetPidById(ctx context.Context, containerID string) (int, error)
- func (d *Client) KillContainerById(ctx context.Context, containerID string) error
- func (d *Client) ListId(ctx context.Context) ([]string, error)
- func (d *Client) PauseContainerById(ctx context.Context, containerID string) error
- func (d *Client) RestartContainerById(ctx context.Context, containerID string, timeout int64) error
- func (d *Client) RmFContainerById(ctx context.Context, containerID string) error
- func (d *Client) UnPauseContainerById(ctx context.Context, containerID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAllPidList ¶
func (*Client) GetPidById ¶
func (*Client) KillContainerById ¶
KillContainerById convert to static container
func (*Client) PauseContainerById ¶
func (*Client) RestartContainerById ¶
func (*Client) RmFContainerById ¶
RmFContainerById remove container
Click to show internal directories.
Click to hide internal directories.