package
1.14.0-alpha.0
Repository: https://github.com/linxiulei/kubernetes.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
GetKernelVersionAndIPVSMods returns the linux kernel version and the required ipvs modules.
New returns a new Interface which will call ipvs APIs.
# Constants
FlagHashed specify IPVS service hash flag.
FlagPersistent specify IPVS service session affinity.
IPVSProxyMode is match set up cluster with ipvs proxy model.
ModIPVS is the kernel module "ip_vs".
ModIPVSRR is the kernel module "ip_vs_rr".
ModIPVSSH is the kernel module "ip_vs_sh".
ModIPVSWRR is the kernel module "ip_vs_wrr".
ModNfConntrack is the kernel module "nf_conntrack".
ModNfConntrackIPV4 is the module "nf_conntrack_ipv4".
# Structs
RealServer is an user-oriented definition of an IPVS real server in its entirety.
RequiredIPVSKernelModulesAvailableCheck tests IPVS required kernel modules.
VirtualServer is an user-oriented definition of an IPVS virtual server in its entirety.
# Interfaces
Interface is an injectable interface for running ipvs commands.
# Type aliases
Protocol is the IPVS service protocol type.
ServiceFlags is used to specify session affinity, ip hash etc.