metrics

package
v1.1.0-alpha.1....-e8f77b3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2015 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 HeapsterMetricsClient

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

Heapster-based implementation of MetricsClient

func NewHeapsterMetricsClient

func NewHeapsterMetricsClient(client client.Interface) *HeapsterMetricsClient

func (*HeapsterMetricsClient) ResourceConsumption

func (h *HeapsterMetricsClient) ResourceConsumption(namespace string) ResourceConsumptionClient

type HeapsterResourceConsumptionClient

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

func (*HeapsterResourceConsumptionClient) Get

type MetricsClient

type MetricsClient interface {
	ResourceConsumption(namespace string) ResourceConsumptionClient
}

An interface for getting metrics for pods.

type ResourceConsumptionClient

type ResourceConsumptionClient interface {
	// Gets average resource consumption for pods under the given selector.
	Get(resourceName api.ResourceName, selector map[string]string) (*experimental.ResourceConsumption, error)
}

Jump to

Keyboard shortcuts

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