# Functions
DetectKubeProxyMode will detect kube-proxy mode
Args: - Pointer to a Client struct - configmapname - containerName - namespace
Returns: string (ipvs or iptables) OR error type
.
FindKubeProxyPod will return one of the daemonsets pods names for kubeproxy so we can connect to pod and execute commands or other actions
Args: - Pointer to a Client struct - containerName A substring of kube-proxy pod name - namespace
Returns: the first kube-proxy pod found from the daemonsets or error
.
SaveCurrentFirewallState will save the current state from the kubeproxy pod
Args: - Pointer to a Client struct - podname A substring of kube-proxy pod name - namespace
Returns: filename storing the firewall rules or error
.