Documentation
¶
Index ¶
- type ContainerInfo
- type Engine
- func (e *Engine) ContainerExec(ctx context.Context, nameOrID string, args []string, interactive bool) error
- func (e *Engine) ContainerInspect(ctx context.Context, nameOrID string) ([]byte, error)
- func (e *Engine) ContainerList(ctx context.Context, all bool) ([]ContainerInfo, error)
- func (e *Engine) ContainerLogs(ctx context.Context, nameOrID string, follow bool) error
- func (e *Engine) ContainerRemove(ctx context.Context, nameOrID string, force bool) error
- func (e *Engine) ContainerRun(ctx context.Context, args []string, interactive bool) error
- func (e *Engine) ContainerStart(ctx context.Context, nameOrID string) error
- func (e *Engine) ContainerStop(ctx context.Context, nameOrID string) error
- func (e *Engine) Exec(ctx context.Context, args ...string) ([]byte, []byte, error)
- func (e *Engine) ExecInteractive(ctx context.Context, args ...string) error
- func (e *Engine) ExecStream(ctx context.Context, args ...string) (io.ReadCloser, error)
- func (e *Engine) ImageBuild(ctx context.Context, args []string) error
- func (e *Engine) ImageList(ctx context.Context) ([]ImageInfo, error)
- func (e *Engine) ImagePull(ctx context.Context, image string) error
- func (e *Engine) ImagePush(ctx context.Context, image string) error
- func (e *Engine) ImageRemove(ctx context.Context, image string) error
- func (e *Engine) NetworkConnect(ctx context.Context, network, container string) error
- func (e *Engine) NetworkCreate(ctx context.Context, name string) error
- func (e *Engine) NetworkDisconnect(ctx context.Context, network, container string) error
- func (e *Engine) NetworkInspect(ctx context.Context, name string) ([]byte, error)
- func (e *Engine) NetworkList(ctx context.Context) ([]NetworkInfo, error)
- func (e *Engine) NetworkRemove(ctx context.Context, name string) error
- func (e *Engine) Validate() error
- func (e *Engine) VolumeCreate(ctx context.Context, name string) error
- func (e *Engine) VolumeInspect(ctx context.Context, name string) ([]byte, error)
- func (e *Engine) VolumeList(ctx context.Context) ([]VolumeInfo, error)
- func (e *Engine) VolumeRemove(ctx context.Context, name string) error
- type ImageInfo
- type InspectData
- type NetworkInfo
- type VolumeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type Engine ¶
type Engine struct {
Binary string
}
func (*Engine) ContainerExec ¶
func (*Engine) ContainerInspect ¶
func (*Engine) ContainerList ¶
func (*Engine) ContainerLogs ¶
func (*Engine) ContainerRemove ¶
func (*Engine) ContainerRun ¶
func (*Engine) ContainerStart ¶
func (*Engine) ContainerStop ¶
func (*Engine) ExecInteractive ¶
func (*Engine) ExecStream ¶
func (*Engine) NetworkConnect ¶
func (*Engine) NetworkCreate ¶
func (*Engine) NetworkDisconnect ¶
func (*Engine) NetworkInspect ¶
func (*Engine) NetworkList ¶
func (e *Engine) NetworkList(ctx context.Context) ([]NetworkInfo, error)
func (*Engine) NetworkRemove ¶
func (*Engine) VolumeInspect ¶
func (*Engine) VolumeList ¶
func (e *Engine) VolumeList(ctx context.Context) ([]VolumeInfo, error)
type InspectData ¶
type InspectData struct {
Raw []byte // raw JSON from `container inspect`
}
Click to show internal directories.
Click to hide internal directories.