kubernetes: k8s.io/kubernetes/test/integration/scheduler_perf Index | Files

package benchmark

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

Index

Package Files

scheduler_perf_types.go util.go

type DataItem Uses

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 Uses

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.

Package benchmark imports 20 packages (graph). Updated 2020-05-26. Refresh now. Tools for package owners.