metrics

package
v0.0.0-...-3793e92 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskUsageFetcher

type DiskUsageFetcher interface {
	DiskUsage(podName string) (int64, error)
}

type MetricsFetcherFn

type MetricsFetcherFn func(guid string) (*v1beta1.PodMetricsList, error)

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(logger *log.Logger, metricsFetcherFn MetricsFetcherFn, diskUsageFetcher DiskUsageFetcher) *Proxy

func (*Proxy) Read

Directories

Path Synopsis
Package diskusage grabs pod disk usage from k8s
Package diskusage grabs pod disk usage from k8s
diskusagefakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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