- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for oldData (0.39 sec)
-
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
objCopy := obj.DeepCopyObject() if err := r.Record(objCopy); err != nil { return nil, err } oldData, err := json.Marshal(obj) if err != nil { return nil, err } newData, err := json.Marshal(objCopy) if err != nil { return nil, err } return jsonpatch.CreateMergePatch(oldData, newData) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/controller/ttl/ttl_controller.go
oldData, err := json.Marshal(node) if err != nil { return err } setIntAnnotation(node, annotationKey, value) newData, err := json.Marshal(node) if err != nil { return err } patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, &v1.Node{}) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
return ret, nil } ret.Spec = p.constructPVSourceSpec(volData[volDataKey.specVolID], volData[volDataKey.driverName], volData[volDataKey.volHandle]) return ret, nil } // constructVolSourceSpec constructs volume.Spec with CSIVolumeSource func (p *csiPlugin) constructVolSourceSpec(volSpecName, driverName string) *volume.Spec { vol := &api.Volume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy
def jvm = AvailableJavaHomes.getJdk(version) Assume.assumeTrue(jvm != null) settingsFile << "rootProject.name = 'oldjava'" buildFile << """ plugins { id "java" } ${mavenCentralRepository()} dependencies { testImplementation("junit:junit:4.13")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 08:31:21 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go
AddFunc: enqueue, UpdateFunc: func(oldObj, newObj interface{}) { oldMeta, err1 := meta.Accessor(oldObj) newMeta, err2 := meta.Accessor(newObj) if err1 != nil || err2 != nil { if err1 != nil { utilruntime.HandleError(err1) } if err2 != nil { utilruntime.HandleError(err2) } return } else if oldMeta.GetResourceVersion() == newMeta.GetResourceVersion() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
*d = Use{} } } return nil } func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func (f *WorkFile) DropReplace(oldPath, oldVers string) error { for _, r := range f.Replace { if r.Old.Path == oldPath && r.Old.Version == oldVers { r.Syntax.markRemoved() *r = Replace{} } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
backupManifestDir: backupManifestDir, backupEtcdDir: backupEtcdDir, MoveFileFunc: moveFileFunc, }, nil } func (spm *fakeStaticPodPathManager) MoveFile(oldPath, newPath string) error { return spm.MoveFileFunc(oldPath, newPath) } func (spm *fakeStaticPodPathManager) KubernetesDir() string { return spm.kubernetesDir } func (spm *fakeStaticPodPathManager) PatchesDir() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go
} else { *funcref = error_Renameat } return (*funcref)(olddirfd, oldpath, newdirfd, newpath) } func error_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { err = ENOSYS return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func impl_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { var _p0 *byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 88.2K bytes - Viewed (0) -
src/syscall/syscall_linux.go
return readlinkat(_AT_FDCWD, path, buf) } func Rename(oldpath string, newpath string) (err error) { return Renameat(_AT_FDCWD, oldpath, _AT_FDCWD, newpath) } func Rmdir(path string) error { return unlinkat(_AT_FDCWD, path, _AT_REMOVEDIR) } //sys symlinkat(oldpath string, newdirfd int, newpath string) (err error) func Symlink(oldpath string, newpath string) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
} } return nil } func (f *File) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func addReplace(syntax *FileSyntax, replace *[]*Replace, oldPath, oldVers, newPath, newVers string) error { need := true old := module.Version{Path: oldPath, Version: oldVers} new := module.Version{Path: newPath, Version: newVers}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0)