Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for ActualStateOfworld (0.22 sec)

  1. pkg/volume/util/operationexecutor/fakegenerator.go

    }
    
    func (f *fakeOGCounter) GenerateUnmountVolumeFunc(volumeToUnmount MountedVolume, actualStateOfWorld ActualStateOfWorldMounterUpdater, podsDir string) (volumetypes.GeneratedOperations, error) {
    	return f.recordFuncCall("GenerateUnmountVolumeFunc"), nil
    }
    
    func (f *fakeOGCounter) GenerateAttachVolumeFunc(logger klog.Logger, volumeToAttach VolumeToAttach, actualStateOfWorld ActualStateOfWorldAttacherUpdater) volumetypes.GeneratedOperations {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    // contains kubelet volume manager specific state.
    type ActualStateOfWorld interface {
    	// ActualStateOfWorld must implement the methods required to allow
    	// operationexecutor to interact with it.
    	operationexecutor.ActualStateOfWorldMounterUpdater
    
    	// ActualStateOfWorld must implement the methods required to allow
    	// operationexecutor to interact with it.
    	operationexecutor.ActualStateOfWorldAttacherUpdater
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world.go

    func (s AttachState) String() string {
    	return []string{"Attached", "Uncertain", "Detached"}[s]
    }
    
    // NewActualStateOfWorld returns a new instance of ActualStateOfWorld.
    func NewActualStateOfWorld(volumePluginMgr *volume.VolumePluginMgr) ActualStateOfWorld {
    	return &actualStateOfWorld{
    		attachedVolumes:        make(map[v1.UniqueVolumeName]attachedVolume),
    		nodesToUpdateStatusFor: make(map[types.NodeName]nodeToUpdateStatusFor),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_generator.go

    	// Along with volumeToMount and actualStateOfWorld, the function expects current size of volume on the node as an argument. The current
    	// size here always refers to capacity last recorded in actualStateOfWorld from pvc.Status.Capacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	tests := []struct {
    		name           string
    		opCallback     func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error
    		verifyCallback func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error
    	}{
    		{
    			name: "marking volume mounted should remove volume from found during reconstruction",
    			opCallback: func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go

    	nodeLister corelisters.NodeLister,
    	actualStateOfWorld cache.ActualStateOfWorld) NodeStatusUpdater {
    	return &nodeStatusUpdater{
    		actualStateOfWorld: actualStateOfWorld,
    		nodeLister:         nodeLister,
    		kubeClient:         kubeClient,
    	}
    }
    
    type nodeStatusUpdater struct {
    	kubeClient         clientset.Interface
    	nodeLister         corelisters.NodeLister
    	actualStateOfWorld cache.ActualStateOfWorld
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. pkg/kubelet/pluginmanager/reconciler/reconciler.go

    		desiredStateOfWorld: desiredStateOfWorld,
    		actualStateOfWorld:  actualStateOfWorld,
    		handlers:            make(map[string]cache.PluginHandler),
    	}
    }
    
    type reconciler struct {
    	operationExecutor   operationexecutor.OperationExecutor
    	loopSleepDuration   time.Duration
    	desiredStateOfWorld cache.DesiredStateOfWorld
    	actualStateOfWorld  cache.ActualStateOfWorld
    	handlers            map[string]cache.PluginHandler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    					continue
    				}
    			}
    
    			// Because the detach operation updates the ActualStateOfWorld before
    			// marking itself complete, it's possible for the volume to be removed
    			// from the ActualStateOfWorld between the GetAttachedVolumes() check
    			// and the IsOperationSafeToRetry() check above.
    			// Check the ActualStateOfWorld again to avoid issuing an unnecessary
    			// detach.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    	controllerAttachDetachEnabled bool,
    	loopSleepDuration time.Duration,
    	waitForAttachTimeout time.Duration,
    	nodeName types.NodeName,
    	desiredStateOfWorld cache.DesiredStateOfWorld,
    	actualStateOfWorld cache.ActualStateOfWorld,
    	populatorHasAddedPods func() bool,
    	operationExecutor operationexecutor.OperationExecutor,
    	mounter mount.Interface,
    	hostutil hostutil.HostUtils,
    	volumePluginMgr *volumepkg.VolumePluginMgr,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. pkg/kubelet/pluginmanager/operationexecutor/operation_executor.go

    // behavior.
    //
    // Once an operation completes successfully, the actualStateOfWorld is updated
    // to indicate the plugin is registered/unregistered.
    //
    // Once the operation is started, since it is executed asynchronously,
    // errors are simply logged and the goroutine is terminated without updating
    // actualStateOfWorld.
    type OperationExecutor interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top