container

package
v0.0.0-...-bbbf429 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(i IContainer, containerID string) (bool, error)

func YoungerThan

func YoungerThan(i IContainer, containerID string, age float64) (bool, error)

Types

type Docker

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

Docker ...

func NewDocker

func NewDocker() *Docker

NewDocker ...

func (*Docker) Exists

func (d *Docker) Exists(containerID string) (bool, error)

Exists checks docker images for being real

func (*Docker) YoungerThan

func (d *Docker) YoungerThan(containerID string, age float64) (bool, error)

YoungerThan a time value vs image

type IContainer

type IContainer interface {
	Exists(string) (bool, error)
	YoungerThan(string, float64) (bool, error)
}

Jump to

Keyboard shortcuts

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