Documentation
¶
Index ¶
- type Engine
- func (e *Engine) Close() error
- func (e *Engine) CopyToContainer(containerID string, destPath string, content io.Reader) error
- func (e *Engine) CreateContainer(config *container.Config, hostConfig *container.HostConfig, name string) (container.ContainerCreateCreatedBody, error)
- func (e *Engine) InspectContainer(containerID string) (*types.ContainerJSON, error)
- func (e *Engine) InspectVolume(name string) (types.Volume, error)
- func (e *Engine) PullImage(reference string) (io.ReadCloser, error)
- func (e *Engine) RemoveContainer(containerID string) error
- func (e *Engine) StartContainer(containerID string) error
- func (e *Engine) StopContainer(containerID string, timeout *time.Duration) error
- func (e *Engine) StreamLogs(containerID string) (io.ReadCloser, error)
- func (e *Engine) WaitContainer(containerID string) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (e *Engine) WatchHealthcheckEvents() (<-chan events.Message, <-chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) CopyToContainer ¶
func (*Engine) CreateContainer ¶
func (e *Engine) CreateContainer(config *container.Config, hostConfig *container.HostConfig, name string) (container.ContainerCreateCreatedBody, error)
func (*Engine) InspectContainer ¶
func (e *Engine) InspectContainer(containerID string) (*types.ContainerJSON, error)
func (*Engine) RemoveContainer ¶
func (*Engine) StartContainer ¶
func (*Engine) StopContainer ¶
func (*Engine) StreamLogs ¶
func (e *Engine) StreamLogs(containerID string) (io.ReadCloser, error)
func (*Engine) WaitContainer ¶
func (e *Engine) WaitContainer(containerID string) (<-chan container.ContainerWaitOKBody, <-chan error)
Click to show internal directories.
Click to hide internal directories.