kubernetes/staging/src/k8s.io/mount-utils/resizefs_linux.go

const blockDev

type ResizeFs

// NewResizeFs returns new instance of resizer
func NewResizeFs(exec utilexec.Interface) *ResizeFs {}

// Resize perform resize of file system
func (resizefs *ResizeFs) Resize(devicePath string, deviceMountPath string) (bool, error) {}

func (resizefs *ResizeFs) extResize(devicePath string) (bool, error) {}

func (resizefs *ResizeFs) xfsResize(deviceMountPath string) (bool, error) {}

func (resizefs *ResizeFs) btrfsResize(deviceMountPath string) (bool, error) {}

func (resizefs *ResizeFs) NeedResize(devicePath string, deviceMountPath string) (bool, error) {}

func (resizefs *ResizeFs) getDeviceSize(devicePath string) (uint64, error) {}

func (resizefs *ResizeFs) getDeviceRO(devicePath string) (bool, error) {}

func (resizefs *ResizeFs) getExtSize(devicePath string) (uint64, uint64, error) {}

func (resizefs *ResizeFs) getXFSSize(devicePath string) (uint64, uint64, error) {}

func (resizefs *ResizeFs) getBtrfsSize(devicePath string) (uint64, uint64, error) {}

func (resizefs *ResizeFs) parseBtrfsInfoOutput(cmdOutput string, blockSizeKey string, totalBytesKey string) (uint64, uint64, error) {}

func (resizefs *ResizeFs) parseFsInfoOutput(cmdOutput string, spliter string, blockSizeKey string, blockCountKey string) (uint64, uint64, error) {}