package
0.3.12
Repository: https://github.com/grafana/xk6-disruptor.git
Documentation: pkg.go.dev

# Functions

NewFakePodCommandExecutor creates a new instance of FakePodCommandExecutor with default attributes.
NewPodHelper returns a PodHelper.
NewRestExecutor returns a PodCommandExecutor that executes command using rest client with the given rest configuration.
NewServiceHelper returns a ServiceHelper.

# Structs

AttachOptions defines options for attaching a container.
Command records the execution of a command in a Pod.
FakePodCommandExecutor mocks the execution of a command in a pod recording the command history and returning a predefined stdout, stderr, and error.
PodFilter defines the criteria for selecting a pod for disruption.

# Interfaces

PodCommandExecutor defines a method for executing commands in a target Pod.
PodHelper defines helper methods for handling Pods.
ServiceHelper implements functions for dealing with services.