BindFlags binds package flags to the given flagSet
(f *flag.FlagSet)
| 32 | |
| 33 | // BindFlags binds package flags to the given flagSet |
| 34 | func BindFlags(f *flag.FlagSet) { |
| 35 | cacheSyncTimeout = f.Duration("controller.cacheSyncTimeout", *cacheSyncTimeout, "controls timeout for caches to be synced.") |
| 36 | maxConcurrency = f.Int("controller.maxConcurrentReconciles", *maxConcurrency, "Configures number of concurrent reconciles. It should improve performance for clusters with many objects.") |
| 37 | } |
| 38 | |
| 39 | var ( |
| 40 | cacheSyncTimeout = ptr.To(3 * time.Minute) |
nothing calls this directly
no outgoing calls
no test coverage detected