kubernetes/pkg/kubectl/cmd/resource
Kubernetes Submit Queue f2ac9671f0
Merge pull request #57229 from niuzhenguo/cleanup_validargs
Automatic merge from submit-queue (batch tested with PRs 57229, 58907). 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>.

Abstract cmd valid args get behind the factory

**What this PR does / why we need it**:
This abstract retrieving the list of handled resources for valid args as a function to follow more conventions.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-01-27 00:31:30 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
get_test.go Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
get.go Merge pull request #57229 from niuzhenguo/cleanup_validargs 2018-01-27 00:31:30 -08:00