Documentation ¶ Index ¶ type Stress func New(ctx context.Context, r runc.Runc, targetId string, opts StressOpts) (*Stress, error) func (s *Stress) Start() error func (s *Stress) Stop() func (s *Stress) Wait() <-chan error type StressOpts func (o *StressOpts) Args() []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Stress ¶ type Stress struct { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, r runc.Runc, targetId string, opts StressOpts) (*Stress, error) func (*Stress) Start ¶ func (s *Stress) Start() error func (*Stress) Stop ¶ func (s *Stress) Stop() func (*Stress) Wait ¶ func (s *Stress) Wait() <-chan error type StressOpts ¶ type StressOpts struct { CpuWorkers *int CpuLoad int HddWorkers *int HddBytes string IoWorkers *int TempPath string Timeout time.Duration VmWorkers *int VmHang time.Duration VmBytes string } func (*StressOpts) Args ¶ func (o *StressOpts) Args() []string Source Files ¶ View all Source files stress.go Click to show internal directories. Click to hide internal directories.