explain kn source plugins (#5188)

This commit is contained in:
Ashleigh Brennan 2022-08-30 12:29:17 -05:00 committed by GitHub
parent e2ddaf98b6
commit 3f5621292c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,14 @@ The `kn` CLI supports the use of plugins. Plugins enable you to extend the funct
!!! warning
The plugins must be named with the prefix `kn-` to be detected by `kn`. For example, `kn-func` will be detected but `func` won't be detected.
## kn source plugins
An event source plugin has the following characteristics:
- It has a name that is part of the `kn source` group.
- It provides CRUD sub-commands; `create`, `update`, `delete`, `describe`, and sometimes `apply`.
- It requires a mandatory `--sink` flag to be passed when using the `create` command.
## List of Knative plugins
You can view all available `kn` plugins in the [Knative Sandbox repository](https://github.com/orgs/knative-sandbox/repositories?q=kn+plugin&type=all&language=&sort=).