Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
ConfigProperties map[string]string
Predictors map[predictionapi.AlgorithmType]prediction.Interface
DataSource providers.Interface
Recommendation *analysisapi.Recommendation
Scale *autoscalingapiv1.Scale
RestMapping *meta.RESTMapping
Deployment *appsv1.Deployment
StatefulSet *appsv1.StatefulSet
Pods []corev1.Pod
ReadyPodNumber int
}
Context includes all resource used in recommendation progress
type ProposedRecommendation ¶
type ProposedRecommendation struct {
// EffectiveHPA is the proposed recommendation for type HPA
EffectiveHPA *analysisapi.EffectiveHorizontalPodAutoscalerRecommendation
// ResourceRequest is the proposed recommendation for type Resource
ResourceRequest *analysisapi.ResourceRequestRecommendation
}
ProposedRecommendation is the result for one recommendation
Click to show internal directories.
Click to hide internal directories.