Documentation
¶
Index ¶
- func ExpandToFQIN(source string) string
- func GetFQINImage(fqin string) string
- func GetFQINUsername(fqin string) string
- func GetFirst(l []string, d string) string
- func MergeLists(lists ...[]string) []string
- func RotateL(a *[]string)
- func RotateLBy(a *[]string, i int)
- func RotateR(a *[]string)
- func RotateRBy(a *[]string, i int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandToFQIN ¶
ExpandToFQIN converts partial image name to "Fully Qualified Image Name" E.g. eaapa/hello-world -> docker.io/eaapa/hello-world:latest
func GetFQINImage ¶
GetFQINImage returns image part from FQIN E.g. docker.io/eaapa/hello-world:latest -> hello-world
func GetFQINUsername ¶
GetFQINUsername returns username part from FQIN E.g. docker.io/eaapa/hello-world:latest -> eaapa
func GetFirst ¶ added in v0.2.5
GetFirst return first element from the list or default if list is empty
func MergeLists ¶
MergeLists merge two or more lists without duplicating items
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.