Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 527 for deleteRS (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    	// Only handle add. The controller only acts on parts of the service
    	// that are immutable (e.g. name). When we create ServiceExport, we bind its
    	// lifecycle to the Service so that when the Service is deleted,
    	// k8s automatically deletes the ServiceExport.
    	c.services.AddEventHandler(controllers.EventHandler[controllers.Object]{AddFunc: c.queue.AddObject})
    
    	return c
    }
    
    func (c *autoServiceExportController) Run(stopCh <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/controller/bootstrap/tokencleaner.go

    		if len(secret.UID) > 0 {
    			options.Preconditions = &metav1.Preconditions{UID: &secret.UID}
    		}
    		err := tc.client.CoreV1().Secrets(secret.Namespace).Delete(ctx, secret.Name, options)
    		// NotFound isn't a real error (it's already been deleted)
    		// Conflict isn't a real error (the UID precondition failed)
    		if err != nil && !apierrors.IsConflict(err) && !apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. cmd/peer-s3-server.go

    	if err := listAllBuckets(ctx, localDrives, healBuckets, quorum); err != nil {
    		return nil, err
    	}
    
    	// include deleted buckets in listBuckets output
    	deletedBuckets := map[string]VolInfo{}
    
    	if opts.Deleted {
    		// lists all deleted buckets across drives.
    		if err := listDeletedBuckets(ctx, localDrives, deletedBuckets, quorum); err != nil {
    			return nil, err
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy

            !result.didWork
        }
    
        def deletes() {
            def fileToBeDeleted = tmpDir.file("file")
            def fileCollection = Stub(FileCollectionInternal)
            fileCollectionFactory.resolving(["file"] as Object[]) >> fileCollection
            fileCollection.iterator() >> [fileToBeDeleted].iterator()
            fileToBeDeleted.touch()
    
            expect:
            fileOperations.delete('file') == true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

                import org.gradle.api.internal.tasks.TaskPropertyUtils
    
                task clean(type: Delete) {
                    delete 'foo'
                    delete file('bar')
                    delete files('baz')
    
    
                    doLast {
                        def destroyablePaths = []
                        def propertyWalker = services.get(PropertyWalker)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/monitor.go

    	}
    }
    
    // DeleteBucket deletes monitoring the 'bucket'
    func (m *Monitor) DeleteBucket(bucket string) {
    	m.tlock.Lock()
    	for opts := range m.bucketsThrottle {
    		if opts.Name == bucket {
    			delete(m.bucketsThrottle, opts)
    		}
    	}
    	m.tlock.Unlock()
    
    	m.mlock.Lock()
    	for opts := range m.bucketsMeasurement {
    		if opts.Name == bucket {
    			delete(m.bucketsMeasurement, opts)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. pkg/kube/inject/watcher_test.go

    				g.Expect(err).Should(BeNil())
    			case step.updated != nil:
    				_, err := cms.Update(context.TODO(), step.updated, metav1.UpdateOptions{})
    				g.Expect(err).Should(BeNil())
    			case step.deleted != nil:
    				g.Expect(cms.Delete(context.TODO(), step.deleted.Name, metav1.DeleteOptions{})).
    					Should(Succeed())
    			}
    
    			g.Eventually(func() *Config {
    				mu.Lock()
    				defer mu.Unlock()
    				return newConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/cleanup.go

    		i.installer.Dump(i.ctx)
    	}
    
    	if i.cfg.DeployIstio {
    		errG := multierror.Group{}
    		// Make sure to clean up primary clusters before remotes, or istiod will recreate some of the CMs that we delete
    		// in the remote clusters before it's deleted.
    		for _, c := range i.ctx.AllClusters().Primaries() {
    			i.cleanupCluster(c, &errG)
    		}
    		for _, c := range i.ctx.Clusters().Remotes() {
    			i.cleanupCluster(c, &errG)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. operator/pkg/controller/istiocontrolplane/errdict.go

    			"not be fully removed.",
    		LikelyCause: formatCauses(likelyCauseAPIServer),
    		Action:      "Delete and re-add the IstioOperator resource. " + actionIfErrPersistsCheckBugList,
    	}
    	operatorFailedToRemoveFinalizer = &structured.Error{
    		MoreInfo: "The finalizer set by the operator controller could not be removed " +
    			"when the IstioOperator resource was deleted.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top