const blockDev …
type ResizeFs …
func NewResizeFs(exec utilexec.Interface) *ResizeFs { … }
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) { … }