kubernetes/cmd/kube-proxy
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
..
app Add GetKernelVersion to ipvs.KernelHandler interface 2019-07-31 22:10:44 +03:00
BUILD autogen files to support new project structure. 2019-02-15 10:29:31 -05:00
OWNERS Add OWNERS file for cmd/kube-proxy 2019-04-26 17:22:29 -07:00
proxy.go Remove duplicate error messages from cli commands 2019-06-27 21:55:14 +02:00