storage

package
v0.0.0-...-d691e2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tmp

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterStorage

func RegisterStorage(name string, storage Storage)

Types

type Storage

type Storage interface {
	Allocate(fpath string, size uint64) (storagePath string, err error)
	Recycle()
	PrepareXfs(path string) (err error)
	MountProjQuota(sourcePath string, targetPath string) (err error)
}

func GetStorage

func GetStorage(name string) (storage Storage, err error)

Directories

Path Synopsis
Package hostpath
Package hostpath
Package loop
Package loop

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL