func (t *ProtokubeBuilder) ProtokubeImagePullCommand() string {
	var sources []string
	if t.NodeupConfig.ProtokubeImage != nil {
		sources = t.NodeupConfig.ProtokubeImage.Sources
	}
	if len(sources) == 0 {
		// Nothing to pull; return dummy value
		return "/bin/true"
	}
	if strings.HasPrefix(sources[0], "http:") || strings.HasPrefix(sources[0], "https:") || strings.HasPrefix(sources[0], "s3:") {
		// We preloaded the image; return a dummy value
		return "/bin/true"
	}

	return "/usr/bin/docker pull " + sources[0]
}
// ProtokubeImagePullCommand returns the command to pull the image
ProtokubeImagePullCommand returns the command to pull the image
// ProtokubeImagePullCommand returns the command to pull the image
func (t *ProtokubeBuilder) ProtokubeImagePullCommand() string {
	var sources []string
	if t.NodeupConfig.ProtokubeImage != nil {
		sources = t.NodeupConfig.ProtokubeImage.Sources
	}
	if len(sources) == 0 {
		return "/bin/true"
	}
	if strings.HasPrefix(sources[0], "http:") || strings.HasPrefix(sources[0], "https:") || strings.HasPrefix(sources[0], "s3:") {
		return "/bin/true"
	}
	return "/usr/bin/docker pull " + sources[0]
}
func ( t * ProtokubeBuilder ) ProtokubeImagePullCommand ( ) string { var sources [ ] string if t . NodeupConfig . ProtokubeImage != nil { sources = t . NodeupConfig . ProtokubeImage . Sources } if len ( sources ) == 0 { return " " } if strings . HasPrefix ( sources [ 0 ] , " " ) || strings . HasPrefix ( sources [ 0 ] , " " ) || strings . HasPrefix ( sources [ 0 ] , " " ) { return " " } return " " + sources [ 0 ] }
ProtokubeImagePullCommand returns the command to pull the image
ProtokubeImagePullCommand returns the command to pull the image
// Nothing to pull; return dummy value // We preloaded the image; return a dummy value