Files
kubernetes/pkg/kubectl/cmd
Danny Shemesh aae1944a07 Added windows executable extensions to Kubectl plugins
Currently, the kubectl plugins system - when running under Windows - will determine that a plugin is executable
by looking at its extension, comparing it to '.exe'.

I think we should allow plugins w/ a few more known extensions (.bat, .com, .cmd; for example) -
This would give more of a similar experience to plugins under *nix, where shell scripts are often used.

Moreover, there were two windows-specific behaviors that were redundant,
which I've removed:

1. In plugin.go - There's no need to differentiate between windows and
under OS-es when looking at the PATH variable; It can be refered as 'PATH'
in Windows as well

2. In cmd.go - There's no need to append a suffix when looking up
plugins on windows; One can safely use 'exec.LookPath' without a suffix
on Windows - and get automatic resolving for known executable types
2019-01-30 19:24:16 +02:00
..
2019-01-18 17:28:09 -05:00
2018-11-10 07:50:31 -05:00
2019-01-25 20:21:24 +07:00
2019-01-17 15:58:41 +01:00
2018-12-19 11:19:12 -05:00
2018-11-10 07:50:31 -05:00
2018-10-11 22:01:06 +02:00
2018-10-11 22:01:06 +02:00
2018-11-10 07:50:31 -05:00
2018-11-10 07:50:31 -05:00
2019-01-17 08:30:07 +01:00
2018-11-10 07:50:31 -05:00
2019-01-15 13:33:06 -05:00
2018-10-06 18:44:05 +02:00