kubernetes: k8s.io/kubernetes/pkg/apis/autoscaling/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/autoscaling/validation"

Index

Package Files

validation.go

Variables

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.

func ValidateCrossVersionObjectReference Uses

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

func ValidateHorizontalPodAutoscaler Uses

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

func ValidateHorizontalPodAutoscalerStatusUpdate Uses

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

func ValidateHorizontalPodAutoscalerUpdate Uses

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

func ValidateScale Uses

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

Package validation imports 10 packages (graph) and is imported by 86 packages. Updated 2019-07-19. Refresh now. Tools for package owners.