Documentation ¶
Overview ¶
Package restcfg contains utility functions to deal with rest configs.
Index ¶
Constants ¶
View Source
const ( // DefaultQPS -> The default QPS value assigned to client-go clients. DefaultQPS = uint(100) // DefaultBurst -> The default burst value assigned to client-go clients. DefaultBurst = uint(100) )
Variables ¶
This section is empty.
Functions ¶
func SetRateLimiter ¶
SetRateLimiter configures the rate limiting parameters of the given rest configuration to the values obtained from the command line parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.