package fs
import "k8s.io/kubernetes/pkg/volume/util/fs"
Index ¶
- func DiskUsage(path string) (*resource.Quantity, error)
- func Find(path string) (int64, error)
- func FsInfo(path string) (int64, int64, int64, int64, int64, int64, error)
Functions ¶
func DiskUsage ¶
DiskUsage gets disk usage of specified path.
func Find ¶
Always return zero since inodes is not supported on Windows.
func FsInfo ¶
FSInfo returns (available bytes, byte capacity, byte usage, total inodes, inodes free, inode usage, error) for the filesystem that path resides upon.
Source Files ¶
fs_windows.go
- Version
- v1.20.8
- Published
- Jun 16, 2021
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 3 minutes ago –
Tools for package owners.