- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for defaultMigrateMutators (0.19 sec)
-
cmd/kubeadm/app/util/config/common_test.go
mutators migrateMutators input []any expected []any expectedDiff bool expectedError bool }{ { name: "mutate InitConfiguration", mutators: defaultMigrateMutators(), input: []any{&kubeadmapi.InitConfiguration{ ClusterConfiguration: kubeadmapi.ClusterConfiguration{ APIServer: kubeadmapi.APIServer{ TimeoutForControlPlane: &metav1.Duration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 23.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
// Only kubeadm kinds are migrated. func MigrateOldConfig(oldConfig []byte, allowExperimental bool, mutators migrateMutators) ([]byte, error) { newConfig := [][]byte{} if mutators == nil { mutators = defaultMigrateMutators() } gvkmap, err := kubeadmutil.SplitYAMLDocuments(oldConfig) if err != nil { return []byte{}, err } gvks := []schema.GroupVersionKind{} for gvk := range gvkmap {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0)