validation

package
v1.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateHorizontalPodAutoscalerName = apivalidation.ValidateReplicationControllerName

ValidateHorizontalPodAutoscaler can be used to check whether the given autoscaler name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.

Functions

func ValidateCrossVersionObjectReference

func ValidateCrossVersionObjectReference(ref autoscaling.CrossVersionObjectReference, fldPath *field.Path) field.ErrorList

func ValidateHorizontalPodAutoscaler

func ValidateHorizontalPodAutoscaler(autoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList

func ValidateHorizontalPodAutoscalerStatusUpdate

func ValidateHorizontalPodAutoscalerStatusUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList

func ValidateHorizontalPodAutoscalerUpdate

func ValidateHorizontalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList

func ValidateScale

func ValidateScale(scale *autoscaling.Scale) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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