Commit Graph

5 Commits

Author SHA1 Message Date
Gunjan Vyas 2a56f07c18
Added delivery options to broker create (#1670)
* Added delivery flags

* Added test cases

* Added client tests

* Added unit tests and updated flag usage

* Added broker update command

* Added unit tests for update command

* Added mock and update retry tests
2022-05-26 11:06:05 +00:00
Christoph Deppisch 09f14b1056
Fix describe/list commands with json/yaml output format (#1278)
* Fix describe/list commands with json/yaml output format

Makes sure to always set proper GroupVersionKind on unstructured objects and lists to avoid marshalling errors when printing in json/yaml output format.

* Deliberately decide to add GVK only to list/read operations in the tests

* rebased and cleaned up

* add some unit tests

Co-authored-by: Roland Huß <rhuss@redhat.com>
2021-09-21 05:32:37 -07:00
Gunjan Vyas 9d1bfc6197
Adding class option to broker create (#1402)
* Adding --class flag to broker create command

* Updated broker class usage

* Updated broker create examples
2021-08-06 06:36:20 -07:00
David Simansky 910d136563
Upgrade Eventing API from v1beta1 to v1 (#1284)
* Upgrade Eventing API from v1beta1 to v1

* Update vendor dir

* Fix channel ref parsing

* Remove leftover v1beta1 in docs & tests
2021-04-08 07:42:51 -07:00
David Simansky 1f59f5341c
Add broker create, delete and list cmds (#894)
* Add broker create, delete and list cmds

* fix: Fix copyright headers

* fix: Fix linter warnings

* Update pkg/kn/commands/broker/create.go

Co-authored-by: Roland Huß <rhuss@redhat.com>

* Update pkg/kn/commands/broker/delete.go

Co-authored-by: Roland Huß <rhuss@redhat.com>

* Update pkg/kn/commands/broker/list.go

Co-authored-by: Roland Huß <rhuss@redhat.com>

* feat: Add broker describe command

* fix: Fix copyright header

* fix: Fix linter issues

* fix: Fix broker describe test

* fix: Fix order of eventing cmds

* chore: Add e2e tests

* fix: Fix e2e tests annotation

* fix: Reorder e2e tests methods

* feat: Add synchronous broker delete option

* fix: Fix broker describe example

Co-authored-by: Navid Shaikh <nshaikh@redhat.com>

* fix: Fix variable name

Co-authored-by: Navid Shaikh <nshaikh@redhat.com>

* fix: Fix broker list example formatting

Co-authored-by: Navid Shaikh <nshaikh@redhat.com>

* fix: Fix eventing client func name

Co-authored-by: Navid Shaikh <nshaikh@redhat.com>

* fix: Reflect changes from PR review suggestions

* fix: Fix formatting of cmd examples

* fix: Fix formatting of cmd examples & trailing spaces

* fix: Polish eventing client docs

* fix: Fix examples alignment

Co-authored-by: Roland Huß <rhuss@redhat.com>
Co-authored-by: Navid Shaikh <nshaikh@redhat.com>
2020-06-23 02:43:26 -07:00