producers

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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(client *docker.Client) *Docker

func (*Docker) ExecCommand

func (d *Docker) ExecCommand(containerID string, cmd []string) types.StreamsProducer

ExecCommand returns stdout and stderr results.

func (*Docker) ExecCommandByName

func (d *Docker) ExecCommandByName(containerName string, cmd []string) types.StreamsProducer

func (*Docker) ImagesAll

func (d *Docker) ImagesAll(ctx context.Context) (interface{}, error)

func (*Docker) Info

func (d *Docker) Info(ctx context.Context) (interface{}, error)

func (*Docker) Inspect

func (d *Docker) Inspect(containerID string) types.StructuredProducer

func (*Docker) InspectName

func (d *Docker) InspectName(containerName string) types.StructuredProducer

func (*Docker) Logs

func (d *Docker) Logs(containerID string) types.StreamProducer

func (*Docker) LogsName

func (d *Docker) LogsName(containerName string) types.StreamProducer

func (*Docker) PSAll

func (d *Docker) PSAll(ctx context.Context) (interface{}, error)

func (*Docker) ReadFile

func (d *Docker) ReadFile(containerID string, path string) types.StreamProducer

func (*Docker) ReadFileByName

func (d *Docker) ReadFileByName(containerName string, path string) types.StreamProducer

func (*Docker) ReadHostFile added in v0.3.1

func (d *Docker) ReadHostFile(image string, path string) types.StreamProducer

func (*Docker) RunCommand

RunCommand returns stdout and stderr results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL