kubernetes/pkg/util/ipvs
Emrecan BATI 90ce2d50d3 Add GetKernelVersion to ipvs.KernelHandler interface
ipvs `getProxyMode` test fails on mac as `utilipvs.GetRequiredIPVSMods`
try to reach `/proc/sys/kernel/osrelease` to find version of the running
linux kernel. Linux kernel version is used to determine the list of required
kernel modules for ipvs.

Logic to determine kernel version is moved to GetKernelVersion
method in LinuxKernelHandler which implements ipvs.KernelHandler.
Mock KernelHandler is used in the test cases.

Read and parse file is converted to go function instead of execing cut.
2019-07-31 22:10:44 +03:00
..
testing export serviceKey and realServerKey in fake ipvs for easier test fixtures 2019-05-19 23:09:42 +02:00
BUILD Add GetKernelVersion to ipvs.KernelHandler interface 2019-07-31 22:10:44 +03:00
ipvs_linux_test.go K8s SCTP support implementation for the first pull request 2018-08-27 05:56:27 +00:00
ipvs_linux.go [kube-proxy/ipvs] Protect Netlink calls with a mutex 2018-12-27 10:53:27 +01:00
ipvs_test.go Add GetKernelVersion to ipvs.KernelHandler interface 2019-07-31 22:10:44 +03:00
ipvs_unsupported.go ipvs support graceful termination 2018-09-27 15:14:51 +08:00
ipvs.go Add GetKernelVersion to ipvs.KernelHandler interface 2019-07-31 22:10:44 +03:00
kernelcheck_unsupported.go load kernel modules required by IPVS in kubeadm 2018-05-22 11:20:47 +08:00
OWNERS add myself and lbernail as IPVS approvers 2019-07-11 19:06:59 -04:00