Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CiliumAvailable ¶ added in v0.4.0
func InitNetfilterAccounting ¶ added in v0.11.0
func InitNetfilterAccounting() error
func ProtoString ¶
Types ¶
type Client ¶
type Client interface { ListEntries(filter EntriesFilter) ([]*Entry, error) Close() error }
func NewCiliumClient ¶
func NewCiliumClient(log logrus.FieldLogger, clockSource ClockSource) (Client, error)
func NewNetfilterClient ¶
func NewNetfilterClient(log logrus.FieldLogger, hostPid bool) (Client, error)
type ClockSource ¶ added in v0.7.0
type ClockSource string
const ( ClockSourceKtime ClockSource = "ktime" ClockSourceJiffies ClockSource = "jiffies" )
type EntriesFilter ¶
func All ¶
func All() EntriesFilter
func FilterBySrcIP ¶ added in v0.5.0
func FilterBySrcIP(ips map[netaddr.IP]struct{}) EntriesFilter
Click to show internal directories.
Click to hide internal directories.