kubernetesk8s.io/kubernetes/pkg/volume/util/fs Index | Files

package fs

import "k8s.io/kubernetes/pkg/volume/util/fs"

Index

Functions

func DiskUsage

func DiskUsage(path string) (*resource.Quantity, error)

DiskUsage gets disk usage of specified path.

func Find

func Find(path string) (int64, error)

Always return zero since inodes is not supported on Windows.

func FsInfo

func FsInfo(path string) (int64, int64, int64, int64, int64, int64, error)

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.