k3s/pkg/kubectl/util
Kubernetes Submit Queue 6d933e35cd Merge pull request #51589 from tcharding/util-functions
Automatic merge from submit-queue. 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>.

kubectl: Move utility functions to util package

**What this PR does / why we need it**:

`parseFileSource()` and `parseLiteralSource()` are utility functions.
We have a package already for utility functions, `kubectl/util/`.

Move utility functions to `kubectl/util`, capitalize function names to
export from package.

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
/sig cli
/kind cleanup
2017-10-04 15:04:06 -07:00
..
crlf Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
hash Use buildozer to delete licenses() rules 2017-09-21 15:53:22 -07:00
i18n German Translation 2017-09-07 19:41:24 +02:00
logs Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
slice Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
term Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD kubectl: Move utility functions to util package 2017-09-04 20:14:16 +10:00
umask.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
umask_windows.go fix cross build for windows 2017-07-05 12:42:41 -07:00
util.go kubectl: Move utility functions to util package 2017-09-04 20:14:16 +10:00
util_test.go kubectl: Move utility functions to util package 2017-09-04 20:14:16 +10:00