package
0.0.0-20241007131259-1135745eb7a2
Repository: https://github.com/osbuild/image-builder.git
Documentation: pkg.go.dev

# Functions

Returns true if the number of requests made by OrgID during a sliding window is below a threshold.
No description provided by the author
No description provided by the author
Loads the allow list from an allowFile and returns an AllowList.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

Git SHA commit (first 4 characters).
BuildGoVersion carries Go version the binary was built with.
Build date and time.

# Structs

EchoLogrusLogger extend logrus.Logger.
the QUOTA_FILE needs to contain data arranged as such: { "000000":{ "quota":2, "slidingWindow":1209600000000000 }, "000001":{ "quota":0, "slidingWindow":1209600000000000 }, "default":{ "quota":100, "slidingWindow":1209600000000000 } } The unit for the sliding window is the nanosecond.

# Type aliases

No description provided by the author