Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HPA ¶
type HPA struct { common.ObjectMeta `json:"objectMeta"` common.TypeMeta `json:"typeMeta"` //ScaleTargetRef ScaleTargetRef `json:"scaleTargetRef"` MinReplicas *int32 `json:"minReplicas"` MaxReplicas int32 `json:"maxReplicas"` CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage"` TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage"` }
func CreateOrUpdateHPA ¶
func CreateOrUpdateHPA(c *kubernetes.Clientset, hpa *autoscaling.HorizontalPodAutoscaler) (*HPA, error)
type HPACell ¶
type HPACell HPA
func (HPACell) GetProperty ¶
func (self HPACell) GetProperty(name dataselector.PropertyName) dataselector.ComparableValue
Click to show internal directories.
Click to hide internal directories.