func SplitImageStreamTag(nameAndTag string) (name string, tag string, ok bool) {
	parts := strings.SplitN(nameAndTag, ":", 2)
	name = parts[0]
	if len(parts) > 1 {
		tag = parts[1]
	}
	if len(tag) == 0 {
		tag = DefaultImageTag
	}
	return name, tag, len(parts) == 2
}
// SplitImageStreamTag turns the name of an ImageStreamTag into Name and Tag.
// It returns false if the tag was not properly specified in the name.
SplitImageStreamTag turns the name of an ImageStreamTag into Name and Tag.
It returns false if the tag was not properly specified in the name.
// SplitImageStreamTag turns the name of an ImageStreamTag into Name and Tag . // It returns false if the tag was not properly specified in the name .
func SplitImageStreamTag(nameAndTag string) (name string, tag string, ok bool) {
	parts := strings.SplitN(nameAndTag, ":", 2)
	name = parts[0]
	if len(parts) > 1 {
		tag = parts[1]
	}
	if len(tag) == 0 {
		tag = DefaultImageTag
	}
	return name, tag, len(parts) == 2
}
func SplitImageStreamTag ( nameAndTag string ) ( name string , tag string , ok bool ) { parts := strings . SplitN ( nameAndTag , " " , 2 ) name = parts [ 0 ] if len ( parts ) > 1 { tag = parts [ 1 ] } if len ( tag ) == 0 { tag = DefaultImageTag } return name , tag , len ( parts ) == 2 }
SplitImageStreamTag turns the name of an ImageStreamTag into Name and Tag.
SplitImageStreamTag turns the name of an ImageStreamTag into Name and Tag .