Adds new function descriptions

Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
pull/5447/head
Zhongcheng Lao 2019-09-26 08:32:38 +08:00
parent e6986aa943
commit b8b5065119
No known key found for this signature in database
GPG Key ID: 3B0C92A7E58EF413
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func getImageRepository(imageRepository string) string {
return imageRepository
}
// getMinikubeRepository returns either the minikube image registry on GCR or a mirror if specified
func getMinikubeRepository(imageRepository string) string {
minikubeRepository := imageRepository
if minikubeRepository == "" {
@ -144,6 +145,7 @@ func CachedImages(imageRepository string, kubernetesVersionStr string) []string
return images
}
// PauseImage returns the image name for pause image (for pod infra)
func PauseImage(imageRepository string, kubernetesVersionStr string) string {
imageRepository = getImageRepository(imageRepository)