Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextTransition ¶
func NextTransition(pa *autoscalingv1alpha1.PodAutoscaler, now time.Time) (time.Duration, bool, error)
func Validate ¶
func Validate(pa *autoscalingv1alpha1.PodAutoscaler) []error
Types ¶
type Bounds ¶
type Bounds struct {
MinReplicas int32
MaxReplicas int32
ActiveSchedule string
ActiveScheduleHasMinReplicas bool
}
func BaseBounds ¶
func BaseBounds(pa *autoscalingv1alpha1.PodAutoscaler) Bounds
func Resolve ¶
func Resolve(pa *autoscalingv1alpha1.PodAutoscaler, now time.Time) (Bounds, error)
Click to show internal directories.
Click to hide internal directories.