Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for restmapper (0.23 sec)

  1. pkg/controller/validatingadmissionpolicystatus/controller_test.go

    			typeChecker := &validatingadmissionpolicy.TypeChecker{
    				SchemaResolver: resolver.NewDefinitionsSchemaResolver(openapi.GetOpenAPIDefinitions, scheme.Scheme),
    				RestMapper:     testrestmapper.TestOnlyStaticRESTMapper(scheme.Scheme),
    			}
    			controller, err := NewController(
    				informerFactory.Admissionregistration().V1().ValidatingAdmissionPolicies(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/graph_builder.go

    // a graph that caches the dependencies as we know, and enqueues
    // items to the attemptToDelete and attemptToOrphan.
    type GraphBuilder struct {
    	restMapper meta.RESTMapper
    
    	// each monitor list/watches a resource, the results are funneled to the
    	// dependencyGraphBuilder
    	monitors    monitors
    	monitorLock sync.RWMutex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/core.go

    	}
    
    	garbageCollector, err := garbagecollector.NewComposedGarbageCollector(
    		ctx,
    		gcClientset,
    		metadataClient,
    		controllerContext.RESTMapper,
    		controllerContext.GraphBuilder,
    	)
    	if err != nil {
    		return nil, true, fmt.Errorf("failed to start the generic garbage collector: %w", err)
    	}
    
    	// Start the garbage collector.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	}
    	return basicInfo
    }
    
    // Namespaced returns true if the object belongs to a namespace
    func (i *Info) Namespaced() bool {
    	if i.Mapping != nil {
    		// if we have RESTMapper info, use it
    		return i.Mapping.Scope.Name() == meta.RESTScopeNameNamespace
    	}
    	// otherwise, use the presence of a namespace in the info as an indicator
    	return len(i.Namespace) > 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal.go

    // control.
    type HorizontalController struct {
    	scaleNamespacer scaleclient.ScalesGetter
    	hpaNamespacer   autoscalingclient.HorizontalPodAutoscalersGetter
    	mapper          apimeta.RESTMapper
    
    	replicaCalc   *ReplicaCalculator
    	eventRecorder record.EventRecorder
    
    	downscaleStabilisationWindow time.Duration
    
    	monitor monitor.Monitor
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. pkg/controller/resourcequota/resource_quota_controller_test.go

    		t.Fatalf("Expected quotacontroller.Sync to still be running but it is blocked: %v", err)
    	}
    	assertMonitors(t, qc, "pods", "deployments")
    
    	// Simulate the discovery client returning a resource the restmapper can resolve, but will not sync caches
    	fakeDiscoveryClient.setPreferredResources(unsyncableServerResources, nil)
    
    	// Wait until sync discovers the change
    	time.Sleep(1 * time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  7. src/mdo/java/WrapperList.java

        private final Function<U, T> mapper;
        private final Function<T, U> revMapper;
    
        WrapperList(List<U> list, Function<U, T> mapper, Function<T, U> revMapper) {
            this(() -> list, null, mapper, revMapper);
        }
    
        WrapperList(Supplier<List<U>> getter, Consumer<List<U>> setter, Function<U, T> mapper, Function<T, U> revMapper) {
            this.getter = getter;
            this.setter = setter;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestMultipleFailuresMapperTestError.groovy

        def rootMapper = new ThrowableToTestFailureMapper() {
            @Override
            TestFailure createFailure(Throwable throwable) {
                TestFailure.fromTestAssertionFailure(throwable, null, null, null)
            }
        }
    
        def "maps assertion failure correctly"() {
            when:
            def mappedFailure = mapper.map(error, rootMapper)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreator.java

            final Map<String, String> remappedClassLiterals;
            private final ImplementationDependencyRelocator remapper;
    
            public ShadingClassRemapper(ClassWriter classWriter, ImplementationDependencyRelocator remapper) {
                super(classWriter, remapper);
                this.remapper = remapper;
                remappedClassLiterals = new HashMap<>();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/AssertjMultipleAssertionsErrorMapperTest.groovy

        def rootMapper = new ThrowableToTestFailureMapper() {
            @Override
            TestFailure createFailure(Throwable throwable) {
                TestFailure.fromTestAssertionFailure(throwable, null, null, null)
            }
        }
    
        def "maps assertion failure correctly"() {
            when:
            def mappedFailure = mapper.map(error, rootMapper)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top