Documentation ¶
Index ¶
- func InitVpaStatus(vpaClient vpa_api.VerticalPodAutoscalerInterface, vpaName string) (result *vpa_types.VerticalPodAutoscaler, err error)
- func NewAllVpasLister(vpaClient *vpa_clientset.Clientset, stopChannel <-chan struct{}) vpa_lister.VerticalPodAutoscalerLister
- func UpdateVpaRecommendation(vpaClient vpa_api.VerticalPodAutoscalerInterface, vpaName string, ...) (result *vpa_types.VerticalPodAutoscaler, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitVpaStatus ¶
func InitVpaStatus(vpaClient vpa_api.VerticalPodAutoscalerInterface, vpaName string) (result *vpa_types.VerticalPodAutoscaler, err error)
InitVpaStatus inserts into VPA CRD object an empty VerticalPodAutoscalerStatus object, so later it can be filled with data.
func NewAllVpasLister ¶
func NewAllVpasLister(vpaClient *vpa_clientset.Clientset, stopChannel <-chan struct{}) vpa_lister.VerticalPodAutoscalerLister
NewAllVpasLister returns VerticalPodAutoscalerLister configured to fetch all VPA objects.
func UpdateVpaRecommendation ¶
func UpdateVpaRecommendation(vpaClient vpa_api.VerticalPodAutoscalerInterface, vpaName string, recommendation vpa_types.RecommendedPodResources) (result *vpa_types.VerticalPodAutoscaler, err error)
UpdateVpaRecommendation updates VPA's status/recommendation object and status/lastUpdateTime.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.