Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for watcher (0.5 sec)

  1. pkg/kubelet/kubelet.go

    	podCache kubecontainer.Cache
    
    	// os is a facade for various syscalls that need to be mocked during testing.
    	os kubecontainer.OSInterface
    
    	// Watcher of out of memory events.
    	oomWatcher oomwatcher.Watcher
    
    	// Monitor resource usage
    	resourceAnalyzer serverstats.ResourceAnalyzer
    
    	// Whether or not we should have the QOS cgroup hierarchy for resource management
    	cgroupsPerQOS bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/patches/patches.go

    	// Data must contain the bytes that will be patched.
    	Data []byte
    }
    
    // PatchManager defines an object that can apply patches.
    type PatchManager struct {
    	patchSets    []*patchSet
    	knownTargets []string
    	output       io.Writer
    }
    
    // patchSet defines a set of patches of a certain type that can patch a PatchTarget.
    type patchSet struct {
    	targetName string
    	patchType  types.PatchType
    	patches    []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    // layer.
    type IAMStoreSys struct {
    	IAMStorageAPI
    
    	group *singleflight.Group
    }
    
    // HasWatcher - returns if the storage system has a watcher.
    func (store *IAMStoreSys) HasWatcher() bool {
    	_, ok := store.IAMStorageAPI.(iamStorageWatcher)
    	return ok
    }
    
    // GetUser - fetches credential from memory.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    			w, err := noxuNamespacedResourceClient.Watch(context.TODO(), metav1.ListOptions{})
    			if err != nil {
    				t.Errorf("unexpected error establishing watch: %v", err)
    				return
    			}
    			for event := range w.ResultChan() {
    				switch event.Type {
    				case watch.Added, watch.Modified, watch.Deleted:
    					// all expected
    				default:
    					t.Errorf("unexpected watch event: %#v", event)
    				}
    			}
    		}(i)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    			return nil
    		}
    		if !apiequality.Semantic.DeepDerivative(*job, testJob) {
    			t.Errorf("Expected %#v, but got %#v", testJob, *job)
    		}
    		return nil
    	}
    	// Start only the job watcher and the workqueue, send a watch event,
    	// and make sure it hits the sync method.
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    	sharedInformerFactory.Start(stopCh)
    	go manager.Run(context.TODO(), 1)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

            Matcher matcher = pattern.matcher(source);
    
            if (matcher.matches()) {
                String uid = matcher.group(1) == null ? null : matcher.group(1).substring("uid=".length());
                String javaHome = matcher.group(2);
                JavaLanguageVersion javaVersion = JavaLanguageVersion.of(matcher.group(3));
                String daemonRegistryDir = matcher.group(4);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

    
    import spock.lang.Specification
    
    class TestSelectionMatcherTest extends Specification {
    
        def "knows if test matches class"() {
            expect:
            matcher(input, [], []).matchesTest(className, methodName) == match
            matcher([], [], input).matchesTest(className, methodName) == match
    
            where:
            input                    | className                 | methodName            | match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

            String searchContext = getSearchContext(targetProject, includeSubprojects);
    
            if (context.getOriginalPath().getPath().equals(taskName)) {
                throw getProblemsService().getInternalReporter().throwing(spec -> {
                    configureProblem(spec, matcher, context);
                    String message = matcher.formatErrorMessage("Task", searchContext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

                Pattern.MULTILINE + Pattern.DOTALL);
    
            Matcher matcher = pattern.matcher(daemonLog.text);
            assert matcher.matches(): "Unable to find daemon address in the daemon log. Daemon: $context"
    
            try {
                return Integer.parseInt(matcher.group(1))
            } catch (NumberFormatException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/AbstractKotlinScriptModelCrossVersionTest.groovy

                            }
                        } as Collection<Matcher<Iterable<? super File>>>
                    } as Collection<Matcher<Iterable<? super File>>>
    
                def resourceDirs =
                    sourceRoots.sourceSets.collect { sourceSet ->
                        hasLanguageDir(sourceRoots.projectDir, sourceSet, "resources")
                    } as Collection<Matcher<Iterable<? super File>>>
    
                languageDirs + resourceDirs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top