producers

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 20 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.

func (*Docker) ServiceLogs added in v0.10.0

func (d *Docker) ServiceLogs(name string) types.StreamProducer

func (*Docker) Services added in v0.10.0

func (d *Docker) Services() types.StructuredProducer

func (*Docker) StackServiceLogs added in v0.10.0

func (d *Docker) StackServiceLogs(namespace string) types.StreamsProducer

func (*Docker) StackServices added in v0.10.0

func (d *Docker) StackServices(namespace string) types.StructuredProducer

func (*Docker) StackTaskLogs added in v0.10.0

func (d *Docker) StackTaskLogs(namespace string) types.StreamsProducer

func (*Docker) StackTasks added in v0.10.0

func (d *Docker) StackTasks(namespace string) types.StructuredProducer

func (*Docker) SwarmNodeTasks added in v0.10.0

func (d *Docker) SwarmNodeTasks() types.StreamsProducer

func (*Docker) SwarmNodes added in v0.10.0

func (d *Docker) SwarmNodes() types.StructuredProducer

Jump to

Keyboard shortcuts

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