- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Contigbytes (0.34 sec)
-
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) -
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)