package
0.0.0-20240905184220-0a5f9d4d9d01
Repository: https://github.com/datadog/chaos-controller.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewBackgroundCmdMock creates a new instance of BackgroundCmdMock.
NewCmdMock creates a new instance of CmdMock.
No description provided by the author
NewFactoryMock creates a new instance of FactoryMock.
# Constants
No description provided by the author
# Structs
BackgroundCmdMock is an autogenerated mock type for the BackgroundCmd type.
BackgroundCmdMock_DryRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DryRun'.
No description provided by the author
BackgroundCmdMock_KeepAlive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KeepAlive'.
BackgroundCmdMock_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'.
BackgroundCmdMock_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'.
CmdMock is an autogenerated mock type for the Cmd type.
CmdMock_DryRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DryRun'.
CmdMock_ExitCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExitCode'.
No description provided by the author
CmdMock_PID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PID'.
CmdMock_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'.
CmdMock_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'.
CmdMock_Wait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wait'.
FactoryMock is an autogenerated mock type for the Factory type.
No description provided by the author
FactoryMock_NewCmd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewCmd'.
# Interfaces
BackgroundCmd wraps a ContextCmd methods to provide monitorability of a ContextCmd that is launched in background.
Cmd aims to be a convenient wrapper around os/exec.CommandContext to ease testing and move some process methods up (PID/ExitCode).
Factory defines how we want to create a command (with context and with relevant fields set).