kubernetes/pkg/client
Kubernetes Submit Queue 932dabda51 Merge pull request #44338 from shashidharatd/leader-election
Automatic merge from submit-queue (batch tested with PRs 40544, 44338, 45225)

Use ObjectGetter Interface instead of clientset.Interface for leaderelection pkg

**What this PR does / why we need it**:
We plan to reuse leaderelection pkg to add leader election function to federation controller manager, but the current implementation uses kubernetes clientset.Interface and federation clientset does not satisfy all the interface methods. It would be better if the leaderelection package use rest.Interface which is also supported by federation clientset.
This pr is to refactor leaderelection pkg to use rest.Interface instead of clientset.Interface

**Special notes for your reviewer**:
This is a sub-task of bigger work to add leader election to federation controller manager as documented in #44283

**Release note**:
```
NONE
```
2017-05-02 13:03:57 -07:00
..
chaosclient autogenerated 2017-04-14 10:40:57 -07:00
clientset_generated bazel 2017-04-27 09:41:53 -07:00
conditions move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
informers/informers_generated autogenerated 2017-04-14 10:40:57 -07:00
leaderelection Use ObjectGetter Interface instead of clientset.Interface for leaderelection pkg 2017-04-19 17:39:29 +05:30
listers bazel 2017-04-26 14:41:10 -07:00
metrics autogenerated 2017-04-14 10:40:57 -07:00
retry autogenerated 2017-04-14 10:40:57 -07:00
testdata Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
tests autogenerated 2017-04-14 10:40:57 -07:00
unversioned Add redirect support to SpdyRoundTripper 2017-04-26 09:45:19 -04:00
OWNERS add liggitt to apimachinery/apiserver packages 2017-02-03 12:24:22 -05:00