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)

Find will always return zero since inodes is not supported on Windows.

func Info

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

Info 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.21.5
Published
Sep 15, 2021
Platform
windows/amd64
Imports
7 packages
Last checked
18 minutes ago

Tools for package owners.