mydocker

package
v0.0.0-...-e2521e0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Normalise

func Normalise(s string) string

Types

type Client

type Client struct {
	*client.Client
}

func FromEnv

func FromEnv() (myclient *Client, err error)

func (*Client) ListLabeledImages

func (c *Client) ListLabeledImages(jc jobcontroller.JobController) ([]*Image, error)

type Image

type Image struct {
	*types.ImageInspect
}

func (*Image) Get

func (di *Image) Get(key string) (string, bool)

func (*Image) GetBoolDefault

func (di *Image) GetBoolDefault(key string, defaultVal bool) bool

func (*Image) GetDefault

func (di *Image) GetDefault(key string, defaultVal string) string

func (*Image) GetDurationDefault

func (di *Image) GetDurationDefault(key string, defaultVal time.Duration) time.Duration

func (*Image) GetIntDefault

func (di *Image) GetIntDefault(key string, defaultVal int) int

Jump to

Keyboard shortcuts

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