Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for newController (0.17 sec)

  1. pkg/webhooks/validation/controller/controller_test.go

    	c := kube.NewFakeClient()
    	revision := "default"
    	ns := "default"
    	watcher := keycertbundle.NewWatcher()
    	watcher.SetAndNotify(nil, nil, caBundle0)
    	control := newController(Options{
    		WatchedNamespace: ns,
    		CABundleWatcher:  watcher,
    		Revision:         revision,
    		ServiceName:      "istiod",
    	}, c)
    	stop := test.NewStop(t)
    	c.RunAndWait(stop)
    	go control.Run(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 03:21:04 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/buildtree/DefaultBuildTreeLifecycleController.java

            this.workController = workController;
            this.modelCreator = modelCreator;
            this.finishExecutor = finishExecutor;
            this.state = controllerFactory.newController(Describables.of("build tree state"), State.NotStarted);
            this.startParameter = startParameter;
            this.buildModelParameters = buildModelParameters;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 07:46:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. pkg/webhooks/validation/controller/controller.go

    ) *Controller {
    	o := Options{
    		WatchedNamespace: ns,
    		CABundleWatcher:  caBundleWatcher,
    		Revision:         revision,
    		ServiceName:      "istiod",
    	}
    	return newController(o, client)
    }
    
    func newController(o Options, client kube.Client) *Controller {
    	c := &Controller{
    		o:      o,
    		client: client,
    	}
    
    	c.queue = controllers.NewQueue("validation",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. pkg/controller/volume/ephemeral/controller.go

    	podIndexer cache.Indexer
    
    	// recorder is used to record events in the API server
    	recorder record.EventRecorder
    
    	queue workqueue.TypedRateLimitingInterface[string]
    }
    
    // NewController creates an ephemeral volume controller.
    func NewController(
    	ctx context.Context,
    	kubeClient clientset.Interface,
    	podInformer coreinformers.PodInformer,
    	pvcInformer coreinformers.PersistentVolumeClaimInformer) (Controller, error) {
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/server_v1_test.go

    	podName := "pod-name"
    	podNamespace := "pod-namespace"
    	podUID := types.UID("pod-uid")
    	containerName := "container-name"
    	numaID := int64(1)
    
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    
    	devs := []*podresourcesapi.ContainerDevices{
    		{
    			ResourceName: "resource",
    			DeviceIds:    []string{"dev0", "dev1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pleg/generic_test.go

    		events = append(events, event)
    
    	}
    	return pods, statuses, events
    }
    
    func TestRelistWithCache(t *testing.T) {
    	ctx := context.Background()
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    	runtimeMock := containertest.NewMockRuntime(mockCtrl)
    
    	pleg := newTestGenericPLEGWithRuntimeMock(runtimeMock)
    	ch := pleg.Watch()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    			if err != nil {
    				return nil, "", err
    			}
    		}
    		return mergeSpec, generateCRDHash(crd), nil
    	}, &s.crdCache)
    	return &s
    }
    
    // NewController creates a new Controller with input CustomResourceDefinition informer
    func NewController(crdInformer informers.CustomResourceDefinitionInformer) *Controller {
    	c := &Controller{
    		crdLister:  crdInformer.Lister(),
    		crdsSynced: crdInformer.Informer().HasSynced,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. pilot/pkg/status/manager.go

    )
    
    // Manager allows multiple controllers to provide input into configuration
    // status without needlessly doubling the number of writes, or overwriting
    // one another.  Each status controller calls newController, passing in
    // an arbitrary status modification function, and then calls EnqueueStatusUpdate
    // when an individual resource is ready to be updated with the relevant data.
    type Manager struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go

    				namespaceInformer.Informer().GetIndexer().Add(obj)
    			}
    
    			systemNamespaces := []string{metav1.NamespaceSystem, metav1.NamespacePublic, v1.NamespaceNodeLease, metav1.NamespaceDefault}
    			controller := NewController(systemNamespaces, clientset, namespaceInformer)
    
    			clientset.PrependReactor("create", "namespaces", func(action k8stesting.Action) (bool, runtime.Object, error) {
    				create := action.(k8stesting.CreateAction)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/fake.go

    	xdsUpdater := opts.XDSUpdater
    	if xdsUpdater == nil {
    		xdsUpdater = model.NewEndpointIndexUpdater(env.EndpointIndex)
    	}
    
    	serviceDiscovery := aggregate.NewController(aggregate.Options{})
    	se := serviceentry.NewController(
    		configController,
    		xdsUpdater,
    		env.Watcher,
    		serviceentry.WithClusterID(opts.ClusterID))
    	// TODO allow passing in registry, for k8s, mem reigstry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top