docker

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 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 interface {
	// EachLine runs a docker command that sends
	// its lines of standard output to a callback
	EachLine(args []string, fn func(line string)) error
}

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

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