- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetVersionStates (3.27 sec)
-
cmd/kubeadm/app/componentconfigs/configset.go
clusterCfg.ComponentConfigs[handler.GroupVersion.Group] = componentCfg } } return nil } // GetVersionStates returns a slice of ComponentConfigVersionState structs // describing all supported component config groups that were identified on the cluster func GetVersionStates(clusterCfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) ([]outputapiv1alpha3.ComponentConfigVersionState, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:36:00 UTC 2024 - 10.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/plan.go
} // Fetch the current state of the component configs klog.V(1).Infoln("[upgrade/plan] analysing component config version states") configVersionStates, err := componentconfigs.GetVersionStates(&initCfg.ClusterConfiguration, client) if err != nil { return errors.WithMessage(err, "[upgrade/versions] FATAL") } // No upgrades available if len(availUpgrades) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 03:03:29 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/fakeconfig_test.go
}, } for _, test := range cases { t.Run(test.desc, func(t *testing.T) { client := clientsetfake.NewSimpleClientset(test.obj) clusterCfg := testClusterCfg() got, err := GetVersionStates(clusterCfg, client) if err != nil && !test.expectedErr { t.Errorf("unexpected error: %v", err) } if err == nil { if test.expectedErr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 04 15:36:00 UTC 2024 - 16.3K bytes - Viewed (0)