docker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI represents the docker CLI

func NewCLI

func NewCLI(path string, options *Options, out *output.Interface, verb output.Level) *CLI

NewCLI creates a new docker CLI object

func (*CLI) EachLine

func (d *CLI) EachLine(args []string, fn func(line string)) error

EachLine runs a docker command and streams its lines of standard output as strings to a callback function

type Options

type Options struct {
	Config   string
	LogLevel string
}

Options represents global options for the docker CLI

Jump to

Keyboard shortcuts

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