Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxPodsLogged is the maximum number of pods for which we will // log detailed information every loop at verbosity < 5. MaxPodsLogged = 20 // MaxPodsLoggedV5 is the maximum number of pods for which we will // log detailed information every loop at verbosity >= 5. MaxPodsLoggedV5 = 1000 )
Variables ¶
This section is empty.
Functions ¶
func NewLoggingQuota ¶
func NewLoggingQuota(n int) *quota
NewLoggingQuota returns a quota object with limit & left set to the passed value.
func Over ¶
Over reports whether quota for logging was exceeded. The returned value is a boolean of type glogx.Verbose.
func PodsLoggingQuota ¶
func PodsLoggingQuota() *quota
PodsLoggingQuota returns a new quota with default limit for pods at current verbosity.
Types ¶
Click to show internal directories.
Click to hide internal directories.