Documentation ¶
Overview ¶
Package metrics provides models for all of the metrics returned from the K8s APIs grouped into a single model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Spec autoscalingv2.MetricSpec `json:"spec"` Resource *resource.Metric `json:"resource,omitempty"` Pods *pods.Metric `json:"pods,omitempty"` Object *object.Metric `json:"object,omitempty"` External *external.Metric `json:"external,omitempty"` }
Metric is a metric that has been retrieved from the K8s metrics server
Directories ¶
Path | Synopsis |
---|---|
Package external contains models for external metrics as returned by the K8s metrics APIs.
|
Package external contains models for external metrics as returned by the K8s metrics APIs. |
Package object contains models for object metrics as returned by the K8s metrics APIs.
|
Package object contains models for object metrics as returned by the K8s metrics APIs. |
Package podmetrics contains models for an individual pod's metrics as returned by the K8s metrics APIs.
|
Package podmetrics contains models for an individual pod's metrics as returned by the K8s metrics APIs. |
Package pods contains models for metrics relating to a set of pods as returned by the K8s metrics APIs.
|
Package pods contains models for metrics relating to a set of pods as returned by the K8s metrics APIs. |
Package resource contains models for resource metrics as returned by the K8s metrics APIs.
|
Package resource contains models for resource metrics as returned by the K8s metrics APIs. |
Package value contains models for how K8s metric values are actually defined.
|
Package value contains models for how K8s metric values are actually defined. |
Click to show internal directories.
Click to hide internal directories.