Documentation ¶
Index ¶
- func ValidateImage(image *api.Image) fielderrors.ValidationErrorList
- func ValidateImageStream(stream *api.ImageStream) fielderrors.ValidationErrorList
- func ValidateImageStreamMapping(mapping *api.ImageStreamMapping) fielderrors.ValidationErrorList
- func ValidateImageStreamName(name string, prefix bool) (bool, string)
- func ValidateImageStreamStatusUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList
- func ValidateImageStreamTag(ist *api.ImageStreamTag) fielderrors.ValidationErrorList
- func ValidateImageStreamTagUpdate(newIST, oldIST *api.ImageStreamTag) fielderrors.ValidationErrorList
- func ValidateImageStreamUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList
- func ValidateImageUpdate(newImage, oldImage *api.Image) fielderrors.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateImage ¶
func ValidateImage(image *api.Image) fielderrors.ValidationErrorList
ValidateImage tests required fields for an Image.
func ValidateImageStream ¶
func ValidateImageStream(stream *api.ImageStream) fielderrors.ValidationErrorList
ValidateImageStream tests required fields for an ImageStream.
func ValidateImageStreamMapping ¶
func ValidateImageStreamMapping(mapping *api.ImageStreamMapping) fielderrors.ValidationErrorList
ValidateImageStreamMapping tests required fields for an ImageStreamMapping.
func ValidateImageStreamName ¶
func ValidateImageStreamStatusUpdate ¶
func ValidateImageStreamStatusUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList
ValidateImageStreamStatusUpdate tests required fields for an ImageStream status update.
func ValidateImageStreamTag ¶
func ValidateImageStreamTag(ist *api.ImageStreamTag) fielderrors.ValidationErrorList
ValidateImageStreamTag is essentially a no-op. We don't allow direct creation of istags
func ValidateImageStreamTagUpdate ¶
func ValidateImageStreamTagUpdate(newIST, oldIST *api.ImageStreamTag) fielderrors.ValidationErrorList
ValidateImageStreamTagUpdate ensures that only the annotations of the IST have changed
func ValidateImageStreamUpdate ¶
func ValidateImageStreamUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList
func ValidateImageUpdate ¶
func ValidateImageUpdate(newImage, oldImage *api.Image) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.