- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeviceMountState (0.22 sec)
-
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
} // AttachedVolume represents a volume that is attached to a node. type AttachedVolume struct { operationexecutor.AttachedVolume // DeviceMountState indicates if device has been globally mounted or is not. DeviceMountState operationexecutor.DeviceMountState // SELinuxMountContext is the context with that the volume is globally mounted // (via -o context=XYZ mount option). If empty, the volume is not mounted with
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/volume/testing/testing.go
_, ok := fv.DeviceMountState[fv.VolName] if !ok { fv.DeviceMountState[fv.VolName] = deviceMountUncertain return "", volumetypes.NewUncertainProgressError("timed out mounting error") } fv.DeviceMountState[fv.VolName] = deviceNotMounted return "", fmt.Errorf("error mapping disk: %s", fv.VolName) } if fv.VolName == SuccessAndTimeoutDeviceName { _, ok := fv.DeviceMountState[fv.VolName] if ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor.go
SELinuxLabel string } // DeviceMountState represents device mount state in a global path. type DeviceMountState string const ( // DeviceGloballyMounted means device has been globally mounted successfully DeviceGloballyMounted DeviceMountState = "DeviceGloballyMounted" // DeviceMountUncertain means device may not be mounted but a mount operation may be
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/reconciler_test.go
}, }, } return pod } func Test_UncertainDeviceGlobalMounts(t *testing.T) { var tests = []struct { name string deviceState operationexecutor.DeviceMountState unmountDeviceCallCount int volumeName string supportRemount bool }{ { name: "timed out operations should result in device marked as uncertain",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0)