utils

package
v0.0.0-...-fe349b4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UtilContext

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

func InitUtilContext

func InitUtilContext() (*UtilContext, error)

func (*UtilContext) DeleteContainer

func (ctx *UtilContext) DeleteContainer(containerList []dockerclient.Container, status string, dry_run bool, hours int) (err error)

func (*UtilContext) DeleteExitedContainers

func (ctx *UtilContext) DeleteExitedContainers(dry_run bool, hours int) error

func (*UtilContext) FlattenImage

func (ctx *UtilContext) FlattenImage(image string, name string, tag string) error

func (*UtilContext) RemoveUntaggedDockerImages

func (ctx *UtilContext) RemoveUntaggedDockerImages(dry_run bool) error

Jump to

Keyboard shortcuts

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