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.29.6
Published
Jun 11, 2024
Platform
windows/amd64
Imports
5 packages
Last checked
11 minutes ago

Tools for package owners.