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.13.5
Published
Mar 22, 2019
Platform
windows/amd64
Imports
5 packages
Last checked
2 minutes ago

Tools for package owners.