stresser

package
v1.2.4 Latest Latest
Warning

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

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

Documentation

Overview

Package stresser 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
	Stopc  chan struct{}

	Client        k8s_client.EKS
	ClientTimeout time.Duration

	Deadline time.Time

	NamespaceWrite string
	NamespacesRead []string

	ObjectSize int
}

Config configures cluster loader.

type Loader

type Loader interface {
	Start()
	Stop()
	GetMetrics() (writes metrics.RequestsSummary, reads metrics.RequestsSummary, err error)
}

Loader defines cluster loader operations.

func New

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