Skip to content

Commit

Permalink
Reorganize project to have a single Go module
Browse files Browse the repository at this point in the history
  • Loading branch information
claudio4j committed Aug 28, 2023
1 parent 1c4e710 commit c63e8c0
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 1,092 deletions.
6 changes: 3 additions & 3 deletions docs/modules/ROOT/partials/apis/kamelets-crds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ string
A human readable message indicating details about the transition.
|`pods` +
[]github.com/apache/camel-k/v2/pkg/apis/camel/v1.PodCondition
*xref:apis/camel-k.adoc#_camel_apache_org_v1_PodCondition[[\]github.com/apache/camel-k/v2/pkg/apis/camel/v1.PodCondition]*
|
Expand Down Expand Up @@ -1011,7 +1011,7 @@ KameletBindingSpec defines the binding between a source and a sink. It can inclu
|Description
|`integration` +
github.com/apache/camel-k/v2/pkg/apis/camel/v1.IntegrationSpec
*xref:apis/camel-k.adoc#_camel_apache_org_v1_IntegrationSpec[github.com/apache/camel-k/v2/pkg/apis/camel/v1.IntegrationSpec]*
|
Expand Down Expand Up @@ -1246,7 +1246,7 @@ KameletSpec specifies the configuration required to execute a Kamelet
defines the formal configuration of the Kamelet
|`sources` +
[]github.com/apache/camel-k/v2/pkg/apis/camel/v1.SourceSpec
*xref:apis/camel-k.adoc#_camel_apache_org_v1_SourceSpec[[\]github.com/apache/camel-k/v2/pkg/apis/camel/v1.SourceSpec]*
|
Expand Down
14 changes: 2 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ go 1.18

require (
github.com/Masterminds/semver v1.5.0
github.com/apache/camel-k/v2/pkg/apis/camel v0.0.0
github.com/apache/camel-k/v2/pkg/client/camel v0.0.0
github.com/apache/camel-k/v2/pkg/kamelet/repository v0.0.0
github.com/container-tools/spectrum v0.6.29
github.com/evanphx/json-patch v5.6.0+incompatible
github.com/fsnotify/fsnotify v1.6.0
github.com/gertd/go-pluralize v0.2.1
github.com/go-logr/logr v1.2.4
github.com/google/go-github/v52 v52.0.0
github.com/google/uuid v1.3.0
github.com/imdario/mergo v0.3.13
github.com/jpillora/backoff v1.0.0
github.com/magiconair/properties v1.8.7
github.com/mattn/go-shellwords v1.0.12
Expand Down Expand Up @@ -57,6 +55,7 @@ require (
knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0
knative.dev/serving v0.37.2
sigs.k8s.io/controller-runtime v0.13.1
sigs.k8s.io/structured-merge-diff/v4 v4.2.3
)

require (
Expand Down Expand Up @@ -106,7 +105,6 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand Down Expand Up @@ -157,13 +155,5 @@ require (
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
knative.dev/networking v0.0.0-20230419144338-e5d04e805e50 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

// Local modules
replace (
github.com/apache/camel-k/v2/pkg/apis/camel => ./pkg/apis/camel
github.com/apache/camel-k/v2/pkg/client/camel => ./pkg/client/camel
github.com/apache/camel-k/v2/pkg/kamelet/repository => ./pkg/kamelet/repository
)
30 changes: 0 additions & 30 deletions pkg/apis/camel/go.mod

This file was deleted.

92 changes: 0 additions & 92 deletions pkg/apis/camel/go.sum

This file was deleted.

55 changes: 0 additions & 55 deletions pkg/client/camel/go.mod

This file was deleted.

Loading

0 comments on commit c63e8c0

Please sign in to comment.