package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
IsNotFoundError returns true if the error indicates "not found".
New returns a new Interface which will exec ipset.
# Constants
BitmapPort represents the `bitmap:port` type ipset.
DefaultPortRange defines the default bitmap:port valid port range.
HashIP represents the `hash:ip` type ipset.
HashIPPort represents the `hash:ip,port` type ipset.
HashIPPortIP represents the `hash:ip,port,ip` type ipset.
HashIPPortNet represents the `hash:ip,port,net` type ipset.
IPSetCmd represents the ipset util.
ProtocolFamilyIPV4 represents IPv4 protocol.
ProtocolFamilyIPV6 represents IPv6 protocol.
ProtocolSCTP represents SCTP protocol.
ProtocolTCP represents TCP protocol.
ProtocolUDP represents UDP protocol.
# Variables
EntryMemberPattern is the regular expression pattern of ipset member list.
ValidIPSetTypes defines the supported ip set type.
VersionPattern is the regular expression pattern of ipset version string.
# Interfaces
Interface is an injectable interface for running ipset commands.
# Type aliases
Type represents the ipset type.