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

# Packages

No description provided by the author

# Functions

GetRequiredIPVSModules returns the required ipvs modules for the given linux kernel version.
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.
KernelModuleIPVS is the kernel module "ip_vs".
KernelModuleIPVSRR is the kernel module "ip_vs_rr".
KernelModuleIPVSSH is the kernel module "ip_vs_sh".
KernelModuleIPVSWRR is the kernel module "ip_vs_wrr".
KernelModuleNfConntrack is the kernel module "nf_conntrack".
KernelModuleNfConntrackIPV4 is the module "nf_conntrack_ipv4".

# Structs

RealServer is an user-oriented definition of an IPVS real server in its entirety.
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.