Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for VolumeMounted (0.2 sec)

  1. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// actual state of the world.
    	GetMountedVolumes() []MountedVolume
    
    	// GetAllMountedVolumes returns list of all possibly mounted volumes including
    	// those that are in VolumeMounted state and VolumeMountUncertain state.
    	GetAllMountedVolumes() []MountedVolume
    
    	// GetMountedVolumesForPod generates and returns a list of volumes that are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/metrics/metrics_test.go

    		Mounter:             mounter,
    		BlockVolumeMapper:   mapper,
    		OuterVolumeSpecName: volumeSpec.Name(),
    		VolumeSpec:          volumeSpec,
    		VolumeMountState:    operationexecutor.VolumeMounted,
    	}
    	err = asw.AddPodToVolume(markVolumeOpts)
    	if err != nil {
    		t.Fatalf("AddPodToVolume failed. Expected: <no error> Actual: <%v>", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    )
    
    // VolumeMountState represents volume mount state in a path local to the pod.
    type VolumeMountState string
    
    const (
    	// VolumeMounted means volume has been mounted in pod's local path
    	VolumeMounted VolumeMountState = "VolumeMounted"
    
    	// VolumeMountUncertain means volume may or may not be mounted in pods' local path
    	VolumeMountUncertain VolumeMountState = "VolumeMountUncertain"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    	deviceMountUncertain = "deviceMountUncertain"
    	deviceMounted        = "deviceMounted"
    
    	volumeNotMounted     = "volumeNotMounted"
    	volumeMountUncertain = "volumeMountUncertain"
    	volumeMounted        = "volumeMounted"
    
    	FailNewMounter = "fail-new-mounter"
    )
    
    // CommandScript is used to pre-configure a command that will be executed and
    // optionally set it's output (stdout and stderr combined) and return code.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    			opCallback: func(asw ActualStateOfWorld, volumeOpts operationexecutor.MarkVolumeOpts) error {
    				volumeOpts.VolumeMountState = operationexecutor.VolumeMounted
    				return asw.MarkVolumeAsMounted(volumeOpts)
    			},
    			verifyCallback: 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/kubelet/volumemanager/reconciler/reconciler_test.go

    			volumeState:            operationexecutor.VolumeMounted,
    			unmountDeviceCallCount: 1,
    			unmountVolumeCount:     1,
    			volumeName:             volumetesting.SuccessAndTimeoutSetupVolumeName,
    			supportRemount:         true,
    		},
    		{
    			name:                   "success followed by failed operation should result in mounted volume",
    			volumeState:            operationexecutor.VolumeMounted,
    			unmountDeviceCallCount: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_generator.go

    			OuterVolumeSpecName: volumeToMount.OuterVolumeSpecName,
    			VolumeGidVolume:     volumeToMount.VolumeGidValue,
    			VolumeSpec:          volumeToMount.VolumeSpec,
    			VolumeMountState:    VolumeMounted,
    			SELinuxMountContext: volumeToMount.SELinuxLabel,
    		}
    		if mountErr != nil {
    			og.checkForFailedMount(volumeToMount, mountErr)
    			og.markVolumeErrorState(volumeToMount, markOpts, mountErr, actualStateOfWorld)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			OuterVolumeSpecName: volumeToMount.OuterVolumeSpecName,
    			VolumeGidVolume:     volumeToMount.VolumeGidValue,
    			VolumeSpec:          volumeToMount.VolumeSpec,
    			VolumeMountState:    operationexecutor.VolumeMounted,
    		}
    		err = asw.MarkVolumeAsMounted(markVolumeOpts)
    		if err != nil {
    			t.Fatalf("Unexpected error when MarkVolumeAsMounted: %v", err)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top