Documentation ¶
Index ¶
- Variables
- func ValidateCrossVersionObjectReference(ref autoscaling.CrossVersionObjectReference, fldPath *field.Path) field.ErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
- func ValidateHorizontalPodAutoscalerStatusUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
- func ValidateScale(scale *autoscaling.Scale) field.ErrorList
- func ValidateVerticalPodAutoscaler(autoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
- func ValidateVerticalPodAutoscalerStatusUpdate(newAutoscaler, oldAutoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
- func ValidateVerticalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
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.
View Source
var ValidateVerticalPodAutoscalerName = corevalidation.ValidateReplicationControllerName
ValidateVerticalPodAutoscalerName verifies that the vertical pod autoscaler name is valid.
Functions ¶
func ValidateCrossVersionObjectReference ¶ added in v1.3.0
func ValidateCrossVersionObjectReference(ref autoscaling.CrossVersionObjectReference, fldPath *field.Path) field.ErrorList
func ValidateHorizontalPodAutoscaler ¶ added in v1.3.0
func ValidateHorizontalPodAutoscaler(autoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
func ValidateHorizontalPodAutoscalerStatusUpdate ¶ added in v1.3.0
func ValidateHorizontalPodAutoscalerStatusUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
func ValidateHorizontalPodAutoscalerUpdate ¶ added in v1.3.0
func ValidateHorizontalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *autoscaling.HorizontalPodAutoscaler) field.ErrorList
func ValidateScale ¶
func ValidateScale(scale *autoscaling.Scale) field.ErrorList
func ValidateVerticalPodAutoscaler ¶
func ValidateVerticalPodAutoscaler(autoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
ValidateVerticalPodAutoscaler that VerticalPodAutoscaler is valid.
func ValidateVerticalPodAutoscalerStatusUpdate ¶
func ValidateVerticalPodAutoscalerStatusUpdate(newAutoscaler, oldAutoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
ValidateVerticalPodAutoscalerStatusUpdate that VerticalPodAutoscaler status update is valid.
func ValidateVerticalPodAutoscalerUpdate ¶
func ValidateVerticalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *autoscaling.VerticalPodAutoscaler) field.ErrorList
ValidateVerticalPodAutoscalerUpdate that VerticalPodAutoscaler update is valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.