Documentation ¶
Index ¶
- type Docker
- type LocalDocker
- func (l LocalDocker) Pull(image string, retries int) error
- func (l LocalDocker) PullIfNotPresent(image string, retries int) error
- func (l LocalDocker) Push(image string, retries int) error
- func (l LocalDocker) Rmi(image string, retries int) error
- func (l LocalDocker) Save(images []string, filename string) error
- func (l LocalDocker) Tag(src, dest string, retries int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalDocker ¶
type LocalDocker struct { }
func (LocalDocker) Pull ¶
func (l LocalDocker) Pull(image string, retries int) error
Pull pulls an image, retrying up to retries times
func (LocalDocker) PullIfNotPresent ¶
func (l LocalDocker) PullIfNotPresent(image string, retries int) error
PullIfNotPresent will pull an image if it is not present locally retrying up to retries times returns errors from pulling
func (LocalDocker) Push ¶
func (l LocalDocker) Push(image string, retries int) error
Push pushes an image, retrying up to retries times
func (LocalDocker) Rmi ¶
func (l LocalDocker) Rmi(image string, retries int) error
Rmi removes an image, retrying up to retries times
Click to show internal directories.
Click to hide internal directories.