- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 3,429 for delete1 (0.23 sec)
-
pkg/kubelet/cm/dra/claiminfo.go
info, exists := cache.claimInfo[namespace+"/"+claimName] return info, exists } // delete deletes a specific claim info object from the cache. func (cache *claimInfoCache) delete(claimName, namespace string) { delete(cache.claimInfo, namespace+"/"+claimName) } // hasPodReference checks if there is at least one claim // that is referenced by the pod with the given UID
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/fix/fix.go
if oldImport != impspec { continue } // We found an import spec that imports path. // Delete it. deleted = true copy(gen.Specs[j:], gen.Specs[j+1:]) gen.Specs = gen.Specs[:len(gen.Specs)-1] // If this was the last import spec in this decl, // delete the decl, too. if len(gen.Specs) == 0 { copy(f.Decls[i:], f.Decls[i+1:]) f.Decls = f.Decls[:len(f.Decls)-1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 14.6K bytes - Viewed (0) -
pkg/kube/multicluster/secretcontroller_test.go
}, { name: "Delete secret s2, with already existing cluster", delete: secret2Cluster0, want: []result{{"config", 1}, {"c0", 3}, {"c1", 6}}, }, { name: "Delete secret s0, which will delete remote cluster c0", delete: secret0, want: []result{{"config", 1}, {"c1", 6}}, }, { name: "Delete secret s1, which will delete remote cluster c1", delete: secret1,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
}, }, }) } // Don't delete all pods because we confirm that the last pod // has exactly one expectation at the end, to verify that we // don't double delete. for i := range podsToDelete[1:] { informers.Core().V1().Pods().Informer().GetIndexer().Delete(podsToDelete[i]) manager.deletePod(logger, podsToDelete[i]) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
test/typeparam/mapsimp.dir/a.go
for k := range m2 { delete(m1, k) } } // Intersect removes all keys from m1 that are not present in m2. // Keys in m2 that are not in m1 are ignored. The values in m2 are ignored. func Intersect[K comparable, V any](m1, m2 map[K]V) { for k := range m1 { if _, ok := m2[k]; !ok { delete(m1, k) } } } // Filter deletes any key/value pairs from m for which f returns false.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 24 22:17:33 UTC 2021 - 2.5K bytes - Viewed (0) -
operator/pkg/metrics/monitoring.go
) // ResourceDeletionTotal indicates the number of resources deleted // by the operator in response to CR update or delete operation (like // ingress-gateway which was enabled could be disabled and this requires // deleting ingress-gateway deployment). ResourceDeletionTotal = monitoring.NewSum( "resource_deletion_total", "Number of resources deleted by the operator", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 7K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
} if curPod.DeletionTimestamp != nil { // when a pod is deleted gracefully it's deletion timestamp is first modified to reflect a grace period, // and after such time has passed, the kubelet actually deletes it from the store. We receive an update // for modification of the deletion timestamp and expect an job to create more pods asap, not wait // until the kubelet actually deletes the pod. jm.deletePod(logger, curPod, false) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (1) -
tests/main_test.go
if count1 <= 0 { t.Errorf("Should find some users") } if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } DB.Model(&User{}).Count(&count2) if count1 != count2 { t.Errorf("No user should not be deleted by invalid SQL") } } func TestSetAndGet(t *testing.T) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/proxy/node.go
klog.FlushAndExit(klog.ExitFlushTimeout, 1) } } // OnNodeDelete is a handler for Node deletes. func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) { n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node)) } // OnNodeSynced is a handler for Node syncs. func (n *NodePodCIDRHandler) OnNodeSynced() {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint.go
err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err) } } // Delete deletes corresponding Blocks from ContainerMemoryAssignments func (sc *stateCheckpoint) Delete(podUID string, containerName string) { sc.Lock() defer sc.Unlock() sc.cache.Delete(podUID, containerName) err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 5.3K bytes - Viewed (0)