dockrhelper

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RobustImagePull

func RobustImagePull(imageName string) (closer io.ReadCloser, err error)

RobustImagePull will attempt to use the docker api to pull an image

	if it is not found via the api, it will attempt to use the docker client to pull the image, as that way will
 pull in authentication from linux/mac/whatever keychain. The API proved useless in this case, as all that is
 in the client code and it pulled in way too much garbage code from docker go api
 anyone can feel free to prove me wrong, but github.com/moby/moby has me at my wits'o end

Types

This section is empty.

Jump to

Keyboard shortcuts

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