client

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeletClientConfig

type KubeletClientConfig struct {
	Client              rest.Config
	AddressTypePriority []corev1.NodeAddressType
	Scheme              string
	DefaultPort         int
	UseNodeStatusPort   bool
}

KubeletClientConfig represents configuration for connecting to Kubelets.

type KubeletMetricsGetter added in v0.6.0

type KubeletMetricsGetter interface {
	// GetMetrics fetches Resource metrics from the given Kubelet
	GetMetrics(ctx context.Context, node *v1.Node) (*storage.MetricsBatch, error)
}

KubeletMetricsGetter knows how to fetch metrics from the Kubelet

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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