container

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// Docker provides information about Containers and Images on
	// the machine.
	Docker *Docker
}

Container information from various container services.

func New

func New() (c *Container)

New creates a new Container object filling in information about various containers we support.

type Docker

type Docker struct {
	// Containers are all the active and inactive containers that
	// are on the system.
	Containers []types.Container
	// Images are all the images that exist on the Docker Images
	// that exist on the machine.
	Images []types.Image
}

Docker contains information about the current Docker service on the machine.

func NewDocker

func NewDocker() (c *Docker)

NewDocker creates a new Docker object.

Jump to

Keyboard shortcuts

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