Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HorizontalPodAutoscaler ¶ added in v1.6.0
type HorizontalPodAutoscaler struct { ObjectMeta api.ObjectMeta `json:"objectMeta"` TypeMeta api.TypeMeta `json:"typeMeta"` ScaleTargetRef ScaleTargetRef `json:"scaleTargetRef"` MinReplicas *int32 `json:"minReplicas"` MaxReplicas int32 `json:"maxReplicas"` CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage"` TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage"` }
HorizontalPodAutoscaler (aka. Horizontal Pod Autoscaler)
type HorizontalPodAutoscalerCell ¶ added in v1.10.2
type HorizontalPodAutoscalerCell autoscaling.HorizontalPodAutoscaler
func (HorizontalPodAutoscalerCell) GetProperty ¶ added in v1.10.2
func (self HorizontalPodAutoscalerCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type HorizontalPodAutoscalerDetail ¶ added in v1.6.0
type HorizontalPodAutoscalerDetail struct { ObjectMeta api.ObjectMeta `json:"objectMeta"` TypeMeta api.TypeMeta `json:"typeMeta"` ScaleTargetRef ScaleTargetRef `json:"scaleTargetRef"` MinReplicas *int32 `json:"minReplicas"` MaxReplicas int32 `json:"maxReplicas"` CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage"` TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage"` CurrentReplicas int32 `json:"currentReplicas"` DesiredReplicas int32 `json:"desiredReplicas"` LastScaleTime *v1.Time `json:"lastScaleTime"` }
HorizontalPodAutoscalerDetail provides the presentation layer view of Kubernetes Horizontal Pod Autoscaler resource. close mapping of the autoscaling.HorizontalPodAutoscaler type with part of the *Spec and *Detail childs
func GetHorizontalPodAutoscalerDetail ¶ added in v1.6.0
func GetHorizontalPodAutoscalerDetail(client client.Interface, namespace string, name string) (*HorizontalPodAutoscalerDetail, error)
GetHorizontalPodAutoscalerDetail returns detailed information about a horizontal pod autoscaler
type HorizontalPodAutoscalerList ¶ added in v1.6.0
type HorizontalPodAutoscalerList struct { ListMeta api.ListMeta `json:"listMeta"` // Unordered list of Horizontal Pod Autoscalers. HorizontalPodAutoscalers []HorizontalPodAutoscaler `json:"horizontalpodautoscalers"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
func GetHorizontalPodAutoscalerList ¶ added in v1.6.0
func GetHorizontalPodAutoscalerList(client k8sClient.Interface, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*HorizontalPodAutoscalerList, error)
func GetHorizontalPodAutoscalerListForResource ¶ added in v1.6.0
func GetHorizontalPodAutoscalerListForResource(client k8sClient.Interface, namespace, kind, name string) (*HorizontalPodAutoscalerList, error)
type ScaleTargetRef ¶
Simple mapping of an autoscaling.CrossVersionObjectReference
Click to show internal directories.
Click to hide internal directories.