clusterloader

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package clusterloader implements cluster load tests. ref. https://github.com/kubernetes/perf-tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger *zap.Logger

	Client k8s_client.EKS

	// Groups is the number of loader groups to launch.
	// The total number of goroutines is Groups * number of
	// load functons defined below.
	Groups int

	Stopc chan struct{}

	Deadline time.Time
	Timeout  time.Duration

	Namespaces []string
}

Config configures cluster loader.

type Loader added in v1.1.9

type Loader interface {
	Start()
	Stop()
	GetMetrics() (success float64, failure float64, hs metrics.HistogramBuckets, err error)
}

Loader defines cluster loader operations.

func New added in v1.1.9

func New(cfg Config) Loader

Directories

Path Synopsis
Package local implements cluster local load tests.
Package local implements cluster local load tests.
Package remote implements cluster remote load tests.
Package remote implements cluster remote load tests.

Jump to

Keyboard shortcuts

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