- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testClusterCfg (0.15 sec)
-
cmd/kubeadm/app/componentconfigs/configset_test.go
kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util" ) func testClusterCfg() *kubeadmapi.ClusterConfiguration { return &kubeadmapi.ClusterConfiguration{ KubernetesVersion: constants.CurrentKubernetesVersion.String(), } } func TestDefault(t *testing.T) { clusterCfg := testClusterCfg() localAPIEndpoint := &kubeadmapi.APIEndpoint{} nodeRegOps := &kubeadmapi.NodeRegistrationOptions{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 01 14:17:07 UTC 2022 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/fakeconfig_test.go
constants.ComponentConfigHashAnnotationKey: test.hash, } } client := clientsetfake.NewSimpleClientset(configMap) cfg, err := clusterConfigHandler.FromCluster(client, testClusterCfg()) if err != nil { t.Fatalf("unexpected failure of FromCluster: %v", err) } got := cfg.IsUserSupplied() if got != test.userSupplied {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:36:00 UTC 2024 - 16.3K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubeproxy_test.go
client := clientsetfake.NewSimpleClientset( testKubeProxyConfigMap(yaml), ) return kubeProxyHandler.FromCluster(client, testClusterCfg()) })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 01 14:17:07 UTC 2022 - 5.2K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_test.go
client := clientsetfake.NewSimpleClientset( testKubeletConfigMap(yaml), ) return kubeletHandler.FromCluster(client, testClusterCfg()) })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 9.6K bytes - Viewed (0)