Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,431 for delete1 (0.12 sec)

  1. 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)
  2. 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)
  3. pkg/proxy/conntrack/conntrack.go

    	utilnet "k8s.io/utils/net"
    )
    
    // Interface for dealing with conntrack
    type Interface interface {
    	// ClearEntriesForIP deletes conntrack entries for connections of the given
    	// protocol, to the given IP.
    	ClearEntriesForIP(ip string, protocol v1.Protocol) error
    
    	// ClearEntriesForPort deletes conntrack entries for connections of the given
    	// protocol and IP family, to the given port.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/hostpath/host_path.go

    	}
    
    	return pv, nil
    }
    
    // hostPathDeleter deletes a hostPath PV from the cluster.
    // This deleter only works on a single host cluster and is for testing purposes only.
    type hostPathDeleter struct {
    	name string
    	path string
    	host volume.VolumeHost
    	volume.MetricsNil
    }
    
    func (r *hostPathDeleter) GetPath() string {
    	return r.path
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller_base.go

    // deleteVolume runs in worker thread and handles "volume deleted" event.
    func (ctrl *PersistentVolumeController) deleteVolume(ctx context.Context, volume *v1.PersistentVolume) {
    	logger := klog.FromContext(ctx)
    	if err := ctrl.volumes.store.Delete(volume); err != nil {
    		logger.Error(err, "Volume deletion encountered", "volumeName", volume.Name)
    	} else {
    		logger.V(4).Info("volume deleted", "volumeName", volume.Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. test/typeparam/setsimp.dir/a.go

    }
    
    // Add adds an element to a set.
    func (s Set[Elem]) Add(v Elem) {
    	s.m[v] = struct{}{}
    }
    
    // Delete removes an element from a set. If the element is not present
    // in the set, this does nothing.
    func (s Set[Elem]) Delete(v Elem) {
    	delete(s.m, v)
    }
    
    // Contains reports whether v is in the set.
    func (s Set[Elem]) Contains(v Elem) bool {
    	_, ok := s.m[v]
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 21:39:54 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt

            fileOperations.mkdir(path)
    
        /**
         * Deletes files and directories.
         *
         * This will not follow symlinks. If you need to follow symlinks too use [delete].
         *
         * @param paths Any type of object accepted by [file]
         * @return true if anything got deleted, false otherwise
         */
        @Suppress("unused")
        fun delete(vararg paths: Any): Boolean =
            fileOperations.delete(*paths)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/utils.go

    		})
    	}
    	return epsPorts
    }
    
    // getServiceFromDeleteAction parses a Service resource from a delete
    // action.
    func getServiceFromDeleteAction(obj interface{}) *corev1.Service {
    	if service, ok := obj.(*corev1.Service); ok {
    		return service
    	}
    	// If we reached here it means the Service was deleted but its final state
    	// is unrecorded.
    	tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/storage/eviction.go

    		// this can happen in cases where the PDB can be ignored, but there was a problem issuing the pod delete:
    		// maybe we conflicted too many times or we didn't have permission or something else weird.
    		return nil, err
    
    	case deletedPod:
    		// this happens when we successfully deleted the pod.  In this case, we're done executing because we've evicted/deleted the pod
    		return &metav1.Status{Status: metav1.StatusSuccess}, nil
    
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top