Documentation
¶
Index ¶
- Constants
- func FilePathToImageName(fileName string) (imageName string, err error)
- func GetAuth(image string) string
- func GetAuthString(image, username, password string) (string, error)
- func GetNewImageName(image string, registry string) string
- func ImageToFilePath(imageName string, dir string) (fileName string, err error)
- func Load(file string) error
- func Push(image string, creds *util.Creds) error
- func ReTag(image Image) error
- func Save(c *hashcache.CheckSumCache, image string, dir string, creds *util.Creds) error
- type Image
- type PushEvent
- type SaveEvent
Constants ¶
View Source
const (
Ext string = ".docker.tar"
)
Variables ¶
This section is empty.
Functions ¶
func FilePathToImageName ¶
FileNameToImageName converts an archived file name back to the origonal docker image name
func GetAuthString ¶ added in v0.3.8
GetAuthString will return a valid auth string from credentials
func GetNewImageName ¶ added in v0.3.3
func ImageToFilePath ¶
ImageToFileName provides an archived name from a docker image name
Types ¶
Click to show internal directories.
Click to hide internal directories.