Versions in this module Expand all Collapse all v0 v0.0.1 Jul 16, 2021 Changes in this version + var AddToScheme = SchemeBuilder.AddToScheme + var GroupVersion = schema.GroupVersion + var SchemeBuilder = &scheme.Builder + type Algorithm struct + Options map[string]string + Type string + func (in *Algorithm) DeepCopy() *Algorithm + func (in *Algorithm) DeepCopyInto(out *Algorithm) + type ExternalMetricSource struct + Metric MetricIdentifier + Target MetricTarget + func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource + func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) + type Kratos struct + Spec KratosSpec + Status KratosStatus + func (in *Kratos) DeepCopy() *Kratos + func (in *Kratos) DeepCopyInto(out *Kratos) + func (in *Kratos) DeepCopyObject() runtime.Object + type KratosList struct + Items []Kratos + func (in *KratosList) DeepCopy() *KratosList + func (in *KratosList) DeepCopyInto(out *KratosList) + func (in *KratosList) DeepCopyObject() runtime.Object + type KratosSpec struct + Algorithm Algorithm + Behavior *ScaleBehavior + MaxReplicas int32 + Metrics []ScaleMetric + MinReplicas int32 + StabilizationWindowSeconds int32 + Target ScaleTargetReference + func (in *KratosSpec) DeepCopy() *KratosSpec + func (in *KratosSpec) DeepCopyInto(out *KratosSpec) + type KratosStatus struct + CurrentReplicas int32 + DesiredReplicas int32 + Recommendations []Recommendation + ScaleDownEvents []ScaleChangeEvent + ScaleUpEvents []ScaleChangeEvent + StabilizationEndTime *metav1.Time + func (in *KratosStatus) DeepCopy() *KratosStatus + func (in *KratosStatus) DeepCopyInto(out *KratosStatus) + type MetricIdentifier struct + Name string + Selector *metav1.LabelSelector + func (in *MetricIdentifier) DeepCopy() *MetricIdentifier + func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) + 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 MetricType string + const ExternalScaleMetricType + const ObjectScaleMetricType + const PodScaleMetricType + const PrometheusScaleMetricType + const ResourceScaleMetricType + type ObjectMetricSource struct + DescribedObject ScaleTargetReference + Metric MetricIdentifier + Target MetricTarget + func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource + func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) + type PodsMetricSource struct + Metric MetricIdentifier + Target MetricTarget + func (in *PodsMetricSource) DeepCopy() *PodsMetricSource + func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) + type PrometheusMetricSource struct + MetricQuery string + PrometheusEndpoint string + Target MetricTarget + func (in *PrometheusMetricSource) DeepCopy() *PrometheusMetricSource + func (in *PrometheusMetricSource) DeepCopyInto(out *PrometheusMetricSource) + type Recommendation struct + Replicas int32 + Timestamp metav1.Time + func (in *Recommendation) DeepCopy() *Recommendation + func (in *Recommendation) DeepCopyInto(out *Recommendation) + type ResourceMetricSource struct + Container string + Name v1.ResourceName + Target MetricTarget + func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource + func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) + type ScaleBehavior struct + ScaleDown *ScaleRules + ScaleUp *ScaleRules + func (in *ScaleBehavior) DeepCopy() *ScaleBehavior + func (in *ScaleBehavior) DeepCopyInto(out *ScaleBehavior) + type ScaleChangeEvent struct + ReplicaChange int32 + Timestamp metav1.Time + func (in *ScaleChangeEvent) DeepCopy() *ScaleChangeEvent + func (in *ScaleChangeEvent) DeepCopyInto(out *ScaleChangeEvent) + type ScaleMetric struct + External *ExternalMetricSource + Object *ObjectMetricSource + Pods *PodsMetricSource + Prometheus *PrometheusMetricSource + Resource *ResourceMetricSource + Type MetricType + func (in *ScaleMetric) DeepCopy() *ScaleMetric + func (in *ScaleMetric) DeepCopyInto(out *ScaleMetric) + func (sm *ScaleMetric) GetMetricTarget() (*MetricTarget, error) + type ScaleRules struct + Policies []ScalingPolicy + SelectPolicy ScalingPolicySelect + StabilizationWindowSeconds int32 + func (in *ScaleRules) DeepCopy() *ScaleRules + func (in *ScaleRules) DeepCopyInto(out *ScaleRules) + type ScaleTargetReference struct + APIVersion string + Kind string + Name string + func (in *ScaleTargetReference) DeepCopy() *ScaleTargetReference + func (in *ScaleTargetReference) DeepCopyInto(out *ScaleTargetReference) + type ScalingPolicy struct + PeriodSeconds int32 + Type ScalingPolicyType + Value int32 + func (in *ScalingPolicy) DeepCopy() *ScalingPolicy + func (in *ScalingPolicy) DeepCopyInto(out *ScalingPolicy) + type ScalingPolicySelect string + const DisabledPolicySelect + const MaxPolicySelect + const MinPolicySelect + type ScalingPolicyType string + const PercentScalingPolicy + const PodsScalingPolicy