container

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const Finished = 1
View Source
const Running = 0
View Source
const Unknown = 2

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerStatus

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

Simple execution status of a docker container.

func NewContainerStatus

func NewContainerStatus(statusCode int) ContainerStatus

func (ContainerStatus) IsRunning

func (cs ContainerStatus) IsRunning() bool

Jump to

Keyboard shortcuts

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