plugins

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppRunner

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

func NewAppRunner

func NewAppRunner(reporter Reporter, metricsRenderer OutputRenderer) AppRunner

func (AppRunner) Run

func (r AppRunner) Run(logger lager.Logger, appName string) result.Result

type CPUEntitlementAdminPlugin

type CPUEntitlementAdminPlugin struct{ Version string }

func NewOverEntitlementInstancesPlugin

func NewOverEntitlementInstancesPlugin() CPUEntitlementAdminPlugin

func (CPUEntitlementAdminPlugin) GetMetadata

func (CPUEntitlementAdminPlugin) Run

func (CPUEntitlementAdminPlugin) WithVersion added in v0.2.0

type CPUEntitlementPlugin

type CPUEntitlementPlugin struct{ Version string }

func NewCPUEntitlementPlugin

func NewCPUEntitlementPlugin() CPUEntitlementPlugin

func (CPUEntitlementPlugin) GetMetadata

func (p CPUEntitlementPlugin) GetMetadata() plugin.PluginMetadata

func (CPUEntitlementPlugin) Run

func (p CPUEntitlementPlugin) Run(cli plugin.CliConnection, args []string)

func (CPUEntitlementPlugin) WithVersion added in v0.2.0

func (p CPUEntitlementPlugin) WithVersion(version string) CPUEntitlementPlugin

type OutputRenderer

type OutputRenderer interface {
	ShowApplicationReport(logger lager.Logger, appReport reporter.ApplicationReport) error
}

type OverEntitlementInstancesRenderer

type OverEntitlementInstancesRenderer interface {
	Render(lager.Logger, reporter.OEIReport) error
}

type OverEntitlementInstancesReporter

type OverEntitlementInstancesReporter interface {
	OverEntitlementInstances(logger lager.Logger) (reporter.OEIReport, error)
}

type OverEntitlementInstancesRunner

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

func (*OverEntitlementInstancesRunner) Run

func (r *OverEntitlementInstancesRunner) Run(logger lager.Logger) error

type Reporter

type Reporter interface {
	CreateApplicationReport(logger lager.Logger, appName string) (reporter.ApplicationReport, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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