Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 3,429 for delete1 (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		Body(customResourceDefinition).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // Delete takes name of the customResourceDefinition and deletes it. Returns an error if one occurs.
    func (c *customResourceDefinitions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error {
    	return c.client.Delete().
    		Resource("customresourcedefinitions").
    		Name(name).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/controller/podgc/gc_controller.go

    			}
    			metrics.DeletingPodsTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminated).Inc()
    		}(terminatedPods[i])
    	}
    	wait.Wait()
    }
    
    // gcOrphaned deletes pods that are bound to nodes that don't exist.
    func (gcc *PodGCController) gcOrphaned(ctx context.Context, pods []*v1.Pod, nodes []*v1.Node) {
    	logger := klog.FromContext(ctx)
    	logger.V(4).Info("GC'ing orphaned")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    	// prevent deletion of immortal namespaces
    	if a.GetOperation() == admission.Delete && a.GetKind().GroupKind() == v1.SchemeGroupVersion.WithKind("Namespace").GroupKind() && l.immortalNamespaces.Has(a.GetName()) {
    		return errors.NewForbidden(a.GetResource().GroupResource(), a.GetName(), fmt.Errorf("this namespace may not be deleted"))
    	}
    
    	// always allow non-namespaced resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

              "gracePeriodSeconds": {
                "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
                "format": "int64",
                "type": "integer"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  5. pilot/pkg/status/resourcelock.go

    			target, perControllerWork := wp.q.Pop(wp.currentlyWorking)
    
    			if target == (Resource{}) {
    				// continue or return?
    				// could have been deleted, or could be no items in queue not currently worked on.  need a way to differentiate.
    				wp.lock.Unlock()
    				continue
    			}
    			wp.q.Delete(target)
    			wp.currentlyWorking.Insert(convert(target))
    			wp.lock.Unlock()
    			// work should be done without holding the lock
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/framework_test.go

    	return pv, call.ret
    }
    
    // Deleter interfaces
    
    func (plugin *mockVolumePlugin) NewDeleter(logger klog.Logger, spec *volume.Spec) (volume.Deleter, error) {
    	if len(plugin.deleteCalls) > 0 {
    		// mockVolumePlugin directly implements Deleter interface
    		logger.V(4).Info("Mock plugin NewDeleter called, returning mock deleter")
    		return plugin, nil
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy

            movableInput.delete()
    
            run INCREMENTAL_TASK_NAME, "--info"
            then:
            !movableInput.exists()
            renamedInput.exists()
            outputContains "is up-to-date"
        }
    
        @Issue("https://github.com/gradle/gradle/issues/9320")
        def "incremental task with NAME_ONLY inputs (matching file names and content) detects deleted file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 30 07:31:26 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Nothing to delete
    	if len(foundDirs) == 0 {
    		return nil
    	}
    
    	// Delete excessive inline entries.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  9. tests/integration/operator/switch_cr_test.go

    				metav1.DeleteOptions{}); err != nil {
    				t.Logf("failed to delete existing CR: %v", err)
    			}
    		}
    	} else {
    		t.Logf("failed to list existing CR: %v", err.Error())
    	}
    
    	scopes.Framework.Infof("waiting for workloads in istio-system to be deleted")
    	// wait for workloads in istio-system to be deleted
    	err = retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    	c, ok := b.caches[id]
    	if ok {
    		// Delete from root map.
    		list := b.cachesRoot[c.root]
    		for i, lid := range list {
    			if id == lid {
    				list = append(list[:i], list[i+1:]...)
    				break
    			}
    		}
    		b.cachesRoot[c.root] = list
    		delete(b.caches, id)
    		b.updated = true
    	}
    	b.mu.Unlock()
    	if ok {
    		c.delete(context.Background())
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top