- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,422 for delete1 (0.17 sec)
-
pkg/proxy/ipvs/util/testing/fake_test.go
} if len(list) != 3 { t.Errorf("Expect 2 virtual servers, got: %d", len(list)) } // Delete a virtual server err = fake.DeleteVirtualServer(vs1) if err != nil { t.Errorf("Fail to delete virtual server: %v, error: %v", vs1, err) } // Check the deleted virtual server no longer exists got, _ := fake.GetVirtualServer(vs1) if got != nil { t.Errorf("Expect nil, got: %v", got) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap.go
labeled := m.labeledBySelecting[sObject.selectorKey] labeled.objects[labeledObject.key] = labeledObject } } // Delete removes a labeled object and incoming associations. func (m *BiMultimap) Delete(key Key) { m.mux.Lock() defer m.mux.Unlock() m.delete(key) } func (m *BiMultimap) delete(key Key) { if _, ok := m.labeledObjects[key]; !ok { // Does not exist. return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 21:41:32 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CleaningJavaCompiler.java
private final Compiler<T> compiler; private final TaskOutputsInternal taskOutputs; private final Deleter deleter; public CleaningJavaCompiler(Compiler<T> compiler, TaskOutputsInternal taskOutputs, Deleter deleter) { this.compiler = compiler; this.taskOutputs = taskOutputs; this.deleter = deleter; } @Override public WorkResult execute(T spec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/OutputsCleanerTest.groovy
def deleter = TestFiles.deleter() Predicate<File> fileSafeToDelete = Mock() Predicate<File> dirSafeToDelete = Mock() def cleaner = new OutputsCleaner(deleter, fileSafeToDelete, dirSafeToDelete) def "does not delete non-empty directories"() { def outputFiles = []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3.4K bytes - Viewed (0) -
samples/tcp-echo/README.md
hello world pod "dummy" deleted ``` As you observe, sending _world_ on a TCP connection to the server results in the server prepending _hello_ and echoing back with _hello world_. 1. To clean up, execute the following command: ```console $ kubectl delete -f tcp-echo.yaml service "tcp-echo" deleted deployment.apps "tcp-echo" deleted
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 28 07:41:56 UTC 2022 - 1.2K bytes - Viewed (0) -
pkg/registry/scheduling/priorityclass/storage/storage.go
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource. func (r *REST) ShortNames() []string { return []string{"pc"} } // Delete ensures that system priority classes are not deleted. func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error) { for _, spc := range schedulingapiv1.SystemPriorityClasses() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
cacheEntries[1].assertDoesNotExist() cacheEntries[2].assertExists() deletedFiles == [cacheEntries[1]] } def "can delete directories"() { given: def cacheEntry = cacheDir.file("subDir").createFile("somefile") cacheEntry.text = "delete me" when: cleanupAction(finder([cacheEntry.parentFile]), { true }) .clean(cleanableStore, progressMonitor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/io/InsecureRecursiveDeleteException.java
import javax.annotation.CheckForNull; /** * Exception indicating that a recursive delete can't be performed because the file system does not * have the support necessary to guarantee that it is not vulnerable to race conditions that would * allow it to delete files and directories outside of the directory being deleted (i.e., {@link * SecureDirectoryStream} is not supported). *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/test/framework/resource/config/plan.go
import ( "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/framework/resource/config/apply" ) // Plan for configuration that can be applied or deleted as an atomic unit. // A Plan is initially created by a Factory, but then can continually be // appended to before finally calling Apply or Delete. type Plan interface { // Factory for appending to this Config. Factory // Copy returns a deep copy of this Plan. Copy() Plan
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 27 17:09:00 UTC 2022 - 1.2K bytes - Viewed (0) -
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)