metrics

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL