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.23.0-alpha.1
Published
Aug 19, 2021
Platform
js/wasm
Imports
1 packages
Last checked
7 minutes ago

Tools for package owners.