package
0.0.0-20240905184220-0a5f9d4d9d01
Repository: https://github.com/datadog/chaos-controller.git
Documentation: pkg.go.dev
# Functions
NewBpftoolExecutor create a new instance of an Executor responsible of running bpftool command.
NewConfigInformer creates and returns a new instance of a ConfigInformer, which is an interface that provides methods to retrieve system configuration information.
NewConfigInformerMock creates a new instance of ConfigInformerMock.
NewExecutorMock creates a new instance of ExecutorMock.
# Structs
ConfigInformerMock is an autogenerated mock type for the ConfigInformer type.
No description provided by the author
ConfigInformerMock_GetKernelFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKernelFeatures'.
ConfigInformerMock_GetMapTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMapTypes'.
ConfigInformerMock_GetRequiredSystemConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRequiredSystemConfig'.
ConfigInformerMock_IsKernelConfigAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsKernelConfigAvailable'.
ConfigInformerMock_ValidateRequiredSystemConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateRequiredSystemConfig'.
ExecutorMock is an autogenerated mock type for the Executor type.
No description provided by the author
ExecutorMock_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'.
Features is a struct that represents a collection of features.
KernelOption holds information about kernel parameters to probe.
MapTypes contains bools indicating which types of BPF maps the currently running kernel supports.
SystemConfig contains kernel configuration and sysctl parameters related to BPF functionality.
# Interfaces
ConfigInformer is an interface that defines a set of methods for retrieving and validating system configuration information related to kernel features and maps.
No description provided by the author
# Type aliases
KernelParam is a type based on string which represents CONFIG_* kernel parameters which usually have values "y", "n" or "m".
KernelParams is a map that associates KernelParam keys with their corresponding KernelOption values.