dockercmd

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package dockercmd contains utilities to execute commands on the Docker client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient interface {
	Exec(...string) ([]byte, error)
}

DockerClient executes 'docker' with the given arguments.

type RealImpl

type RealImpl struct{}

RealImpl is the real implementation of cmdExecutor uses exec.Command to execute the Docker client with the given args.

func (RealImpl) Exec

func (RealImpl) Exec(args ...string) ([]byte, error)

Exec executes 'docker' with the given args, returning the results of stdout or an error.

Jump to

Keyboard shortcuts

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