stresschaos

package
v0.0.0-...-38e49da Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestcaseCPUStressInjectionOnceThenRecover

func TestcaseCPUStressInjectionOnceThenRecover(
	ns string,
	cli client.Client,
	peers []*corev1.Pod,
	ports []uint16,
	c http.Client,
)

func TestcaseMemoryStressInjectionOnceThenRecover

func TestcaseMemoryStressInjectionOnceThenRecover(
	ns string,
	cli client.Client,
	peers []*corev1.Pod,
	ports []uint16,
	c http.Client,
)

Types

type StressCondition

type StressCondition struct {
	CpuTime     uint64 `json:"cpuTime"`
	MemoryUsage uint64 `json:"memoryUsage"`
}

Jump to

Keyboard shortcuts

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