var dualStack … var podSubnetInKubeadmConfig … var serviceSubnetInKubeadmConfig … var _ … // ipWithinSubnet returns true if an IP (targetIP) falls within the reference subnet (refIPNet) func ipWithinSubnet(refIPNet, targetIP string) bool { … } // subnetWithinSubnet returns true if a subnet (targetNet) falls within the reference subnet (refIPNet) func subnetWithinSubnet(refIPNet, targetNet string) bool { … }