Knative developer experience, docs, reference Knative CLI implementation
Go to file
Roland Huß b6a8fa9213 fix(service update): Only update fields which have been sent by server. (#155)
* 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.
2019-06-03 13:30:35 -07:00
cmd/kn Refactor to allow testing; write first tests. (#10) 2019-01-29 12:40:22 -08:00
docs fix: Update cli-runtime to include fix for cli options help (#137) 2019-05-21 09:54:27 -07:00
hack feat(build.sh): Adding options and running tests (#149) 2019-05-30 10:18:32 -07:00
pkg fix(service update): Only update fields which have been sent by server. (#155) 2019-06-03 13:30:35 -07:00
test Tests running simple workflow in e2e (#112) 2019-05-17 16:42:15 -07:00
vendor Update test-infra to the latest version (#154) 2019-05-31 17:41:33 -07:00
.gitignore chore: Update dependencies (#68) 2019-04-30 09:48:33 -07:00
DEVELOPMENT.md feat(build.sh): Adding options and running tests (#149) 2019-05-30 10:18:32 -07:00
LICENSE Initial commit 2018-12-12 16:45:51 -08:00
OWNERS Add OWNERS file, initially with WG leads + evan and matt (#3) 2019-01-10 17:46:31 -08:00
README.md Copy-edit documentation, and make user guide start with installation. (#125) 2019-05-17 16:22:16 -07:00
go.mod Update test-infra to the latest version (#154) 2019-05-31 17:41:33 -07:00
go.sum Update test-infra to the latest version (#154) 2019-05-31 17:41:33 -07:00

README.md

Knative Client

Knative developer experience best practices, reference Knative CLI implementation, and reference Knative client libraries.

Goals:

  1. Follow closely the Knative serving and eventing APIs
  2. Be scriptable to allow users to create different Knative workflows
  3. Expose useful Golang packages to allow integration into other programs or CLIs or plugins
  4. Use consistent verbs, nouns, and flags for various commands
  5. 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.

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.