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) { … } // NeedResize check whether mounted volume needs resize func (resizefs *ResizeFs) NeedResize(devicePath string, deviceMountPath string) (bool, error) { … }