- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DocMapToUpgradeConfiguration (0.39 sec)
-
cmd/kubeadm/app/util/config/upgradeconfiguration.go
} } // Validates cfg if err := validation.ValidateUpgradeConfiguration(internalcfg).ToAggregate(); err != nil { return nil, err } return internalcfg, nil } // DocMapToUpgradeConfiguration converts documentMap to an internal, defaulted and validated UpgradeConfiguration object. // The map may contain many different YAML documents. These YAML documents are parsed one-by-one
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/upgradeconfiguration_test.go
} cfg, err := DocMapToUpgradeConfiguration(docmap) if err != nil { t.Fatalf("unexpected error of DocMapToUpgradeConfiguration: %v\nconfig: %s", err, string(b)) } if diff := cmp.Diff(*cfg, tc.expectedCfg, cmpopts.IgnoreFields(kubeadmapi.UpgradeConfiguration{}, "Timeouts")); diff != "" { t.Fatalf("DocMapToUpgradeConfiguration returned unexpected diff (-want,+got):\n%s", diff) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 11.8K bytes - Viewed (0)