Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue a5b4899ae2 Merge pull request #49223 from alexandercampbell/kubectl-impl-only-structuredgenerator
Automatic merge from submit-queue

kubectl: deploy generators don't need to impl Generator iface

The `kubectl create deployment` generators do not need to implement the Generator interface, since they are only used as implementations of the StructuredGenerator interface. I was able to delete some tests of their Generator methods as part of this change.

### Considerations for code reviewers

1. Every other StructuredGenerator implementation implements the Generator interface in additional. My change makes the "create deployment" generators a little unusual. I've added a docstring to this effect in `util/factory_client_access.go`.
2. This significantly reduces the maintenance / testing burden for future updates to `kubectl create deployment`.

**Release note**:

```release-note
NONE
```
2017-08-08 19:04:34 -07:00
..
2017-06-27 16:25:20 -07:00
2017-06-30 15:00:24 -07:00
2017-07-25 12:56:50 +08:00
2017-06-16 07:09:21 +00:00
2017-06-05 11:06:48 +08:00
2017-07-07 09:12:29 -04:00
2017-07-18 12:55:34 -03:00
2017-06-27 16:25:20 -07:00
2017-06-26 11:38:36 -04:00
2017-06-27 16:25:20 -07:00
2016-10-29 20:24:54 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-08-03 00:01:54 +10:00
2017-06-27 16:25:20 -07:00
2017-06-30 15:00:24 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-05 11:06:48 +08:00
2017-06-27 16:25:20 -07:00
2017-05-31 13:02:23 +05:30
2017-07-07 09:12:29 -04:00
2017-07-18 15:35:40 -03:00
2017-06-27 16:25:20 -07:00
2017-05-11 20:09:31 +08:00
2017-07-26 11:24:03 +08:00
2017-07-31 15:04:30 +08:00
2017-06-27 16:25:20 -07:00
2017-06-22 11:31:03 -07:00
2017-07-19 18:36:07 -04:00
2017-05-15 13:51:39 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00