- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewHostUtil (0.11 sec)
-
pkg/volume/util/hostutil/hostutil_windows.go
"k8s.io/mount-utils" utilpath "k8s.io/utils/path" ) // HostUtil implements HostUtils for Windows platforms. type HostUtil struct{} // NewHostUtil returns a struct that implements HostUtils on Windows platforms func NewHostUtil() *HostUtil { return &HostUtil{} } // GetDeviceNameFromMount given a mnt point, find the device
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_linux.go
procMountInfoPath = "/proc/self/mountinfo" ) // HostUtil implements HostUtils for Linux platforms. type HostUtil struct { } // NewHostUtil returns a struct that implements the HostUtils interface on // linux platforms func NewHostUtil() *HostUtil { return &HostUtil{} } // DeviceOpened checks if block device in use by calling Open with O_EXCL flag.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
cmd/kubelet/app/server.go
if err != nil { return nil, err } mounter := mount.New(s.ExperimentalMounterPath) subpather := subpath.New(mounter) hu := hostutil.NewHostUtil() pluginRunner := exec.New() plugins, err := ProbeVolumePlugins(featureGate) if err != nil { return nil, err } var tp oteltrace.TracerProvider tp = noopoteltrace.NewTracerProvider()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:34 UTC 2024 - 53.9K bytes - Viewed (0)