- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for configBytes (0.13 sec)
-
cmd/kubeadm/app/util/config/upgradeconfiguration.go
// Otherwise, we have a config file. Let's load it. configBytes, err := os.ReadFile(cfgPath) if err != nil { return nil, errors.Wrapf(err, "unable to load config from file %q", cfgPath) } // Split the YAML documents in the file into a DocumentMap docmap, err := kubeadmutil.SplitYAMLDocuments(configBytes) if err != nil { return nil, err }
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/phases/addons/dns/dns.go
fmt.Fprintln(out, "[addons] Applied essential addon: CoreDNS") return nil } func createCoreDNSAddon(deploymentBytes, serviceBytes, configBytes []byte, client clientset.Interface) error { coreDNSConfigMap := &v1.ConfigMap{} if err := kuberuntime.DecodeInto(clientsetscheme.Codecs.UniversalDecoder(), configBytes, coreDNSConfigMap); err != nil { return errors.Wrapf(err, "%s ConfigMap", unableToDecodeCoreDNS) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 16.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
} func getConfig(version, certsDir, etcdDataDir string) (*kubeadmapi.InitConfiguration, error) { configBytes := []byte(fmt.Sprintf(testConfiguration, certsDir, etcdDataDir, version)) // Unmarshal the config return configutil.BytesToInitConfiguration(configBytes, true /* skipCRIDetect */) } func getTempDir(t *testing.T, name string) (string, func()) { dir, err := os.MkdirTemp(os.TempDir(), name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
if err != nil { return err } // writes the kubeconfig to disk if it not exists configBytes, err := clientcmd.Write(*config) if err != nil { return errors.Wrap(err, "failure while serializing admin kubeconfig") } fmt.Fprintln(out, string(configBytes)) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
pkg/kube/inject/webhook_test.go
t.Fatalf("Failed to create AdmissionReview: %v", err) } return reviewJSON } func createWebhook(t testing.TB, cfg *Config, pcResources int) *Webhook { t.Helper() dir := t.TempDir() configBytes, err := yaml.Marshal(cfg) if err != nil { t.Fatalf("Could not marshal test injection config: %v", err) } _, values, _ := readInjectionSettings(t, "default") var (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1) -
cmd/admin-handlers-users.go
return } password := cred.SecretKey configBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength)) if err != nil { adminLogIf(ctx, err) writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL) return } var ureq madmin.AddOrUpdateUserReq if err = json.Unmarshal(configBytes, &ureq); err != nil { adminLogIf(ctx, err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:19:04 UTC 2024 - 78.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"LoadGetAddrInfo", Func, 1}, {"LoadLibrary", Func, 0}, {"LoadSetFileCompletionNotificationModes", Func, 2}, {"LocalFree", Func, 0}, {"Log2phys_t", Type, 0}, {"Log2phys_t.Contigbytes", Field, 0}, {"Log2phys_t.Devoffset", Field, 0}, {"Log2phys_t.Flags", Field, 0}, {"LookupAccountName", Func, 0}, {"LookupAccountSid", Func, 0}, {"LookupSID", Func, 0}, {"LsfJump", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)