perf

package
v1.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsController

type StatsController struct{}

StatsController manages v1alpha1.Stats which is the current snaphot of the machine CPU and Memory consumption.

func (*StatsController) Inputs

func (ctrl *StatsController) Inputs() []controller.Input

Inputs implements controller.StatsController interface.

func (*StatsController) Name

func (ctrl *StatsController) Name() string

Name implements controller.StatsController interface.

func (*StatsController) Outputs

func (ctrl *StatsController) Outputs() []controller.Output

Outputs implements controller.StatsController interface.

func (*StatsController) Run

func (ctrl *StatsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.StatsController interface.

Jump to

Keyboard shortcuts

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