- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsSELinuxMountMismatchError (0.29 sec)
-
pkg/kubelet/volumemanager/reconciler/reconciler_common.go
volumeToMount.DevicePath = devicePath if cache.IsSELinuxMountMismatchError(err) { // The volume is mounted, but with an unexpected SELinux context. // It will get unmounted in unmountVolumes / unmountDetachDevices and // then removed from actualStateOfWorld.
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/cache/actual_state_of_world.go
func newSELinuxMountMismatchError(volumeName v1.UniqueVolumeName) error { return seLinuxMountMismatchError{ volumeName: volumeName, } } // IsSELinuxMountMismatchError returns true if the specified error is a // seLinuxMountMismatchError. func IsSELinuxMountMismatchError(err error) bool { _, ok := err.(seLinuxMountMismatchError) return ok
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/kubelet/volumemanager/cache/actual_state_of_world_test.go
t.Errorf("expected Pod %s not to exists, but it does", podToCheck) } if err == nil { t.Error("expected PodExistsInVolume to return error, but it returned nil") } if !IsSELinuxMountMismatchError(err) { t.Errorf("expected PodExistsInVolume to return SELinuxMountMismatchError, got %s", err) } } func verifyVolumeExistsWithSpecNameInVolumeAsw( t *testing.T,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0)