client/docs/cmd
Roland Huß 8ca97c7920
Feature: "kn service apply" (#964)
* feat: "kn service apply"

This commit introduces a client-side apply with a plain JsonPatchMerge. This is more limited than a StrategicPatchMerg as it does not allow to merge lists (they are just overwritten). Also is not a real 3-way merger that would lead to a conflict when both the, the server-side and the provide update overlapp in fields that updated, compared to the shared original configuration. This is a problem of  JsonThreeWayMerger itself, as pointed out in https://github.com/kubernetes/kubernetes/pull/40666#pullrequestreview-502804243.

This limitation is shared with kubectl, which suffers from the same issue if using `kubectl apply` with a custom resource (i.e. with everything that has schema that is not registered within kubectl).

Tests are missing, too, but will come soon

* chore: Add tests for 'kn apply'

* refactor: Removed PatchService from pulic API interface

* fix: Display of service URL at the end, when no changes apply

* chore: Add initial E2E test

* chore: Implemented review suggestions

* More tests
* Example for kn service apply
* Remove commented-out code

* lint fixes

* fix formatting of kn service apply doc

* fixing go.sum

* chore: Update deps
2020-11-02 00:36:35 -08:00
..
kn.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_broker.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_broker_create.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_broker_delete.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_broker_describe.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_broker_list.md fix(docs): Fix message broker doc (#1056) 2020-10-09 04:12:21 -07:00
kn_channel.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_channel_create.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_channel_delete.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_channel_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_channel_list-types.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_channel_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_completion.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_options.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_plugin.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_plugin_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_revision.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_revision_delete.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_revision_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_revision_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_route.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_route_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_route_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_service.md Feature: "kn service apply" (#964) 2020-11-02 00:36:35 -08:00
kn_service_apply.md Feature: "kn service apply" (#964) 2020-11-02 00:36:35 -08:00
kn_service_create.md Fix various misspellings and linter items (#1057) 2020-10-12 21:24:30 -07:00
kn_service_delete.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_service_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_service_export.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_service_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_service_update.md Fix various misspellings and linter items (#1057) 2020-10-12 21:24:30 -07:00
kn_source.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_apiserver.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_apiserver_create.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_source_apiserver_delete.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_apiserver_describe.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_apiserver_list.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_apiserver_update.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_source_binding.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_binding_create.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_source_binding_delete.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_binding_describe.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_binding_list.md Fix various misspellings and linter items (#1057) 2020-10-12 21:24:30 -07:00
kn_source_binding_update.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_source_list-types.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_ping.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_source_ping_create.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_source_ping_delete.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_ping_describe.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_ping_list.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00
kn_source_ping_update.md feat: Subscription CRUD (#1013) 2020-10-01 09:44:29 -07:00
kn_subscription.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_subscription_create.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_subscription_delete.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_subscription_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_subscription_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_subscription_update.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger_create.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger_delete.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger_describe.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger_list.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_trigger_update.md add aliases to help command and remove aliases in short (#1055) 2020-10-09 00:09:21 -07:00
kn_version.md Add grouping for help message + streamlined help messages (#887) 2020-06-18 00:06:25 -07:00