You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/10/12 14:43:12 UTC
[camel-k] 01/01: Merge pull request #176 from
lburgazzoli/typed-traits
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 72cb20cdfcad18ab1919557591a0927ab06d54eb
Merge: 35aa1b3 fb115e8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 12 16:43:07 2018 +0200
Merge pull request #176 from lburgazzoli/typed-traits
operator: swich to type safe trait definition
Gopkg.lock | 18 +
build/Makefile | 2 +
pkg/apis/camel/v1alpha1/types.go | 22 +-
pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 5 -
pkg/client/cmd/completion_bash.go | 27 +-
pkg/client/cmd/run.go | 30 +-
pkg/trait/base.go | 10 +-
pkg/trait/catalog.go | 32 +-
pkg/trait/owner.go | 13 +-
pkg/trait/route.go | 7 +-
pkg/trait/service.go | 22 +-
pkg/trait/trait.go | 2 +-
pkg/trait/trait_test.go | 77 +-
pkg/trait/types.go | 122 ++-
pkg/trait/util.go | 35 +-
vendor/github.com/fatih/structs/LICENSE | 21 +
vendor/github.com/fatih/structs/field.go | 141 +++
vendor/github.com/fatih/structs/structs.go | 584 ++++++++++
vendor/github.com/fatih/structs/tags.go | 32 +
vendor/github.com/mitchellh/mapstructure/LICENSE | 21 +
.../mitchellh/mapstructure/decode_hooks.go | 217 ++++
vendor/github.com/mitchellh/mapstructure/error.go | 50 +
.../mitchellh/mapstructure/mapstructure.go | 1149 ++++++++++++++++++++
23 files changed, 2492 insertions(+), 147 deletions(-)