kubernetesk8s.io/kubernetes/test/integration/scheduler_perf Index | Files

package benchmark

import "k8s.io/kubernetes/test/integration/scheduler_perf"

Index

Types

type DataItem

type DataItem struct {
	// Data is a map from bucket to real data point (e.g. "Perc90" -> 23.5). Notice
	// that all data items with the same label combination should have the same buckets.
	Data map[string]float64 `json:"data"`
	// Unit is the data unit. Notice that all data items with the same label combination
	// should have the same unit.
	Unit string `json:"unit"`
	// Labels is the labels of the data item.
	Labels map[string]string `json:"labels,omitempty"`
}

DataItem is the data point.

type DataItems

type DataItems struct {
	Version   string     `json:"version"`
	DataItems []DataItem `json:"dataItems"`
}

DataItems is the data point set. It is the struct that perf dashboard expects.

Source Files

scheduler_perf_types.go util.go

Version
v1.19.10-rc.0
Published
Mar 18, 2021
Platform
js/wasm
Imports
21 packages
Last checked
4 minutes ago

Tools for package owners.