bench

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

func (*Action) Execute

func (a *Action) Execute(ctx context.Context, runData runtime.Data) (bool, error)

func (*Action) Timeout

func (a *Action) Timeout() time.Duration

func (*Action) When

func (a *Action) When() action.When

type ActionMaker

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

func CreateActionMaker

func CreateActionMaker(fnd app.Foundation) *ActionMaker

func (*ActionMaker) Make

func (m *ActionMaker) Make(
	config *types.BenchAction,
	sl services.ServiceLocator,
	defaultTimeout int,
) (action.Action, error)

type Maker

type Maker interface {
	Make(
		config *types.BenchAction,
		sl services.ServiceLocator,
		defaultTimeout int,
	) (action.Action, error)
}

type Metrics

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

func (*Metrics) Find

func (m *Metrics) Find(name string) (metrics.Metric, error)

Jump to

Keyboard shortcuts

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