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 unsupported returns 0 values for available and capacity and an error.

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_unsupported.go

Version
v1.33.2 (latest)
Published
Jun 17, 2025
Platform
js/wasm
Imports
1 packages
Last checked
30 minutes ago

Tools for package owners.