Documentation ¶
Index ¶
- type Docker
- func (d *Docker) ContainerCp(containerID string, path string) types.StreamProducer
- func (d *Docker) ContainerExec(opts types.DockerContainerExecOptions) types.StreamsProducer
- func (d *Docker) ContainerInspect(container string) types.StructuredProducer
- func (d *Docker) ContainerLogs(container string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
- func (d *Docker) ContainerLs(opts types.DockerContainerLsOptions) types.StructuredProducer
- func (d *Docker) ContainerRun(opts types.DockerContainerRunOptions) types.StreamsProducer
- func (d *Docker) ImageLs(opts types.DockerImageLsOptions) types.StructuredProducer
- func (d *Docker) Info(ctx context.Context) (interface{}, error)
- func (d *Docker) NodeLs(opts types.DockerNodeLsOptions) types.StructuredProducer
- func (d *Docker) ServiceLogs(serviceID string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
- func (d *Docker) ServiceLs(opts types.DockerServiceLsOptions) types.StructuredProducer
- func (d *Docker) TaskLogs(taskID string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
- func (d *Docker) TaskLs(opts types.DockerTaskLsOptions) types.StructuredProducer
- func (d *Docker) Version(ctx context.Context) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func New ¶
func New(dockerClient docker.CommonAPIClient) *Docker
func (*Docker) ContainerCp ¶
func (d *Docker) ContainerCp(containerID string, path string) types.StreamProducer
func (*Docker) ContainerExec ¶
func (d *Docker) ContainerExec(opts types.DockerContainerExecOptions) types.StreamsProducer
func (*Docker) ContainerInspect ¶
func (d *Docker) ContainerInspect(container string) types.StructuredProducer
func (*Docker) ContainerLogs ¶
func (d *Docker) ContainerLogs(container string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
func (*Docker) ContainerLs ¶
func (d *Docker) ContainerLs(opts types.DockerContainerLsOptions) types.StructuredProducer
func (*Docker) ContainerRun ¶
func (d *Docker) ContainerRun(opts types.DockerContainerRunOptions) types.StreamsProducer
func (*Docker) ImageLs ¶
func (d *Docker) ImageLs(opts types.DockerImageLsOptions) types.StructuredProducer
func (*Docker) NodeLs ¶
func (d *Docker) NodeLs(opts types.DockerNodeLsOptions) types.StructuredProducer
func (*Docker) ServiceLogs ¶
func (d *Docker) ServiceLogs(serviceID string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
func (*Docker) ServiceLs ¶
func (d *Docker) ServiceLs(opts types.DockerServiceLsOptions) types.StructuredProducer
func (*Docker) TaskLogs ¶
func (d *Docker) TaskLogs(taskID string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer
func (*Docker) TaskLs ¶
func (d *Docker) TaskLs(opts types.DockerTaskLsOptions) types.StructuredProducer
Click to show internal directories.
Click to hide internal directories.