- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,431 for delete1 (0.49 sec)
-
pkg/kubelet/pod/mirror_client.go
return nil } } return err } // DeleteMirrorPod deletes a mirror pod. // It takes the full name of the pod and optionally a UID. If the UID // is non-nil, the pod is deleted only if its UID matches the supplied UID. // It returns whether the pod was actually deleted, and any error returned // while parsing the name of the pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 21 11:38:40 UTC 2021 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go
if apierrors.IsNotFound(err) || apierrors.IsConflict(err) { // deleted or changed in the meantime, we'll get called again return nil } if err != nil { return err } // Now we can start deleting items. We should use the REST API to ensure that all normal admission runs. // Since we control the endpoints, we know that delete collection works. No need to delete if not established.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
} } } return pmap } // deleteIP returns true if the pod and ip are really deleted. func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool { pc.Lock() defer pc.Unlock() if pc.podsByIP[ip].Contains(podKey) { sets.DeleteCleanupLast(pc.podsByIP, ip, podKey) delete(pc.IPByPods, podKey) return true } return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/kubelet/util/manager/manager.go
// in the implementations and effectively treated as refcounted. AddReference(namespace, name string, referencedFrom types.UID) // DeleteReference deletes a reference from referencedFrom to the object from the store. // Note that object should be deleted only when there was a // corresponding Delete call for each of Add calls (effectively // when refcount of every referenceFrom was reduced to zero).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 02:22:52 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/erasure-object.go
if versioned || suspended { // Bucket is versioned and no version was explicitly // mentioned for deletes, create a delete marker instead. vr.ModTime = UTCNow() vr.Deleted = true // Versioning suspended means that we add a `null` version // delete marker, if not add a new version for this delete // marker. if versioned { vr.VersionID = mustGetUUID() } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 78.6K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/tasks/StaleOutputCleaner.java
* * Returns {code true} if any file or directory was deleted, {@code false} otherwise. */ @CheckReturnValue public static boolean cleanOutputs(Deleter deleter, Iterable<File> filesToDelete, File directoryToClean) { return cleanOutputs(deleter, filesToDelete, ImmutableSet.of(directoryToClean)); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.2K bytes - Viewed (0) -
tests/soft_delete_test.go
t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count) } if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age { t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age) } if err := DB.Delete(&user).Error; err != nil { t.Fatalf("No error should happen when soft delete user, but got %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go
return strings.Contains(importPath, ".") } // DeleteImport deletes the import path from the file f, if present. // If there are duplicate import declarations, all matching ones are deleted. func DeleteImport(fset *token.FileSet, f *ast.File, path string) (deleted bool) { return DeleteNamedImport(fset, f, "", path) } // DeleteNamedImport deletes the import with the given name and path from the file f, if present.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 21:56:21 UTC 2022 - 13.4K bytes - Viewed (0) -
pkg/scheduler/framework/cycle_state.go
// See CycleState for notes on concurrency. func (c *CycleState) Write(key StateKey, val StateData) { c.storage.Store(key, val) } // Delete deletes data with the given key from CycleState. // // See CycleState for notes on concurrency. func (c *CycleState) Delete(key StateKey) { c.storage.Delete(key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 06:48:20 UTC 2023 - 4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy
abstract class BaseJavaSourceIncrementalCompilationIntegrationTest extends AbstractSourceIncrementalCompilationIntegrationTest { CompiledLanguage language = CompiledLanguage.JAVA def "deletes headers when source file is deleted"() { given: def sourceFile = file("src/main/java/my/org/Foo.java") sourceFile.text = """ package my.org; public class Foo {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.5K bytes - Viewed (0)