Documentation ¶
Overview ¶
Package external contains models for external metrics as returned by the K8s metrics APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Current value.MetricValue `json:"current,omitempty"` ReadyPodCount *int64 `json:"readyPodCount,omitempty"` Timestamp time.Time `json:"timestamp,omitempty"` }
Metric (Resource) is a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
Click to show internal directories.
Click to hide internal directories.