client/pkg/kn/commands
dr.max 59b2855d04 Implements Kn plugins re-using some code from kubectl plugins. (#249)
This version contains the following:

1. wraps the main root Kn command to support plugin
2. plugins are any executable in kn's config new pluginDir
   variable which defaults to $PATH
3. plugins must have name kn-*
4. 'kn plugin list' sub-command to list found kn plugins
5. skips any kn plugins found with name that match core
   commands, e.g., kn-service would be ignored
6. can execute any valid kn plugins found, e.g.,
   `kn valid` where the plugin file `kn-valid` is in path
   specified in 2.
7. unit tests (using gotest.tools)

And is missing:

1. integration tests
2. plugin install command
3. plugin repository command
4. plugin / Knative server version negotiation
5. anything else we agree on in plugin req doc

I plan to create issues for the things missing so we don't
end up with an even bigger PR. It's already big as is but is a
good MVP as per plugins requirement doc.
2019-07-26 13:29:48 -07:00
..
plugin Implements Kn plugins re-using some code from kubectl plugins. (#249) 2019-07-26 13:29:48 -07:00
revision chore(revision): Remove unwanted log message in test (#267) 2019-07-22 12:00:35 -07:00
route add route describe feature and test (#251) 2019-07-12 05:06:37 -07:00
service Validate scale and container concurrency options when updating configuration resource (#279) 2019-07-25 02:57:35 -07:00
completion.go fix(build): Minor build optimizations (#265) 2019-07-15 13:21:27 -07:00
completion_test.go test(commands): backfills gotest.tools tests for version & completion cmds (#223) 2019-07-09 11:44:55 -07:00
human_readable_flags.go Regroups code to use subpackages. Finishes issue #66 (#145) 2019-06-05 16:30:38 -07:00
namespaced.go Support multi config files (#222) 2019-07-17 02:21:27 -07:00
namespaced_test.go refactor(serving): KnClient interface for single point of cluster access (#134) 2019-07-08 10:08:34 -07:00
testing_helper.go Implements Kn plugins re-using some code from kubectl plugins. (#249) 2019-07-26 13:29:48 -07:00
testing_helper_test.go Implements Kn plugins re-using some code from kubectl plugins. (#249) 2019-07-26 13:29:48 -07:00
types.go Implements Kn plugins re-using some code from kubectl plugins. (#249) 2019-07-26 13:29:48 -07:00
types_test.go Support multi config files (#222) 2019-07-17 02:21:27 -07:00
version.go Regroups code to use subpackages. Finishes issue #66 (#145) 2019-06-05 16:30:38 -07:00
version_test.go test(commands): backfills gotest.tools tests for version & completion cmds (#223) 2019-07-09 11:44:55 -07:00
wait_flags.go feature(service): Wait on update for service to become ready. (#271) 2019-07-22 10:52:35 -07:00
wait_flags_test.go feature(service): Wait on update for service to become ready. (#271) 2019-07-22 10:52:35 -07:00