- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for ActualStateOfworld (0.89 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/kubelet/volumemanager/volume_manager.go
vm.desiredStateOfWorld, vm.actualStateOfWorld, kubeContainerRuntime, csiMigratedPluginManager, intreeToCSITranslator, volumePluginMgr) vm.reconciler = reconciler.NewReconciler( kubeClient, controllerAttachDetachEnabled, reconcilerLoopSleepPeriod, waitForAttachTimeout, nodeName, vm.desiredStateOfWorld, vm.actualStateOfWorld, vm.desiredStateOfWorldPopulator.HasAddedPods,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor.go
// VerifyVolumesAreAttached verifies volumes being used in entire cluster and if they are still attached to the node // If any volume is not attached right now, it will update actual state of world to reflect that. VerifyVolumesAreAttached(volumesToVerify map[types.NodeName][]AttachedVolume, actualStateOfWorld ActualStateOfWorldAttacherUpdater)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
verifyFunc: func(rcInstance *reconciler, fakePlugin *volumetesting.FakeVolumePlugin) error { mountedPods := rcInstance.actualStateOfWorld.GetMountedVolumes() if len(mountedPods) != 0 { return fmt.Errorf("expected 0 certain pods in asw got %d", len(mountedPods)) } allPods := rcInstance.actualStateOfWorld.GetAllMountedVolumes() if len(allPods) != 2 { return fmt.Errorf("expected 2 uncertain pods in asw got %d", len(allPods))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0)