pkg/leaderelection
Matt Moore af54d7330b
Support fetching configs from `ctx`. (#2505)
* Support fetching configs from `ctx`.

This enables callers of `sharedmain` to infuse `ctx` with a `logging.Config` or `leaderelection.Config` instead of relying on the API server for it.

* Move context methods into appropriate packages, drop stutter
2022-05-03 15:25:57 +00:00
..
chaosduck Replace golint with revive (#2126) 2021-05-18 06:10:15 -07:00
config.go Support fetching configs from `ctx`. (#2505) 2022-05-03 15:25:57 +00:00
config_test.go Take pointer to map in AsOptionalMap for consistency (#2460) 2022-03-14 09:45:18 -07:00
context.go Fix `InitialBuckets()` for statefulSetBuilder's electors (#2483) 2022-04-07 16:45:44 +00:00
context_test.go Fix `InitialBuckets()` for statefulSetBuilder's electors (#2483) 2022-04-07 16:45:44 +00:00
doc.go Adjust leaderelection defaults, add documentation. (#2391) 2022-01-12 20:43:12 -08:00