Documentation ¶
Index ¶
- func CreateOrUpdateMpaCheckpoint(mpaCheckpointClient vpa_api.VerticalPodAutoscalerCheckpointInterface, ...) error
- func NewMpasLister(mpaClient *mpa_clientset.Clientset, stopChannel <-chan struct{}, ...) mpa_lister.MultidimPodAutoscalerLister
- func UpdateMpaStatusIfNeeded(mpaClient mpa_api.MultidimPodAutoscalerInterface, mpaName string, ...) (result *mpa_types.MultidimPodAutoscaler, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateMpaCheckpoint ¶
func CreateOrUpdateMpaCheckpoint(mpaCheckpointClient vpa_api.VerticalPodAutoscalerCheckpointInterface, mpaCheckpoint *vpa_types.VerticalPodAutoscalerCheckpoint) error
CreateOrUpdateMpaCheckpoint updates the status field of the MPA Checkpoint API object. If object doesn't exits it is created.
func NewMpasLister ¶
func NewMpasLister(mpaClient *mpa_clientset.Clientset, stopChannel <-chan struct{}, namespace string) mpa_lister.MultidimPodAutoscalerLister
NewMpasLister returns MultidimPodAutoscalerLister configured to fetch all MPA objects from namespace, set namespace to k8sapiv1.NamespaceAll to select all namespaces. The method blocks until mpaLister is initially populated.
func UpdateMpaStatusIfNeeded ¶
func UpdateMpaStatusIfNeeded(mpaClient mpa_api.MultidimPodAutoscalerInterface, mpaName string, newStatus, oldStatus *mpa_types.MultidimPodAutoscalerStatus) (result *mpa_types.MultidimPodAutoscaler, err error)
UpdateMpaStatusIfNeeded updates the status field of the MPA API object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.