Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestKubeProxyFromDocumentMap (0.37 sec)

  1. cmd/kubeadm/app/componentconfigs/kubeproxy_test.go

    	} else if kubeproxyCfg.config.ClusterCIDR != clusterCIDR {
    		t.Fatalf("unexpected control value (clusterDomain):\n\tgot: %q\n\texpected: %q", kubeproxyCfg.config.ClusterCIDR, clusterCIDR)
    	}
    }
    
    func TestKubeProxyFromDocumentMap(t *testing.T) {
    	runKubeProxyFromTest(t, func(gvk schema.GroupVersionKind, yaml string) (kubeadmapi.ComponentConfig, error) {
    		return kubeProxyHandler.FromDocumentMap(kubeadmapi.DocumentMap{
    			gvk: []byte(yaml),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top