Documentation ¶
Index ¶
- Constants
- func CreateKubeSources(uri *url.URL, c cache.Cache) ([]api.Source, error)
- func NewCadvisorSources(uri *url.URL, _ cache.Cache) ([]api.Source, error)
- func NewKubeEvents(client *kubeclient.Client, ec cache.EventsCache) api.Source
- func NewKubeNodeMetrics(kubeletPort int, kubeletApi datasource.Kubelet, nodesApi nodes.NodesApi) api.Source
- func NewKubePodMetrics(kubeletPort int, kubeletApi datasource.Kubelet, nodesApi nodes.NodesApi, ...) api.Source
- func PostRequestAndGetValue(client *http.Client, req *http.Request, value interface{}) error
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 NewCadvisorSources ¶ added in v0.11.0
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 NewKubePodMetrics ¶ added in v0.11.0
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.