metricsserver

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestVerbList = "list"
	RequestVerbGet  = "get"
	NodeResource    = "nodes"
	PodResource     = "pods"

	LabelSelectorQueryParam = "labelSelector"
)

Variables

View Source
var GroupVersion = schema.GroupVersion{
	Group:   "metrics.k8s.io",
	Version: "v1beta1",
}

Functions

func Register

func Register(ctx *synccontext.ControllerContext) error

func RegisterOrDeregisterAPIService

func RegisterOrDeregisterAPIService(ctx *synccontext.ControllerContext) error

func WithMetricsServerProxy

func WithMetricsServerProxy(
	h http.Handler,
	registerCtx *synccontext.RegisterContext,
) http.Handler

Types

type RowData

type RowData struct {
	Index int
	Cells []interface{}
	Pom   metav1.PartialObjectMetadata
}

Jump to

Keyboard shortcuts

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