Documentation
¶
Overview ¶
Package nftest contains utility functions for nftables testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder provides an nftables connection that does not send to the Linux kernel but instead records netlink messages into the recorder. The recorded requests can later be obtained using Requests and compared using Diff.
Click to show internal directories.
Click to hide internal directories.