k3s/plugin/pkg
Kubernetes Submit Queue 7a944a69d6
Merge pull request #54485 from sttts/sttts-unify-admission-constructors
Automatic merge from submit-queue (batch tested with PRs 54761, 54748, 53991, 54485, 46951). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

admission: unify plugin constructors

It's common in Go to return the actual object in constructors, not **one interface**
it implements. This allows us to implement multiple interfaces, but only have
one constructor. As having private types in constructors, we export all plugin structs, of course with private fields.

Note: super interfaces do not work if there are overlapping methods.
2017-10-30 15:38:33 -07:00
..
admission Merge pull request #54485 from sttts/sttts-unify-admission-constructors 2017-10-30 15:38:33 -07:00
auth Merge pull request #53914 from bsalamat/pdb 2017-10-23 12:27:06 -07:00
scheduler Remove all api.Scheme references by using explicit package aliases 2017-10-30 19:54:02 +01:00