Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for newReconciler (0.15 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	oex := operationexecutor.NewOperationExecutor(operationexecutor.NewOperationGenerator(
    		kubeClient,
    		volumePluginMgr,
    		fakeRecorder,
    		fakeHandler,
    	))
    	reconciler := NewReconciler(
    		kubeClient,
    		false, /* controllerAttachDetachEnabled */
    		reconcilerLoopSleepDuration,
    		waitForAttachTimeout,
    		nodeName,
    		dsw,
    		asw,
    		hasAddedPods,
    		oex,
    		mount.NewFakeMounter(nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    	asw := cache.NewActualStateOfWorld()
    	fakeRecorder := &record.FakeRecorder{}
    	oex := operationexecutor.NewOperationExecutor(operationexecutor.NewOperationGenerator(
    		fakeRecorder,
    	))
    	reconciler := NewReconciler(
    		oex,
    		reconcilerLoopSleepDuration,
    		dsw,
    		asw,
    	)
    	// Act
    	runReconciler(reconciler)
    
    	// Get dsw and asw plugins; they should both be empty
    	if len(asw.GetRegisteredPlugins()) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/reconciler/reconciler.go

    	// AddHandler adds the given plugin handler for a specific plugin type,
    	// which will be added to the actual state of world cache.
    	AddHandler(pluginType string, pluginHandler cache.PluginHandler)
    }
    
    // NewReconciler returns a new instance of Reconciler.
    //
    // operationExecutor - used to trigger register/unregister operations safely
    // (prevents more than one operation from being triggered on the same
    // socket path)
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	nsu := statusupdater.NewNodeStatusUpdater(
    		fakeKubeClient, informerFactory.Core().V1().Nodes().Lister(), asw)
    	nodeLister := informerFactory.Core().V1().Nodes().Lister()
    	reconciler := NewReconciler(
    		reconcilerLoopPeriod, maxWaitForUnmountDuration, syncLoopPeriod, false, false, dsw, asw, ad, nsu, nodeLister, fakeRecorder)
    
    	// Act
    	_, ctx := ktesting.NewTestContext(t)
    	ctx, cancel := context.WithCancel(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/plugin_manager.go

    // PluginManager interface.
    func NewPluginManager(
    	sockDir string,
    	recorder record.EventRecorder) PluginManager {
    	asw := cache.NewActualStateOfWorld()
    	dsw := cache.NewDesiredStateOfWorld()
    	reconciler := reconciler.NewReconciler(
    		operationexecutor.NewOperationExecutor(
    			operationexecutor.NewOperationGenerator(
    				recorder,
    			),
    		),
    		loopSleepDuration,
    		dsw,
    		asw,
    	)
    
    	pm := &pluginManager{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 01 05:56:33 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    	Run(stopCh <-chan struct{})
    
    	// StatesHasBeenSynced returns true only after syncStates process starts to sync
    	// states at least once after kubelet starts
    	StatesHasBeenSynced() bool
    }
    
    // NewReconciler returns a new instance of Reconciler.
    //
    // controllerAttachDetachEnabled - if true, indicates that the attach/detach
    // controller is responsible for managing the attach/detach operations for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    	// if volumes that should be attached are attached and volumes that should
    	// be detached are detached. If not, it will trigger attach/detach
    	// operations to rectify.
    	Run(ctx context.Context)
    }
    
    // NewReconciler returns a new instance of Reconciler that waits loopPeriod
    // between successive executions.
    // loopPeriod is the amount of time the reconciler loop waits between
    // successive executions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. pkg/controller/endpointslicemirroring/reconciler_test.go

    				}
    				numInitialActions++
    			}
    
    			maxEndpointsPerSubset := tc.maxEndpointsPerSubset
    			if maxEndpointsPerSubset == 0 {
    				maxEndpointsPerSubset = defaultMaxEndpointsPerSubset
    			}
    			r := newReconciler(tCtx, client, maxEndpointsPerSubset)
    			reconcileHelper(t, r, &endpoints, tc.existingEndpointSlices)
    
    			numExtraActions := len(client.Actions()) - numInitialActions
    			if numExtraActions != tc.expectedClientActions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/volume_manager.go

    		podStateProvider,
    		vm.desiredStateOfWorld,
    		vm.actualStateOfWorld,
    		kubeContainerRuntime,
    		csiMigratedPluginManager,
    		intreeToCSITranslator,
    		volumePluginMgr)
    	vm.reconciler = reconciler.NewReconciler(
    		kubeClient,
    		controllerAttachDetachEnabled,
    		reconcilerLoopSleepPeriod,
    		waitForAttachTimeout,
    		nodeName,
    		vm.desiredStateOfWorld,
    		vm.actualStateOfWorld,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller.go

    			},
    			DeleteFunc: func(_ interface{}) {
    				c.deleteNode()
    			},
    		})
    
    		c.topologyCache = topologycache.NewTopologyCache()
    	}
    
    	c.reconciler = endpointslicerec.NewReconciler(
    		c.client,
    		c.nodeLister,
    		c.maxEndpointsPerSlice,
    		c.endpointSliceTracker,
    		c.topologyCache,
    		c.eventRecorder,
    		controllerName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top