validation

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 added in v0.4.3

func ValidateImageStream(stream *api.ImageStream) fielderrors.ValidationErrorList

ValidateImageStream tests required fields for an ImageStream.

func ValidateImageStreamMapping added in v0.4.3

func ValidateImageStreamMapping(mapping *api.ImageStreamMapping) fielderrors.ValidationErrorList

ValidateImageStreamMapping tests required fields for an ImageStreamMapping.

func ValidateImageStreamName added in v0.5.3

func ValidateImageStreamName(name string, prefix bool) (bool, string)

func ValidateImageStreamStatusUpdate added in v0.4.3

func ValidateImageStreamStatusUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList

ValidateImageStreamStatusUpdate tests required fields for an ImageStream status update.

func ValidateImageStreamTag added in v1.0.8

func ValidateImageStreamTag(ist *api.ImageStreamTag) fielderrors.ValidationErrorList

ValidateImageStreamTag is essentially a no-op. We don't allow direct creation of istags

func ValidateImageStreamTagUpdate added in v1.0.8

func ValidateImageStreamTagUpdate(newIST, oldIST *api.ImageStreamTag) fielderrors.ValidationErrorList

ValidateImageStreamTagUpdate ensures that only the annotations of the IST have changed

func ValidateImageStreamUpdate added in v0.4.3

func ValidateImageStreamUpdate(newStream, oldStream *api.ImageStream) fielderrors.ValidationErrorList

func ValidateImageUpdate added in v1.0.7

func ValidateImageUpdate(newImage, oldImage *api.Image) fielderrors.ValidationErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL