mirror of https://github.com/k3s-io/k3s
![]() 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 |
||
---|---|---|
.. | ||
crlf | ||
hash | ||
i18n | ||
logs | ||
slice | ||
term | ||
BUILD | ||
umask.go | ||
umask_windows.go | ||
util.go | ||
util_test.go |