func SpecHasTag(stream *imagev1.ImageStream, name string) (imagev1.TagReference, bool) {
	for _, tag := range stream.Spec.Tags {
		if tag.Name == name {
			return tag, true
		}
	}
	return imagev1.TagReference{}, false
}
// SpecHasTag returns named tag from image stream's spec and boolean whether one was found.
SpecHasTag returns named tag from image stream's spec and boolean whether one was found.
// SpecHasTag returns named tag from image stream ' s spec and boolean whether one was found .
func SpecHasTag(stream *imagev1.ImageStream, name string) (imagev1.TagReference, bool) {
	for _, tag := range stream.Spec.Tags {
		if tag.Name == name {
			return tag, true
		}
	}
	return imagev1.TagReference{}, false
}
func SpecHasTag ( stream * imagev1 . ImageStream , name string ) ( imagev1 . TagReference , bool ) { for _ , tag := range stream . Spec . Tags { if tag . Name == name { return tag , true } } return imagev1 . TagReference { } , false }
SpecHasTag returns named tag from image stream's spec and boolean whether one was found.
SpecHasTag returns named tag from image stream ' s spec and boolean whether one was found .