func ResyncPeriod(c *config.Config) func() time.Duration {
	return func() time.Duration {
		factor := rand.Float64() + 1
		return time.Duration(float64(c.Generic.MinResyncPeriod.Nanoseconds()) * factor)
	}
}
// ResyncPeriod returns a function which generates a duration each time it is
// invoked; this is so that multiple controllers don't get into lock-step and all
// hammer the apiserver with list requests simultaneously.
ResyncPeriod returns a function which generates a duration each time it is
invoked; this is so that multiple controllers don't get into lock-step and all
hammer the apiserver with list requests simultaneously.
// ResyncPeriod returns a function which generates a duration each time it is // invoked ; this is so that multiple controllers don ' t get into lock - step and all // hammer the apiserver with list requests simultaneously .
func ResyncPeriod(c *config.Config) func() time.Duration {
	return func() time.Duration {
		factor := rand.Float64() + 1
		return time.Duration(float64(c.Generic.MinResyncPeriod.Nanoseconds()) * factor)
	}
}
func ResyncPeriod ( c * config . Config ) func ( ) time . Duration { return func ( ) time . Duration { factor := rand . Float64 ( ) + 1 return time . Duration ( float64 ( c . Generic . MinResyncPeriod . Nanoseconds ( ) ) * factor ) } }
ResyncPeriod returns a function which generates a duration each time it is
invoked; this is so that multiple controllers don't get into lock-step and all
hammer the apiserver with list requests simultaneously.
ResyncPeriod returns a function which generates a duration each time it is invoked ; this is so that multiple controllers don ' t get into lock - step and all hammer the apiserver with list requests simultaneously .