Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRecommendationProvider ¶
func NewRecommendationProvider(vpaLister vpalister.VerticalPodAutoscalerLister) *recommendationProvider
NewRecommendationProvider constructs the recommendation provider that list VPAs and can be used to determine recommendations for pods.
Types ¶
type RecommendationProvider ¶
type RecommendationProvider interface {
GetRequestForPod(pod *v1.Pod) ([]v1.ResourceList, error)
}
RecommendationProvider gets current recommendation for the given pod.
Click to show internal directories.
Click to hide internal directories.