docker

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 6 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(quiet bool, cmd command.Creator) Docker

func (Docker) AllContainerIds

func (d Docker) AllContainerIds() ([]string, []string)

func (Docker) Build

func (d Docker) Build(context, file, image string, additional []string) []string

func (Docker) ContainerIds

func (d Docker) ContainerIds() ([]string, []string)

func (Docker) Images

func (d Docker) Images(dangling string, label string, references []string) (image []Image, err []string)

func (Docker) Run

func (d Docker) Run(image, name string, cmd, additional []string) []string

type Image

type Image struct {
	Name      string
	Id        string
	CreatedAt time.Time
}

Jump to

Keyboard shortcuts

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