package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

ClearEntriesForIP uses the conntrack tool to delete the conntrack entries for the UDP connections specified by the given service IP.
ClearEntriesForNAT uses the conntrack tool to delete the conntrack entries for connections specified by the {origin, dest} IP pair.
ClearEntriesForPort uses the conntrack tool to delete the conntrack entries for connections specified by the port.
ClearEntriesForPortNAT uses the conntrack tool to delete the contrack entries for connections specified by the {dest IP, port} pair.
Exec executes the conntrack tool using the given parameters.
Exists returns true if conntrack binary is installed.

# Constants

NoConnectionToDelete is the error string returned by conntrack when no matching connections are found.