metrics

package
v0.1441.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorSource

type ExecutorSource interface {
	RemainingResources() (executor.ExecutorResources, error)
	TotalResources() (executor.ExecutorResources, error)
	ListContainers(executor.Tags) ([]executor.Container, error)
}

type Reporter

type Reporter struct {
	Interval       time.Duration
	ExecutorSource ExecutorSource
	Logger         lager.Logger
}

func (*Reporter) Run

func (reporter *Reporter) Run(signals <-chan os.Signal, ready chan<- struct{}) error

Jump to

Keyboard shortcuts

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