app

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogNoise

func LogNoise(
	conn plugin.CliConnection,
	args []string,
	httpClient HTTPClient,
	appInfoStore AppInfoStore,
	tableWriter io.Writer,
	log Logger,
)

LogNoise reports the noisiest neighbors for the given accumulator.

Types

type AppInfoStore

type AppInfoStore interface {
	Lookup(guids []string) (map[collector.AppGUID]collector.AppInfo, error)
}

AppInfoStore defines the interface used to look up app, space and org names.

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

HTTPClient defines the interface for making HTTP requests.

type Logger

type Logger interface {
	Fatalf(format string, args ...interface{})
	Printf(format string, args ...interface{})
}

Logger defines the interface for logging.

Jump to

Keyboard shortcuts

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