ceph-csi/e2e/vendor/k8s.io/mount-utils
Niels de Vos 79cf0321dd util: do not use mount-utils.IsLikelyNotMountPoint anymore
`IsLikelyNotMountPoint()` is an optimized version for `IsMountPoint()`
which can not detect all type of mounts (anymore). The slower
`IsMountPoint()` is more safe to use. This can cause a slight
performance regression in the case there are many mountpoints on the
system, but correctness is more important than speed while mounting.

Fixes: #4633
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-03-14 10:27:13 +00:00
..
code-of-conduct.md build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
doc.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
fake_mounter.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
LICENSE build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
mount_helper_common.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
mount_helper_unix.go util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
mount_helper_windows.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
mount_linux.go util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
mount_unsupported.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
mount_windows.go util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
mount.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
OWNERS build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
README.md build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
resizefs_linux.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
resizefs_unsupported.go build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00
SECURITY_CONTACTS build: move e2e dependencies into e2e/go.mod 2025-03-07 16:05:04 +00:00

Purpose

This repository defines an interface to mounting filesystems to be consumed by various Kubernetes and out-of-tree CSI components.

Consumers of this repository can make use of functions like 'Mount' to mount source to target as fstype with given options, 'Unmount' to unmount a target. Other useful functions include 'List' all mounted file systems and find all mount references to a path using 'GetMountRefs'

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this repository at:

Code of Conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Contibution Guidelines

See CONTRIBUTING.md for more information.