- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 3,431 for delete1 (0.19 sec)
-
pkg/kubelet/util/store/store.go
Write(key string, data []byte) error // Read retrieves data with key // Read must return ErrKeyNotFound if key is not found. Read(key string) ([]byte, error) // Delete deletes data by key // Delete must not return error if key does not exist Delete(key string) error // List lists all existing keys. List() ([]string, error) } // ValidateKey returns an error if the given key does not meet the requirement
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 22:18:30 UTC 2017 - 1.9K 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) -
subprojects/core-api/src/main/java/org/gradle/api/file/DeleteSpec.java
*/ @HasInternalProtocol public interface DeleteSpec { /** * Specifies the files to delete. * * @param files the list of files which should be deleted. Any type of object * accepted by {@link org.gradle.api.Project#files(Object...)} */ DeleteSpec delete(Object... files); /** * Specifies whether or not symbolic links should be followed during deletion. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 01 02:14:13 UTC 2019 - 1.3K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
name string batchPeriod time.Duration podsCount int deletes []podDelete finalDelay time.Duration wantRequestCount int }{ { name: "three deletes with no batching", batchPeriod: 0 * time.Second, podsCount: 10, deletes: []podDelete{ { // endpoints.Run needs ~100 ms to start processing updates.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go
return false, nil } if watch.Deleted != watchEvent.Type { return false, fmt.Errorf("expected DELETE, but got %#v", watchEvent) } case <-time.After(5 * time.Second): return false, fmt.Errorf("gave up waiting for watch event") } } return true, nil } // DeleteV1CustomResourceDefinition deletes a CRD and waits until it disappears from discovery.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 02:01:40 UTC 2021 - 21.4K bytes - Viewed (0) -
pkg/kubelet/checkpointmanager/testing/util.go
defer mstore.Unlock() data, ok := mstore.mem[key] if !ok { return nil, fmt.Errorf("checkpoint is not found") } return data, nil } // Delete deletes data from the store func (mstore *MemStore) Delete(key string) error { mstore.Lock() defer mstore.Unlock() delete(mstore.mem, key) return nil } // List returns all the keys from the store func (mstore *MemStore) List() ([]string, error) { mstore.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 16 05:30:20 UTC 2018 - 1.7K 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) -
pkg/controller/serviceaccount/tokens_controller_test.go
}, "deleted serviceaccount with no secrets": { DeletedServiceAccount: serviceAccount(emptySecretReferences()), ExpectedActions: []core.Action{}, }, "deleted serviceaccount with missing secrets": { DeletedServiceAccount: serviceAccount(missingSecretReferences()), ExpectedActions: []core.Action{}, }, "deleted serviceaccount with non-token secrets": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 21.5K bytes - Viewed (0) -
pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go
steps := []struct { added *v1.ConfigMap updated *v1.ConfigMap deleted *v1.ConfigMap expectCalled bool expectCM *v1.ConfigMap }{ {added: cm2}, {added: cm, expectCalled: true, expectCM: cm}, {updated: cm}, {updated: cm1, expectCalled: true, expectCM: cm1}, {deleted: cm1, expectCalled: true}, {deleted: cm2}, } stop := make(chan struct{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/watch_test.go
f.Modify(testType("bar")) f.Delete(testType("bar")) f.Error(testType("error: blah")) f.Stop() } go sender() consumer(f) } func TestRaceFreeFake(t *testing.T) { f := NewRaceFreeFake() table := []struct { t EventType s testType }{ {Added, testType("foo")}, {Modified, testType("qux")}, {Modified, testType("bar")}, {Deleted, testType("bar")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 15 11:34:31 UTC 2018 - 3.7K bytes - Viewed (0)