package
0.0.0-20240905184220-0a5f9d4d9d01
Repository: https://github.com/datadog/chaos-controller.git
Documentation: pkg.go.dev
# Functions
NewContainerFailureInjector creates a ContainerFailureInjector object with the given config, missing fields being initialized with the defaults.
NewCPUPressureInjector creates a CPU pressure injector with the given config.
NewCPUStressArgsBuilderMock creates a new instance of CPUStressArgsBuilderMock.
NewCPUPressureInjector creates a CPU pressure injector with the given config.
NewDiskFailureInjector creates a disk failure injector with the given config.
NewDiskPressureInjector creates a disk pressure injector with the given config.
NewDNSDisruptionInjector creates a DNSDisruptionInjector object with the given config, missing fields are initialized with the defaults.
NewFileWriterMock creates a new instance of FileWriterMock.
NewGRPCDisruptionInjector creates a GRPCDisruptionInjector object with the given config, missing fields are initialized with the defaults.
No description provided by the author
NewInjectorCmdFactoryMock creates a new instance of InjectorCmdFactoryMock.
NewInjectorMock creates a new instance of InjectorMock.
NewNetworkDisruptionInjector creates a NetworkDisruptionInjector object with the given config, missing field being initialized with the defaults.
NewNodeFailureInjector creates a NodeFailureInjector object with the given config, missing fields being initialized with the defaults.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Config represents a generic injector config.
ContainerFailureInjectorConfig contains needed drivers to create a ContainerFailureInjector.
CPUStressArgsBuilderMock is an autogenerated mock type for the CPUStressArgsBuilder type.
No description provided by the author
CPUStressArgsBuilderMock_GenerateArgs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateArgs'.
No description provided by the author
DiskFailureInjectorConfig is the disk pressure injector config.
DiskPressureInjectorConfig is the disk pressure injector config.
DNSDisruptionInjector describes a dns disruption.
DNSDisruptionInjectorConfig contains all needed drivers to create a dns disruption using `iptables`.
FileWriterMock is an autogenerated mock type for the FileWriter type.
No description provided by the author
FileWriterMock_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'.
GRPCDisruptionInjector describes a grpc disruption.
GRPCDisruptionInjectorConfig contains all needed drivers to create a grpc disruption.
InjectorCmdFactoryMock is an autogenerated mock type for the InjectorCmdFactory type.
No description provided by the author
InjectorCmdFactoryMock_NewInjectorBackgroundCmd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewInjectorBackgroundCmd'.
InjectorMock is an autogenerated mock type for the Injector type.
InjectorMock_Clean_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clean'.
No description provided by the author
InjectorMock_GetDisruptionKind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDisruptionKind'.
InjectorMock_Inject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Inject'.
InjectorMock_TargetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TargetName'.
InjectorMock_UpdateConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateConfig'.
NetworkDisruptionInjectorConfig contains all needed drivers to create a network disruption using `tc`.
NodeFailureInjectorConfig contains needed drivers to create a NodeFailureInjector.
# Interfaces
No description provided by the author
FileWriter is a component allowing to write the given data to the given file.
Injector is an interface being able to inject or clean disruptions.
No description provided by the author
# Type aliases
No description provided by the author