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
NewBPFTCFilterConfigExecutor create a new instance of an executor responsible of configure tc eBPF filter program.
NewConnState returns a connection state value based on the given string, possible values are: - new: new connections - est: established connections - empty string (""): undefined.
NewDNSClient creates a standard DNS client.
NewDNSClientMock creates a new instance of DNSClientMock.
NewIPTables returns an implementation of the IPTables interface that can log.
NewIPTablesMock creates a new instance of IPTablesMock.
NewNetlinkAdapter returns a standard netlink adapter.
NewNetlinkAdapterMock creates a new instance of NetlinkAdapterMock.
NewNetlinkLinkMock creates a new instance of NetlinkLinkMock.
NewNetlinkRouteMock creates a new instance of NetlinkRouteMock.
NewTrafficController creates a standard traffic controller using tc and being able to log.
NewTrafficControllerMock creates a new instance of TrafficControllerMock.

# 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

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DNSClientMock is an autogenerated mock type for the DNSClient type.
No description provided by the author
DNSClientMock_Resolve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Resolve'.
No description provided by the author
IPTablesMock is an autogenerated mock type for the IPTables type.
IPTablesMock_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'.
No description provided by the author
IPTablesMock_Intercept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Intercept'.
IPTablesMock_LogConntrack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogConntrack'.
IPTablesMock_MarkCgroupPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkCgroupPath'.
IPTablesMock_MarkClassID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkClassID'.
IPTablesMock_RedirectTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RedirectTo'.
NetlinkAdapterMock is an autogenerated mock type for the NetlinkAdapter type.
NetlinkAdapterMock_DefaultRoutes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DefaultRoutes'.
No description provided by the author
NetlinkAdapterMock_LinkByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LinkByIndex'.
NetlinkAdapterMock_LinkByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LinkByName'.
NetlinkAdapterMock_LinkList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LinkList'.
NetlinkLinkMock is an autogenerated mock type for the NetlinkLink type.
No description provided by the author
NetlinkLinkMock_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'.
NetlinkLinkMock_SetTxQLen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTxQLen'.
NetlinkLinkMock_TxQLen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxQLen'.
NetlinkRouteMock is an autogenerated mock type for the NetlinkRoute type.
No description provided by the author
NetlinkRouteMock_Gateway_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gateway'.
NetlinkRouteMock_Link_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Link'.
TrafficControllerMock is an autogenerated mock type for the TrafficController type.
TrafficControllerMock_AddBPFFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBPFFilter'.
TrafficControllerMock_AddFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFilter'.
TrafficControllerMock_AddFwFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFwFilter'.
TrafficControllerMock_AddNetem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddNetem'.
TrafficControllerMock_AddOutputLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddOutputLimit'.
TrafficControllerMock_AddPrio_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPrio'.
TrafficControllerMock_ClearQdisc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearQdisc'.
TrafficControllerMock_ConfigBPFFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigBPFFilter'.
TrafficControllerMock_DeleteFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFilter'.
No description provided by the author

# Interfaces

DNSClient is a client being able to resolve the given host.
IPTables is an interface for interacting with target nat firewall/iptables rules.
NetlinkAdapter is an interface being able to read the host network interfaces information.
NetlinkLink is a host interface.
NetlinkRoute is a route attached to a host interface.
TrafficController is an interface being able to interact with the host queueing discipline.