Documentation ¶
Index ¶
- Variables
- func Build(moduleDir, tag string) error
- func BuildCmd(moduleDir, tag string) magelib.Cmd
- func BuildWithArgs(moduleDir, tag string, args magelib.ArgsMap) error
- func BuildWithArgsCmd(moduleDir, tag string, args magelib.ArgsMap) magelib.Cmd
- func BuildWithFile(moduleDir, dockerfilePath, tag string) error
- func BuildWithFileCmd(moduleDir, dockerfilePath, tag string) magelib.Cmd
- func ContainerNameByLabel(label string) (string, error)
- func ImageDigestLocal(tag string) (string, error)
- func ImageDigestRemote(tag string) (string, error)
- func IsImageAvailable(imageName string) bool
- func Push(tag string) error
- func PushOnDemand(tag string) error
- func RemoveLocalImage(imageName string) error
- func RemoveLocalImageCmd(imageName string) magelib.Cmd
- func RemoveUntaggedImages() error
- func RemoveUntaggedImagesCmd() magelib.Cmd
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Out = sh.OutCmd("docker") CraneDigestOut = sh.OutCmd("crane", "digest") )
Functions ¶
func BuildWithArgsCmd ¶
BuildWithArgs as magelib.Cmd
func BuildWithFile ¶
func BuildWithFileCmd ¶
BuildWithFile as magelib.Cmd
func ContainerNameByLabel ¶
func ImageDigestLocal ¶
func ImageDigestRemote ¶
func IsImageAvailable ¶
func PushOnDemand ¶
func RemoveLocalImage ¶
func RemoveLocalImageCmd ¶
RemoveLocalImage as magelib.Cmd
func RemoveUntaggedImages ¶
func RemoveUntaggedImages() error
func RemoveUntaggedImagesCmd ¶
RemoveUntaggedImages as magelib.Cmd
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.