Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const DefaultCPUUtilization + const GroupName + const HorizontalPodAutoscalerConditionsAnnotation + const MetricSpecsAnnotation + const MetricStatusesAnnotation + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = schema.GroupVersion + func Kind(kind string) schema.GroupKind + func Resource(resource string) schema.GroupResource + type ConditionStatus string + const ConditionFalse + const ConditionTrue + const ConditionUnknown + type CrossVersionObjectReference struct + APIVersion string + Kind string + Name string + func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference + func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference) + type ExternalMetricSource struct + Metric MetricIdentifier + Target MetricTarget + func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource + func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) + type ExternalMetricStatus struct + Current MetricValueStatus + Metric MetricIdentifier + func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus + func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) + type HorizontalPodAutoscaler struct + Spec HorizontalPodAutoscalerSpec + Status HorizontalPodAutoscalerStatus + func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler + func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) + func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object + type HorizontalPodAutoscalerCondition struct + LastTransitionTime metav1.Time + Message string + Reason string + Status ConditionStatus + Type HorizontalPodAutoscalerConditionType + func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition + func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) + type HorizontalPodAutoscalerConditionType string + const AbleToScale + const ScalingActive + const ScalingLimited + type HorizontalPodAutoscalerList struct + Items []HorizontalPodAutoscaler + func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList + func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) + func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object + type HorizontalPodAutoscalerSpec struct + MaxReplicas int32 + Metrics []MetricSpec + MinReplicas *int32 + ScaleTargetRef CrossVersionObjectReference + func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec + func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) + type HorizontalPodAutoscalerStatus struct + Conditions []HorizontalPodAutoscalerCondition + CurrentMetrics []MetricStatus + CurrentReplicas int32 + DesiredReplicas int32 + LastScaleTime *metav1.Time + ObservedGeneration *int64 + func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus + func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) + type MetricIdentifier struct + Name string + Selector *metav1.LabelSelector + func (in *MetricIdentifier) DeepCopy() *MetricIdentifier + func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) + type MetricSourceType string + const ExternalMetricSourceType + const ObjectMetricSourceType + const PodsMetricSourceType + const ResourceMetricSourceType + type MetricSpec struct + External *ExternalMetricSource + Object *ObjectMetricSource + Pods *PodsMetricSource + Resource *ResourceMetricSource + Type MetricSourceType + func (in *MetricSpec) DeepCopy() *MetricSpec + func (in *MetricSpec) DeepCopyInto(out *MetricSpec) + type MetricStatus struct + External *ExternalMetricStatus + Object *ObjectMetricStatus + Pods *PodsMetricStatus + Resource *ResourceMetricStatus + Type MetricSourceType + func (in *MetricStatus) DeepCopy() *MetricStatus + func (in *MetricStatus) DeepCopyInto(out *MetricStatus) + type MetricTarget struct + AverageUtilization *int32 + AverageValue *resource.Quantity + Type MetricTargetType + Value *resource.Quantity + func (in *MetricTarget) DeepCopy() *MetricTarget + func (in *MetricTarget) DeepCopyInto(out *MetricTarget) + type MetricTargetType string + const AverageValueMetricType + const UtilizationMetricType + const ValueMetricType + type MetricValueStatus struct + AverageUtilization *int32 + AverageValue *resource.Quantity + Value *resource.Quantity + func (in *MetricValueStatus) DeepCopy() *MetricValueStatus + func (in *MetricValueStatus) DeepCopyInto(out *MetricValueStatus) + type ObjectMetricSource struct + DescribedObject CrossVersionObjectReference + Metric MetricIdentifier + Target MetricTarget + func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource + func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) + type ObjectMetricStatus struct + Current MetricValueStatus + DescribedObject CrossVersionObjectReference + Metric MetricIdentifier + func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus + func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) + type PodsMetricSource struct + Metric MetricIdentifier + Target MetricTarget + func (in *PodsMetricSource) DeepCopy() *PodsMetricSource + func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) + type PodsMetricStatus struct + Current MetricValueStatus + Metric MetricIdentifier + func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus + func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) + type ResourceMetricSource struct + Name api.ResourceName + Target MetricTarget + func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource + func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) + type ResourceMetricStatus struct + Current MetricValueStatus + Name api.ResourceName + func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus + func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) + type Scale struct + Spec ScaleSpec + Status ScaleStatus + func (in *Scale) DeepCopy() *Scale + func (in *Scale) DeepCopyInto(out *Scale) + func (in *Scale) DeepCopyObject() runtime.Object + type ScaleSpec struct + Replicas int32 + func (in *ScaleSpec) DeepCopy() *ScaleSpec + func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) + type ScaleStatus struct + Replicas int32 + Selector string + func (in *ScaleStatus) DeepCopy() *ScaleStatus + func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus)