metricsclient

package
v0.0.0-...-0c34cbd Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultKubeApiServerBaseUrl = "localhost:8001"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	QueryAllPodMetrics() (*metrics.PodMetricsList, error)

	QueryNodeMetrics(nodeName string) (*metrics.NodeMetrics, error)
}

func NewHttpMetricsClient

func NewHttpMetricsClient(baseUrl string) Client

Jump to

Keyboard shortcuts

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