* Use consistent case for "Deprecated" comments
Not the most important thing ever, but the canonical string to use for
Deprecated warnings is case sensitive, and also it's nice to be
consistent.
* Add nolint comment
This was part of the review feedback, but it inadvertently introduced a dependency that redefined a flag causing the duck to crash loop.
This copies the function instead of pulling in the dependency.
* Add a new "chaosduck" e2e test tool for leaderelection.
This adds a new main package under knative.dev/pkg/leaderelection/chaosduck, which
decodes the leases in the system namespace to establish the set of components and
their leader pod names and kills a leader pod for each component on a certain period.
* Incorporate feedback from vagababov
* super nit
* Make HA test helpers deal with sets.
The previous helpers dealt with singleton leaders, change them to accomodate bucketing.
* vagababov feedback
* Add logging that was useful downstream debugging.
* Functions common to HA tests
* Fix format errors
* More robust GetEndpoints function
* Do not use listOptions in getting endpoints
* re-use more existing code
* Fix format
* Rename GetLeader to WaitForNewLeader
* Fix fmt
* Simplify WaitForPodDeleted
* Remove span from WaitForChangedEndpoints