Commit Graph

3 Commits

Author SHA1 Message Date
Armel Soro
5660093167 Use go-cmp instead of reflect.DeepEqual to compare unit test results (#6343) 2022-11-24 07:24:32 -05:00
Philippe Martin
3674110c22 Validate parameters on odo service create from swagger/csv (#5074)
* Validate parameters

* Fix types

* detect errors on params

* Remove duplicated lines

* Get type from schema

* New describe

* Integration tests

* Fix kclient interface

* vendor
2021-09-29 05:16:57 -04:00
Philippe Martin
fd6ebb27f6 Get parameters information of operator backed services from Kubernetes OpenAPI spec (#5020)
* vendor

* go mod

* remove old service structures

* Get parameters information of operator backed services from Kubernetes OpenAPI spec

* Add DisplayName

* Displays required + type

* Add some integration tests

* Unit tests

* Display a warning when no CRD or CSV info is found

* Add unit tests

* Update pkg/odo/cli/catalog/describe/operator_backend.go

Co-authored-by: Dharmit Shah <shahdharmit@gmail.com>

Co-authored-by: Dharmit Shah <shahdharmit@gmail.com>
2021-09-03 20:00:57 +02:00