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

package fs

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

Index

Functions

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.

Types

type UsageInfo

type UsageInfo struct {
	Bytes  int64
	Inodes int64
}

func DiskUsage

func DiskUsage(path string) (UsageInfo, error)

DiskUsage gets disk usage of specified path.

Source Files

fs_windows.go

Version
v1.22.6
Published
Jan 19, 2022
Platform
windows/amd64
Imports
6 packages
Last checked
6 minutes ago

Tools for package owners.