package
0.0.0-20240122153004-13bcfc5aacc5
Repository: https://github.com/stealthycoder/distribution.git
Documentation: pkg.go.dev

# Functions

GetLimitFromParameter takes an interface type as decoded from the YAML configuration and returns a uint64 representing the maximum number of concurrent calls given a minimum limit and default.
NewRegulator wraps the given driver and is used to regulate concurrent calls to the given storage driver to a maximum of the given limit.

# Structs

Base provides a wrapper around a storagedriver implementation that provides common path and bounds checking.