Files
kubernetes/pkg/kubectl
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-07-18 15:35:40 -03:00
2017-07-21 10:56:26 -04:00
2017-07-18 09:28:49 +02:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2017-06-02 09:26:13 +08:00
2017-05-05 13:57:01 -07:00
2017-01-20 08:04:53 -05:00
2017-06-03 14:35:49 +08:00
2017-01-11 09:09:48 -05:00
2017-01-25 17:32:22 -08:00
2017-05-23 07:18:44 -07:00
2017-01-11 09:09:48 -05:00
2017-07-25 11:47:57 -07:00
2017-01-26 13:54:40 -05:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00