- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 208 for sesame (0.12 sec)
-
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
}, moveFileFunc: os.Rename, expectedErr: true, manifestShouldChange: false, }, { description: "any wait error should result in a rollback and an abort 3", waitErrsToReturn: map[string]error{ waitForHashes: nil, waitForHashChange: nil, waitForPodsWithLabel: errors.New("boo! failed"), }, moveFileFunc: os.Rename, expectedErr: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/os-reliable.go
if baseDir != "" && nbaseDir != "" && nbaseDir != SlashSeparator { baseDir = nbaseDir } continue } } break } return err } // Wrapper function to os.Rename, which calls reliableMkdirAll // and reliableRenameAll. This is to ensure that if there is a // racy parent directory delete in between we can simply retry // the operation.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/os/file_plan9.go
} return nil } func rename(oldname, newname string) error { dirname := oldname[:bytealg.LastIndexByteString(oldname, '/')+1] if stringslite.HasPrefix(newname, dirname) { newname = newname[len(dirname):] } else { return &LinkError{"rename", oldname, newname, ErrInvalid} } // If newname still contains slashes after removing the oldname // prefix, the rename is cross-directory and must be rejected.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
} } if err := os.Rename(writeDir, targetDir); err != nil { return "", "", err } return certPath, keyPath, nil } func TestKubeletServerCertificateFromFiles(t *testing.T) { // test two common ways of certificate file updates: // 1. delete and write the cert and key files directly // 2. create the cert and key files under a child dir and perform dir rename during update tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
} if err := s.cf.Close(); err != nil { return fmt.Errorf("closing counter data file: %v", err) } // Counter file has now been closed. Rename the temp to the // final desired path. if err := os.Rename(s.cftmp, s.cfname); err != nil { return fmt.Errorf("writing %s: rename from %s failed: %v\n", s.cfname, s.cftmp, err) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
// If the old CNI config filename ends with .conf, rename it to .conflist, because it has to be changed to a list installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath) err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list") if err != nil { installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err) return cniConfigFilepath, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager.go
// The archive needs to be closed before renaming, otherwise an error will occur on Windows. w.Close() f.Close() compressedLog := log + compressSuffix if err := c.osInterface.Rename(tmpLog, compressedLog); err != nil { return fmt.Errorf("failed to rename %q to %q: %v", tmpLog, compressedLog, err) } // Remove old log file. r.Close() if err := c.osInterface.Remove(log); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
} client, err := ctx.CLIClient() if err != nil { return nil, cobra.ShellCompDirectiveNoFileComp } saName, err := getServiceAccountsName(client, toComplete, ctx.NamespaceOrDefault(ctx.Namespace())) if err != nil { return nil, cobra.ShellCompDirectiveNoFileComp } return saName, cobra.ShellCompDirectiveNoFileComp }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java
} catch (IOException e) { throw new UncheckedIOException(e); } } public static void moveExistingFile(File source, File destination) { boolean rename = source.renameTo(destination); if (!rename) { moveFile(source, destination); } } /** * If the destination file exists, then this method will overwrite it. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 10.8K bytes - Viewed (0) -
src/os/file_unix.go
// However, if the old name and new name are not the same, yet // they refer to the same file, it implies a case-only // rename on a case-insensitive filesystem, which is ok. if ofi, err := Lstat(oldname); err != nil { if pe, ok := err.(*PathError); ok { err = pe.Err } return &LinkError{"rename", oldname, newname, err} } else if newname == oldname || !SameFile(fi, ofi) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 14.9K bytes - Viewed (0)