kubelet

package
v0.20.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersion = "v1"
)
View Source
const (
	CustomMetricPrefix = "CM:"
)

Variables

This section is empty.

Functions

func NewKubeletProvider

func NewKubeletProvider(uri *url.URL) (MetricsSourceProvider, error)

Types

type Host

type Host struct {
	IP       string
	Port     int
	Resource string
}

type KubeletClient

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

func NewKubeletClient

func NewKubeletClient(kubeletConfig *kube_client.KubeletClientConfig) (*KubeletClient, error)

func (*KubeletClient) GetAllRawContainers

func (self *KubeletClient) GetAllRawContainers(host Host, start, end time.Time) ([]cadvisor.ContainerInfo, error)

Get stats for all non-Kubernetes containers.

func (*KubeletClient) GetPort

func (self *KubeletClient) GetPort() int

Jump to

Keyboard shortcuts

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