heapster: github.com/MrGossett/heapster/sources Index | Files | Directories

package sources

import "github.com/MrGossett/heapster/sources"

Index

Package Files

cadvisor.go http.go kube_events.go kube_factory.go kube_nodes.go kube_pods.go pods.go test_utils.go types.go

Constants

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

func CreateKubeSources Uses

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

func NewCadvisorSources Uses

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

func NewKubeEvents Uses

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

func NewKubeNodeMetrics Uses

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

func NewKubePodMetrics Uses

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

func PostRequestAndGetValue Uses

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

Directories

PathSynopsis
api
datasource
nodes

Package sources imports 28 packages (graph). Updated 2017-06-21. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).