quota

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectID

func GetProjectID(logger lager.Logger, path string) (uint32, error)

func Set added in v0.29.0

func Set(logger lager.Logger, projectID uint32, path string, quotaSize uint64) error

Types

type Quota

type Quota struct {
	Size   uint64
	BCount uint64
}

Quota limit params - currently we only control blocks hard limit

func Get added in v0.29.0

func Get(logger lager.Logger, path string) (Quota, error)

Jump to

Keyboard shortcuts

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