Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for reactors (0.29 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	t.Helper()
    
    	tc := &testContext{}
    	tCtx := ktesting.Init(t)
    	tc.ctx = tCtx
    
    	tc.client = fake.NewSimpleClientset(objs...)
    	reactor := createReactor(tc.client.Tracker())
    	tc.client.PrependReactor("*", "*", reactor)
    
    	// Quick-and-dirty workaround for fake client storing ResourceClassParameters and
    	// ResourceClaimParameters as "resourceclassparameterses" and "resourceclaimparameterses":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    		indexer.Add(&v1.Node{ObjectMeta: metav1.ObjectMeta{Name: nodeName}})
    	}
    
    	esInformer := informerFactory.Discovery().V1().EndpointSlices()
    	esIndexer := esInformer.Informer().GetIndexer()
    
    	// These reactors are required to mock functionality that would be covered
    	// automatically if we weren't using the fake client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if apiPVCs == nil {
    			env.reactor.AddClaim(pvc)
    		}
    	}
    	for _, pvc := range apiPVCs {
    		env.reactor.AddClaim(pvc)
    	}
    }
    
    func (env *testEnv) initVolumes(cachedPVs []*v1.PersistentVolume, apiPVs []*v1.PersistentVolume) {
    	for _, pv := range cachedPVs {
    		assumecache.AddTestObject(env.internalBinder.pvCache.AssumeCache, pv)
    		if apiPVs == nil {
    			env.reactor.AddVolume(pv)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_attacher_test.go

    			fakeClient := fakeclient.NewSimpleClientset()
    			plug, tmpDir := newTestPluginWithAttachDetachVolumeHost(t, fakeClient)
    			defer os.RemoveAll(tmpDir)
    
    			if tc.reactor != nil {
    				fakeClient.PrependReactor("*", "*", tc.reactor)
    			}
    
    			attacher, err0 := plug.NewAttacher()
    			if err0 != nil {
    				t.Fatalf("failed to create new attacher: %v", err0)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // phase 1: get file Models from the reactor.
                List<InterimResult> interimResults = build(projectIndex, pomFiles, new LinkedHashSet<>(), true, recursive);
    
                ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
    
                try {
                    // Phase 2: get effective models from the reactor
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    // This feature is currently implemented in watch cache layer, so this is optional.
    //
    // TODO(#109831): ProgressNotify feature is effectively implementing the same
    //
    //	functionality, so we should refactor this functionality to share the same input.
    func RunTestWatchDispatchBookmarkEvents(ctx context.Context, t *testing.T, store storage.Interface, expectedWatchBookmarks bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        problems.add(
                                Severity.WARNING,
                                ModelProblem.Version.BASE,
                                "BOM imports from within reactor should be avoided",
                                dependency.getLocation(""));
                    }
                }
    
                final ModelBuilderResult importResult;
                try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            // module with the same groupId/artifactId/version/classifier this will fail the build
            // earlier like "Project '...' is duplicated in the reactor.
            // So it is sufficient to check only groupId/artifactId/version/classifier and not the
            // packaging type.
            for (Dependency dependency : dependencies) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        problems.add(new ModelProblemCollectorRequest(Severity.WARNING, ModelProblem.Version.BASE)
                                .setMessage("BOM imports from within reactor should be avoided")
                                .setLocation(dependency.getLocation("")));
                    }
                }
    
                final ModelBuildingResult importResult;
                try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption_test.go

    				t.Fatalf("Eviction (pod delete) failed: %v", err)
    			}
    		}
    	}
    
    	// The fake kube client does not update ResourceVersion or check for conflicts.
    	// Instead, we add a reactor that returns a conflict error on the first PDB
    	// update and success after that.
    	var failOnce sync.Once
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top