object

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package object contains models for object 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:"ready_pod_count,omitempty"`
	Timestamp     time.Time         `json:"timestamp,omitempty"`
}

Metric (Object) is a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Jump to

Keyboard shortcuts

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