package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
ValidateCrossVersionObjectReference validates a CrossVersionObjectReference and returns an ErrorList with any errors.
ValidateHorizontalPodAutoscaler validates a HorizontalPodAutoscaler and returns an ErrorList with any errors.
ValidateHorizontalPodAutoscalerStatusUpdate validates an update to status on a HorizontalPodAutoscaler and returns an ErrorList with any errors.
ValidateHorizontalPodAutoscalerUpdate validates an update to a HorizontalPodAutoscaler and returns an ErrorList with any errors.
ValidateScale validates a Scale and returns an ErrorList with any errors.
# Constants
MaxPeriodSeconds is the largest allowed scaling policy period (in seconds).
MaxStabilizationWindowSeconds is the largest allowed stabilization window (in seconds).
# Variables
ValidateHorizontalPodAutoscalerName can be used to check whether the given autoscaler name is valid.