Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerMetrics ¶
type Default ¶
type Default struct{}
func (*Default) Handle ¶
func (d *Default) Handle(metrics <-chan MetricBatch)
type MetricBatch ¶
type MetricBatch struct { Nodes map[string]NodeMetrics Pods map[string]PodMetrics }
type MetricsHandler ¶
type MetricsHandler interface { Init(c *config.Config) error Handle(metrics <-chan MetricBatch) }
type Metricstream ¶
type Metricstream struct { Finished bool // contains filtered or unexported fields }
func NewMetricStream ¶
func NewMetricStream(pod *api_v1.Pod, handler MetricsHandler) *Metricstream
func (*Metricstream) Delete ¶
func (m *Metricstream) Delete()
func (*Metricstream) Finish ¶
func (m *Metricstream) Finish()
func (*Metricstream) Start ¶
func (m *Metricstream) Start(r *rest.Config, ch chan<- MetricBatch)
type NetworkLabel ¶
type NodeMetrics ¶
Click to show internal directories.
Click to hide internal directories.