sources

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2015 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersion = "v1"
)
View Source
const (
	KubeEventsSourceName = "Kube Events Source"
)
View Source
const (
	KubeNodeMetricsSourceName = "Kube Node Metrics Source"
)
View Source
const (
	KubePodsSourceName = "Kube Pods Source"
)

Variables

This section is empty.

Functions

func CreateKubeSources added in v0.11.0

func CreateKubeSources(uri *url.URL, c cache.Cache) ([]api.Source, error)

func NewCadvisorSources added in v0.11.0

func NewCadvisorSources(uri *url.URL, _ cache.Cache) ([]api.Source, error)

func NewKubeEvents added in v0.11.0

func NewKubeEvents(client *kubeclient.Client, ec cache.EventsCache) api.Source

func NewKubeNodeMetrics added in v0.11.0

func NewKubeNodeMetrics(kubeletPort int, kubeletApi datasource.Kubelet, nodesApi nodes.NodesApi) api.Source

func NewKubePodMetrics added in v0.11.0

func NewKubePodMetrics(kubeletPort int, kubeletApi datasource.Kubelet, nodesApi nodes.NodesApi, podsApi podsApi) api.Source

func PostRequestAndGetValue

func PostRequestAndGetValue(client *http.Client, req *http.Request, value interface{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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