quota

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: 12 Imported by: 0

Documentation

Overview

Package device

Package device

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitQuotaCtrl

func InitQuotaCtrl(storagePath string, tmpSize string, runnersTmpPath string, storageType string, logger *logs.Logger) (quotactrl *xfsQuotaCtrl, err error)

func RunWithLog

func RunWithLog(fn func(), des string)

Types

type QuotaCtrl

type QuotaCtrl interface {
	AllocTmpDevice(path string) error
	FreeTmpDevice(path string) error
	SnapshotProjectPaths() (paths *[]string, err error)
}

Jump to

Keyboard shortcuts

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