mirror of https://github.com/knative/client.git
* fix(service update): Only update fields which have been sent by server. This reflects the lemonade process step1. Tests have been adapted to verify this behaviours. The only situation when we update field coming from the server is for "kn service update" for envs, image and requests/limits. All other operation are either create (here, we always have to send the old fields), or read (get/describe). Fixes #144. * chore: typo fix * refactor(service update/create): Moved from Configuration to RevisionTemplateSpec In order to proper handling the v1alpha1 -> v1beta1 migration methods has been updated to get rid fo Configuration within the service as this is completely inlined in v1beta1. The helper methods have been also updated accordingly. I think we are good now. |
||
|---|---|---|
| cmd/kn | ||
| docs | ||
| hack | ||
| pkg | ||
| test | ||
| vendor | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| LICENSE | ||
| OWNERS | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
README.md
Knative Client
Knative developer experience best practices, reference Knative CLI implementation, and reference Knative client libraries.
Goals:
- Follow closely the Knative serving and eventing APIs
- Be scriptable to allow users to create different Knative workflows
- Expose useful Golang packages to allow integration into other programs or CLIs or plugins
- Use consistent verbs, nouns, and flags for various commands
- Be easily extended via a plugin mechanism (similar to Kubectl) to allow for experimentations and customization
Docs
Start with the user's guide and from there you can can read about common use cases, get detail docs on each command, and even how to extend the kn CLI. Links below for easy access.
- User's guide
- Basic workflows (use cases)
- Generated documentation
Bash auto completion:
Run following to enable bash auto completion
$ source <(kn completion)
Use TAB to list available sub-commands
$ kn <TAB>
completion revision service version
$ kn revision <TAB>
describe get
Developers
If you'd like to contribute, please see CONTRIBUTING for more information.
To build kn, see our Development guide.