kubestate

package
v0.0.0-...-8d5267c Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) GetDeployments

func (c *Client) GetDeployments() (*v1beta1.DeploymentList, error)

func (*Client) GetJobs

func (c *Client) GetJobs() (*v1batch.JobList, error)

func (*Client) GetNodes

func (c *Client) GetNodes() (*v1.NodeList, error)

func (*Client) GetPods

func (c *Client) GetPods() (*v1.PodList, error)

type Kubestate

type Kubestate struct {
}

func (*Kubestate) CollectMetrics

func (n *Kubestate) CollectMetrics(mts []plugin.Metric) ([]plugin.Metric, error)

CollectMetrics collects metrics for testing

func (*Kubestate) GetConfigPolicy

func (f *Kubestate) GetConfigPolicy() (plugin.ConfigPolicy, error)

func (*Kubestate) GetMetricTypes

func (n *Kubestate) GetMetricTypes(cfg plugin.Config) ([]plugin.Metric, error)

Jump to

Keyboard shortcuts

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