metric

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricManager

type MetricManager interface {
	// AddClient adds metric client to client list supported by this manager.
	AddClient(metricapi.MetricClient) MetricManager
	// Client returns active Metric client.
	Client() metricapi.MetricClient
	// Enable is responsible for switching active client if given integration application id
	// is found and related application is healthy (we can connect to it).
	Enable(integrationapi.IntegrationID) error
	// List returns list of available metric related integrations.
	List() []integrationapi.Integration
	// ConfigureHeapster configures and adds heapster to clients list.
	ConfigureHeapster(host string) MetricManager
}

MetricManager is responsible for management of all integrated applications related to metrics.

func NewMetricManager

func NewMetricManager(manager client.ClientManager) MetricManager

NewMetricManager creates metric manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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