- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,404 for delete1 (0.18 sec)
-
tests/associations_test.go
} if r := DB.Delete(&member); r.Error != nil || r.RowsAffected != 1 { t.Fatalf("Should delete member, got error: %v, affected: %v", r.Error, r.RowsAffected) } var result Member if err := DB.First(&result, member.ID).Error; err == nil { t.Fatalf("Should not find deleted member") } if err := DB.First(&profile2, profile.ID).Error; err == nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy
} def "classes files of generated sources are deleted when annotated file is deleted"() { given: def a = java "@Service class A {}" java "class Unrelated {}" outputs.snapshot { run "compileJava" } when: a.delete() run "compileJava" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 29 15:12:07 UTC 2023 - 18.5K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller.go
// syncSecretQueue handles secret events: // * deletes tokens whose service account no longer exists // * updates tokens with missing token or namespace data, or mismatched ca data // * ensures service account secret references are removed for tokens which are deleted // key is a secretQueueKey{} syncSecretQueue workqueue.TypedRateLimitingInterface[secretQueueKey]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 20.5K bytes - Viewed (0) -
pkg/controller/controller_utils.go
// when a pod for a replica set is failed to be deleted. FailedDeletePodReason = "FailedDelete" // SuccessfulDeletePodReason is added in an event when a pod for a replica set // is successfully deleted. SuccessfulDeletePodReason = "SuccessfulDelete" ) // RSControlInterface is an interface that knows how to add or delete // ReplicaSets, as well as increment or decrement them. It is used
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K bytes - Viewed (0) -
pkg/controller/storageversiongc/gc_controller_test.go
clientset := fake.NewSimpleClientset(lease1, lease2, lease3, storageVersion) _, ctx := ktesting.NewTestContext(t) setupController(ctx, clientset) // Delete the lease object and verify that storage version status is updated if err := clientset.CoordinationV1().Leases(metav1.NamespaceSystem).Delete(context.Background(), "kube-apiserver-1", metav1.DeleteOptions{}); err != nil { t.Fatalf("error deleting lease object: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 12:19:43 UTC 2023 - 12.1K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_test.go
return nil }, }, { // deleteClaim with a bound claim makes bound volume released with external deleter. // delete the corresponding volume from apiserver, and report latency metric name: "5-5 - delete claim and delete volume report metric", initialVolumes: volumesWithAnnotation(volume.AnnDynamicallyProvisioned, "gcr.io/vendor-csi",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.4K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
// system. If it's not a valid resource, the garbage collector should i) // ignore the reference when decide if the object should be deleted, and // ii) should update the object to remove such references. This is to // prevent objects having references to an old resource from being // deleted during a cluster upgrade. resource, namespaced, err := gc.apiResource(reference.APIVersion, reference.Kind) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy
} def "classes files of generated sources are deleted when annotated file is deleted"() { given: def a = java "@Helper class A {}" java "class Unrelated {}" outputs.snapshot { run "compileJava" } when: a.delete() run "compileJava" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/strategy.go
err = objectOps.Delete(ctx, object.GetName(), metav1.DeleteOptions{ /* TODO: expectedResourceVersion */ }) if err == nil { klog.V(2).InfoS(fmt.Sprintf("Successfully deleted the unwanted %s", object.GetObjectKind().GroupVersionKind().Kind), "name", name) continue } if apierrors.IsNotFound(err) { klog.V(5).InfoS("Unwanted APF object was concurrently deleted", "name", name) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 14K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin.go
return framework.QueueSkip, nil } // Pod is deleted. Return Queue when the deleted Pod has a label that matches with topologySpread's selector. if podLabelsMatchSpreadConstraints(constraints, originalPod.Labels) { logger.V(5).Info("a scheduled pod which matches with the pod's topology spread constraints was deleted, and the pod may be schedulable now", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 12.7K bytes - Viewed (0)