You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2023/01/24 11:49:08 UTC
[camel-k] branch main updated (eddca6be0 -> 30a82e583)
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from eddca6be0 chore(deps): bump github.com/spf13/viper from 1.14.0 to 1.15.0
new 99b0d040a feat: Render error message condition as json/structured message #3967
new 39abbab67 feat: Render error message condition as json/structured message (applyconfig) #3967
new 935cb3aec chore(test): improve maven log test
new c9776e11e chore(test): improve knative kamelet binding test
new 6ce7c07c4 chore(test): improve locale e2e tests
new 839773e13 feat: use eclipse-temurin:11 as runtime base image
new 20ef910da workaround: force eclipse-temurin:11 as runtime base image for upgrade tests
new 30a82e583 feat: use eclipse temurin as java distribution for github actions
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/actions/kamel-prepare-env/action.yml | 5 +-
.../duck/client/internalclientset/fake/register.go | 14 +-
.../client/internalclientset/scheme/register.go | 14 +-
.../crd/bases/camel.apache.org_integrations.yaml | 60 ++++++
.../bases/camel.apache.org_kameletbindings.yaml | 60 ++++++
docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 123 +++++++++++
docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 7 +
e2e/global/common/kamelet_binding_test.go | 23 +--
e2e/global/common/traits/health_test.go | 229 +++++++++++++++++++--
e2e/global/knative/kamelet_test.go | 22 +-
e2e/local/local_build_test.go | 68 ++----
e2e/local/local_inspect_test.go | 20 +-
e2e/local/local_run_test.go | 33 ++-
e2e/namespace/upgrade/cli_upgrade_test.go | 4 +-
e2e/namespace/upgrade/olm_upgrade_test.go | 1 +
e2e/support/test_support.go | 80 ++++++-
e2e/support/util/log_scanner.go | 5 +
helm/camel-k/crds/crd-integration.yaml | 60 ++++++
helm/camel-k/crds/crd-kamelet-binding.yaml | 60 ++++++
.../v1/addontrait.go => apis/camel/v1/health.go} | 24 +--
pkg/apis/camel/v1/integration_types.go | 8 +
pkg/apis/camel/v1/zz_generated.deepcopy.go | 72 +++++++
pkg/apis/camel/v1alpha1/kamelet_binding_types.go | 2 +
pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 7 +
.../v1/{s2itask.go => healthcheckresponse.go} | 38 ++--
.../camel/v1/integrationcondition.go | 28 ++-
.../applyconfiguration/camel/v1/podcondition.go | 67 ++++++
.../camel/v1alpha1/kameletbindingcondition.go | 27 ++-
pkg/client/camel/applyconfiguration/utils.go | 4 +
.../camel/clientset/versioned/fake/register.go | 14 +-
.../camel/clientset/versioned/scheme/register.go | 14 +-
pkg/controller/integration/health.go | 26 +--
pkg/controller/integration/health_test.go | 27 ++-
pkg/controller/integration/monitor.go | 106 ++++++++--
pkg/controller/kameletbinding/monitor.go | 43 ++--
pkg/resources/resources.go | 8 +-
pkg/util/defaults/defaults.go | 2 +-
pkg/util/maven/maven_log_test.go | 8 +-
script/Makefile | 5 +-
script/gen_client.sh | 1 -
script/gen_client_strimzi.sh | 1 -
41 files changed, 1144 insertions(+), 276 deletions(-)
copy pkg/{client/camel/applyconfiguration/camel/v1/addontrait.go => apis/camel/v1/health.go} (57%)
copy pkg/client/camel/applyconfiguration/camel/v1/{s2itask.go => healthcheckresponse.go} (50%)
create mode 100644 pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
[camel-k] 08/08: feat: use eclipse temurin as java distribution for github actions
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 30a82e583a641f7ce8e753046d61e9f2dbc20a78
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 23 20:48:16 2023 +0100
feat: use eclipse temurin as java distribution for github actions
---
.github/actions/kamel-prepare-env/action.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml
index c7788cbd6..d23345a04 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -63,10 +63,11 @@ runs:
df -h
- name: Set up JDK 11
- uses: AdoptOpenJDK/install-jdk@v1
+ uses: actions/setup-java@v3
if: ${{ env.ENV_PREPARED != 'true' }}
with:
- version: "11"
+ java-version: '11'
+ distribution: 'temurin'
- name: Set up Go
uses: actions/setup-go@v2 # Version 2 adds GOBIN to PATH
[camel-k] 01/08: feat: Render error message condition as json/structured message #3967
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 99b0d040ad27d5cc1caabfcec2692c32dc22f6b6
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Fri Jan 13 14:37:19 2023 +0100
feat: Render error message condition as json/structured message #3967
---
.../duck/client/internalclientset/fake/register.go | 14 +-
.../client/internalclientset/scheme/register.go | 14 +-
.../crd/bases/camel.apache.org_integrations.yaml | 53 +++
.../bases/camel.apache.org_kameletbindings.yaml | 53 +++
docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 123 ++++++
docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 7 +
e2e/global/common/kamelet_binding_test.go | 23 +-
e2e/global/common/traits/health_test.go | 229 ++++++++++-
e2e/support/test_support.go | 73 +++-
helm/camel-k/crds/crd-integration.yaml | 53 +++
helm/camel-k/crds/crd-kamelet-binding.yaml | 53 +++
pkg/apis/camel/v1/health.go | 36 ++
pkg/apis/camel/v1/integration_types.go | 8 +
pkg/apis/camel/v1/zz_generated.deepcopy.go | 72 ++++
pkg/apis/camel/v1alpha1/kamelet_binding_types.go | 2 +
pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 7 +
.../camel/applyconfiguration/camel/v1/build.go | 2 +-
.../applyconfiguration/camel/v1/camelcatalog.go | 2 +-
.../camel/v1/healthcheckresponse.go | 62 +++
.../applyconfiguration/camel/v1/integration.go | 2 +-
.../camel/v1/integrationcondition.go | 28 +-
.../applyconfiguration/camel/v1/integrationkit.go | 2 +-
.../camel/v1/integrationplatform.go | 2 +-
.../applyconfiguration/camel/v1/integrationspec.go | 28 +-
.../camel/v1/integrationstatus.go | 42 +--
.../applyconfiguration/camel/v1/mavenbuildspec.go | 9 +-
.../camel/applyconfiguration/camel/v1/mavenspec.go | 23 +-
.../{integrationcondition.go => podcondition.go} | 69 ++--
.../camel/applyconfiguration/camel/v1/podspec.go | 68 ++--
.../applyconfiguration/camel/v1/valuesource.go | 14 +-
.../applyconfiguration/camel/v1alpha1/endpoint.go | 8 +-
.../applyconfiguration/camel/v1alpha1/kamelet.go | 2 +-
.../camel/v1alpha1/kameletbinding.go | 2 +-
.../camel/v1alpha1/kameletbindingcondition.go | 27 +-
.../camel/applyconfiguration/core/v1/affinity.go | 58 +++
.../applyconfiguration/core/v1/attachedvolume.go | 53 +++
.../core/v1/awselasticblockstorevolumesource.go | 67 ++++
.../core/v1/azurediskvolumesource.go | 89 +++++
.../core/v1/azurefilepersistentvolumesource.go | 67 ++++
.../core/v1/azurefilevolumesource.go | 58 +++
.../applyconfiguration/core/v1/capabilities.go | 57 +++
.../core/v1/cephfspersistentvolumesource.go | 87 +++++
.../core/v1/cephfsvolumesource.go | 87 +++++
.../core/v1/cinderpersistentvolumesource.go | 67 ++++
.../core/v1/cindervolumesource.go | 67 ++++
.../applyconfiguration/core/v1/clientipconfig.go | 40 ++
.../core/v1/componentcondition.go | 71 ++++
.../v1/build.go => core/v1/componentstatus.go} | 75 ++--
.../v1/integrationkit.go => core/v1/configmap.go} | 91 +++--
.../core/v1/configmapenvsource.go | 49 +++
.../core/v1/configmapkeyselector.go | 58 +++
.../core/v1/configmapnodeconfigsource.go | 80 ++++
.../core/v1/configmapprojection.go | 63 ++++
.../core/v1/configmapvolumesource.go | 72 ++++
.../camel/applyconfiguration/core/v1/container.go | 262 +++++++++++++
.../applyconfiguration/core/v1/containerimage.go | 51 +++
.../applyconfiguration/core/v1/containerport.go | 80 ++++
.../applyconfiguration/core/v1/containerstate.go | 58 +++
.../core/v1/containerstaterunning.go | 44 +++
.../core/v1/containerstateterminated.go | 98 +++++
.../core/v1/containerstatewaiting.go | 49 +++
.../applyconfiguration/core/v1/containerstatus.go | 112 ++++++
.../core/v1/csipersistentvolumesource.go | 127 +++++++
.../applyconfiguration/core/v1/csivolumesource.go | 82 ++++
.../applyconfiguration/core/v1/daemonendpoint.go | 40 ++
.../core/v1/downwardapiprojection.go | 45 +++
.../core/v1/downwardapivolumefile.go | 67 ++++
.../core/v1/downwardapivolumesource.go | 54 +++
.../core/v1/emptydirvolumesource.go | 54 +++
.../applyconfiguration/core/v1/endpointaddress.go | 67 ++++
.../applyconfiguration/core/v1/endpointport.go | 71 ++++
.../{camel/v1/build.go => core/v1/endpoints.go} | 74 ++--
.../applyconfiguration/core/v1/endpointsubset.go | 73 ++++
.../applyconfiguration/core/v1/envfromsource.go | 58 +++
.../camel/applyconfiguration/core/v1/envvar.go | 58 +++
.../applyconfiguration/core/v1/envvarsource.go | 67 ++++
.../core/v1/ephemeralcontainer.go | 250 ++++++++++++
.../core/v1/ephemeralcontainercommon.go | 262 +++++++++++++
.../core/v1/ephemeralvolumesource.go | 40 ++
.../camel/applyconfiguration/core/v1/event.go | 328 ++++++++++++++++
.../applyconfiguration/core/v1/eventseries.go | 53 +++
.../applyconfiguration/core/v1/eventsource.go | 49 +++
.../camel/applyconfiguration/core/v1/execaction.go | 42 +++
.../applyconfiguration/core/v1/fcvolumesource.go | 80 ++++
.../core/v1/flexpersistentvolumesource.go | 82 ++++
.../applyconfiguration/core/v1/flexvolumesource.go | 82 ++++
.../core/v1/flockervolumesource.go | 49 +++
.../core/v1/gcepersistentdiskvolumesource.go | 67 ++++
.../core/v1/gitrepovolumesource.go | 58 +++
.../core/v1/glusterfspersistentvolumesource.go | 67 ++++
.../core/v1/glusterfsvolumesource.go | 58 +++
.../camel/applyconfiguration/core/v1/grpcaction.go | 49 +++
.../camel/applyconfiguration/core/v1/hostalias.go | 51 +++
.../core/v1/hostpathvolumesource.go | 53 +++
.../applyconfiguration/core/v1/httpgetaction.go | 86 +++++
.../camel/applyconfiguration/core/v1/httpheader.go | 49 +++
.../core/v1/iscsipersistentvolumesource.go | 132 +++++++
.../core/v1/iscsivolumesource.go | 132 +++++++
.../camel/applyconfiguration/core/v1/keytopath.go | 58 +++
.../camel/applyconfiguration/core/v1/lifecycle.go | 49 +++
.../applyconfiguration/core/v1/lifecyclehandler.go | 58 +++
.../{camel/v1/build.go => core/v1/limitrange.go} | 61 ++-
.../applyconfiguration/core/v1/limitrangeitem.go | 89 +++++
.../applyconfiguration/core/v1/limitrangespec.go | 45 +++
.../core/v1/loadbalanceringress.go | 63 ++++
.../core/v1/loadbalancerstatus.go | 45 +++
.../core/v1/localobjectreference.go | 40 ++
.../core/v1/localvolumesource.go | 49 +++
.../v1alpha1/kamelet.go => core/v1/namespace.go} | 59 ++-
.../v1/namespacecondition.go} | 42 +--
.../applyconfiguration/core/v1/namespacespec.go | 46 +++
.../applyconfiguration/core/v1/namespacestatus.go | 58 +++
.../applyconfiguration/core/v1/nfsvolumesource.go | 58 +++
.../{camel/v1/build.go => core/v1/node.go} | 57 ++-
.../applyconfiguration/core/v1/nodeaddress.go | 53 +++
.../applyconfiguration/core/v1/nodeaffinity.go | 54 +++
.../v1/nodecondition.go} | 43 ++-
.../applyconfiguration/core/v1/nodeconfigsource.go | 40 ++
.../applyconfiguration/core/v1/nodeconfigstatus.go | 67 ++++
.../core/v1/nodedaemonendpoints.go | 40 ++
.../applyconfiguration/core/v1/nodeselector.go | 45 +++
.../core/v1/nodeselectorrequirement.go | 64 ++++
.../applyconfiguration/core/v1/nodeselectorterm.go | 59 +++
.../camel/applyconfiguration/core/v1/nodespec.go | 101 +++++
.../camel/applyconfiguration/core/v1/nodestatus.go | 156 ++++++++
.../applyconfiguration/core/v1/nodesysteminfo.go | 121 ++++++
.../core/v1/objectfieldselector.go | 49 +++
.../applyconfiguration/core/v1/objectreference.go | 98 +++++
.../v1/persistentvolume.go} | 57 ++-
.../v1/persistentvolumeclaim.go} | 56 +--
.../v1/persistentvolumeclaimcondition.go} | 43 ++-
.../core/v1/persistentvolumeclaimspec.go | 110 ++++++
.../core/v1/persistentvolumeclaimstatus.go | 96 +++++
.../v1/persistentvolumeclaimtemplate.go} | 75 ++--
.../core/v1/persistentvolumeclaimvolumesource.go | 49 +++
.../core/v1/persistentvolumesource.go | 229 +++++++++++
.../core/v1/persistentvolumespec.go | 288 ++++++++++++++
.../core/v1/persistentvolumestatus.go | 62 +++
.../core/v1/photonpersistentdiskvolumesource.go | 49 +++
.../{camel/v1/build.go => core/v1/pod.go} | 56 +--
.../applyconfiguration/core/v1/podaffinity.go | 59 +++
.../applyconfiguration/core/v1/podaffinityterm.go | 73 ++++
.../applyconfiguration/core/v1/podantiaffinity.go | 59 +++
.../v1/podcondition.go} | 43 ++-
.../applyconfiguration/core/v1/poddnsconfig.go | 67 ++++
.../core/v1/poddnsconfigoption.go | 49 +++
.../camel/applyconfiguration/core/v1/podip.go | 40 ++
.../camel/applyconfiguration/core/v1/podos.go | 44 +++
.../applyconfiguration/core/v1/podreadinessgate.go | 44 +++
.../core/v1/podsecuritycontext.go | 132 +++++++
.../camel/applyconfiguration/core/v1/podspec.go | 419 +++++++++++++++++++++
.../camel/applyconfiguration/core/v1/podstatus.go | 178 +++++++++
.../{camel/v1/build.go => core/v1/podtemplate.go} | 67 ++--
.../v1/build.go => core/v1/podtemplatespec.go} | 75 ++--
.../camel/applyconfiguration/core/v1/portstatus.go | 62 +++
.../core/v1/portworxvolumesource.go | 58 +++
.../core/v1/preferredschedulingterm.go | 49 +++
.../camel/applyconfiguration/core/v1/probe.go | 118 ++++++
.../applyconfiguration/core/v1/probehandler.go | 67 ++++
.../core/v1/projectedvolumesource.go | 54 +++
.../core/v1/quobytevolumesource.go | 85 +++++
.../core/v1/rbdpersistentvolumesource.go | 105 ++++++
.../applyconfiguration/core/v1/rbdvolumesource.go | 105 ++++++
.../v1/replicationcontroller.go} | 56 +--
.../v1/replicationcontrollercondition.go} | 42 +--
.../core/v1/replicationcontrollerspec.go | 73 ++++
.../core/v1/replicationcontrollerstatus.go | 90 +++++
.../core/v1/resourcefieldselector.go | 62 +++
.../v1/integration.go => core/v1/resourcequota.go} | 56 +--
.../core/v1/resourcequotaspec.go | 64 ++++
.../core/v1/resourcequotastatus.go | 53 +++
.../core/v1/resourcerequirements.go | 53 +++
.../core/v1/scaleiopersistentvolumesource.go | 121 ++++++
.../core/v1/scaleiovolumesource.go | 121 ++++++
.../core/v1/scopedresourceselectorrequirement.go | 64 ++++
.../applyconfiguration/core/v1/scopeselector.go | 45 +++
.../applyconfiguration/core/v1/seccompprofile.go | 53 +++
.../{camel/v1/build.go => core/v1/secret.go} | 99 +++--
.../applyconfiguration/core/v1/secretenvsource.go | 49 +++
.../core/v1/secretkeyselector.go | 58 +++
.../applyconfiguration/core/v1/secretprojection.go | 63 ++++
.../applyconfiguration/core/v1/secretreference.go | 49 +++
.../core/v1/secretvolumesource.go | 72 ++++
.../applyconfiguration/core/v1/securitycontext.go | 134 +++++++
.../applyconfiguration/core/v1/selinuxoptions.go | 67 ++++
.../v1alpha1/kamelet.go => core/v1/service.go} | 58 +--
.../v1/serviceaccount.go} | 89 +++--
.../core/v1/serviceaccounttokenprojection.go | 58 +++
.../applyconfiguration/core/v1/serviceport.go | 90 +++++
.../applyconfiguration/core/v1/servicespec.go | 225 +++++++++++
.../applyconfiguration/core/v1/servicestatus.go | 58 +++
.../core/v1/sessionaffinityconfig.go | 40 ++
.../core/v1/storageospersistentvolumesource.go | 76 ++++
.../core/v1/storageosvolumesource.go | 76 ++++
.../camel/applyconfiguration/core/v1/sysctl.go | 49 +++
.../camel/applyconfiguration/core/v1/taint.go | 72 ++++
.../applyconfiguration/core/v1/tcpsocketaction.go | 53 +++
.../camel/applyconfiguration/core/v1/toleration.go | 80 ++++
.../core/v1/topologyspreadconstraint.go | 110 ++++++
.../core/v1/typedlocalobjectreference.go | 58 +++
.../camel/applyconfiguration/core/v1/volume.go | 273 ++++++++++++++
.../applyconfiguration/core/v1/volumedevice.go | 49 +++
.../applyconfiguration/core/v1/volumemount.go | 89 +++++
.../core/v1/volumenodeaffinity.go | 40 ++
.../applyconfiguration/core/v1/volumeprojection.go | 67 ++++
.../applyconfiguration/core/v1/volumesource.go | 292 ++++++++++++++
.../core/v1/vspherevirtualdiskvolumesource.go | 67 ++++
.../core/v1/weightedpodaffinityterm.go | 49 +++
.../core/v1/windowssecuritycontextoptions.go | 67 ++++
.../v1/condition.go} | 46 ++-
.../applyconfiguration/meta/v1/labelselector.go | 60 +++
.../meta/v1/labelselectorrequirement.go | 64 ++++
.../meta/v1/managedfieldsentry.go | 98 +++++
.../{camel/v1/build.go => meta/v1/objectmeta.go} | 116 ++----
.../applyconfiguration/meta/v1/ownerreference.go | 89 +++++
.../camel/applyconfiguration/meta/v1/typemeta.go | 49 +++
pkg/client/camel/applyconfiguration/utils.go | 376 ++++++++++++++++++
.../camel/clientset/versioned/fake/register.go | 14 +-
.../camel/clientset/versioned/scheme/register.go | 14 +-
pkg/controller/integration/health.go | 26 +-
pkg/controller/integration/health_test.go | 27 +-
pkg/controller/integration/monitor.go | 106 ++++--
pkg/controller/kameletbinding/monitor.go | 43 ++-
pkg/resources/resources.go | 8 +-
script/Makefile | 3 +-
script/gen_client.sh | 3 +-
script/gen_client_strimzi.sh | 1 -
227 files changed, 15250 insertions(+), 1089 deletions(-)
diff --git a/addons/strimzi/duck/client/internalclientset/fake/register.go b/addons/strimzi/duck/client/internalclientset/fake/register.go
index b03a9f805..04aa54821 100644
--- a/addons/strimzi/duck/client/internalclientset/fake/register.go
+++ b/addons/strimzi/duck/client/internalclientset/fake/register.go
@@ -38,14 +38,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
// of clientsets, like in:
//
-// import (
-// "k8s.io/client-go/kubernetes"
-// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
-// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
-// )
+// import (
+// "k8s.io/client-go/kubernetes"
+// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
+// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
+// )
//
-// kclientset, _ := kubernetes.NewForConfig(c)
-// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
+// kclientset, _ := kubernetes.NewForConfig(c)
+// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
//
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
// correctly.
diff --git a/addons/strimzi/duck/client/internalclientset/scheme/register.go b/addons/strimzi/duck/client/internalclientset/scheme/register.go
index bb376affd..7c58dd36c 100644
--- a/addons/strimzi/duck/client/internalclientset/scheme/register.go
+++ b/addons/strimzi/duck/client/internalclientset/scheme/register.go
@@ -38,14 +38,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
// of clientsets, like in:
//
-// import (
-// "k8s.io/client-go/kubernetes"
-// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
-// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
-// )
+// import (
+// "k8s.io/client-go/kubernetes"
+// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
+// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
+// )
//
-// kclientset, _ := kubernetes.NewForConfig(c)
-// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
+// kclientset, _ := kubernetes.NewForConfig(c)
+// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
//
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
// correctly.
diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/config/crd/bases/camel.apache.org_integrations.yaml
index 94b087891..e782886df 100644
--- a/config/crd/bases/camel.apache.org_integrations.yaml
+++ b/config/crd/bases/camel.apache.org_integrations.yaml
@@ -7388,6 +7388,59 @@ spec:
description: A human-readable message indicating details about
the transition.
type: string
+ pods:
+ description: Pods collect health and conditions information
+ from the owned PODs
+ items:
+ properties:
+ health:
+ items:
+ properties:
+ data:
+ description: RawMessage is a raw encoded JSON value.
+ It implements Marshaler and Unmarshaler and can
+ be used to delay JSON decoding or precompute a
+ JSON encoding.
+ type: object
+ x-kubernetes-preserve-unknown-fields: true
+ name:
+ type: string
+ status:
+ type: string
+ type: object
+ type: array
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned from
+ one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ name:
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for the
+ condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition. Can
+ be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
+ type: array
reason:
description: The reason for the condition's last transition.
type: string
diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml
index 0df2cd259..d29c30b6c 100644
--- a/config/crd/bases/camel.apache.org_kameletbindings.yaml
+++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml
@@ -8342,6 +8342,59 @@ spec:
description: A human readable message indicating details about
the transition.
type: string
+ pods:
+ description: Pods collect health and conditions information
+ from the owned PODs
+ items:
+ properties:
+ health:
+ items:
+ properties:
+ data:
+ description: RawMessage is a raw encoded JSON value.
+ It implements Marshaler and Unmarshaler and can
+ be used to delay JSON decoding or precompute a
+ JSON encoding.
+ type: object
+ x-kubernetes-preserve-unknown-fields: true
+ name:
+ type: string
+ status:
+ type: string
+ type: object
+ type: array
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned from
+ one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ name:
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for the
+ condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition. Can
+ be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
+ type: array
reason:
description: The reason for the condition's last transition.
type: string
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index 0db42b568..c5e59294e 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -1191,6 +1191,83 @@ Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL
|===
+[#_camel_apache_org_v1_HealthCheck]
+=== HealthCheck
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`status` +
+*xref:#_camel_apache_org_v1_HealthCheckStatus[HealthCheckStatus]*
+|
+
+
+
+
+|`checks` +
+*xref:#_camel_apache_org_v1_HealthCheckResponse[[\]HealthCheckResponse]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_HealthCheckResponse]
+=== HealthCheckResponse
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_HealthCheck, HealthCheck>>
+* <<#_camel_apache_org_v1_PodCondition, PodCondition>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`name` +
+string
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1_HealthCheckStatus[HealthCheckStatus]*
+|
+
+
+
+
+|`data` +
+*xref:#_camel_apache_org_v1_RawMessage[RawMessage]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_HealthCheckStatus]
+=== HealthCheckStatus(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_HealthCheck, HealthCheck>>
+* <<#_camel_apache_org_v1_HealthCheckResponse, HealthCheckResponse>>
+
+
+
+
[#_camel_apache_org_v1_IntegrationCondition]
=== IntegrationCondition
@@ -1254,6 +1331,13 @@ string
A human-readable message indicating details about the transition.
+|`pods` +
+*xref:#_camel_apache_org_v1_PodCondition[[\]PodCondition]*
+|
+
+
+Pods collect health and conditions information from the owned PODs
+
|===
@@ -2429,6 +2513,44 @@ See https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html.
+[#_camel_apache_org_v1_PodCondition]
+=== PodCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationCondition, IntegrationCondition>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`PodCondition` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podcondition-v1-core[Kubernetes core/v1.PodCondition]*
+|(Members of `PodCondition` are embedded into this type.)
+
+
+
+
+|`name` +
+string
+|
+
+
+
+
+|`health` +
+*xref:#_camel_apache_org_v1_HealthCheckResponse[[\]HealthCheckResponse]*
+|
+
+
+
+
+
+|===
+
[#_camel_apache_org_v1_PodSpec]
=== PodSpec
@@ -2612,6 +2734,7 @@ where to publish the final image
* <<#_camel_apache_org_v1_AddonTrait, AddonTrait>>
* <<#_camel_apache_org_v1_Flow, Flow>>
+* <<#_camel_apache_org_v1_HealthCheckResponse, HealthCheckResponse>>
* <<#_camel_apache_org_v1_TraitConfiguration, TraitConfiguration>>
RawMessage is a raw encoded JSON value.
diff --git a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
index ae43bab24..034fedd39 100644
--- a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
@@ -767,6 +767,13 @@ string
A human readable message indicating details about the transition.
+|`pods` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_PodCondition[[\]github.com/apache/camel-k/pkg/apis/camel/v1.PodCondition]*
+|
+
+
+Pods collect health and conditions information from the owned PODs
+
|===
diff --git a/e2e/global/common/kamelet_binding_test.go b/e2e/global/common/kamelet_binding_test.go
index 6673b0279..6021da9ac 100644
--- a/e2e/global/common/kamelet_binding_test.go
+++ b/e2e/global/common/kamelet_binding_test.go
@@ -43,7 +43,7 @@ func TestKameletBinding(t *testing.T) {
t.Run("test error handler", func(t *testing.T) {
RegisterTestingT(t)
Expect(createErrorProducerKamelet(ns, "my-own-error-producer-source")()).To(Succeed())
- Expect(createLogKamelet(ns, "my-own-log-sink")()).To(Succeed())
+ Expect(CreateLogKamelet(ns, "my-own-log-sink")()).To(Succeed())
from := corev1.ObjectReference{
Kind: "Kamelet",
Name: "my-own-error-producer-source",
@@ -149,27 +149,6 @@ func TestKameletBinding(t *testing.T) {
})
}
-func createLogKamelet(ns string, name string) func() error {
- flow := map[string]interface{}{
- "from": map[string]interface{}{
- "uri": "kamelet:source",
- "steps": []map[string]interface{}{
- {
- "to": "log:{{loggerName}}",
- },
- },
- },
- }
-
- props := map[string]v1alpha1.JSONSchemaProp{
- "loggerName": {
- Type: "string",
- },
- }
-
- return CreateKamelet(ns, name, flow, props, nil)
-}
-
func createErrorProducerKamelet(ns string, name string) func() error {
props := map[string]v1alpha1.JSONSchemaProp{
"message": {
diff --git a/e2e/global/common/traits/health_test.go b/e2e/global/common/traits/health_test.go
index 20d398652..e1c852e0c 100644
--- a/e2e/global/common/traits/health_test.go
+++ b/e2e/global/common/traits/health_test.go
@@ -25,6 +25,7 @@ package traits
import (
"encoding/json"
"fmt"
+ camelv1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
"os"
"testing"
"time"
@@ -50,6 +51,7 @@ func TestHealthTrait(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
operatorID := "camel-k-trait-health"
+
Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed())
t.Run("Readiness condition with stopped route", func(t *testing.T) {
@@ -86,7 +88,7 @@ func TestHealthTrait(t *testing.T) {
Expect(err).To(BeNil())
Expect(response).To(ContainSubstring(`"status":200`))
- // Check the ready condition has turned falsy
+ // Check the ready condition has turned false
Eventually(IntegrationConditionStatus(ns, name, v1.IntegrationConditionReady), TestTimeoutShort).
Should(Equal(corev1.ConditionFalse))
// And it contains details about the runtime state
@@ -104,13 +106,181 @@ func TestHealthTrait(t *testing.T) {
//
Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(And(
WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)),
- WithTransform(IntegrationConditionMessage, HavePrefix(
- fmt.Sprintf(
- "[Pod %s runtime is not ready: map[check.kind:READINESS route.id:route1 route.status:Stopped]",
- pod.Name))),
- ))
- // Check the Integration is still in running phase
+ WithTransform(IntegrationConditionMessage, Equal("1/1 pods are not ready"))))
+
+ Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(
+ Satisfy(func(c *v1.IntegrationCondition) bool {
+ if c.Status != corev1.ConditionFalse {
+ return false
+ }
+ if len(c.Pods) != 1 {
+ return false
+ }
+
+ var r *v1.HealthCheckResponse
+
+ for h := range c.Pods[0].Health {
+ if c.Pods[0].Health[h].Name == "camel-routes" {
+ r = &c.Pods[0].Health[h]
+ }
+ }
+
+ if r == nil {
+ return false
+ }
+
+ if r.Data == nil {
+ return false
+ }
+
+ var data map[string]interface{}
+ if err := json.Unmarshal(r.Data, &data); err != nil {
+ return false
+ }
+
+ return data["check.kind"].(string) == "READINESS" && data["route.status"].(string) == "Stopped"
+ }))
+
+ Eventually(IntegrationPhase(ns, name), TestTimeoutShort).Should(Equal(v1.IntegrationPhaseError))
+
+ // Clean-up
+ Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed())
+ })
+
+ t.Run("Readiness condition with stopped binding", func(t *testing.T) {
+ name := "stopped-binding"
+
+ Expect(CreateTimerKamelet(ns, "my-own-timer-source")()).To(Succeed())
+ Expect(CreateLogKamelet(ns, "my-own-log-sink")()).To(Succeed())
+
+ from := corev1.ObjectReference{
+ Kind: "Kamelet",
+ Name: "my-own-timer-source",
+ APIVersion: camelv1alpha1.SchemeGroupVersion.String(),
+ }
+
+ fromParams := map[string]string{
+ "message": "Magicstring!",
+ }
+
+ to := corev1.ObjectReference{
+ Kind: "Kamelet",
+ Name: "my-own-log-sink",
+ APIVersion: camelv1alpha1.SchemeGroupVersion.String(),
+ }
+
+ toParams := map[string]string{
+ "loggerName": "binding",
+ }
+
+ annotations := map[string]string{
+ "trait.camel.apache.org/health.enabled": "true",
+ "trait.camel.apache.org/jolokia.enabled": "true",
+ "trait.camel.apache.org/jolokia.use-ssl-client-authentication": "false",
+ "trait.camel.apache.org/jolokia.protocol": "http",
+ }
+
+ Expect(BindKameletTo(ns, name, annotations, from, to, fromParams, toParams)()).
+ To(Succeed())
+
+ Eventually(IntegrationPodPhase(ns, name), TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationPhase(ns, name), TestTimeoutShort).Should(Equal(v1.IntegrationPhaseRunning))
+ Eventually(IntegrationConditionStatus(ns, name, v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
+ Eventually(IntegrationLogs(ns, name), TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
+
+ pod := IntegrationPod(ns, name)()
+
+ // Stop the Camel route
+ request := map[string]string{
+ "type": "exec",
+ "mbean": "org.apache.camel:context=camel-1,name=\"binding\",type=routes",
+ "operation": "stop()",
+ }
+ body, err := json.Marshal(request)
+ Expect(err).To(BeNil())
+
+ response, err := TestClient().CoreV1().RESTClient().Post().
+ AbsPath(fmt.Sprintf("/api/v1/namespaces/%s/pods/%s/proxy/jolokia/", ns, pod.Name)).
+ Body(body).
+ DoRaw(TestContext)
+
+ Expect(err).To(BeNil())
+ Expect(response).To(ContainSubstring(`"status":200`))
+
+ // Check the ready condition has turned false
+ Eventually(IntegrationConditionStatus(ns, name, v1.IntegrationConditionReady), TestTimeoutShort).
+ Should(Equal(corev1.ConditionFalse))
+ // And it contains details about the runtime state
+
+ Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(And(
+ WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)),
+ WithTransform(IntegrationConditionMessage, Equal("1/1 pods are not ready"))))
+
+ Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(
+ Satisfy(func(c *v1.IntegrationCondition) bool {
+ if c.Status != corev1.ConditionFalse {
+ return false
+ }
+ if len(c.Pods) != 1 {
+ return false
+ }
+
+ var r *v1.HealthCheckResponse
+
+ for h := range c.Pods[0].Health {
+ if c.Pods[0].Health[h].Name == "camel-routes" {
+ r = &c.Pods[0].Health[h]
+ }
+ }
+
+ if r == nil {
+ return false
+ }
+
+ if r.Data == nil {
+ return false
+ }
+
+ var data map[string]interface{}
+ if err := json.Unmarshal(r.Data, &data); err != nil {
+ return false
+ }
+
+ return data["check.kind"].(string) == "READINESS" && data["route.status"].(string) == "Stopped" && data["route.id"].(string) == "binding"
+ }))
+
+ Eventually(KameletBindingCondition(ns, name, camelv1alpha1.KameletBindingConditionReady), TestTimeoutLong).Should(
+ Satisfy(func(c *camelv1alpha1.KameletBindingCondition) bool {
+ if c.Status != corev1.ConditionFalse {
+ return false
+ }
+ if len(c.Pods) != 1 {
+ return false
+ }
+
+ var r *v1.HealthCheckResponse
+
+ for h := range c.Pods[0].Health {
+ if c.Pods[0].Health[h].Name == "camel-routes" {
+ r = &c.Pods[0].Health[h]
+ }
+ }
+
+ if r == nil {
+ return false
+ }
+
+ if r.Data == nil {
+ return false
+ }
+
+ var data map[string]interface{}
+ if err := json.Unmarshal(r.Data, &data); err != nil {
+ return false
+ }
+
+ return data["check.kind"].(string) == "READINESS" && data["route.status"].(string) == "Stopped" && data["route.id"].(string) == "binding"
+ }))
// Clean-up
Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed())
@@ -118,6 +288,7 @@ func TestHealthTrait(t *testing.T) {
t.Run("Readiness condition with never ready route", func(t *testing.T) {
name := "never-ready"
+
Expect(KamelRunWithID(operatorID, ns, "files/NeverReady.java",
"-t", "health.enabled=true",
).Execute()).To(Succeed())
@@ -128,19 +299,47 @@ func TestHealthTrait(t *testing.T) {
Should(Equal(corev1.ConditionFalse))
Eventually(IntegrationPhase(ns, name), TestTimeoutLong).Should(Equal(v1.IntegrationPhaseError))
- pod := IntegrationPod(ns, name)()
-
// Check that the error message is propagated from health checks even if deployment never becomes ready
Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(And(
- WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionErrorReason)),
- WithTransform(IntegrationConditionMessage, HavePrefix(
- fmt.Sprintf(
- "[Pod %s runtime is not ready: map[check.kind:READINESS route.id:never-ready route.status:Stopped]",
- pod.Name))),
- ))
+ WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)),
+ WithTransform(IntegrationConditionMessage, Equal("1/1 pods are not ready"))))
+
+ Eventually(IntegrationCondition(ns, name, v1.IntegrationConditionReady), TestTimeoutLong).Should(
+ Satisfy(func(c *v1.IntegrationCondition) bool {
+ if c.Status != corev1.ConditionFalse {
+ return false
+ }
+ if len(c.Pods) != 1 {
+ return false
+ }
+
+ var r *v1.HealthCheckResponse
+
+ for h := range c.Pods[0].Health {
+ if c.Pods[0].Health[h].Name == "camel-routes" {
+ r = &c.Pods[0].Health[h]
+ }
+ }
+
+ if r == nil {
+ return false
+ }
+
+ if r.Data == nil {
+ return false
+ }
+
+ var data map[string]interface{}
+ if err := json.Unmarshal(r.Data, &data); err != nil {
+ return false
+ }
+
+ return data["check.kind"].(string) == "READINESS" && data["route.status"].(string) == "Stopped" && data["route.id"].(string) == "never-ready"
+ }))
// Clean-up
Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed())
})
+
})
}
diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index e4bee4913..c5f041e7c 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -33,6 +33,7 @@ import (
"os"
"os/exec"
"reflect"
+ "regexp"
"runtime/debug"
"strings"
"testing"
@@ -108,11 +109,9 @@ func setTestLocus(t *testing.T) {
testLocus = t
}
-//
// Only panic the test if absolutely necessary and there is
// no test locus. In most cases, the test should fail gracefully
// using the test locus to error out and fail now.
-//
func failTest(err error) {
if testLocus != nil {
testLocus.Helper()
@@ -671,6 +670,47 @@ func IntegrationConditionMessage(c *v1.IntegrationCondition) string {
return c.Message
}
+func HealthCheckResponse(podRegexp string, healthName string) func(*v1.IntegrationCondition) *v1.HealthCheckResponse {
+ re := regexp.MustCompile(podRegexp)
+
+ return func(c *v1.IntegrationCondition) *v1.HealthCheckResponse {
+ if c == nil {
+ return nil
+ }
+
+ for p := range c.Pods {
+ if re.MatchString(c.Pods[p].Name) {
+ continue
+ }
+
+ for h := range c.Pods[p].Health {
+ if c.Pods[p].Health[h].Name == healthName {
+ return &c.Pods[p].Health[h]
+ }
+ }
+
+ }
+
+ return nil
+ }
+}
+
+func HealthCheckData(r *v1.HealthCheckResponse) (map[string]interface{}, error) {
+ if r == nil {
+ return nil, nil
+ }
+ if r.Data == nil {
+ return nil, nil
+ }
+
+ var data map[string]interface{}
+ if err := json.Unmarshal(r.Data, data); err != nil {
+ return nil, err
+ }
+
+ return data, nil
+}
+
func IntegrationConditionStatus(ns string, name string, conditionType v1.IntegrationConditionType) func() corev1.ConditionStatus {
return func() corev1.ConditionStatus {
c := IntegrationCondition(ns, name, conditionType)()
@@ -773,9 +813,7 @@ func ServiceType(ns string, name string) func() corev1.ServiceType {
}
}
-//
// Find the service in the given namespace with the given type
-//
func ServicesByType(ns string, svcType corev1.ServiceType) func() []corev1.Service {
return func() []corev1.Service {
svcs := []corev1.Service{}
@@ -1354,9 +1392,7 @@ func CreatePlainTextSecret(ns string, name string, data map[string]string) error
return TestClient().Create(TestContext, &sec)
}
-//
// Finds a secret in the given namespace by name or prefix of name
-//
func SecretByName(ns string, prefix string) func() *corev1.Secret {
return func() *corev1.Secret {
secretList, err := TestClient().CoreV1().Secrets(ns).List(TestContext, metav1.ListOptions{})
@@ -2089,6 +2125,10 @@ func asErrorHandlerSpec(source map[string]interface{}) *v1alpha1.ErrorHandlerSpe
// Deprecated:
// Use KamelBind func instead
func asEndpointProperties(props map[string]string) *v1alpha1.EndpointProperties {
+ if props == nil {
+ return &v1alpha1.EndpointProperties{}
+ }
+
bytes, err := json.Marshal(props)
if err != nil {
failTest(err)
@@ -2406,3 +2446,24 @@ func GetOutputStringAsync(cmd *cobra.Command) func() string {
return buffer.String()
}
}
+
+func CreateLogKamelet(ns string, name string) func() error {
+ flow := map[string]interface{}{
+ "from": map[string]interface{}{
+ "uri": "kamelet:source",
+ "steps": []map[string]interface{}{
+ {
+ "to": "log:{{loggerName}}",
+ },
+ },
+ },
+ }
+
+ props := map[string]v1alpha1.JSONSchemaProp{
+ "loggerName": {
+ Type: "string",
+ },
+ }
+
+ return CreateKamelet(ns, name, flow, props, nil)
+}
diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml
index 94b087891..e782886df 100644
--- a/helm/camel-k/crds/crd-integration.yaml
+++ b/helm/camel-k/crds/crd-integration.yaml
@@ -7388,6 +7388,59 @@ spec:
description: A human-readable message indicating details about
the transition.
type: string
+ pods:
+ description: Pods collect health and conditions information
+ from the owned PODs
+ items:
+ properties:
+ health:
+ items:
+ properties:
+ data:
+ description: RawMessage is a raw encoded JSON value.
+ It implements Marshaler and Unmarshaler and can
+ be used to delay JSON decoding or precompute a
+ JSON encoding.
+ type: object
+ x-kubernetes-preserve-unknown-fields: true
+ name:
+ type: string
+ status:
+ type: string
+ type: object
+ type: array
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned from
+ one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ name:
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for the
+ condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition. Can
+ be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
+ type: array
reason:
description: The reason for the condition's last transition.
type: string
diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml
index 0df2cd259..d29c30b6c 100644
--- a/helm/camel-k/crds/crd-kamelet-binding.yaml
+++ b/helm/camel-k/crds/crd-kamelet-binding.yaml
@@ -8342,6 +8342,59 @@ spec:
description: A human readable message indicating details about
the transition.
type: string
+ pods:
+ description: Pods collect health and conditions information
+ from the owned PODs
+ items:
+ properties:
+ health:
+ items:
+ properties:
+ data:
+ description: RawMessage is a raw encoded JSON value.
+ It implements Marshaler and Unmarshaler and can
+ be used to delay JSON decoding or precompute a
+ JSON encoding.
+ type: object
+ x-kubernetes-preserve-unknown-fields: true
+ name:
+ type: string
+ status:
+ type: string
+ type: object
+ type: array
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned from
+ one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ name:
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for the
+ condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition. Can
+ be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
+ type: array
reason:
description: The reason for the condition's last transition.
type: string
diff --git a/pkg/apis/camel/v1/health.go b/pkg/apis/camel/v1/health.go
new file mode 100644
index 000000000..de4983c7d
--- /dev/null
+++ b/pkg/apis/camel/v1/health.go
@@ -0,0 +1,36 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1
+
+type HealthCheckStatus string
+
+const (
+ HealthCheckStatusDown HealthCheckStatus = "DOWN"
+ HealthCheckStatusUp HealthCheckStatus = "UP"
+)
+
+type HealthCheck struct {
+ Status HealthCheckStatus `json:"status,omitempty" yaml:"status,omitempty"`
+ Checks []HealthCheckResponse `json:"checks,omitempty" yaml:"checks,omitempty"`
+}
+
+type HealthCheckResponse struct {
+ Name string `json:"name,omitempty" yaml:"name,omitempty"`
+ Status HealthCheckStatus `json:"status,omitempty" yaml:"status,omitempty"`
+ Data RawMessage `json:"data,omitempty" yaml:"data,omitempty"`
+}
diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go
index 6d5542c1f..0f609c655 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -262,6 +262,8 @@ type IntegrationCondition struct {
Reason string `json:"reason,omitempty"`
// A human-readable message indicating details about the transition.
Message string `json:"message,omitempty"`
+ // Pods collect health and conditions information from the owned PODs
+ Pods []PodCondition `json:"pods,omitempty"`
}
// PodSpecTemplate represent a template used to deploy an Integration `Pod`
@@ -295,3 +297,9 @@ type PodSpec struct {
// PodSecurityContext
SecurityContext corev1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,34,opt,name=securityContext"`
}
+
+type PodCondition struct {
+ corev1.PodCondition `json:",inline" yaml:",inline"`
+ Name string `json:"name,omitempty" yaml:"name,omitempty"`
+ Health []HealthCheckResponse `json:"health,omitempty" yaml:"health,omitempty"`
+}
diff --git a/pkg/apis/camel/v1/zz_generated.deepcopy.go b/pkg/apis/camel/v1/zz_generated.deepcopy.go
index a6082a6c2..454a2c1b3 100644
--- a/pkg/apis/camel/v1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1/zz_generated.deepcopy.go
@@ -605,6 +605,48 @@ func (in *Flow) DeepCopy() *Flow {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *HealthCheck) DeepCopyInto(out *HealthCheck) {
+ *out = *in
+ if in.Checks != nil {
+ in, out := &in.Checks, &out.Checks
+ *out = make([]HealthCheckResponse, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
+func (in *HealthCheck) DeepCopy() *HealthCheck {
+ if in == nil {
+ return nil
+ }
+ out := new(HealthCheck)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *HealthCheckResponse) DeepCopyInto(out *HealthCheckResponse) {
+ *out = *in
+ if in.Data != nil {
+ in, out := &in.Data, &out.Data
+ *out = make(RawMessage, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckResponse.
+func (in *HealthCheckResponse) DeepCopy() *HealthCheckResponse {
+ if in == nil {
+ return nil
+ }
+ out := new(HealthCheckResponse)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Integration) DeepCopyInto(out *Integration) {
*out = *in
@@ -641,6 +683,13 @@ func (in *IntegrationCondition) DeepCopyInto(out *IntegrationCondition) {
in, out := &in.FirstTruthyTime, &out.FirstTruthyTime
*out = (*in).DeepCopy()
}
+ if in.Pods != nil {
+ in, out := &in.Pods, &out.Pods
+ *out = make([]PodCondition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationCondition.
@@ -1325,6 +1374,29 @@ func (in PluginProperties) DeepCopy() PluginProperties {
return *out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PodCondition) DeepCopyInto(out *PodCondition) {
+ *out = *in
+ in.PodCondition.DeepCopyInto(&out.PodCondition)
+ if in.Health != nil {
+ in, out := &in.Health, &out.Health
+ *out = make([]HealthCheckResponse, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.
+func (in *PodCondition) DeepCopy() *PodCondition {
+ if in == nil {
+ return nil
+ }
+ out := new(PodCondition)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PodSpec) DeepCopyInto(out *PodSpec) {
*out = *in
diff --git a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
index 860151824..e5bf003a4 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
@@ -120,6 +120,8 @@ type KameletBindingCondition struct {
Reason string `json:"reason,omitempty"`
// A human readable message indicating details about the transition.
Message string `json:"message,omitempty"`
+ // Pods collect health and conditions information from the owned PODs
+ Pods []v1.PodCondition `json:"pods,omitempty"`
}
// KameletBindingConditionType --
diff --git a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
index 0affb7504..880d57311 100644
--- a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
@@ -420,6 +420,13 @@ func (in *KameletBindingCondition) DeepCopyInto(out *KameletBindingCondition) {
*out = *in
in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
+ if in.Pods != nil {
+ in, out := &in.Pods, &out.Pods
+ *out = make([]v1.PodCondition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KameletBindingCondition.
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/camel/v1/build.go
index 7f4dbc514..6be9d11dc 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/build.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// BuildApplyConfiguration represents an declarative configuration of the Build type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go b/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
index ddfdfeafd..d2f06625e 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
@@ -21,9 +21,9 @@ package v1
import (
camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1"
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// CamelCatalogApplyConfiguration represents an declarative configuration of the CamelCatalog type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/healthcheckresponse.go b/pkg/client/camel/applyconfiguration/camel/v1/healthcheckresponse.go
new file mode 100644
index 000000000..49a604446
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/camel/v1/healthcheckresponse.go
@@ -0,0 +1,62 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
+)
+
+// HealthCheckResponseApplyConfiguration represents an declarative configuration of the HealthCheckResponse type for use
+// with apply.
+type HealthCheckResponseApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Status *v1.HealthCheckStatus `json:"status,omitempty"`
+ Data *v1.RawMessage `json:"data,omitempty"`
+}
+
+// HealthCheckResponseApplyConfiguration constructs an declarative configuration of the HealthCheckResponse type for use with
+// apply.
+func HealthCheckResponse() *HealthCheckResponseApplyConfiguration {
+ return &HealthCheckResponseApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *HealthCheckResponseApplyConfiguration) WithName(value string) *HealthCheckResponseApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithStatus sets the Status field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Status field is set to the value of the last call.
+func (b *HealthCheckResponseApplyConfiguration) WithStatus(value v1.HealthCheckStatus) *HealthCheckResponseApplyConfiguration {
+ b.Status = &value
+ return b
+}
+
+// WithData sets the Data field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Data field is set to the value of the last call.
+func (b *HealthCheckResponseApplyConfiguration) WithData(value v1.RawMessage) *HealthCheckResponseApplyConfiguration {
+ b.Data = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integration.go b/pkg/client/camel/applyconfiguration/camel/v1/integration.go
index 5cf1edb0d..7d10840e1 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integration.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integration.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationApplyConfiguration represents an declarative configuration of the Integration type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go
index f2519a818..6da7251eb 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go
@@ -28,13 +28,14 @@ import (
// IntegrationConditionApplyConfiguration represents an declarative configuration of the IntegrationCondition type for use
// with apply.
type IntegrationConditionApplyConfiguration struct {
- Type *v1.IntegrationConditionType `json:"type,omitempty"`
- Status *corev1.ConditionStatus `json:"status,omitempty"`
- LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- FirstTruthyTime *metav1.Time `json:"firstTruthyTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
+ Type *v1.IntegrationConditionType `json:"type,omitempty"`
+ Status *corev1.ConditionStatus `json:"status,omitempty"`
+ LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
+ LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
+ FirstTruthyTime *metav1.Time `json:"firstTruthyTime,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
+ Pods []PodConditionApplyConfiguration `json:"pods,omitempty"`
}
// IntegrationConditionApplyConfiguration constructs an declarative configuration of the IntegrationCondition type for use with
@@ -98,3 +99,16 @@ func (b *IntegrationConditionApplyConfiguration) WithMessage(value string) *Inte
b.Message = &value
return b
}
+
+// WithPods adds the given value to the Pods field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Pods field.
+func (b *IntegrationConditionApplyConfiguration) WithPods(values ...*PodConditionApplyConfiguration) *IntegrationConditionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPods")
+ }
+ b.Pods = append(b.Pods, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
index 0ea2e903c..58e3ee554 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationKitApplyConfiguration represents an declarative configuration of the IntegrationKit type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
index e5eb66992..f5565dfdb 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationPlatformApplyConfiguration represents an declarative configuration of the IntegrationPlatform type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
index afa204a31..9f84a4f94 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
@@ -21,23 +21,23 @@ package v1
import (
camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1"
- corev1 "k8s.io/api/core/v1"
+ corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
)
// IntegrationSpecApplyConfiguration represents an declarative configuration of the IntegrationSpec type for use
// with apply.
type IntegrationSpecApplyConfiguration struct {
- Replicas *int32 `json:"replicas,omitempty"`
- Sources []SourceSpecApplyConfiguration `json:"sources,omitempty"`
- Flows []FlowApplyConfiguration `json:"flows,omitempty"`
- IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"`
- Dependencies []string `json:"dependencies,omitempty"`
- Profile *camelv1.TraitProfile `json:"profile,omitempty"`
- Traits *TraitsApplyConfiguration `json:"traits,omitempty"`
- PodTemplate *PodSpecTemplateApplyConfiguration `json:"template,omitempty"`
- Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
- Repositories []string `json:"repositories,omitempty"`
- ServiceAccountName *string `json:"serviceAccountName,omitempty"`
+ Replicas *int32 `json:"replicas,omitempty"`
+ Sources []SourceSpecApplyConfiguration `json:"sources,omitempty"`
+ Flows []FlowApplyConfiguration `json:"flows,omitempty"`
+ IntegrationKit *corev1.ObjectReferenceApplyConfiguration `json:"integrationKit,omitempty"`
+ Dependencies []string `json:"dependencies,omitempty"`
+ Profile *camelv1.TraitProfile `json:"profile,omitempty"`
+ Traits *TraitsApplyConfiguration `json:"traits,omitempty"`
+ PodTemplate *PodSpecTemplateApplyConfiguration `json:"template,omitempty"`
+ Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
+ Repositories []string `json:"repositories,omitempty"`
+ ServiceAccountName *string `json:"serviceAccountName,omitempty"`
}
// IntegrationSpecApplyConfiguration constructs an declarative configuration of the IntegrationSpec type for use with
@@ -83,8 +83,8 @@ func (b *IntegrationSpecApplyConfiguration) WithFlows(values ...*FlowApplyConfig
// WithIntegrationKit sets the IntegrationKit field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the IntegrationKit field is set to the value of the last call.
-func (b *IntegrationSpecApplyConfiguration) WithIntegrationKit(value corev1.ObjectReference) *IntegrationSpecApplyConfiguration {
- b.IntegrationKit = &value
+func (b *IntegrationSpecApplyConfiguration) WithIntegrationKit(value *corev1.ObjectReferenceApplyConfiguration) *IntegrationSpecApplyConfiguration {
+ b.IntegrationKit = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
index 5b7fbc778..b14b874bc 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
@@ -21,31 +21,31 @@ package v1
import (
v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
- corev1 "k8s.io/api/core/v1"
+ corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// IntegrationStatusApplyConfiguration represents an declarative configuration of the IntegrationStatus type for use
// with apply.
type IntegrationStatusApplyConfiguration struct {
- ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
- Phase *v1.IntegrationPhase `json:"phase,omitempty"`
- Digest *string `json:"digest,omitempty"`
- Image *string `json:"image,omitempty"`
- Dependencies []string `json:"dependencies,omitempty"`
- Profile *v1.TraitProfile `json:"profile,omitempty"`
- IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"`
- Platform *string `json:"platform,omitempty"`
- GeneratedSources []SourceSpecApplyConfiguration `json:"generatedSources,omitempty"`
- RuntimeVersion *string `json:"runtimeVersion,omitempty"`
- RuntimeProvider *v1.RuntimeProvider `json:"runtimeProvider,omitempty"`
- Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
- Conditions []IntegrationConditionApplyConfiguration `json:"conditions,omitempty"`
- Version *string `json:"version,omitempty"`
- Replicas *int32 `json:"replicas,omitempty"`
- Selector *string `json:"selector,omitempty"`
- Capabilities []string `json:"capabilities,omitempty"`
- InitializationTimestamp *metav1.Time `json:"lastInitTimestamp,omitempty"`
+ ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
+ Phase *v1.IntegrationPhase `json:"phase,omitempty"`
+ Digest *string `json:"digest,omitempty"`
+ Image *string `json:"image,omitempty"`
+ Dependencies []string `json:"dependencies,omitempty"`
+ Profile *v1.TraitProfile `json:"profile,omitempty"`
+ IntegrationKit *corev1.ObjectReferenceApplyConfiguration `json:"integrationKit,omitempty"`
+ Platform *string `json:"platform,omitempty"`
+ GeneratedSources []SourceSpecApplyConfiguration `json:"generatedSources,omitempty"`
+ RuntimeVersion *string `json:"runtimeVersion,omitempty"`
+ RuntimeProvider *v1.RuntimeProvider `json:"runtimeProvider,omitempty"`
+ Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
+ Conditions []IntegrationConditionApplyConfiguration `json:"conditions,omitempty"`
+ Version *string `json:"version,omitempty"`
+ Replicas *int32 `json:"replicas,omitempty"`
+ Selector *string `json:"selector,omitempty"`
+ Capabilities []string `json:"capabilities,omitempty"`
+ InitializationTimestamp *metav1.Time `json:"lastInitTimestamp,omitempty"`
}
// IntegrationStatusApplyConfiguration constructs an declarative configuration of the IntegrationStatus type for use with
@@ -107,8 +107,8 @@ func (b *IntegrationStatusApplyConfiguration) WithProfile(value v1.TraitProfile)
// WithIntegrationKit sets the IntegrationKit field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the IntegrationKit field is set to the value of the last call.
-func (b *IntegrationStatusApplyConfiguration) WithIntegrationKit(value corev1.ObjectReference) *IntegrationStatusApplyConfiguration {
- b.IntegrationKit = &value
+func (b *IntegrationStatusApplyConfiguration) WithIntegrationKit(value *corev1.ObjectReferenceApplyConfiguration) *IntegrationStatusApplyConfiguration {
+ b.IntegrationKit = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go b/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
index 8878c5f37..17a75a18a 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
@@ -20,7 +20,7 @@ limitations under the License.
package v1
import (
- corev1 "k8s.io/api/core/v1"
+ corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
)
// MavenBuildSpecApplyConfiguration represents an declarative configuration of the MavenBuildSpec type for use
@@ -78,9 +78,12 @@ func (b *MavenBuildSpecApplyConfiguration) WithSettingsSecurity(value *ValueSour
// WithCASecrets adds the given value to the CASecrets field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the CASecrets field.
-func (b *MavenBuildSpecApplyConfiguration) WithCASecrets(values ...corev1.SecretKeySelector) *MavenBuildSpecApplyConfiguration {
+func (b *MavenBuildSpecApplyConfiguration) WithCASecrets(values ...*corev1.SecretKeySelectorApplyConfiguration) *MavenBuildSpecApplyConfiguration {
for i := range values {
- b.CASecrets = append(b.CASecrets, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithCASecrets")
+ }
+ b.CASecrets = append(b.CASecrets, *values[i])
}
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go b/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
index b10564b40..f98449637 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
@@ -20,19 +20,19 @@ limitations under the License.
package v1
import (
- corev1 "k8s.io/api/core/v1"
+ corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
)
// MavenSpecApplyConfiguration represents an declarative configuration of the MavenSpec type for use
// with apply.
type MavenSpecApplyConfiguration struct {
- LocalRepository *string `json:"localRepository,omitempty"`
- Properties map[string]string `json:"properties,omitempty"`
- Settings *ValueSourceApplyConfiguration `json:"settings,omitempty"`
- SettingsSecurity *ValueSourceApplyConfiguration `json:"settingsSecurity,omitempty"`
- CASecrets []corev1.SecretKeySelector `json:"caSecrets,omitempty"`
- Extension []MavenArtifactApplyConfiguration `json:"extension,omitempty"`
- CLIOptions []string `json:"cliOptions,omitempty"`
+ LocalRepository *string `json:"localRepository,omitempty"`
+ Properties map[string]string `json:"properties,omitempty"`
+ Settings *ValueSourceApplyConfiguration `json:"settings,omitempty"`
+ SettingsSecurity *ValueSourceApplyConfiguration `json:"settingsSecurity,omitempty"`
+ CASecrets []corev1.SecretKeySelectorApplyConfiguration `json:"caSecrets,omitempty"`
+ Extension []MavenArtifactApplyConfiguration `json:"extension,omitempty"`
+ CLIOptions []string `json:"cliOptions,omitempty"`
}
// MavenSpecApplyConfiguration constructs an declarative configuration of the MavenSpec type for use with
@@ -82,9 +82,12 @@ func (b *MavenSpecApplyConfiguration) WithSettingsSecurity(value *ValueSourceApp
// WithCASecrets adds the given value to the CASecrets field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the CASecrets field.
-func (b *MavenSpecApplyConfiguration) WithCASecrets(values ...corev1.SecretKeySelector) *MavenSpecApplyConfiguration {
+func (b *MavenSpecApplyConfiguration) WithCASecrets(values ...*corev1.SecretKeySelectorApplyConfiguration) *MavenSpecApplyConfiguration {
for i := range values {
- b.CASecrets = append(b.CASecrets, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithCASecrets")
+ }
+ b.CASecrets = append(b.CASecrets, *values[i])
}
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go b/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
similarity index 53%
copy from pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go
copy to pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
index f2519a818..5de38d9f7 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationcondition.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
@@ -20,33 +20,29 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
-// IntegrationConditionApplyConfiguration represents an declarative configuration of the IntegrationCondition type for use
+// PodConditionApplyConfiguration represents an declarative configuration of the PodCondition type for use
// with apply.
-type IntegrationConditionApplyConfiguration struct {
- Type *v1.IntegrationConditionType `json:"type,omitempty"`
- Status *corev1.ConditionStatus `json:"status,omitempty"`
- LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- FirstTruthyTime *metav1.Time `json:"firstTruthyTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
+type PodConditionApplyConfiguration struct {
+ v1.PodConditionApplyConfiguration `json:",inline"`
+ Name *string `json:"name,omitempty"`
+ Health []HealthCheckResponseApplyConfiguration `json:"health,omitempty"`
}
-// IntegrationConditionApplyConfiguration constructs an declarative configuration of the IntegrationCondition type for use with
+// PodConditionApplyConfiguration constructs an declarative configuration of the PodCondition type for use with
// apply.
-func IntegrationCondition() *IntegrationConditionApplyConfiguration {
- return &IntegrationConditionApplyConfiguration{}
+func PodCondition() *PodConditionApplyConfiguration {
+ return &PodConditionApplyConfiguration{}
}
// WithType sets the Type field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Type field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithType(value v1.IntegrationConditionType) *IntegrationConditionApplyConfiguration {
+func (b *PodConditionApplyConfiguration) WithType(value corev1.PodConditionType) *PodConditionApplyConfiguration {
b.Type = &value
return b
}
@@ -54,39 +50,31 @@ func (b *IntegrationConditionApplyConfiguration) WithType(value v1.IntegrationCo
// WithStatus sets the Status field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Status field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *IntegrationConditionApplyConfiguration {
+func (b *PodConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *PodConditionApplyConfiguration {
b.Status = &value
return b
}
-// WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value
+// WithLastProbeTime sets the LastProbeTime field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastUpdateTime field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *IntegrationConditionApplyConfiguration {
- b.LastUpdateTime = &value
+// If called multiple times, the LastProbeTime field is set to the value of the last call.
+func (b *PodConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PodConditionApplyConfiguration {
+ b.LastProbeTime = &value
return b
}
// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *IntegrationConditionApplyConfiguration {
+func (b *PodConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodConditionApplyConfiguration {
b.LastTransitionTime = &value
return b
}
-// WithFirstTruthyTime sets the FirstTruthyTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FirstTruthyTime field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithFirstTruthyTime(value metav1.Time) *IntegrationConditionApplyConfiguration {
- b.FirstTruthyTime = &value
- return b
-}
-
// WithReason sets the Reason field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Reason field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithReason(value string) *IntegrationConditionApplyConfiguration {
+func (b *PodConditionApplyConfiguration) WithReason(value string) *PodConditionApplyConfiguration {
b.Reason = &value
return b
}
@@ -94,7 +82,28 @@ func (b *IntegrationConditionApplyConfiguration) WithReason(value string) *Integ
// WithMessage sets the Message field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Message field is set to the value of the last call.
-func (b *IntegrationConditionApplyConfiguration) WithMessage(value string) *IntegrationConditionApplyConfiguration {
+func (b *PodConditionApplyConfiguration) WithMessage(value string) *PodConditionApplyConfiguration {
b.Message = &value
return b
}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *PodConditionApplyConfiguration) WithName(value string) *PodConditionApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithHealth adds the given value to the Health field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Health field.
+func (b *PodConditionApplyConfiguration) WithHealth(values ...*HealthCheckResponseApplyConfiguration) *PodConditionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithHealth")
+ }
+ b.Health = append(b.Health, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/podspec.go b/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
index 12de22cf5..f7878a7d0 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
@@ -20,23 +20,24 @@ limitations under the License.
package v1
import (
- v1 "k8s.io/api/core/v1"
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ corev1 "k8s.io/api/core/v1"
)
// PodSpecApplyConfiguration represents an declarative configuration of the PodSpec type for use
// with apply.
type PodSpecApplyConfiguration struct {
- Volumes []v1.Volume `json:"volumes,omitempty"`
- InitContainers []v1.Container `json:"initContainers,omitempty"`
- Containers []v1.Container `json:"containers,omitempty"`
- EphemeralContainers []v1.EphemeralContainer `json:"ephemeralContainers,omitempty"`
- RestartPolicy *v1.RestartPolicy `json:"restartPolicy,omitempty"`
- TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
- ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
- DNSPolicy *v1.DNSPolicy `json:"dnsPolicy,omitempty"`
- NodeSelector map[string]string `json:"nodeSelector,omitempty"`
- TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
- SecurityContext *v1.PodSecurityContext `json:"securityContext,omitempty"`
+ Volumes []v1.VolumeApplyConfiguration `json:"volumes,omitempty"`
+ InitContainers []v1.ContainerApplyConfiguration `json:"initContainers,omitempty"`
+ Containers []v1.ContainerApplyConfiguration `json:"containers,omitempty"`
+ EphemeralContainers []v1.EphemeralContainerApplyConfiguration `json:"ephemeralContainers,omitempty"`
+ RestartPolicy *corev1.RestartPolicy `json:"restartPolicy,omitempty"`
+ TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
+ ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
+ DNSPolicy *corev1.DNSPolicy `json:"dnsPolicy,omitempty"`
+ NodeSelector map[string]string `json:"nodeSelector,omitempty"`
+ TopologySpreadConstraints []v1.TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
+ SecurityContext *v1.PodSecurityContextApplyConfiguration `json:"securityContext,omitempty"`
}
// PodSpecApplyConfiguration constructs an declarative configuration of the PodSpec type for use with
@@ -48,9 +49,12 @@ func PodSpec() *PodSpecApplyConfiguration {
// WithVolumes adds the given value to the Volumes field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Volumes field.
-func (b *PodSpecApplyConfiguration) WithVolumes(values ...v1.Volume) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithVolumes(values ...*v1.VolumeApplyConfiguration) *PodSpecApplyConfiguration {
for i := range values {
- b.Volumes = append(b.Volumes, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithVolumes")
+ }
+ b.Volumes = append(b.Volumes, *values[i])
}
return b
}
@@ -58,9 +62,12 @@ func (b *PodSpecApplyConfiguration) WithVolumes(values ...v1.Volume) *PodSpecApp
// WithInitContainers adds the given value to the InitContainers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the InitContainers field.
-func (b *PodSpecApplyConfiguration) WithInitContainers(values ...v1.Container) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithInitContainers(values ...*v1.ContainerApplyConfiguration) *PodSpecApplyConfiguration {
for i := range values {
- b.InitContainers = append(b.InitContainers, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithInitContainers")
+ }
+ b.InitContainers = append(b.InitContainers, *values[i])
}
return b
}
@@ -68,9 +75,12 @@ func (b *PodSpecApplyConfiguration) WithInitContainers(values ...v1.Container) *
// WithContainers adds the given value to the Containers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Containers field.
-func (b *PodSpecApplyConfiguration) WithContainers(values ...v1.Container) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithContainers(values ...*v1.ContainerApplyConfiguration) *PodSpecApplyConfiguration {
for i := range values {
- b.Containers = append(b.Containers, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithContainers")
+ }
+ b.Containers = append(b.Containers, *values[i])
}
return b
}
@@ -78,9 +88,12 @@ func (b *PodSpecApplyConfiguration) WithContainers(values ...v1.Container) *PodS
// WithEphemeralContainers adds the given value to the EphemeralContainers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the EphemeralContainers field.
-func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...v1.EphemeralContainer) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...*v1.EphemeralContainerApplyConfiguration) *PodSpecApplyConfiguration {
for i := range values {
- b.EphemeralContainers = append(b.EphemeralContainers, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithEphemeralContainers")
+ }
+ b.EphemeralContainers = append(b.EphemeralContainers, *values[i])
}
return b
}
@@ -88,7 +101,7 @@ func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...v1.Ephemer
// WithRestartPolicy sets the RestartPolicy field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the RestartPolicy field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithRestartPolicy(value v1.RestartPolicy) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithRestartPolicy(value corev1.RestartPolicy) *PodSpecApplyConfiguration {
b.RestartPolicy = &value
return b
}
@@ -112,7 +125,7 @@ func (b *PodSpecApplyConfiguration) WithActiveDeadlineSeconds(value int64) *PodS
// WithDNSPolicy sets the DNSPolicy field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DNSPolicy field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithDNSPolicy(value v1.DNSPolicy) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithDNSPolicy(value corev1.DNSPolicy) *PodSpecApplyConfiguration {
b.DNSPolicy = &value
return b
}
@@ -134,9 +147,12 @@ func (b *PodSpecApplyConfiguration) WithNodeSelector(entries map[string]string)
// WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field.
-func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...v1.TopologySpreadConstraint) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*v1.TopologySpreadConstraintApplyConfiguration) *PodSpecApplyConfiguration {
for i := range values {
- b.TopologySpreadConstraints = append(b.TopologySpreadConstraints, values[i])
+ if values[i] == nil {
+ panic("nil value passed to WithTopologySpreadConstraints")
+ }
+ b.TopologySpreadConstraints = append(b.TopologySpreadConstraints, *values[i])
}
return b
}
@@ -144,7 +160,7 @@ func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...v1.T
// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the SecurityContext field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithSecurityContext(value v1.PodSecurityContext) *PodSpecApplyConfiguration {
- b.SecurityContext = &value
+func (b *PodSpecApplyConfiguration) WithSecurityContext(value *v1.PodSecurityContextApplyConfiguration) *PodSpecApplyConfiguration {
+ b.SecurityContext = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go b/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
index d2b0a430d..227a1ff0b 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
@@ -20,14 +20,14 @@ limitations under the License.
package v1
import (
- v1 "k8s.io/api/core/v1"
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
)
// ValueSourceApplyConfiguration represents an declarative configuration of the ValueSource type for use
// with apply.
type ValueSourceApplyConfiguration struct {
- ConfigMapKeyRef *v1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
- SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty"`
+ ConfigMapKeyRef *v1.ConfigMapKeySelectorApplyConfiguration `json:"configMapKeyRef,omitempty"`
+ SecretKeyRef *v1.SecretKeySelectorApplyConfiguration `json:"secretKeyRef,omitempty"`
}
// ValueSourceApplyConfiguration constructs an declarative configuration of the ValueSource type for use with
@@ -39,15 +39,15 @@ func ValueSource() *ValueSourceApplyConfiguration {
// WithConfigMapKeyRef sets the ConfigMapKeyRef field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ConfigMapKeyRef field is set to the value of the last call.
-func (b *ValueSourceApplyConfiguration) WithConfigMapKeyRef(value v1.ConfigMapKeySelector) *ValueSourceApplyConfiguration {
- b.ConfigMapKeyRef = &value
+func (b *ValueSourceApplyConfiguration) WithConfigMapKeyRef(value *v1.ConfigMapKeySelectorApplyConfiguration) *ValueSourceApplyConfiguration {
+ b.ConfigMapKeyRef = value
return b
}
// WithSecretKeyRef sets the SecretKeyRef field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the SecretKeyRef field is set to the value of the last call.
-func (b *ValueSourceApplyConfiguration) WithSecretKeyRef(value v1.SecretKeySelector) *ValueSourceApplyConfiguration {
- b.SecretKeyRef = &value
+func (b *ValueSourceApplyConfiguration) WithSecretKeyRef(value *v1.SecretKeySelectorApplyConfiguration) *ValueSourceApplyConfiguration {
+ b.SecretKeyRef = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
index d3a5f070e..9b5b925e4 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
@@ -21,13 +21,13 @@ package v1alpha1
import (
camelv1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
- v1 "k8s.io/api/core/v1"
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
)
// EndpointApplyConfiguration represents an declarative configuration of the Endpoint type for use
// with apply.
type EndpointApplyConfiguration struct {
- Ref *v1.ObjectReference `json:"ref,omitempty"`
+ Ref *v1.ObjectReferenceApplyConfiguration `json:"ref,omitempty"`
URI *string `json:"uri,omitempty"`
Properties *EndpointPropertiesApplyConfiguration `json:"properties,omitempty"`
Types map[camelv1alpha1.EventSlot]EventTypeSpecApplyConfiguration `json:"types,omitempty"`
@@ -42,8 +42,8 @@ func Endpoint() *EndpointApplyConfiguration {
// WithRef sets the Ref field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Ref field is set to the value of the last call.
-func (b *EndpointApplyConfiguration) WithRef(value v1.ObjectReference) *EndpointApplyConfiguration {
- b.Ref = &value
+func (b *EndpointApplyConfiguration) WithRef(value *v1.ObjectReferenceApplyConfiguration) *EndpointApplyConfiguration {
+ b.Ref = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
index f9870e1ca..d3a74f577 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1alpha1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// KameletApplyConfiguration represents an declarative configuration of the Kamelet type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
index 794bed9d5..6192819a7 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1alpha1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// KameletBindingApplyConfiguration represents an declarative configuration of the KameletBinding type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
index 75fc5be08..42180697e 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
@@ -21,6 +21,7 @@ package v1alpha1
import (
v1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
+ camelv1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/camel/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
@@ -28,12 +29,13 @@ import (
// KameletBindingConditionApplyConfiguration represents an declarative configuration of the KameletBindingCondition type for use
// with apply.
type KameletBindingConditionApplyConfiguration struct {
- Type *v1alpha1.KameletBindingConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
+ Type *v1alpha1.KameletBindingConditionType `json:"type,omitempty"`
+ Status *v1.ConditionStatus `json:"status,omitempty"`
+ LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
+ LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
+ Pods []camelv1.PodConditionApplyConfiguration `json:"pods,omitempty"`
}
// KameletBindingConditionApplyConfiguration constructs an declarative configuration of the KameletBindingCondition type for use with
@@ -89,3 +91,16 @@ func (b *KameletBindingConditionApplyConfiguration) WithMessage(value string) *K
b.Message = &value
return b
}
+
+// WithPods adds the given value to the Pods field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Pods field.
+func (b *KameletBindingConditionApplyConfiguration) WithPods(values ...*camelv1.PodConditionApplyConfiguration) *KameletBindingConditionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPods")
+ }
+ b.Pods = append(b.Pods, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/affinity.go b/pkg/client/camel/applyconfiguration/core/v1/affinity.go
new file mode 100644
index 000000000..c10f32c57
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/affinity.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use
+// with apply.
+type AffinityApplyConfiguration struct {
+ NodeAffinity *NodeAffinityApplyConfiguration `json:"nodeAffinity,omitempty"`
+ PodAffinity *PodAffinityApplyConfiguration `json:"podAffinity,omitempty"`
+ PodAntiAffinity *PodAntiAffinityApplyConfiguration `json:"podAntiAffinity,omitempty"`
+}
+
+// AffinityApplyConfiguration constructs an declarative configuration of the Affinity type for use with
+// apply.
+func Affinity() *AffinityApplyConfiguration {
+ return &AffinityApplyConfiguration{}
+}
+
+// WithNodeAffinity sets the NodeAffinity field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodeAffinity field is set to the value of the last call.
+func (b *AffinityApplyConfiguration) WithNodeAffinity(value *NodeAffinityApplyConfiguration) *AffinityApplyConfiguration {
+ b.NodeAffinity = value
+ return b
+}
+
+// WithPodAffinity sets the PodAffinity field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the PodAffinity field is set to the value of the last call.
+func (b *AffinityApplyConfiguration) WithPodAffinity(value *PodAffinityApplyConfiguration) *AffinityApplyConfiguration {
+ b.PodAffinity = value
+ return b
+}
+
+// WithPodAntiAffinity sets the PodAntiAffinity field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the PodAntiAffinity field is set to the value of the last call.
+func (b *AffinityApplyConfiguration) WithPodAntiAffinity(value *PodAntiAffinityApplyConfiguration) *AffinityApplyConfiguration {
+ b.PodAntiAffinity = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go b/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go
new file mode 100644
index 000000000..4be5b7f00
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go
@@ -0,0 +1,53 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// AttachedVolumeApplyConfiguration represents an declarative configuration of the AttachedVolume type for use
+// with apply.
+type AttachedVolumeApplyConfiguration struct {
+ Name *v1.UniqueVolumeName `json:"name,omitempty"`
+ DevicePath *string `json:"devicePath,omitempty"`
+}
+
+// AttachedVolumeApplyConfiguration constructs an declarative configuration of the AttachedVolume type for use with
+// apply.
+func AttachedVolume() *AttachedVolumeApplyConfiguration {
+ return &AttachedVolumeApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *AttachedVolumeApplyConfiguration) WithName(value v1.UniqueVolumeName) *AttachedVolumeApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithDevicePath sets the DevicePath field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DevicePath field is set to the value of the last call.
+func (b *AttachedVolumeApplyConfiguration) WithDevicePath(value string) *AttachedVolumeApplyConfiguration {
+ b.DevicePath = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go
new file mode 100644
index 000000000..6888345f8
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// AWSElasticBlockStoreVolumeSourceApplyConfiguration represents an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use
+// with apply.
+type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct {
+ VolumeID *string `json:"volumeID,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ Partition *int32 `json:"partition,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// AWSElasticBlockStoreVolumeSourceApplyConfiguration constructs an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use with
+// apply.
+func AWSElasticBlockStoreVolumeSource() *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
+ return &AWSElasticBlockStoreVolumeSourceApplyConfiguration{}
+}
+
+// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the VolumeID field is set to the value of the last call.
+func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithVolumeID(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
+ b.VolumeID = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithFSType(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithPartition sets the Partition field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Partition field is set to the value of the last call.
+func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithPartition(value int32) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
+ b.Partition = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go
new file mode 100644
index 000000000..a7796b579
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go
@@ -0,0 +1,89 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// AzureDiskVolumeSourceApplyConfiguration represents an declarative configuration of the AzureDiskVolumeSource type for use
+// with apply.
+type AzureDiskVolumeSourceApplyConfiguration struct {
+ DiskName *string `json:"diskName,omitempty"`
+ DataDiskURI *string `json:"diskURI,omitempty"`
+ CachingMode *v1.AzureDataDiskCachingMode `json:"cachingMode,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ Kind *v1.AzureDataDiskKind `json:"kind,omitempty"`
+}
+
+// AzureDiskVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureDiskVolumeSource type for use with
+// apply.
+func AzureDiskVolumeSource() *AzureDiskVolumeSourceApplyConfiguration {
+ return &AzureDiskVolumeSourceApplyConfiguration{}
+}
+
+// WithDiskName sets the DiskName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DiskName field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithDiskName(value string) *AzureDiskVolumeSourceApplyConfiguration {
+ b.DiskName = &value
+ return b
+}
+
+// WithDataDiskURI sets the DataDiskURI field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DataDiskURI field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithDataDiskURI(value string) *AzureDiskVolumeSourceApplyConfiguration {
+ b.DataDiskURI = &value
+ return b
+}
+
+// WithCachingMode sets the CachingMode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the CachingMode field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithCachingMode(value v1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceApplyConfiguration {
+ b.CachingMode = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithFSType(value string) *AzureDiskVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureDiskVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithKind sets the Kind field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Kind field is set to the value of the last call.
+func (b *AzureDiskVolumeSourceApplyConfiguration) WithKind(value v1.AzureDataDiskKind) *AzureDiskVolumeSourceApplyConfiguration {
+ b.Kind = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go
new file mode 100644
index 000000000..f878d6108
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// AzureFilePersistentVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFilePersistentVolumeSource type for use
+// with apply.
+type AzureFilePersistentVolumeSourceApplyConfiguration struct {
+ SecretName *string `json:"secretName,omitempty"`
+ ShareName *string `json:"shareName,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ SecretNamespace *string `json:"secretNamespace,omitempty"`
+}
+
+// AzureFilePersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureFilePersistentVolumeSource type for use with
+// apply.
+func AzureFilePersistentVolumeSource() *AzureFilePersistentVolumeSourceApplyConfiguration {
+ return &AzureFilePersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithSecretName sets the SecretName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretName field is set to the value of the last call.
+func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
+ b.SecretName = &value
+ return b
+}
+
+// WithShareName sets the ShareName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ShareName field is set to the value of the last call.
+func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
+ b.ShareName = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFilePersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithSecretNamespace sets the SecretNamespace field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretNamespace field is set to the value of the last call.
+func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretNamespace(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
+ b.SecretNamespace = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go
new file mode 100644
index 000000000..5814e507c
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// AzureFileVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFileVolumeSource type for use
+// with apply.
+type AzureFileVolumeSourceApplyConfiguration struct {
+ SecretName *string `json:"secretName,omitempty"`
+ ShareName *string `json:"shareName,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// AzureFileVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureFileVolumeSource type for use with
+// apply.
+func AzureFileVolumeSource() *AzureFileVolumeSourceApplyConfiguration {
+ return &AzureFileVolumeSourceApplyConfiguration{}
+}
+
+// WithSecretName sets the SecretName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretName field is set to the value of the last call.
+func (b *AzureFileVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFileVolumeSourceApplyConfiguration {
+ b.SecretName = &value
+ return b
+}
+
+// WithShareName sets the ShareName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ShareName field is set to the value of the last call.
+func (b *AzureFileVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFileVolumeSourceApplyConfiguration {
+ b.ShareName = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *AzureFileVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFileVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/capabilities.go b/pkg/client/camel/applyconfiguration/core/v1/capabilities.go
new file mode 100644
index 000000000..2b7c758ad
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/capabilities.go
@@ -0,0 +1,57 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// CapabilitiesApplyConfiguration represents an declarative configuration of the Capabilities type for use
+// with apply.
+type CapabilitiesApplyConfiguration struct {
+ Add []v1.Capability `json:"add,omitempty"`
+ Drop []v1.Capability `json:"drop,omitempty"`
+}
+
+// CapabilitiesApplyConfiguration constructs an declarative configuration of the Capabilities type for use with
+// apply.
+func Capabilities() *CapabilitiesApplyConfiguration {
+ return &CapabilitiesApplyConfiguration{}
+}
+
+// WithAdd adds the given value to the Add field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Add field.
+func (b *CapabilitiesApplyConfiguration) WithAdd(values ...v1.Capability) *CapabilitiesApplyConfiguration {
+ for i := range values {
+ b.Add = append(b.Add, values[i])
+ }
+ return b
+}
+
+// WithDrop adds the given value to the Drop field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Drop field.
+func (b *CapabilitiesApplyConfiguration) WithDrop(values ...v1.Capability) *CapabilitiesApplyConfiguration {
+ for i := range values {
+ b.Drop = append(b.Drop, values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go
new file mode 100644
index 000000000..7ae08bd6d
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go
@@ -0,0 +1,87 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CephFSPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSPersistentVolumeSource type for use
+// with apply.
+type CephFSPersistentVolumeSourceApplyConfiguration struct {
+ Monitors []string `json:"monitors,omitempty"`
+ Path *string `json:"path,omitempty"`
+ User *string `json:"user,omitempty"`
+ SecretFile *string `json:"secretFile,omitempty"`
+ SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// CephFSPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CephFSPersistentVolumeSource type for use with
+// apply.
+func CephFSPersistentVolumeSource() *CephFSPersistentVolumeSourceApplyConfiguration {
+ return &CephFSPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithMonitors adds the given value to the Monitors field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Monitors field.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSPersistentVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.Monitors = append(b.Monitors, values[i])
+ }
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithPath(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithUser sets the User field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the User field is set to the value of the last call.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithUser(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
+ b.User = &value
+ return b
+}
+
+// WithSecretFile sets the SecretFile field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretFile field is set to the value of the last call.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
+ b.SecretFile = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CephFSPersistentVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go
new file mode 100644
index 000000000..9c0e691ec
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go
@@ -0,0 +1,87 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CephFSVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSVolumeSource type for use
+// with apply.
+type CephFSVolumeSourceApplyConfiguration struct {
+ Monitors []string `json:"monitors,omitempty"`
+ Path *string `json:"path,omitempty"`
+ User *string `json:"user,omitempty"`
+ SecretFile *string `json:"secretFile,omitempty"`
+ SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// CephFSVolumeSourceApplyConfiguration constructs an declarative configuration of the CephFSVolumeSource type for use with
+// apply.
+func CephFSVolumeSource() *CephFSVolumeSourceApplyConfiguration {
+ return &CephFSVolumeSourceApplyConfiguration{}
+}
+
+// WithMonitors adds the given value to the Monitors field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Monitors field.
+func (b *CephFSVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.Monitors = append(b.Monitors, values[i])
+ }
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *CephFSVolumeSourceApplyConfiguration) WithPath(value string) *CephFSVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithUser sets the User field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the User field is set to the value of the last call.
+func (b *CephFSVolumeSourceApplyConfiguration) WithUser(value string) *CephFSVolumeSourceApplyConfiguration {
+ b.User = &value
+ return b
+}
+
+// WithSecretFile sets the SecretFile field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretFile field is set to the value of the last call.
+func (b *CephFSVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSVolumeSourceApplyConfiguration {
+ b.SecretFile = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *CephFSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CephFSVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CephFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go
new file mode 100644
index 000000000..83eb2d46a
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CinderPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CinderPersistentVolumeSource type for use
+// with apply.
+type CinderPersistentVolumeSourceApplyConfiguration struct {
+ VolumeID *string `json:"volumeID,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
+}
+
+// CinderPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CinderPersistentVolumeSource type for use with
+// apply.
+func CinderPersistentVolumeSource() *CinderPersistentVolumeSourceApplyConfiguration {
+ return &CinderPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the VolumeID field is set to the value of the last call.
+func (b *CinderPersistentVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderPersistentVolumeSourceApplyConfiguration {
+ b.VolumeID = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *CinderPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CinderPersistentVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CinderPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *CinderPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CinderPersistentVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go
new file mode 100644
index 000000000..ac46803fe
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CinderVolumeSourceApplyConfiguration represents an declarative configuration of the CinderVolumeSource type for use
+// with apply.
+type CinderVolumeSourceApplyConfiguration struct {
+ VolumeID *string `json:"volumeID,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
+}
+
+// CinderVolumeSourceApplyConfiguration constructs an declarative configuration of the CinderVolumeSource type for use with
+// apply.
+func CinderVolumeSource() *CinderVolumeSourceApplyConfiguration {
+ return &CinderVolumeSourceApplyConfiguration{}
+}
+
+// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the VolumeID field is set to the value of the last call.
+func (b *CinderVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderVolumeSourceApplyConfiguration {
+ b.VolumeID = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *CinderVolumeSourceApplyConfiguration) WithFSType(value string) *CinderVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CinderVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *CinderVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CinderVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go b/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go
new file mode 100644
index 000000000..f7f1f616e
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ClientIPConfigApplyConfiguration represents an declarative configuration of the ClientIPConfig type for use
+// with apply.
+type ClientIPConfigApplyConfiguration struct {
+ TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
+}
+
+// ClientIPConfigApplyConfiguration constructs an declarative configuration of the ClientIPConfig type for use with
+// apply.
+func ClientIPConfig() *ClientIPConfigApplyConfiguration {
+ return &ClientIPConfigApplyConfiguration{}
+}
+
+// WithTimeoutSeconds sets the TimeoutSeconds field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TimeoutSeconds field is set to the value of the last call.
+func (b *ClientIPConfigApplyConfiguration) WithTimeoutSeconds(value int32) *ClientIPConfigApplyConfiguration {
+ b.TimeoutSeconds = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go b/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go
new file mode 100644
index 000000000..ab3f4765f
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go
@@ -0,0 +1,71 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// ComponentConditionApplyConfiguration represents an declarative configuration of the ComponentCondition type for use
+// with apply.
+type ComponentConditionApplyConfiguration struct {
+ Type *v1.ComponentConditionType `json:"type,omitempty"`
+ Status *v1.ConditionStatus `json:"status,omitempty"`
+ Message *string `json:"message,omitempty"`
+ Error *string `json:"error,omitempty"`
+}
+
+// ComponentConditionApplyConfiguration constructs an declarative configuration of the ComponentCondition type for use with
+// apply.
+func ComponentCondition() *ComponentConditionApplyConfiguration {
+ return &ComponentConditionApplyConfiguration{}
+}
+
+// WithType sets the Type field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Type field is set to the value of the last call.
+func (b *ComponentConditionApplyConfiguration) WithType(value v1.ComponentConditionType) *ComponentConditionApplyConfiguration {
+ b.Type = &value
+ return b
+}
+
+// WithStatus sets the Status field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Status field is set to the value of the last call.
+func (b *ComponentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ComponentConditionApplyConfiguration {
+ b.Status = &value
+ return b
+}
+
+// WithMessage sets the Message field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Message field is set to the value of the last call.
+func (b *ComponentConditionApplyConfiguration) WithMessage(value string) *ComponentConditionApplyConfiguration {
+ b.Message = &value
+ return b
+}
+
+// WithError sets the Error field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Error field is set to the value of the last call.
+func (b *ComponentConditionApplyConfiguration) WithError(value string) *ComponentConditionApplyConfiguration {
+ b.Error = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/core/v1/componentstatus.go
similarity index 71%
copy from pkg/client/camel/applyconfiguration/camel/v1/build.go
copy to pkg/client/camel/applyconfiguration/core/v1/componentstatus.go
index 7f4dbc514..737f19058 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/componentstatus.go
@@ -20,35 +20,33 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// BuildApplyConfiguration represents an declarative configuration of the Build type for use
+// ComponentStatusApplyConfiguration represents an declarative configuration of the ComponentStatus type for use
// with apply.
-type BuildApplyConfiguration struct {
+type ComponentStatusApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *BuildSpecApplyConfiguration `json:"spec,omitempty"`
- Status *BuildStatusApplyConfiguration `json:"status,omitempty"`
+ Conditions []ComponentConditionApplyConfiguration `json:"conditions,omitempty"`
}
-// Build constructs an declarative configuration of the Build type for use with
+// ComponentStatus constructs an declarative configuration of the ComponentStatus type for use with
// apply.
-func Build(name, namespace string) *BuildApplyConfiguration {
- b := &BuildApplyConfiguration{}
+func ComponentStatus(name string) *ComponentStatusApplyConfiguration {
+ b := &ComponentStatusApplyConfiguration{}
b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("Build")
- b.WithAPIVersion("camel.apache.org/v1")
+ b.WithKind("ComponentStatus")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithKind(value string) *ComponentStatusApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +54,7 @@ func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguratio
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithAPIVersion(value string) *ComponentStatusApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +62,7 @@ func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfig
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithName(value string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +71,7 @@ func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguratio
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithGenerateName(value string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +80,7 @@ func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConf
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithNamespace(value string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +89,7 @@ func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfigu
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithUID(value types.UID) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +98,7 @@ func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfigurat
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithResourceVersion(value string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +107,7 @@ func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyC
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithGeneration(value int64) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +116,7 @@ func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfigu
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +125,7 @@ func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Buil
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +134,7 @@ func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Buil
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +144,7 @@ func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *B
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithLabels(entries map[string]string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +159,7 @@ func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildAp
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithAnnotations(entries map[string]string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +173,7 @@ func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *Bu
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +187,7 @@ func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferen
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration {
+func (b *ComponentStatusApplyConfiguration) WithFinalizers(values ...string) *ComponentStatusApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,24 +195,21 @@ func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyCo
return b
}
-func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *ComponentStatusApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
}
-// WithSpec sets the Spec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration {
- b.Spec = value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration {
- b.Status = value
+// WithConditions adds the given value to the Conditions field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Conditions field.
+func (b *ComponentStatusApplyConfiguration) WithConditions(values ...*ComponentConditionApplyConfiguration) *ComponentStatusApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithConditions")
+ }
+ b.Conditions = append(b.Conditions, *values[i])
+ }
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go b/pkg/client/camel/applyconfiguration/core/v1/configmap.go
similarity index 66%
copy from pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
copy to pkg/client/camel/applyconfiguration/core/v1/configmap.go
index 0ea2e903c..612daf608 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmap.go
@@ -20,35 +20,36 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// IntegrationKitApplyConfiguration represents an declarative configuration of the IntegrationKit type for use
+// ConfigMapApplyConfiguration represents an declarative configuration of the ConfigMap type for use
// with apply.
-type IntegrationKitApplyConfiguration struct {
+type ConfigMapApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *IntegrationKitSpecApplyConfiguration `json:"spec,omitempty"`
- Status *IntegrationKitStatusApplyConfiguration `json:"status,omitempty"`
+ Immutable *bool `json:"immutable,omitempty"`
+ Data map[string]string `json:"data,omitempty"`
+ BinaryData map[string][]byte `json:"binaryData,omitempty"`
}
-// IntegrationKit constructs an declarative configuration of the IntegrationKit type for use with
+// ConfigMap constructs an declarative configuration of the ConfigMap type for use with
// apply.
-func IntegrationKit(name, namespace string) *IntegrationKitApplyConfiguration {
- b := &IntegrationKitApplyConfiguration{}
+func ConfigMap(name, namespace string) *ConfigMapApplyConfiguration {
+ b := &ConfigMapApplyConfiguration{}
b.WithName(name)
b.WithNamespace(namespace)
- b.WithKind("IntegrationKit")
- b.WithAPIVersion("camel.apache.org/v1")
+ b.WithKind("ConfigMap")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithKind(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithKind(value string) *ConfigMapApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +57,7 @@ func (b *IntegrationKitApplyConfiguration) WithKind(value string) *IntegrationKi
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithAPIVersion(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithAPIVersion(value string) *ConfigMapApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +65,7 @@ func (b *IntegrationKitApplyConfiguration) WithAPIVersion(value string) *Integra
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithName(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithName(value string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +74,7 @@ func (b *IntegrationKitApplyConfiguration) WithName(value string) *IntegrationKi
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithGenerateName(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithGenerateName(value string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +83,7 @@ func (b *IntegrationKitApplyConfiguration) WithGenerateName(value string) *Integ
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithNamespace(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithNamespace(value string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +92,7 @@ func (b *IntegrationKitApplyConfiguration) WithNamespace(value string) *Integrat
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithUID(value types.UID) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithUID(value types.UID) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +101,7 @@ func (b *IntegrationKitApplyConfiguration) WithUID(value types.UID) *Integration
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithResourceVersion(value string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithResourceVersion(value string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +110,7 @@ func (b *IntegrationKitApplyConfiguration) WithResourceVersion(value string) *In
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithGeneration(value int64) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithGeneration(value int64) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +119,7 @@ func (b *IntegrationKitApplyConfiguration) WithGeneration(value int64) *Integrat
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +128,7 @@ func (b *IntegrationKitApplyConfiguration) WithCreationTimestamp(value metav1.Ti
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +137,7 @@ func (b *IntegrationKitApplyConfiguration) WithDeletionTimestamp(value metav1.Ti
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +147,7 @@ func (b *IntegrationKitApplyConfiguration) WithDeletionGracePeriodSeconds(value
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *IntegrationKitApplyConfiguration) WithLabels(entries map[string]string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithLabels(entries map[string]string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +162,7 @@ func (b *IntegrationKitApplyConfiguration) WithLabels(entries map[string]string)
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *IntegrationKitApplyConfiguration) WithAnnotations(entries map[string]string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +176,7 @@ func (b *IntegrationKitApplyConfiguration) WithAnnotations(entries map[string]st
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *IntegrationKitApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +190,7 @@ func (b *IntegrationKitApplyConfiguration) WithOwnerReferences(values ...*v1.Own
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *IntegrationKitApplyConfiguration) WithFinalizers(values ...string) *IntegrationKitApplyConfiguration {
+func (b *ConfigMapApplyConfiguration) WithFinalizers(values ...string) *ConfigMapApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,24 +198,44 @@ func (b *IntegrationKitApplyConfiguration) WithFinalizers(values ...string) *Int
return b
}
-func (b *IntegrationKitApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *ConfigMapApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
}
-// WithSpec sets the Spec field in the declarative configuration to the given value
+// WithImmutable sets the Immutable field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithSpec(value *IntegrationKitSpecApplyConfiguration) *IntegrationKitApplyConfiguration {
- b.Spec = value
+// If called multiple times, the Immutable field is set to the value of the last call.
+func (b *ConfigMapApplyConfiguration) WithImmutable(value bool) *ConfigMapApplyConfiguration {
+ b.Immutable = &value
return b
}
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *IntegrationKitApplyConfiguration) WithStatus(value *IntegrationKitStatusApplyConfiguration) *IntegrationKitApplyConfiguration {
- b.Status = value
+// WithData puts the entries into the Data field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the Data field,
+// overwriting an existing map entries in Data field with the same key.
+func (b *ConfigMapApplyConfiguration) WithData(entries map[string]string) *ConfigMapApplyConfiguration {
+ if b.Data == nil && len(entries) > 0 {
+ b.Data = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.Data[k] = v
+ }
+ return b
+}
+
+// WithBinaryData puts the entries into the BinaryData field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the BinaryData field,
+// overwriting an existing map entries in BinaryData field with the same key.
+func (b *ConfigMapApplyConfiguration) WithBinaryData(entries map[string][]byte) *ConfigMapApplyConfiguration {
+ if b.BinaryData == nil && len(entries) > 0 {
+ b.BinaryData = make(map[string][]byte, len(entries))
+ }
+ for k, v := range entries {
+ b.BinaryData[k] = v
+ }
return b
}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go
new file mode 100644
index 000000000..c538b3464
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ConfigMapEnvSourceApplyConfiguration represents an declarative configuration of the ConfigMapEnvSource type for use
+// with apply.
+type ConfigMapEnvSourceApplyConfiguration struct {
+ LocalObjectReferenceApplyConfiguration `json:",inline"`
+ Optional *bool `json:"optional,omitempty"`
+}
+
+// ConfigMapEnvSourceApplyConfiguration constructs an declarative configuration of the ConfigMapEnvSource type for use with
+// apply.
+func ConfigMapEnvSource() *ConfigMapEnvSourceApplyConfiguration {
+ return &ConfigMapEnvSourceApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ConfigMapEnvSourceApplyConfiguration) WithName(value string) *ConfigMapEnvSourceApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithOptional sets the Optional field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Optional field is set to the value of the last call.
+func (b *ConfigMapEnvSourceApplyConfiguration) WithOptional(value bool) *ConfigMapEnvSourceApplyConfiguration {
+ b.Optional = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go b/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go
new file mode 100644
index 000000000..eb63ddcce
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ConfigMapKeySelectorApplyConfiguration represents an declarative configuration of the ConfigMapKeySelector type for use
+// with apply.
+type ConfigMapKeySelectorApplyConfiguration struct {
+ LocalObjectReferenceApplyConfiguration `json:",inline"`
+ Key *string `json:"key,omitempty"`
+ Optional *bool `json:"optional,omitempty"`
+}
+
+// ConfigMapKeySelectorApplyConfiguration constructs an declarative configuration of the ConfigMapKeySelector type for use with
+// apply.
+func ConfigMapKeySelector() *ConfigMapKeySelectorApplyConfiguration {
+ return &ConfigMapKeySelectorApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ConfigMapKeySelectorApplyConfiguration) WithName(value string) *ConfigMapKeySelectorApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithKey sets the Key field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Key field is set to the value of the last call.
+func (b *ConfigMapKeySelectorApplyConfiguration) WithKey(value string) *ConfigMapKeySelectorApplyConfiguration {
+ b.Key = &value
+ return b
+}
+
+// WithOptional sets the Optional field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Optional field is set to the value of the last call.
+func (b *ConfigMapKeySelectorApplyConfiguration) WithOptional(value bool) *ConfigMapKeySelectorApplyConfiguration {
+ b.Optional = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go
new file mode 100644
index 000000000..16a0105b7
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go
@@ -0,0 +1,80 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ types "k8s.io/apimachinery/pkg/types"
+)
+
+// ConfigMapNodeConfigSourceApplyConfiguration represents an declarative configuration of the ConfigMapNodeConfigSource type for use
+// with apply.
+type ConfigMapNodeConfigSourceApplyConfiguration struct {
+ Namespace *string `json:"namespace,omitempty"`
+ Name *string `json:"name,omitempty"`
+ UID *types.UID `json:"uid,omitempty"`
+ ResourceVersion *string `json:"resourceVersion,omitempty"`
+ KubeletConfigKey *string `json:"kubeletConfigKey,omitempty"`
+}
+
+// ConfigMapNodeConfigSourceApplyConfiguration constructs an declarative configuration of the ConfigMapNodeConfigSource type for use with
+// apply.
+func ConfigMapNodeConfigSource() *ConfigMapNodeConfigSourceApplyConfiguration {
+ return &ConfigMapNodeConfigSourceApplyConfiguration{}
+}
+
+// WithNamespace sets the Namespace field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Namespace field is set to the value of the last call.
+func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithNamespace(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
+ b.Namespace = &value
+ return b
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithName(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithUID sets the UID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the UID field is set to the value of the last call.
+func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithUID(value types.UID) *ConfigMapNodeConfigSourceApplyConfiguration {
+ b.UID = &value
+ return b
+}
+
+// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ResourceVersion field is set to the value of the last call.
+func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithResourceVersion(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
+ b.ResourceVersion = &value
+ return b
+}
+
+// WithKubeletConfigKey sets the KubeletConfigKey field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the KubeletConfigKey field is set to the value of the last call.
+func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithKubeletConfigKey(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
+ b.KubeletConfigKey = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go b/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go
new file mode 100644
index 000000000..3cd36d932
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go
@@ -0,0 +1,63 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ConfigMapProjectionApplyConfiguration represents an declarative configuration of the ConfigMapProjection type for use
+// with apply.
+type ConfigMapProjectionApplyConfiguration struct {
+ LocalObjectReferenceApplyConfiguration `json:",inline"`
+ Items []KeyToPathApplyConfiguration `json:"items,omitempty"`
+ Optional *bool `json:"optional,omitempty"`
+}
+
+// ConfigMapProjectionApplyConfiguration constructs an declarative configuration of the ConfigMapProjection type for use with
+// apply.
+func ConfigMapProjection() *ConfigMapProjectionApplyConfiguration {
+ return &ConfigMapProjectionApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ConfigMapProjectionApplyConfiguration) WithName(value string) *ConfigMapProjectionApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithItems adds the given value to the Items field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Items field.
+func (b *ConfigMapProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapProjectionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithItems")
+ }
+ b.Items = append(b.Items, *values[i])
+ }
+ return b
+}
+
+// WithOptional sets the Optional field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Optional field is set to the value of the last call.
+func (b *ConfigMapProjectionApplyConfiguration) WithOptional(value bool) *ConfigMapProjectionApplyConfiguration {
+ b.Optional = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go
new file mode 100644
index 000000000..d26483dbd
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go
@@ -0,0 +1,72 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ConfigMapVolumeSourceApplyConfiguration represents an declarative configuration of the ConfigMapVolumeSource type for use
+// with apply.
+type ConfigMapVolumeSourceApplyConfiguration struct {
+ LocalObjectReferenceApplyConfiguration `json:",inline"`
+ Items []KeyToPathApplyConfiguration `json:"items,omitempty"`
+ DefaultMode *int32 `json:"defaultMode,omitempty"`
+ Optional *bool `json:"optional,omitempty"`
+}
+
+// ConfigMapVolumeSourceApplyConfiguration constructs an declarative configuration of the ConfigMapVolumeSource type for use with
+// apply.
+func ConfigMapVolumeSource() *ConfigMapVolumeSourceApplyConfiguration {
+ return &ConfigMapVolumeSourceApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ConfigMapVolumeSourceApplyConfiguration) WithName(value string) *ConfigMapVolumeSourceApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithItems adds the given value to the Items field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Items field.
+func (b *ConfigMapVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapVolumeSourceApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithItems")
+ }
+ b.Items = append(b.Items, *values[i])
+ }
+ return b
+}
+
+// WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DefaultMode field is set to the value of the last call.
+func (b *ConfigMapVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *ConfigMapVolumeSourceApplyConfiguration {
+ b.DefaultMode = &value
+ return b
+}
+
+// WithOptional sets the Optional field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Optional field is set to the value of the last call.
+func (b *ConfigMapVolumeSourceApplyConfiguration) WithOptional(value bool) *ConfigMapVolumeSourceApplyConfiguration {
+ b.Optional = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/container.go b/pkg/client/camel/applyconfiguration/core/v1/container.go
new file mode 100644
index 000000000..13fa09891
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/container.go
@@ -0,0 +1,262 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ corev1 "k8s.io/api/core/v1"
+)
+
+// ContainerApplyConfiguration represents an declarative configuration of the Container type for use
+// with apply.
+type ContainerApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Image *string `json:"image,omitempty"`
+ Command []string `json:"command,omitempty"`
+ Args []string `json:"args,omitempty"`
+ WorkingDir *string `json:"workingDir,omitempty"`
+ Ports []ContainerPortApplyConfiguration `json:"ports,omitempty"`
+ EnvFrom []EnvFromSourceApplyConfiguration `json:"envFrom,omitempty"`
+ Env []EnvVarApplyConfiguration `json:"env,omitempty"`
+ Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
+ VolumeMounts []VolumeMountApplyConfiguration `json:"volumeMounts,omitempty"`
+ VolumeDevices []VolumeDeviceApplyConfiguration `json:"volumeDevices,omitempty"`
+ LivenessProbe *ProbeApplyConfiguration `json:"livenessProbe,omitempty"`
+ ReadinessProbe *ProbeApplyConfiguration `json:"readinessProbe,omitempty"`
+ StartupProbe *ProbeApplyConfiguration `json:"startupProbe,omitempty"`
+ Lifecycle *LifecycleApplyConfiguration `json:"lifecycle,omitempty"`
+ TerminationMessagePath *string `json:"terminationMessagePath,omitempty"`
+ TerminationMessagePolicy *corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"`
+ ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
+ SecurityContext *SecurityContextApplyConfiguration `json:"securityContext,omitempty"`
+ Stdin *bool `json:"stdin,omitempty"`
+ StdinOnce *bool `json:"stdinOnce,omitempty"`
+ TTY *bool `json:"tty,omitempty"`
+}
+
+// ContainerApplyConfiguration constructs an declarative configuration of the Container type for use with
+// apply.
+func Container() *ContainerApplyConfiguration {
+ return &ContainerApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithName(value string) *ContainerApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithImage sets the Image field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Image field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithImage(value string) *ContainerApplyConfiguration {
+ b.Image = &value
+ return b
+}
+
+// WithCommand adds the given value to the Command field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Command field.
+func (b *ContainerApplyConfiguration) WithCommand(values ...string) *ContainerApplyConfiguration {
+ for i := range values {
+ b.Command = append(b.Command, values[i])
+ }
+ return b
+}
+
+// WithArgs adds the given value to the Args field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Args field.
+func (b *ContainerApplyConfiguration) WithArgs(values ...string) *ContainerApplyConfiguration {
+ for i := range values {
+ b.Args = append(b.Args, values[i])
+ }
+ return b
+}
+
+// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the WorkingDir field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithWorkingDir(value string) *ContainerApplyConfiguration {
+ b.WorkingDir = &value
+ return b
+}
+
+// WithPorts adds the given value to the Ports field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ports field.
+func (b *ContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *ContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPorts")
+ }
+ b.Ports = append(b.Ports, *values[i])
+ }
+ return b
+}
+
+// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the EnvFrom field.
+func (b *ContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *ContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnvFrom")
+ }
+ b.EnvFrom = append(b.EnvFrom, *values[i])
+ }
+ return b
+}
+
+// WithEnv adds the given value to the Env field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Env field.
+func (b *ContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *ContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnv")
+ }
+ b.Env = append(b.Env, *values[i])
+ }
+ return b
+}
+
+// WithResources sets the Resources field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Resources field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerApplyConfiguration {
+ b.Resources = value
+ return b
+}
+
+// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
+func (b *ContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *ContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeMounts")
+ }
+ b.VolumeMounts = append(b.VolumeMounts, *values[i])
+ }
+ return b
+}
+
+// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
+func (b *ContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *ContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeDevices")
+ }
+ b.VolumeDevices = append(b.VolumeDevices, *values[i])
+ }
+ return b
+}
+
+// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LivenessProbe field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
+ b.LivenessProbe = value
+ return b
+}
+
+// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadinessProbe field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
+ b.ReadinessProbe = value
+ return b
+}
+
+// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StartupProbe field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
+ b.StartupProbe = value
+ return b
+}
+
+// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lifecycle field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *ContainerApplyConfiguration {
+ b.Lifecycle = value
+ return b
+}
+
+// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithTerminationMessagePath(value string) *ContainerApplyConfiguration {
+ b.TerminationMessagePath = &value
+ return b
+}
+
+// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *ContainerApplyConfiguration {
+ b.TerminationMessagePolicy = &value
+ return b
+}
+
+// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ContainerApplyConfiguration {
+ b.ImagePullPolicy = &value
+ return b
+}
+
+// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecurityContext field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *ContainerApplyConfiguration {
+ b.SecurityContext = value
+ return b
+}
+
+// WithStdin sets the Stdin field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Stdin field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithStdin(value bool) *ContainerApplyConfiguration {
+ b.Stdin = &value
+ return b
+}
+
+// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StdinOnce field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithStdinOnce(value bool) *ContainerApplyConfiguration {
+ b.StdinOnce = &value
+ return b
+}
+
+// WithTTY sets the TTY field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TTY field is set to the value of the last call.
+func (b *ContainerApplyConfiguration) WithTTY(value bool) *ContainerApplyConfiguration {
+ b.TTY = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerimage.go b/pkg/client/camel/applyconfiguration/core/v1/containerimage.go
new file mode 100644
index 000000000..d0c2c8a44
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerimage.go
@@ -0,0 +1,51 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ContainerImageApplyConfiguration represents an declarative configuration of the ContainerImage type for use
+// with apply.
+type ContainerImageApplyConfiguration struct {
+ Names []string `json:"names,omitempty"`
+ SizeBytes *int64 `json:"sizeBytes,omitempty"`
+}
+
+// ContainerImageApplyConfiguration constructs an declarative configuration of the ContainerImage type for use with
+// apply.
+func ContainerImage() *ContainerImageApplyConfiguration {
+ return &ContainerImageApplyConfiguration{}
+}
+
+// WithNames adds the given value to the Names field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Names field.
+func (b *ContainerImageApplyConfiguration) WithNames(values ...string) *ContainerImageApplyConfiguration {
+ for i := range values {
+ b.Names = append(b.Names, values[i])
+ }
+ return b
+}
+
+// WithSizeBytes sets the SizeBytes field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SizeBytes field is set to the value of the last call.
+func (b *ContainerImageApplyConfiguration) WithSizeBytes(value int64) *ContainerImageApplyConfiguration {
+ b.SizeBytes = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerport.go b/pkg/client/camel/applyconfiguration/core/v1/containerport.go
new file mode 100644
index 000000000..dfaa646d5
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerport.go
@@ -0,0 +1,80 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// ContainerPortApplyConfiguration represents an declarative configuration of the ContainerPort type for use
+// with apply.
+type ContainerPortApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ HostPort *int32 `json:"hostPort,omitempty"`
+ ContainerPort *int32 `json:"containerPort,omitempty"`
+ Protocol *v1.Protocol `json:"protocol,omitempty"`
+ HostIP *string `json:"hostIP,omitempty"`
+}
+
+// ContainerPortApplyConfiguration constructs an declarative configuration of the ContainerPort type for use with
+// apply.
+func ContainerPort() *ContainerPortApplyConfiguration {
+ return &ContainerPortApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ContainerPortApplyConfiguration) WithName(value string) *ContainerPortApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithHostPort sets the HostPort field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the HostPort field is set to the value of the last call.
+func (b *ContainerPortApplyConfiguration) WithHostPort(value int32) *ContainerPortApplyConfiguration {
+ b.HostPort = &value
+ return b
+}
+
+// WithContainerPort sets the ContainerPort field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ContainerPort field is set to the value of the last call.
+func (b *ContainerPortApplyConfiguration) WithContainerPort(value int32) *ContainerPortApplyConfiguration {
+ b.ContainerPort = &value
+ return b
+}
+
+// WithProtocol sets the Protocol field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Protocol field is set to the value of the last call.
+func (b *ContainerPortApplyConfiguration) WithProtocol(value v1.Protocol) *ContainerPortApplyConfiguration {
+ b.Protocol = &value
+ return b
+}
+
+// WithHostIP sets the HostIP field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the HostIP field is set to the value of the last call.
+func (b *ContainerPortApplyConfiguration) WithHostIP(value string) *ContainerPortApplyConfiguration {
+ b.HostIP = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstate.go b/pkg/client/camel/applyconfiguration/core/v1/containerstate.go
new file mode 100644
index 000000000..20f4e2d52
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerstate.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ContainerStateApplyConfiguration represents an declarative configuration of the ContainerState type for use
+// with apply.
+type ContainerStateApplyConfiguration struct {
+ Waiting *ContainerStateWaitingApplyConfiguration `json:"waiting,omitempty"`
+ Running *ContainerStateRunningApplyConfiguration `json:"running,omitempty"`
+ Terminated *ContainerStateTerminatedApplyConfiguration `json:"terminated,omitempty"`
+}
+
+// ContainerStateApplyConfiguration constructs an declarative configuration of the ContainerState type for use with
+// apply.
+func ContainerState() *ContainerStateApplyConfiguration {
+ return &ContainerStateApplyConfiguration{}
+}
+
+// WithWaiting sets the Waiting field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Waiting field is set to the value of the last call.
+func (b *ContainerStateApplyConfiguration) WithWaiting(value *ContainerStateWaitingApplyConfiguration) *ContainerStateApplyConfiguration {
+ b.Waiting = value
+ return b
+}
+
+// WithRunning sets the Running field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Running field is set to the value of the last call.
+func (b *ContainerStateApplyConfiguration) WithRunning(value *ContainerStateRunningApplyConfiguration) *ContainerStateApplyConfiguration {
+ b.Running = value
+ return b
+}
+
+// WithTerminated sets the Terminated field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Terminated field is set to the value of the last call.
+func (b *ContainerStateApplyConfiguration) WithTerminated(value *ContainerStateTerminatedApplyConfiguration) *ContainerStateApplyConfiguration {
+ b.Terminated = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go b/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go
new file mode 100644
index 000000000..8e32f1960
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go
@@ -0,0 +1,44 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// ContainerStateRunningApplyConfiguration represents an declarative configuration of the ContainerStateRunning type for use
+// with apply.
+type ContainerStateRunningApplyConfiguration struct {
+ StartedAt *v1.Time `json:"startedAt,omitempty"`
+}
+
+// ContainerStateRunningApplyConfiguration constructs an declarative configuration of the ContainerStateRunning type for use with
+// apply.
+func ContainerStateRunning() *ContainerStateRunningApplyConfiguration {
+ return &ContainerStateRunningApplyConfiguration{}
+}
+
+// WithStartedAt sets the StartedAt field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StartedAt field is set to the value of the last call.
+func (b *ContainerStateRunningApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateRunningApplyConfiguration {
+ b.StartedAt = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go b/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go
new file mode 100644
index 000000000..fbf9c8c55
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go
@@ -0,0 +1,98 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// ContainerStateTerminatedApplyConfiguration represents an declarative configuration of the ContainerStateTerminated type for use
+// with apply.
+type ContainerStateTerminatedApplyConfiguration struct {
+ ExitCode *int32 `json:"exitCode,omitempty"`
+ Signal *int32 `json:"signal,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
+ StartedAt *v1.Time `json:"startedAt,omitempty"`
+ FinishedAt *v1.Time `json:"finishedAt,omitempty"`
+ ContainerID *string `json:"containerID,omitempty"`
+}
+
+// ContainerStateTerminatedApplyConfiguration constructs an declarative configuration of the ContainerStateTerminated type for use with
+// apply.
+func ContainerStateTerminated() *ContainerStateTerminatedApplyConfiguration {
+ return &ContainerStateTerminatedApplyConfiguration{}
+}
+
+// WithExitCode sets the ExitCode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ExitCode field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithExitCode(value int32) *ContainerStateTerminatedApplyConfiguration {
+ b.ExitCode = &value
+ return b
+}
+
+// WithSignal sets the Signal field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Signal field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithSignal(value int32) *ContainerStateTerminatedApplyConfiguration {
+ b.Signal = &value
+ return b
+}
+
+// WithReason sets the Reason field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Reason field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithReason(value string) *ContainerStateTerminatedApplyConfiguration {
+ b.Reason = &value
+ return b
+}
+
+// WithMessage sets the Message field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Message field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithMessage(value string) *ContainerStateTerminatedApplyConfiguration {
+ b.Message = &value
+ return b
+}
+
+// WithStartedAt sets the StartedAt field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StartedAt field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration {
+ b.StartedAt = &value
+ return b
+}
+
+// WithFinishedAt sets the FinishedAt field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FinishedAt field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithFinishedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration {
+ b.FinishedAt = &value
+ return b
+}
+
+// WithContainerID sets the ContainerID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ContainerID field is set to the value of the last call.
+func (b *ContainerStateTerminatedApplyConfiguration) WithContainerID(value string) *ContainerStateTerminatedApplyConfiguration {
+ b.ContainerID = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go b/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go
new file mode 100644
index 000000000..3b463a9d7
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ContainerStateWaitingApplyConfiguration represents an declarative configuration of the ContainerStateWaiting type for use
+// with apply.
+type ContainerStateWaitingApplyConfiguration struct {
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
+}
+
+// ContainerStateWaitingApplyConfiguration constructs an declarative configuration of the ContainerStateWaiting type for use with
+// apply.
+func ContainerStateWaiting() *ContainerStateWaitingApplyConfiguration {
+ return &ContainerStateWaitingApplyConfiguration{}
+}
+
+// WithReason sets the Reason field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Reason field is set to the value of the last call.
+func (b *ContainerStateWaitingApplyConfiguration) WithReason(value string) *ContainerStateWaitingApplyConfiguration {
+ b.Reason = &value
+ return b
+}
+
+// WithMessage sets the Message field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Message field is set to the value of the last call.
+func (b *ContainerStateWaitingApplyConfiguration) WithMessage(value string) *ContainerStateWaitingApplyConfiguration {
+ b.Message = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go b/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go
new file mode 100644
index 000000000..8f8c90b77
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go
@@ -0,0 +1,112 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ContainerStatusApplyConfiguration represents an declarative configuration of the ContainerStatus type for use
+// with apply.
+type ContainerStatusApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ State *ContainerStateApplyConfiguration `json:"state,omitempty"`
+ LastTerminationState *ContainerStateApplyConfiguration `json:"lastState,omitempty"`
+ Ready *bool `json:"ready,omitempty"`
+ RestartCount *int32 `json:"restartCount,omitempty"`
+ Image *string `json:"image,omitempty"`
+ ImageID *string `json:"imageID,omitempty"`
+ ContainerID *string `json:"containerID,omitempty"`
+ Started *bool `json:"started,omitempty"`
+}
+
+// ContainerStatusApplyConfiguration constructs an declarative configuration of the ContainerStatus type for use with
+// apply.
+func ContainerStatus() *ContainerStatusApplyConfiguration {
+ return &ContainerStatusApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithName(value string) *ContainerStatusApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithState sets the State field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the State field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
+ b.State = value
+ return b
+}
+
+// WithLastTerminationState sets the LastTerminationState field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LastTerminationState field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithLastTerminationState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
+ b.LastTerminationState = value
+ return b
+}
+
+// WithReady sets the Ready field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Ready field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithReady(value bool) *ContainerStatusApplyConfiguration {
+ b.Ready = &value
+ return b
+}
+
+// WithRestartCount sets the RestartCount field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the RestartCount field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithRestartCount(value int32) *ContainerStatusApplyConfiguration {
+ b.RestartCount = &value
+ return b
+}
+
+// WithImage sets the Image field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Image field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithImage(value string) *ContainerStatusApplyConfiguration {
+ b.Image = &value
+ return b
+}
+
+// WithImageID sets the ImageID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ImageID field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithImageID(value string) *ContainerStatusApplyConfiguration {
+ b.ImageID = &value
+ return b
+}
+
+// WithContainerID sets the ContainerID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ContainerID field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithContainerID(value string) *ContainerStatusApplyConfiguration {
+ b.ContainerID = &value
+ return b
+}
+
+// WithStarted sets the Started field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Started field is set to the value of the last call.
+func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerStatusApplyConfiguration {
+ b.Started = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go
new file mode 100644
index 000000000..cf437bf17
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go
@@ -0,0 +1,127 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CSIPersistentVolumeSource type for use
+// with apply.
+type CSIPersistentVolumeSourceApplyConfiguration struct {
+ Driver *string `json:"driver,omitempty"`
+ VolumeHandle *string `json:"volumeHandle,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`
+ ControllerPublishSecretRef *SecretReferenceApplyConfiguration `json:"controllerPublishSecretRef,omitempty"`
+ NodeStageSecretRef *SecretReferenceApplyConfiguration `json:"nodeStageSecretRef,omitempty"`
+ NodePublishSecretRef *SecretReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
+ ControllerExpandSecretRef *SecretReferenceApplyConfiguration `json:"controllerExpandSecretRef,omitempty"`
+ NodeExpandSecretRef *SecretReferenceApplyConfiguration `json:"nodeExpandSecretRef,omitempty"`
+}
+
+// CSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIPersistentVolumeSource type for use with
+// apply.
+func CSIPersistentVolumeSource() *CSIPersistentVolumeSourceApplyConfiguration {
+ return &CSIPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithDriver sets the Driver field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Driver field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.Driver = &value
+ return b
+}
+
+// WithVolumeHandle sets the VolumeHandle field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the VolumeHandle field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeHandle(value string) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.VolumeHandle = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithVolumeAttributes puts the entries into the VolumeAttributes field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the VolumeAttributes field,
+// overwriting an existing map entries in VolumeAttributes field with the same key.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIPersistentVolumeSourceApplyConfiguration {
+ if b.VolumeAttributes == nil && len(entries) > 0 {
+ b.VolumeAttributes = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.VolumeAttributes[k] = v
+ }
+ return b
+}
+
+// WithControllerPublishSecretRef sets the ControllerPublishSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ControllerPublishSecretRef field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerPublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.ControllerPublishSecretRef = value
+ return b
+}
+
+// WithNodeStageSecretRef sets the NodeStageSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodeStageSecretRef field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeStageSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.NodeStageSecretRef = value
+ return b
+}
+
+// WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodePublishSecretRef field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.NodePublishSecretRef = value
+ return b
+}
+
+// WithControllerExpandSecretRef sets the ControllerExpandSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ControllerExpandSecretRef field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.ControllerExpandSecretRef = value
+ return b
+}
+
+// WithNodeExpandSecretRef sets the NodeExpandSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodeExpandSecretRef field is set to the value of the last call.
+func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
+ b.NodeExpandSecretRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go
new file mode 100644
index 000000000..d6026ffb5
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go
@@ -0,0 +1,82 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// CSIVolumeSourceApplyConfiguration represents an declarative configuration of the CSIVolumeSource type for use
+// with apply.
+type CSIVolumeSourceApplyConfiguration struct {
+ Driver *string `json:"driver,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`
+ NodePublishSecretRef *LocalObjectReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
+}
+
+// CSIVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIVolumeSource type for use with
+// apply.
+func CSIVolumeSource() *CSIVolumeSourceApplyConfiguration {
+ return &CSIVolumeSourceApplyConfiguration{}
+}
+
+// WithDriver sets the Driver field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Driver field is set to the value of the last call.
+func (b *CSIVolumeSourceApplyConfiguration) WithDriver(value string) *CSIVolumeSourceApplyConfiguration {
+ b.Driver = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *CSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *CSIVolumeSourceApplyConfiguration) WithFSType(value string) *CSIVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithVolumeAttributes puts the entries into the VolumeAttributes field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the VolumeAttributes field,
+// overwriting an existing map entries in VolumeAttributes field with the same key.
+func (b *CSIVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIVolumeSourceApplyConfiguration {
+ if b.VolumeAttributes == nil && len(entries) > 0 {
+ b.VolumeAttributes = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.VolumeAttributes[k] = v
+ }
+ return b
+}
+
+// WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodePublishSecretRef field is set to the value of the last call.
+func (b *CSIVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *LocalObjectReferenceApplyConfiguration) *CSIVolumeSourceApplyConfiguration {
+ b.NodePublishSecretRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go b/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go
new file mode 100644
index 000000000..f6dcf3f04
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// DaemonEndpointApplyConfiguration represents an declarative configuration of the DaemonEndpoint type for use
+// with apply.
+type DaemonEndpointApplyConfiguration struct {
+ Port *int32 `json:"Port,omitempty"`
+}
+
+// DaemonEndpointApplyConfiguration constructs an declarative configuration of the DaemonEndpoint type for use with
+// apply.
+func DaemonEndpoint() *DaemonEndpointApplyConfiguration {
+ return &DaemonEndpointApplyConfiguration{}
+}
+
+// WithPort sets the Port field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Port field is set to the value of the last call.
+func (b *DaemonEndpointApplyConfiguration) WithPort(value int32) *DaemonEndpointApplyConfiguration {
+ b.Port = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go
new file mode 100644
index 000000000..8a6f6cfdb
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go
@@ -0,0 +1,45 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// DownwardAPIProjectionApplyConfiguration represents an declarative configuration of the DownwardAPIProjection type for use
+// with apply.
+type DownwardAPIProjectionApplyConfiguration struct {
+ Items []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
+}
+
+// DownwardAPIProjectionApplyConfiguration constructs an declarative configuration of the DownwardAPIProjection type for use with
+// apply.
+func DownwardAPIProjection() *DownwardAPIProjectionApplyConfiguration {
+ return &DownwardAPIProjectionApplyConfiguration{}
+}
+
+// WithItems adds the given value to the Items field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Items field.
+func (b *DownwardAPIProjectionApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIProjectionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithItems")
+ }
+ b.Items = append(b.Items, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go
new file mode 100644
index 000000000..9712f2cca
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// DownwardAPIVolumeFileApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeFile type for use
+// with apply.
+type DownwardAPIVolumeFileApplyConfiguration struct {
+ Path *string `json:"path,omitempty"`
+ FieldRef *ObjectFieldSelectorApplyConfiguration `json:"fieldRef,omitempty"`
+ ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
+ Mode *int32 `json:"mode,omitempty"`
+}
+
+// DownwardAPIVolumeFileApplyConfiguration constructs an declarative configuration of the DownwardAPIVolumeFile type for use with
+// apply.
+func DownwardAPIVolumeFile() *DownwardAPIVolumeFileApplyConfiguration {
+ return &DownwardAPIVolumeFileApplyConfiguration{}
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *DownwardAPIVolumeFileApplyConfiguration) WithPath(value string) *DownwardAPIVolumeFileApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithFieldRef sets the FieldRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FieldRef field is set to the value of the last call.
+func (b *DownwardAPIVolumeFileApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration {
+ b.FieldRef = value
+ return b
+}
+
+// WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ResourceFieldRef field is set to the value of the last call.
+func (b *DownwardAPIVolumeFileApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration {
+ b.ResourceFieldRef = value
+ return b
+}
+
+// WithMode sets the Mode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Mode field is set to the value of the last call.
+func (b *DownwardAPIVolumeFileApplyConfiguration) WithMode(value int32) *DownwardAPIVolumeFileApplyConfiguration {
+ b.Mode = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go
new file mode 100644
index 000000000..a5f2cbf10
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go
@@ -0,0 +1,54 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// DownwardAPIVolumeSourceApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeSource type for use
+// with apply.
+type DownwardAPIVolumeSourceApplyConfiguration struct {
+ Items []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
+ DefaultMode *int32 `json:"defaultMode,omitempty"`
+}
+
+// DownwardAPIVolumeSourceApplyConfiguration constructs an declarative configuration of the DownwardAPIVolumeSource type for use with
+// apply.
+func DownwardAPIVolumeSource() *DownwardAPIVolumeSourceApplyConfiguration {
+ return &DownwardAPIVolumeSourceApplyConfiguration{}
+}
+
+// WithItems adds the given value to the Items field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Items field.
+func (b *DownwardAPIVolumeSourceApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIVolumeSourceApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithItems")
+ }
+ b.Items = append(b.Items, *values[i])
+ }
+ return b
+}
+
+// WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DefaultMode field is set to the value of the last call.
+func (b *DownwardAPIVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *DownwardAPIVolumeSourceApplyConfiguration {
+ b.DefaultMode = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go
new file mode 100644
index 000000000..a38acf01b
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go
@@ -0,0 +1,54 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+ resource "k8s.io/apimachinery/pkg/api/resource"
+)
+
+// EmptyDirVolumeSourceApplyConfiguration represents an declarative configuration of the EmptyDirVolumeSource type for use
+// with apply.
+type EmptyDirVolumeSourceApplyConfiguration struct {
+ Medium *v1.StorageMedium `json:"medium,omitempty"`
+ SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
+}
+
+// EmptyDirVolumeSourceApplyConfiguration constructs an declarative configuration of the EmptyDirVolumeSource type for use with
+// apply.
+func EmptyDirVolumeSource() *EmptyDirVolumeSourceApplyConfiguration {
+ return &EmptyDirVolumeSourceApplyConfiguration{}
+}
+
+// WithMedium sets the Medium field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Medium field is set to the value of the last call.
+func (b *EmptyDirVolumeSourceApplyConfiguration) WithMedium(value v1.StorageMedium) *EmptyDirVolumeSourceApplyConfiguration {
+ b.Medium = &value
+ return b
+}
+
+// WithSizeLimit sets the SizeLimit field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SizeLimit field is set to the value of the last call.
+func (b *EmptyDirVolumeSourceApplyConfiguration) WithSizeLimit(value resource.Quantity) *EmptyDirVolumeSourceApplyConfiguration {
+ b.SizeLimit = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go b/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go
new file mode 100644
index 000000000..1ab5230a0
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EndpointAddressApplyConfiguration represents an declarative configuration of the EndpointAddress type for use
+// with apply.
+type EndpointAddressApplyConfiguration struct {
+ IP *string `json:"ip,omitempty"`
+ Hostname *string `json:"hostname,omitempty"`
+ NodeName *string `json:"nodeName,omitempty"`
+ TargetRef *ObjectReferenceApplyConfiguration `json:"targetRef,omitempty"`
+}
+
+// EndpointAddressApplyConfiguration constructs an declarative configuration of the EndpointAddress type for use with
+// apply.
+func EndpointAddress() *EndpointAddressApplyConfiguration {
+ return &EndpointAddressApplyConfiguration{}
+}
+
+// WithIP sets the IP field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the IP field is set to the value of the last call.
+func (b *EndpointAddressApplyConfiguration) WithIP(value string) *EndpointAddressApplyConfiguration {
+ b.IP = &value
+ return b
+}
+
+// WithHostname sets the Hostname field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Hostname field is set to the value of the last call.
+func (b *EndpointAddressApplyConfiguration) WithHostname(value string) *EndpointAddressApplyConfiguration {
+ b.Hostname = &value
+ return b
+}
+
+// WithNodeName sets the NodeName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the NodeName field is set to the value of the last call.
+func (b *EndpointAddressApplyConfiguration) WithNodeName(value string) *EndpointAddressApplyConfiguration {
+ b.NodeName = &value
+ return b
+}
+
+// WithTargetRef sets the TargetRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TargetRef field is set to the value of the last call.
+func (b *EndpointAddressApplyConfiguration) WithTargetRef(value *ObjectReferenceApplyConfiguration) *EndpointAddressApplyConfiguration {
+ b.TargetRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointport.go b/pkg/client/camel/applyconfiguration/core/v1/endpointport.go
new file mode 100644
index 000000000..1cd6403a9
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/endpointport.go
@@ -0,0 +1,71 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// EndpointPortApplyConfiguration represents an declarative configuration of the EndpointPort type for use
+// with apply.
+type EndpointPortApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Port *int32 `json:"port,omitempty"`
+ Protocol *v1.Protocol `json:"protocol,omitempty"`
+ AppProtocol *string `json:"appProtocol,omitempty"`
+}
+
+// EndpointPortApplyConfiguration constructs an declarative configuration of the EndpointPort type for use with
+// apply.
+func EndpointPort() *EndpointPortApplyConfiguration {
+ return &EndpointPortApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *EndpointPortApplyConfiguration) WithName(value string) *EndpointPortApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithPort sets the Port field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Port field is set to the value of the last call.
+func (b *EndpointPortApplyConfiguration) WithPort(value int32) *EndpointPortApplyConfiguration {
+ b.Port = &value
+ return b
+}
+
+// WithProtocol sets the Protocol field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Protocol field is set to the value of the last call.
+func (b *EndpointPortApplyConfiguration) WithProtocol(value v1.Protocol) *EndpointPortApplyConfiguration {
+ b.Protocol = &value
+ return b
+}
+
+// WithAppProtocol sets the AppProtocol field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the AppProtocol field is set to the value of the last call.
+func (b *EndpointPortApplyConfiguration) WithAppProtocol(value string) *EndpointPortApplyConfiguration {
+ b.AppProtocol = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/core/v1/endpoints.go
similarity index 71%
copy from pkg/client/camel/applyconfiguration/camel/v1/build.go
copy to pkg/client/camel/applyconfiguration/core/v1/endpoints.go
index 7f4dbc514..11655eb9f 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/endpoints.go
@@ -20,35 +20,34 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// BuildApplyConfiguration represents an declarative configuration of the Build type for use
+// EndpointsApplyConfiguration represents an declarative configuration of the Endpoints type for use
// with apply.
-type BuildApplyConfiguration struct {
+type EndpointsApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *BuildSpecApplyConfiguration `json:"spec,omitempty"`
- Status *BuildStatusApplyConfiguration `json:"status,omitempty"`
+ Subsets []EndpointSubsetApplyConfiguration `json:"subsets,omitempty"`
}
-// Build constructs an declarative configuration of the Build type for use with
+// Endpoints constructs an declarative configuration of the Endpoints type for use with
// apply.
-func Build(name, namespace string) *BuildApplyConfiguration {
- b := &BuildApplyConfiguration{}
+func Endpoints(name, namespace string) *EndpointsApplyConfiguration {
+ b := &EndpointsApplyConfiguration{}
b.WithName(name)
b.WithNamespace(namespace)
- b.WithKind("Build")
- b.WithAPIVersion("camel.apache.org/v1")
+ b.WithKind("Endpoints")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithKind(value string) *EndpointsApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +55,7 @@ func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguratio
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithAPIVersion(value string) *EndpointsApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +63,7 @@ func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfig
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithName(value string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +72,7 @@ func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguratio
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithGenerateName(value string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +81,7 @@ func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConf
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithNamespace(value string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +90,7 @@ func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfigu
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithUID(value types.UID) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +99,7 @@ func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfigurat
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithResourceVersion(value string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +108,7 @@ func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyC
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithGeneration(value int64) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +117,7 @@ func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfigu
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +126,7 @@ func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Buil
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +135,7 @@ func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Buil
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +145,7 @@ func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *B
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithLabels(entries map[string]string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +160,7 @@ func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildAp
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithAnnotations(entries map[string]string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +174,7 @@ func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *Bu
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +188,7 @@ func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferen
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration {
+func (b *EndpointsApplyConfiguration) WithFinalizers(values ...string) *EndpointsApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,24 +196,21 @@ func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyCo
return b
}
-func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *EndpointsApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
}
-// WithSpec sets the Spec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration {
- b.Spec = value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration {
- b.Status = value
+// WithSubsets adds the given value to the Subsets field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Subsets field.
+func (b *EndpointsApplyConfiguration) WithSubsets(values ...*EndpointSubsetApplyConfiguration) *EndpointsApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithSubsets")
+ }
+ b.Subsets = append(b.Subsets, *values[i])
+ }
return b
}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go b/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go
new file mode 100644
index 000000000..9b272bceb
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go
@@ -0,0 +1,73 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EndpointSubsetApplyConfiguration represents an declarative configuration of the EndpointSubset type for use
+// with apply.
+type EndpointSubsetApplyConfiguration struct {
+ Addresses []EndpointAddressApplyConfiguration `json:"addresses,omitempty"`
+ NotReadyAddresses []EndpointAddressApplyConfiguration `json:"notReadyAddresses,omitempty"`
+ Ports []EndpointPortApplyConfiguration `json:"ports,omitempty"`
+}
+
+// EndpointSubsetApplyConfiguration constructs an declarative configuration of the EndpointSubset type for use with
+// apply.
+func EndpointSubset() *EndpointSubsetApplyConfiguration {
+ return &EndpointSubsetApplyConfiguration{}
+}
+
+// WithAddresses adds the given value to the Addresses field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Addresses field.
+func (b *EndpointSubsetApplyConfiguration) WithAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithAddresses")
+ }
+ b.Addresses = append(b.Addresses, *values[i])
+ }
+ return b
+}
+
+// WithNotReadyAddresses adds the given value to the NotReadyAddresses field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the NotReadyAddresses field.
+func (b *EndpointSubsetApplyConfiguration) WithNotReadyAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithNotReadyAddresses")
+ }
+ b.NotReadyAddresses = append(b.NotReadyAddresses, *values[i])
+ }
+ return b
+}
+
+// WithPorts adds the given value to the Ports field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ports field.
+func (b *EndpointSubsetApplyConfiguration) WithPorts(values ...*EndpointPortApplyConfiguration) *EndpointSubsetApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPorts")
+ }
+ b.Ports = append(b.Ports, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go b/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go
new file mode 100644
index 000000000..9ddeb74e3
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EnvFromSourceApplyConfiguration represents an declarative configuration of the EnvFromSource type for use
+// with apply.
+type EnvFromSourceApplyConfiguration struct {
+ Prefix *string `json:"prefix,omitempty"`
+ ConfigMapRef *ConfigMapEnvSourceApplyConfiguration `json:"configMapRef,omitempty"`
+ SecretRef *SecretEnvSourceApplyConfiguration `json:"secretRef,omitempty"`
+}
+
+// EnvFromSourceApplyConfiguration constructs an declarative configuration of the EnvFromSource type for use with
+// apply.
+func EnvFromSource() *EnvFromSourceApplyConfiguration {
+ return &EnvFromSourceApplyConfiguration{}
+}
+
+// WithPrefix sets the Prefix field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Prefix field is set to the value of the last call.
+func (b *EnvFromSourceApplyConfiguration) WithPrefix(value string) *EnvFromSourceApplyConfiguration {
+ b.Prefix = &value
+ return b
+}
+
+// WithConfigMapRef sets the ConfigMapRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ConfigMapRef field is set to the value of the last call.
+func (b *EnvFromSourceApplyConfiguration) WithConfigMapRef(value *ConfigMapEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration {
+ b.ConfigMapRef = value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *EnvFromSourceApplyConfiguration) WithSecretRef(value *SecretEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envvar.go b/pkg/client/camel/applyconfiguration/core/v1/envvar.go
new file mode 100644
index 000000000..f25046497
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/envvar.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EnvVarApplyConfiguration represents an declarative configuration of the EnvVar type for use
+// with apply.
+type EnvVarApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Value *string `json:"value,omitempty"`
+ ValueFrom *EnvVarSourceApplyConfiguration `json:"valueFrom,omitempty"`
+}
+
+// EnvVarApplyConfiguration constructs an declarative configuration of the EnvVar type for use with
+// apply.
+func EnvVar() *EnvVarApplyConfiguration {
+ return &EnvVarApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *EnvVarApplyConfiguration) WithName(value string) *EnvVarApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithValue sets the Value field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Value field is set to the value of the last call.
+func (b *EnvVarApplyConfiguration) WithValue(value string) *EnvVarApplyConfiguration {
+ b.Value = &value
+ return b
+}
+
+// WithValueFrom sets the ValueFrom field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ValueFrom field is set to the value of the last call.
+func (b *EnvVarApplyConfiguration) WithValueFrom(value *EnvVarSourceApplyConfiguration) *EnvVarApplyConfiguration {
+ b.ValueFrom = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go b/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go
new file mode 100644
index 000000000..0561c776f
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EnvVarSourceApplyConfiguration represents an declarative configuration of the EnvVarSource type for use
+// with apply.
+type EnvVarSourceApplyConfiguration struct {
+ FieldRef *ObjectFieldSelectorApplyConfiguration `json:"fieldRef,omitempty"`
+ ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
+ ConfigMapKeyRef *ConfigMapKeySelectorApplyConfiguration `json:"configMapKeyRef,omitempty"`
+ SecretKeyRef *SecretKeySelectorApplyConfiguration `json:"secretKeyRef,omitempty"`
+}
+
+// EnvVarSourceApplyConfiguration constructs an declarative configuration of the EnvVarSource type for use with
+// apply.
+func EnvVarSource() *EnvVarSourceApplyConfiguration {
+ return &EnvVarSourceApplyConfiguration{}
+}
+
+// WithFieldRef sets the FieldRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FieldRef field is set to the value of the last call.
+func (b *EnvVarSourceApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
+ b.FieldRef = value
+ return b
+}
+
+// WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ResourceFieldRef field is set to the value of the last call.
+func (b *EnvVarSourceApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
+ b.ResourceFieldRef = value
+ return b
+}
+
+// WithConfigMapKeyRef sets the ConfigMapKeyRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ConfigMapKeyRef field is set to the value of the last call.
+func (b *EnvVarSourceApplyConfiguration) WithConfigMapKeyRef(value *ConfigMapKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
+ b.ConfigMapKeyRef = value
+ return b
+}
+
+// WithSecretKeyRef sets the SecretKeyRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretKeyRef field is set to the value of the last call.
+func (b *EnvVarSourceApplyConfiguration) WithSecretKeyRef(value *SecretKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
+ b.SecretKeyRef = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go
new file mode 100644
index 000000000..22bd2aaba
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go
@@ -0,0 +1,250 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ corev1 "k8s.io/api/core/v1"
+)
+
+// EphemeralContainerApplyConfiguration represents an declarative configuration of the EphemeralContainer type for use
+// with apply.
+type EphemeralContainerApplyConfiguration struct {
+ EphemeralContainerCommonApplyConfiguration `json:",inline"`
+ TargetContainerName *string `json:"targetContainerName,omitempty"`
+}
+
+// EphemeralContainerApplyConfiguration constructs an declarative configuration of the EphemeralContainer type for use with
+// apply.
+func EphemeralContainer() *EphemeralContainerApplyConfiguration {
+ return &EphemeralContainerApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithName(value string) *EphemeralContainerApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithImage sets the Image field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Image field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithImage(value string) *EphemeralContainerApplyConfiguration {
+ b.Image = &value
+ return b
+}
+
+// WithCommand adds the given value to the Command field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Command field.
+func (b *EphemeralContainerApplyConfiguration) WithCommand(values ...string) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ b.Command = append(b.Command, values[i])
+ }
+ return b
+}
+
+// WithArgs adds the given value to the Args field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Args field.
+func (b *EphemeralContainerApplyConfiguration) WithArgs(values ...string) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ b.Args = append(b.Args, values[i])
+ }
+ return b
+}
+
+// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the WorkingDir field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerApplyConfiguration {
+ b.WorkingDir = &value
+ return b
+}
+
+// WithPorts adds the given value to the Ports field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ports field.
+func (b *EphemeralContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPorts")
+ }
+ b.Ports = append(b.Ports, *values[i])
+ }
+ return b
+}
+
+// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the EnvFrom field.
+func (b *EphemeralContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnvFrom")
+ }
+ b.EnvFrom = append(b.EnvFrom, *values[i])
+ }
+ return b
+}
+
+// WithEnv adds the given value to the Env field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Env field.
+func (b *EphemeralContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnv")
+ }
+ b.Env = append(b.Env, *values[i])
+ }
+ return b
+}
+
+// WithResources sets the Resources field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Resources field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.Resources = value
+ return b
+}
+
+// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
+func (b *EphemeralContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeMounts")
+ }
+ b.VolumeMounts = append(b.VolumeMounts, *values[i])
+ }
+ return b
+}
+
+// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
+func (b *EphemeralContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeDevices")
+ }
+ b.VolumeDevices = append(b.VolumeDevices, *values[i])
+ }
+ return b
+}
+
+// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LivenessProbe field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.LivenessProbe = value
+ return b
+}
+
+// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadinessProbe field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.ReadinessProbe = value
+ return b
+}
+
+// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StartupProbe field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.StartupProbe = value
+ return b
+}
+
+// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lifecycle field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.Lifecycle = value
+ return b
+}
+
+// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerApplyConfiguration {
+ b.TerminationMessagePath = &value
+ return b
+}
+
+// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerApplyConfiguration {
+ b.TerminationMessagePolicy = &value
+ return b
+}
+
+// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerApplyConfiguration {
+ b.ImagePullPolicy = &value
+ return b
+}
+
+// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecurityContext field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerApplyConfiguration {
+ b.SecurityContext = value
+ return b
+}
+
+// WithStdin sets the Stdin field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Stdin field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithStdin(value bool) *EphemeralContainerApplyConfiguration {
+ b.Stdin = &value
+ return b
+}
+
+// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StdinOnce field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerApplyConfiguration {
+ b.StdinOnce = &value
+ return b
+}
+
+// WithTTY sets the TTY field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TTY field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithTTY(value bool) *EphemeralContainerApplyConfiguration {
+ b.TTY = &value
+ return b
+}
+
+// WithTargetContainerName sets the TargetContainerName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TargetContainerName field is set to the value of the last call.
+func (b *EphemeralContainerApplyConfiguration) WithTargetContainerName(value string) *EphemeralContainerApplyConfiguration {
+ b.TargetContainerName = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go
new file mode 100644
index 000000000..88ff16231
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go
@@ -0,0 +1,262 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ corev1 "k8s.io/api/core/v1"
+)
+
+// EphemeralContainerCommonApplyConfiguration represents an declarative configuration of the EphemeralContainerCommon type for use
+// with apply.
+type EphemeralContainerCommonApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Image *string `json:"image,omitempty"`
+ Command []string `json:"command,omitempty"`
+ Args []string `json:"args,omitempty"`
+ WorkingDir *string `json:"workingDir,omitempty"`
+ Ports []ContainerPortApplyConfiguration `json:"ports,omitempty"`
+ EnvFrom []EnvFromSourceApplyConfiguration `json:"envFrom,omitempty"`
+ Env []EnvVarApplyConfiguration `json:"env,omitempty"`
+ Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
+ VolumeMounts []VolumeMountApplyConfiguration `json:"volumeMounts,omitempty"`
+ VolumeDevices []VolumeDeviceApplyConfiguration `json:"volumeDevices,omitempty"`
+ LivenessProbe *ProbeApplyConfiguration `json:"livenessProbe,omitempty"`
+ ReadinessProbe *ProbeApplyConfiguration `json:"readinessProbe,omitempty"`
+ StartupProbe *ProbeApplyConfiguration `json:"startupProbe,omitempty"`
+ Lifecycle *LifecycleApplyConfiguration `json:"lifecycle,omitempty"`
+ TerminationMessagePath *string `json:"terminationMessagePath,omitempty"`
+ TerminationMessagePolicy *corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"`
+ ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
+ SecurityContext *SecurityContextApplyConfiguration `json:"securityContext,omitempty"`
+ Stdin *bool `json:"stdin,omitempty"`
+ StdinOnce *bool `json:"stdinOnce,omitempty"`
+ TTY *bool `json:"tty,omitempty"`
+}
+
+// EphemeralContainerCommonApplyConfiguration constructs an declarative configuration of the EphemeralContainerCommon type for use with
+// apply.
+func EphemeralContainerCommon() *EphemeralContainerCommonApplyConfiguration {
+ return &EphemeralContainerCommonApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithName(value string) *EphemeralContainerCommonApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithImage sets the Image field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Image field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithImage(value string) *EphemeralContainerCommonApplyConfiguration {
+ b.Image = &value
+ return b
+}
+
+// WithCommand adds the given value to the Command field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Command field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithCommand(values ...string) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ b.Command = append(b.Command, values[i])
+ }
+ return b
+}
+
+// WithArgs adds the given value to the Args field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Args field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithArgs(values ...string) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ b.Args = append(b.Args, values[i])
+ }
+ return b
+}
+
+// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the WorkingDir field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerCommonApplyConfiguration {
+ b.WorkingDir = &value
+ return b
+}
+
+// WithPorts adds the given value to the Ports field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ports field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPorts")
+ }
+ b.Ports = append(b.Ports, *values[i])
+ }
+ return b
+}
+
+// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the EnvFrom field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnvFrom")
+ }
+ b.EnvFrom = append(b.EnvFrom, *values[i])
+ }
+ return b
+}
+
+// WithEnv adds the given value to the Env field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Env field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithEnv")
+ }
+ b.Env = append(b.Env, *values[i])
+ }
+ return b
+}
+
+// WithResources sets the Resources field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Resources field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.Resources = value
+ return b
+}
+
+// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeMounts")
+ }
+ b.VolumeMounts = append(b.VolumeMounts, *values[i])
+ }
+ return b
+}
+
+// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
+func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithVolumeDevices")
+ }
+ b.VolumeDevices = append(b.VolumeDevices, *values[i])
+ }
+ return b
+}
+
+// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LivenessProbe field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.LivenessProbe = value
+ return b
+}
+
+// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadinessProbe field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.ReadinessProbe = value
+ return b
+}
+
+// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StartupProbe field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.StartupProbe = value
+ return b
+}
+
+// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lifecycle field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.Lifecycle = value
+ return b
+}
+
+// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerCommonApplyConfiguration {
+ b.TerminationMessagePath = &value
+ return b
+}
+
+// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerCommonApplyConfiguration {
+ b.TerminationMessagePolicy = &value
+ return b
+}
+
+// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerCommonApplyConfiguration {
+ b.ImagePullPolicy = &value
+ return b
+}
+
+// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecurityContext field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
+ b.SecurityContext = value
+ return b
+}
+
+// WithStdin sets the Stdin field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Stdin field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithStdin(value bool) *EphemeralContainerCommonApplyConfiguration {
+ b.Stdin = &value
+ return b
+}
+
+// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the StdinOnce field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerCommonApplyConfiguration {
+ b.StdinOnce = &value
+ return b
+}
+
+// WithTTY sets the TTY field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TTY field is set to the value of the last call.
+func (b *EphemeralContainerCommonApplyConfiguration) WithTTY(value bool) *EphemeralContainerCommonApplyConfiguration {
+ b.TTY = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go
new file mode 100644
index 000000000..193096f69
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EphemeralVolumeSourceApplyConfiguration represents an declarative configuration of the EphemeralVolumeSource type for use
+// with apply.
+type EphemeralVolumeSourceApplyConfiguration struct {
+ VolumeClaimTemplate *PersistentVolumeClaimTemplateApplyConfiguration `json:"volumeClaimTemplate,omitempty"`
+}
+
+// EphemeralVolumeSourceApplyConfiguration constructs an declarative configuration of the EphemeralVolumeSource type for use with
+// apply.
+func EphemeralVolumeSource() *EphemeralVolumeSourceApplyConfiguration {
+ return &EphemeralVolumeSourceApplyConfiguration{}
+}
+
+// WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the VolumeClaimTemplate field is set to the value of the last call.
+func (b *EphemeralVolumeSourceApplyConfiguration) WithVolumeClaimTemplate(value *PersistentVolumeClaimTemplateApplyConfiguration) *EphemeralVolumeSourceApplyConfiguration {
+ b.VolumeClaimTemplate = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/event.go b/pkg/client/camel/applyconfiguration/core/v1/event.go
new file mode 100644
index 000000000..f9193d2f6
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/event.go
@@ -0,0 +1,328 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ types "k8s.io/apimachinery/pkg/types"
+)
+
+// EventApplyConfiguration represents an declarative configuration of the Event type for use
+// with apply.
+type EventApplyConfiguration struct {
+ v1.TypeMetaApplyConfiguration `json:",inline"`
+ *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
+ InvolvedObject *ObjectReferenceApplyConfiguration `json:"involvedObject,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
+ Source *EventSourceApplyConfiguration `json:"source,omitempty"`
+ FirstTimestamp *metav1.Time `json:"firstTimestamp,omitempty"`
+ LastTimestamp *metav1.Time `json:"lastTimestamp,omitempty"`
+ Count *int32 `json:"count,omitempty"`
+ Type *string `json:"type,omitempty"`
+ EventTime *metav1.MicroTime `json:"eventTime,omitempty"`
+ Series *EventSeriesApplyConfiguration `json:"series,omitempty"`
+ Action *string `json:"action,omitempty"`
+ Related *ObjectReferenceApplyConfiguration `json:"related,omitempty"`
+ ReportingController *string `json:"reportingComponent,omitempty"`
+ ReportingInstance *string `json:"reportingInstance,omitempty"`
+}
+
+// Event constructs an declarative configuration of the Event type for use with
+// apply.
+func Event(name, namespace string) *EventApplyConfiguration {
+ b := &EventApplyConfiguration{}
+ b.WithName(name)
+ b.WithNamespace(namespace)
+ b.WithKind("Event")
+ b.WithAPIVersion("v1")
+ return b
+}
+
+// WithKind sets the Kind field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Kind field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithKind(value string) *EventApplyConfiguration {
+ b.Kind = &value
+ return b
+}
+
+// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the APIVersion field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithAPIVersion(value string) *EventApplyConfiguration {
+ b.APIVersion = &value
+ return b
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithName(value string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.Name = &value
+ return b
+}
+
+// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the GenerateName field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithGenerateName(value string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.GenerateName = &value
+ return b
+}
+
+// WithNamespace sets the Namespace field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Namespace field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithNamespace(value string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.Namespace = &value
+ return b
+}
+
+// WithUID sets the UID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the UID field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithUID(value types.UID) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.UID = &value
+ return b
+}
+
+// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ResourceVersion field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithResourceVersion(value string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.ResourceVersion = &value
+ return b
+}
+
+// WithGeneration sets the Generation field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Generation field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithGeneration(value int64) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.Generation = &value
+ return b
+}
+
+// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the CreationTimestamp field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.CreationTimestamp = &value
+ return b
+}
+
+// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.DeletionTimestamp = &value
+ return b
+}
+
+// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ b.DeletionGracePeriodSeconds = &value
+ return b
+}
+
+// WithLabels puts the entries into the Labels field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the Labels field,
+// overwriting an existing map entries in Labels field with the same key.
+func (b *EventApplyConfiguration) WithLabels(entries map[string]string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ if b.Labels == nil && len(entries) > 0 {
+ b.Labels = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.Labels[k] = v
+ }
+ return b
+}
+
+// WithAnnotations puts the entries into the Annotations field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the Annotations field,
+// overwriting an existing map entries in Annotations field with the same key.
+func (b *EventApplyConfiguration) WithAnnotations(entries map[string]string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ if b.Annotations == nil && len(entries) > 0 {
+ b.Annotations = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.Annotations[k] = v
+ }
+ return b
+}
+
+// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
+func (b *EventApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithOwnerReferences")
+ }
+ b.OwnerReferences = append(b.OwnerReferences, *values[i])
+ }
+ return b
+}
+
+// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Finalizers field.
+func (b *EventApplyConfiguration) WithFinalizers(values ...string) *EventApplyConfiguration {
+ b.ensureObjectMetaApplyConfigurationExists()
+ for i := range values {
+ b.Finalizers = append(b.Finalizers, values[i])
+ }
+ return b
+}
+
+func (b *EventApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+ if b.ObjectMetaApplyConfiguration == nil {
+ b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
+ }
+}
+
+// WithInvolvedObject sets the InvolvedObject field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the InvolvedObject field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithInvolvedObject(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration {
+ b.InvolvedObject = value
+ return b
+}
+
+// WithReason sets the Reason field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Reason field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithReason(value string) *EventApplyConfiguration {
+ b.Reason = &value
+ return b
+}
+
+// WithMessage sets the Message field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Message field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithMessage(value string) *EventApplyConfiguration {
+ b.Message = &value
+ return b
+}
+
+// WithSource sets the Source field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Source field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithSource(value *EventSourceApplyConfiguration) *EventApplyConfiguration {
+ b.Source = value
+ return b
+}
+
+// WithFirstTimestamp sets the FirstTimestamp field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FirstTimestamp field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithFirstTimestamp(value metav1.Time) *EventApplyConfiguration {
+ b.FirstTimestamp = &value
+ return b
+}
+
+// WithLastTimestamp sets the LastTimestamp field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LastTimestamp field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithLastTimestamp(value metav1.Time) *EventApplyConfiguration {
+ b.LastTimestamp = &value
+ return b
+}
+
+// WithCount sets the Count field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Count field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithCount(value int32) *EventApplyConfiguration {
+ b.Count = &value
+ return b
+}
+
+// WithType sets the Type field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Type field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithType(value string) *EventApplyConfiguration {
+ b.Type = &value
+ return b
+}
+
+// WithEventTime sets the EventTime field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the EventTime field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithEventTime(value metav1.MicroTime) *EventApplyConfiguration {
+ b.EventTime = &value
+ return b
+}
+
+// WithSeries sets the Series field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Series field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithSeries(value *EventSeriesApplyConfiguration) *EventApplyConfiguration {
+ b.Series = value
+ return b
+}
+
+// WithAction sets the Action field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Action field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithAction(value string) *EventApplyConfiguration {
+ b.Action = &value
+ return b
+}
+
+// WithRelated sets the Related field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Related field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithRelated(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration {
+ b.Related = value
+ return b
+}
+
+// WithReportingController sets the ReportingController field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReportingController field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithReportingController(value string) *EventApplyConfiguration {
+ b.ReportingController = &value
+ return b
+}
+
+// WithReportingInstance sets the ReportingInstance field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReportingInstance field is set to the value of the last call.
+func (b *EventApplyConfiguration) WithReportingInstance(value string) *EventApplyConfiguration {
+ b.ReportingInstance = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/eventseries.go b/pkg/client/camel/applyconfiguration/core/v1/eventseries.go
new file mode 100644
index 000000000..a50e94c64
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/eventseries.go
@@ -0,0 +1,53 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// EventSeriesApplyConfiguration represents an declarative configuration of the EventSeries type for use
+// with apply.
+type EventSeriesApplyConfiguration struct {
+ Count *int32 `json:"count,omitempty"`
+ LastObservedTime *v1.MicroTime `json:"lastObservedTime,omitempty"`
+}
+
+// EventSeriesApplyConfiguration constructs an declarative configuration of the EventSeries type for use with
+// apply.
+func EventSeries() *EventSeriesApplyConfiguration {
+ return &EventSeriesApplyConfiguration{}
+}
+
+// WithCount sets the Count field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Count field is set to the value of the last call.
+func (b *EventSeriesApplyConfiguration) WithCount(value int32) *EventSeriesApplyConfiguration {
+ b.Count = &value
+ return b
+}
+
+// WithLastObservedTime sets the LastObservedTime field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LastObservedTime field is set to the value of the last call.
+func (b *EventSeriesApplyConfiguration) WithLastObservedTime(value v1.MicroTime) *EventSeriesApplyConfiguration {
+ b.LastObservedTime = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/eventsource.go b/pkg/client/camel/applyconfiguration/core/v1/eventsource.go
new file mode 100644
index 000000000..91084e470
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/eventsource.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// EventSourceApplyConfiguration represents an declarative configuration of the EventSource type for use
+// with apply.
+type EventSourceApplyConfiguration struct {
+ Component *string `json:"component,omitempty"`
+ Host *string `json:"host,omitempty"`
+}
+
+// EventSourceApplyConfiguration constructs an declarative configuration of the EventSource type for use with
+// apply.
+func EventSource() *EventSourceApplyConfiguration {
+ return &EventSourceApplyConfiguration{}
+}
+
+// WithComponent sets the Component field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Component field is set to the value of the last call.
+func (b *EventSourceApplyConfiguration) WithComponent(value string) *EventSourceApplyConfiguration {
+ b.Component = &value
+ return b
+}
+
+// WithHost sets the Host field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Host field is set to the value of the last call.
+func (b *EventSourceApplyConfiguration) WithHost(value string) *EventSourceApplyConfiguration {
+ b.Host = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/execaction.go b/pkg/client/camel/applyconfiguration/core/v1/execaction.go
new file mode 100644
index 000000000..b59ab0679
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/execaction.go
@@ -0,0 +1,42 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ExecActionApplyConfiguration represents an declarative configuration of the ExecAction type for use
+// with apply.
+type ExecActionApplyConfiguration struct {
+ Command []string `json:"command,omitempty"`
+}
+
+// ExecActionApplyConfiguration constructs an declarative configuration of the ExecAction type for use with
+// apply.
+func ExecAction() *ExecActionApplyConfiguration {
+ return &ExecActionApplyConfiguration{}
+}
+
+// WithCommand adds the given value to the Command field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Command field.
+func (b *ExecActionApplyConfiguration) WithCommand(values ...string) *ExecActionApplyConfiguration {
+ for i := range values {
+ b.Command = append(b.Command, values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go
new file mode 100644
index 000000000..17c3a4861
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go
@@ -0,0 +1,80 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// FCVolumeSourceApplyConfiguration represents an declarative configuration of the FCVolumeSource type for use
+// with apply.
+type FCVolumeSourceApplyConfiguration struct {
+ TargetWWNs []string `json:"targetWWNs,omitempty"`
+ Lun *int32 `json:"lun,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ WWIDs []string `json:"wwids,omitempty"`
+}
+
+// FCVolumeSourceApplyConfiguration constructs an declarative configuration of the FCVolumeSource type for use with
+// apply.
+func FCVolumeSource() *FCVolumeSourceApplyConfiguration {
+ return &FCVolumeSourceApplyConfiguration{}
+}
+
+// WithTargetWWNs adds the given value to the TargetWWNs field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the TargetWWNs field.
+func (b *FCVolumeSourceApplyConfiguration) WithTargetWWNs(values ...string) *FCVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.TargetWWNs = append(b.TargetWWNs, values[i])
+ }
+ return b
+}
+
+// WithLun sets the Lun field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lun field is set to the value of the last call.
+func (b *FCVolumeSourceApplyConfiguration) WithLun(value int32) *FCVolumeSourceApplyConfiguration {
+ b.Lun = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *FCVolumeSourceApplyConfiguration) WithFSType(value string) *FCVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *FCVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FCVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithWWIDs adds the given value to the WWIDs field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the WWIDs field.
+func (b *FCVolumeSourceApplyConfiguration) WithWWIDs(values ...string) *FCVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.WWIDs = append(b.WWIDs, values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go
new file mode 100644
index 000000000..092be9a02
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go
@@ -0,0 +1,82 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// FlexPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the FlexPersistentVolumeSource type for use
+// with apply.
+type FlexPersistentVolumeSourceApplyConfiguration struct {
+ Driver *string `json:"driver,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ Options map[string]string `json:"options,omitempty"`
+}
+
+// FlexPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the FlexPersistentVolumeSource type for use with
+// apply.
+func FlexPersistentVolumeSource() *FlexPersistentVolumeSourceApplyConfiguration {
+ return &FlexPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithDriver sets the Driver field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Driver field is set to the value of the last call.
+func (b *FlexPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *FlexPersistentVolumeSourceApplyConfiguration {
+ b.Driver = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *FlexPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *FlexPersistentVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *FlexPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *FlexPersistentVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *FlexPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithOptions puts the entries into the Options field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the Options field,
+// overwriting an existing map entries in Options field with the same key.
+func (b *FlexPersistentVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexPersistentVolumeSourceApplyConfiguration {
+ if b.Options == nil && len(entries) > 0 {
+ b.Options = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.Options[k] = v
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go
new file mode 100644
index 000000000..da3f6709f
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go
@@ -0,0 +1,82 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// FlexVolumeSourceApplyConfiguration represents an declarative configuration of the FlexVolumeSource type for use
+// with apply.
+type FlexVolumeSourceApplyConfiguration struct {
+ Driver *string `json:"driver,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ Options map[string]string `json:"options,omitempty"`
+}
+
+// FlexVolumeSourceApplyConfiguration constructs an declarative configuration of the FlexVolumeSource type for use with
+// apply.
+func FlexVolumeSource() *FlexVolumeSourceApplyConfiguration {
+ return &FlexVolumeSourceApplyConfiguration{}
+}
+
+// WithDriver sets the Driver field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Driver field is set to the value of the last call.
+func (b *FlexVolumeSourceApplyConfiguration) WithDriver(value string) *FlexVolumeSourceApplyConfiguration {
+ b.Driver = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *FlexVolumeSourceApplyConfiguration) WithFSType(value string) *FlexVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *FlexVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *FlexVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *FlexVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithOptions puts the entries into the Options field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, the entries provided by each call will be put on the Options field,
+// overwriting an existing map entries in Options field with the same key.
+func (b *FlexVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexVolumeSourceApplyConfiguration {
+ if b.Options == nil && len(entries) > 0 {
+ b.Options = make(map[string]string, len(entries))
+ }
+ for k, v := range entries {
+ b.Options[k] = v
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go
new file mode 100644
index 000000000..fddc0217e
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// FlockerVolumeSourceApplyConfiguration represents an declarative configuration of the FlockerVolumeSource type for use
+// with apply.
+type FlockerVolumeSourceApplyConfiguration struct {
+ DatasetName *string `json:"datasetName,omitempty"`
+ DatasetUUID *string `json:"datasetUUID,omitempty"`
+}
+
+// FlockerVolumeSourceApplyConfiguration constructs an declarative configuration of the FlockerVolumeSource type for use with
+// apply.
+func FlockerVolumeSource() *FlockerVolumeSourceApplyConfiguration {
+ return &FlockerVolumeSourceApplyConfiguration{}
+}
+
+// WithDatasetName sets the DatasetName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DatasetName field is set to the value of the last call.
+func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetName(value string) *FlockerVolumeSourceApplyConfiguration {
+ b.DatasetName = &value
+ return b
+}
+
+// WithDatasetUUID sets the DatasetUUID field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DatasetUUID field is set to the value of the last call.
+func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetUUID(value string) *FlockerVolumeSourceApplyConfiguration {
+ b.DatasetUUID = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go
new file mode 100644
index 000000000..4f55a7096
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// GCEPersistentDiskVolumeSourceApplyConfiguration represents an declarative configuration of the GCEPersistentDiskVolumeSource type for use
+// with apply.
+type GCEPersistentDiskVolumeSourceApplyConfiguration struct {
+ PDName *string `json:"pdName,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ Partition *int32 `json:"partition,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// GCEPersistentDiskVolumeSourceApplyConfiguration constructs an declarative configuration of the GCEPersistentDiskVolumeSource type for use with
+// apply.
+func GCEPersistentDiskVolumeSource() *GCEPersistentDiskVolumeSourceApplyConfiguration {
+ return &GCEPersistentDiskVolumeSourceApplyConfiguration{}
+}
+
+// WithPDName sets the PDName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the PDName field is set to the value of the last call.
+func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPDName(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration {
+ b.PDName = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithFSType(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithPartition sets the Partition field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Partition field is set to the value of the last call.
+func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPartition(value int32) *GCEPersistentDiskVolumeSourceApplyConfiguration {
+ b.Partition = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GCEPersistentDiskVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go
new file mode 100644
index 000000000..c8d2febf4
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// GitRepoVolumeSourceApplyConfiguration represents an declarative configuration of the GitRepoVolumeSource type for use
+// with apply.
+type GitRepoVolumeSourceApplyConfiguration struct {
+ Repository *string `json:"repository,omitempty"`
+ Revision *string `json:"revision,omitempty"`
+ Directory *string `json:"directory,omitempty"`
+}
+
+// GitRepoVolumeSourceApplyConfiguration constructs an declarative configuration of the GitRepoVolumeSource type for use with
+// apply.
+func GitRepoVolumeSource() *GitRepoVolumeSourceApplyConfiguration {
+ return &GitRepoVolumeSourceApplyConfiguration{}
+}
+
+// WithRepository sets the Repository field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Repository field is set to the value of the last call.
+func (b *GitRepoVolumeSourceApplyConfiguration) WithRepository(value string) *GitRepoVolumeSourceApplyConfiguration {
+ b.Repository = &value
+ return b
+}
+
+// WithRevision sets the Revision field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Revision field is set to the value of the last call.
+func (b *GitRepoVolumeSourceApplyConfiguration) WithRevision(value string) *GitRepoVolumeSourceApplyConfiguration {
+ b.Revision = &value
+ return b
+}
+
+// WithDirectory sets the Directory field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Directory field is set to the value of the last call.
+func (b *GitRepoVolumeSourceApplyConfiguration) WithDirectory(value string) *GitRepoVolumeSourceApplyConfiguration {
+ b.Directory = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go
new file mode 100644
index 000000000..c66f77a08
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// GlusterfsPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsPersistentVolumeSource type for use
+// with apply.
+type GlusterfsPersistentVolumeSourceApplyConfiguration struct {
+ EndpointsName *string `json:"endpoints,omitempty"`
+ Path *string `json:"path,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ EndpointsNamespace *string `json:"endpointsNamespace,omitempty"`
+}
+
+// GlusterfsPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the GlusterfsPersistentVolumeSource type for use with
+// apply.
+func GlusterfsPersistentVolumeSource() *GlusterfsPersistentVolumeSourceApplyConfiguration {
+ return &GlusterfsPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the EndpointsName field is set to the value of the last call.
+func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
+ b.EndpointsName = &value
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithEndpointsNamespace sets the EndpointsNamespace field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the EndpointsNamespace field is set to the value of the last call.
+func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsNamespace(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
+ b.EndpointsNamespace = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go
new file mode 100644
index 000000000..85e65d80b
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// GlusterfsVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsVolumeSource type for use
+// with apply.
+type GlusterfsVolumeSourceApplyConfiguration struct {
+ EndpointsName *string `json:"endpoints,omitempty"`
+ Path *string `json:"path,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// GlusterfsVolumeSourceApplyConfiguration constructs an declarative configuration of the GlusterfsVolumeSource type for use with
+// apply.
+func GlusterfsVolumeSource() *GlusterfsVolumeSourceApplyConfiguration {
+ return &GlusterfsVolumeSourceApplyConfiguration{}
+}
+
+// WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the EndpointsName field is set to the value of the last call.
+func (b *GlusterfsVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsVolumeSourceApplyConfiguration {
+ b.EndpointsName = &value
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *GlusterfsVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *GlusterfsVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go b/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go
new file mode 100644
index 000000000..e636755ad
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// GRPCActionApplyConfiguration represents an declarative configuration of the GRPCAction type for use
+// with apply.
+type GRPCActionApplyConfiguration struct {
+ Port *int32 `json:"port,omitempty"`
+ Service *string `json:"service,omitempty"`
+}
+
+// GRPCActionApplyConfiguration constructs an declarative configuration of the GRPCAction type for use with
+// apply.
+func GRPCAction() *GRPCActionApplyConfiguration {
+ return &GRPCActionApplyConfiguration{}
+}
+
+// WithPort sets the Port field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Port field is set to the value of the last call.
+func (b *GRPCActionApplyConfiguration) WithPort(value int32) *GRPCActionApplyConfiguration {
+ b.Port = &value
+ return b
+}
+
+// WithService sets the Service field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Service field is set to the value of the last call.
+func (b *GRPCActionApplyConfiguration) WithService(value string) *GRPCActionApplyConfiguration {
+ b.Service = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/hostalias.go b/pkg/client/camel/applyconfiguration/core/v1/hostalias.go
new file mode 100644
index 000000000..3189de463
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/hostalias.go
@@ -0,0 +1,51 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use
+// with apply.
+type HostAliasApplyConfiguration struct {
+ IP *string `json:"ip,omitempty"`
+ Hostnames []string `json:"hostnames,omitempty"`
+}
+
+// HostAliasApplyConfiguration constructs an declarative configuration of the HostAlias type for use with
+// apply.
+func HostAlias() *HostAliasApplyConfiguration {
+ return &HostAliasApplyConfiguration{}
+}
+
+// WithIP sets the IP field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the IP field is set to the value of the last call.
+func (b *HostAliasApplyConfiguration) WithIP(value string) *HostAliasApplyConfiguration {
+ b.IP = &value
+ return b
+}
+
+// WithHostnames adds the given value to the Hostnames field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Hostnames field.
+func (b *HostAliasApplyConfiguration) WithHostnames(values ...string) *HostAliasApplyConfiguration {
+ for i := range values {
+ b.Hostnames = append(b.Hostnames, values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go
new file mode 100644
index 000000000..66d6f4724
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go
@@ -0,0 +1,53 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// HostPathVolumeSourceApplyConfiguration represents an declarative configuration of the HostPathVolumeSource type for use
+// with apply.
+type HostPathVolumeSourceApplyConfiguration struct {
+ Path *string `json:"path,omitempty"`
+ Type *v1.HostPathType `json:"type,omitempty"`
+}
+
+// HostPathVolumeSourceApplyConfiguration constructs an declarative configuration of the HostPathVolumeSource type for use with
+// apply.
+func HostPathVolumeSource() *HostPathVolumeSourceApplyConfiguration {
+ return &HostPathVolumeSourceApplyConfiguration{}
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *HostPathVolumeSourceApplyConfiguration) WithPath(value string) *HostPathVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithType sets the Type field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Type field is set to the value of the last call.
+func (b *HostPathVolumeSourceApplyConfiguration) WithType(value v1.HostPathType) *HostPathVolumeSourceApplyConfiguration {
+ b.Type = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go b/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go
new file mode 100644
index 000000000..bbac0db2a
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go
@@ -0,0 +1,86 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+ intstr "k8s.io/apimachinery/pkg/util/intstr"
+)
+
+// HTTPGetActionApplyConfiguration represents an declarative configuration of the HTTPGetAction type for use
+// with apply.
+type HTTPGetActionApplyConfiguration struct {
+ Path *string `json:"path,omitempty"`
+ Port *intstr.IntOrString `json:"port,omitempty"`
+ Host *string `json:"host,omitempty"`
+ Scheme *v1.URIScheme `json:"scheme,omitempty"`
+ HTTPHeaders []HTTPHeaderApplyConfiguration `json:"httpHeaders,omitempty"`
+}
+
+// HTTPGetActionApplyConfiguration constructs an declarative configuration of the HTTPGetAction type for use with
+// apply.
+func HTTPGetAction() *HTTPGetActionApplyConfiguration {
+ return &HTTPGetActionApplyConfiguration{}
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *HTTPGetActionApplyConfiguration) WithPath(value string) *HTTPGetActionApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithPort sets the Port field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Port field is set to the value of the last call.
+func (b *HTTPGetActionApplyConfiguration) WithPort(value intstr.IntOrString) *HTTPGetActionApplyConfiguration {
+ b.Port = &value
+ return b
+}
+
+// WithHost sets the Host field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Host field is set to the value of the last call.
+func (b *HTTPGetActionApplyConfiguration) WithHost(value string) *HTTPGetActionApplyConfiguration {
+ b.Host = &value
+ return b
+}
+
+// WithScheme sets the Scheme field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Scheme field is set to the value of the last call.
+func (b *HTTPGetActionApplyConfiguration) WithScheme(value v1.URIScheme) *HTTPGetActionApplyConfiguration {
+ b.Scheme = &value
+ return b
+}
+
+// WithHTTPHeaders adds the given value to the HTTPHeaders field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the HTTPHeaders field.
+func (b *HTTPGetActionApplyConfiguration) WithHTTPHeaders(values ...*HTTPHeaderApplyConfiguration) *HTTPGetActionApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithHTTPHeaders")
+ }
+ b.HTTPHeaders = append(b.HTTPHeaders, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/httpheader.go b/pkg/client/camel/applyconfiguration/core/v1/httpheader.go
new file mode 100644
index 000000000..d6b076dd4
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/httpheader.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// HTTPHeaderApplyConfiguration represents an declarative configuration of the HTTPHeader type for use
+// with apply.
+type HTTPHeaderApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+ Value *string `json:"value,omitempty"`
+}
+
+// HTTPHeaderApplyConfiguration constructs an declarative configuration of the HTTPHeader type for use with
+// apply.
+func HTTPHeader() *HTTPHeaderApplyConfiguration {
+ return &HTTPHeaderApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *HTTPHeaderApplyConfiguration) WithName(value string) *HTTPHeaderApplyConfiguration {
+ b.Name = &value
+ return b
+}
+
+// WithValue sets the Value field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Value field is set to the value of the last call.
+func (b *HTTPHeaderApplyConfiguration) WithValue(value string) *HTTPHeaderApplyConfiguration {
+ b.Value = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go
new file mode 100644
index 000000000..69c0e6d85
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go
@@ -0,0 +1,132 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ISCSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIPersistentVolumeSource type for use
+// with apply.
+type ISCSIPersistentVolumeSourceApplyConfiguration struct {
+ TargetPortal *string `json:"targetPortal,omitempty"`
+ IQN *string `json:"iqn,omitempty"`
+ Lun *int32 `json:"lun,omitempty"`
+ ISCSIInterface *string `json:"iscsiInterface,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ Portals []string `json:"portals,omitempty"`
+ DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"`
+ SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"`
+ SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ InitiatorName *string `json:"initiatorName,omitempty"`
+}
+
+// ISCSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the ISCSIPersistentVolumeSource type for use with
+// apply.
+func ISCSIPersistentVolumeSource() *ISCSIPersistentVolumeSourceApplyConfiguration {
+ return &ISCSIPersistentVolumeSourceApplyConfiguration{}
+}
+
+// WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TargetPortal field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.TargetPortal = &value
+ return b
+}
+
+// WithIQN sets the IQN field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the IQN field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.IQN = &value
+ return b
+}
+
+// WithLun sets the Lun field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lun field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.Lun = &value
+ return b
+}
+
+// WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ISCSIInterface field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.ISCSIInterface = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithPortals adds the given value to the Portals field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Portals field.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.Portals = append(b.Portals, values[i])
+ }
+ return b
+}
+
+// WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.DiscoveryCHAPAuth = &value
+ return b
+}
+
+// WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SessionCHAPAuth field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.SessionCHAPAuth = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the InitiatorName field is set to the value of the last call.
+func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
+ b.InitiatorName = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go
new file mode 100644
index 000000000..119301d62
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go
@@ -0,0 +1,132 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// ISCSIVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIVolumeSource type for use
+// with apply.
+type ISCSIVolumeSourceApplyConfiguration struct {
+ TargetPortal *string `json:"targetPortal,omitempty"`
+ IQN *string `json:"iqn,omitempty"`
+ Lun *int32 `json:"lun,omitempty"`
+ ISCSIInterface *string `json:"iscsiInterface,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+ Portals []string `json:"portals,omitempty"`
+ DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"`
+ SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"`
+ SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
+ InitiatorName *string `json:"initiatorName,omitempty"`
+}
+
+// ISCSIVolumeSourceApplyConfiguration constructs an declarative configuration of the ISCSIVolumeSource type for use with
+// apply.
+func ISCSIVolumeSource() *ISCSIVolumeSourceApplyConfiguration {
+ return &ISCSIVolumeSourceApplyConfiguration{}
+}
+
+// WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TargetPortal field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIVolumeSourceApplyConfiguration {
+ b.TargetPortal = &value
+ return b
+}
+
+// WithIQN sets the IQN field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the IQN field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIVolumeSourceApplyConfiguration {
+ b.IQN = &value
+ return b
+}
+
+// WithLun sets the Lun field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Lun field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIVolumeSourceApplyConfiguration {
+ b.Lun = &value
+ return b
+}
+
+// WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ISCSIInterface field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIVolumeSourceApplyConfiguration {
+ b.ISCSIInterface = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
+
+// WithPortals adds the given value to the Portals field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Portals field.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIVolumeSourceApplyConfiguration {
+ for i := range values {
+ b.Portals = append(b.Portals, values[i])
+ }
+ return b
+}
+
+// WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration {
+ b.DiscoveryCHAPAuth = &value
+ return b
+}
+
+// WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SessionCHAPAuth field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration {
+ b.SessionCHAPAuth = &value
+ return b
+}
+
+// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the SecretRef field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ISCSIVolumeSourceApplyConfiguration {
+ b.SecretRef = value
+ return b
+}
+
+// WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the InitiatorName field is set to the value of the last call.
+func (b *ISCSIVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIVolumeSourceApplyConfiguration {
+ b.InitiatorName = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/keytopath.go b/pkg/client/camel/applyconfiguration/core/v1/keytopath.go
new file mode 100644
index 000000000..3a2995dd4
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/keytopath.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// KeyToPathApplyConfiguration represents an declarative configuration of the KeyToPath type for use
+// with apply.
+type KeyToPathApplyConfiguration struct {
+ Key *string `json:"key,omitempty"`
+ Path *string `json:"path,omitempty"`
+ Mode *int32 `json:"mode,omitempty"`
+}
+
+// KeyToPathApplyConfiguration constructs an declarative configuration of the KeyToPath type for use with
+// apply.
+func KeyToPath() *KeyToPathApplyConfiguration {
+ return &KeyToPathApplyConfiguration{}
+}
+
+// WithKey sets the Key field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Key field is set to the value of the last call.
+func (b *KeyToPathApplyConfiguration) WithKey(value string) *KeyToPathApplyConfiguration {
+ b.Key = &value
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *KeyToPathApplyConfiguration) WithPath(value string) *KeyToPathApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithMode sets the Mode field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Mode field is set to the value of the last call.
+func (b *KeyToPathApplyConfiguration) WithMode(value int32) *KeyToPathApplyConfiguration {
+ b.Mode = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go b/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go
new file mode 100644
index 000000000..98f218563
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LifecycleApplyConfiguration represents an declarative configuration of the Lifecycle type for use
+// with apply.
+type LifecycleApplyConfiguration struct {
+ PostStart *LifecycleHandlerApplyConfiguration `json:"postStart,omitempty"`
+ PreStop *LifecycleHandlerApplyConfiguration `json:"preStop,omitempty"`
+}
+
+// LifecycleApplyConfiguration constructs an declarative configuration of the Lifecycle type for use with
+// apply.
+func Lifecycle() *LifecycleApplyConfiguration {
+ return &LifecycleApplyConfiguration{}
+}
+
+// WithPostStart sets the PostStart field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the PostStart field is set to the value of the last call.
+func (b *LifecycleApplyConfiguration) WithPostStart(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration {
+ b.PostStart = value
+ return b
+}
+
+// WithPreStop sets the PreStop field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the PreStop field is set to the value of the last call.
+func (b *LifecycleApplyConfiguration) WithPreStop(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration {
+ b.PreStop = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go b/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go
new file mode 100644
index 000000000..86e22b4eb
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LifecycleHandlerApplyConfiguration represents an declarative configuration of the LifecycleHandler type for use
+// with apply.
+type LifecycleHandlerApplyConfiguration struct {
+ Exec *ExecActionApplyConfiguration `json:"exec,omitempty"`
+ HTTPGet *HTTPGetActionApplyConfiguration `json:"httpGet,omitempty"`
+ TCPSocket *TCPSocketActionApplyConfiguration `json:"tcpSocket,omitempty"`
+}
+
+// LifecycleHandlerApplyConfiguration constructs an declarative configuration of the LifecycleHandler type for use with
+// apply.
+func LifecycleHandler() *LifecycleHandlerApplyConfiguration {
+ return &LifecycleHandlerApplyConfiguration{}
+}
+
+// WithExec sets the Exec field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Exec field is set to the value of the last call.
+func (b *LifecycleHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
+ b.Exec = value
+ return b
+}
+
+// WithHTTPGet sets the HTTPGet field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the HTTPGet field is set to the value of the last call.
+func (b *LifecycleHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
+ b.HTTPGet = value
+ return b
+}
+
+// WithTCPSocket sets the TCPSocket field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the TCPSocket field is set to the value of the last call.
+func (b *LifecycleHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
+ b.TCPSocket = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/core/v1/limitrange.go
similarity index 74%
copy from pkg/client/camel/applyconfiguration/camel/v1/build.go
copy to pkg/client/camel/applyconfiguration/core/v1/limitrange.go
index 7f4dbc514..8e25140c1 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/limitrange.go
@@ -20,35 +20,34 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// BuildApplyConfiguration represents an declarative configuration of the Build type for use
+// LimitRangeApplyConfiguration represents an declarative configuration of the LimitRange type for use
// with apply.
-type BuildApplyConfiguration struct {
+type LimitRangeApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *BuildSpecApplyConfiguration `json:"spec,omitempty"`
- Status *BuildStatusApplyConfiguration `json:"status,omitempty"`
+ Spec *LimitRangeSpecApplyConfiguration `json:"spec,omitempty"`
}
-// Build constructs an declarative configuration of the Build type for use with
+// LimitRange constructs an declarative configuration of the LimitRange type for use with
// apply.
-func Build(name, namespace string) *BuildApplyConfiguration {
- b := &BuildApplyConfiguration{}
+func LimitRange(name, namespace string) *LimitRangeApplyConfiguration {
+ b := &LimitRangeApplyConfiguration{}
b.WithName(name)
b.WithNamespace(namespace)
- b.WithKind("Build")
- b.WithAPIVersion("camel.apache.org/v1")
+ b.WithKind("LimitRange")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithKind(value string) *LimitRangeApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +55,7 @@ func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguratio
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithAPIVersion(value string) *LimitRangeApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +63,7 @@ func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfig
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithName(value string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +72,7 @@ func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguratio
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithGenerateName(value string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +81,7 @@ func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConf
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithNamespace(value string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +90,7 @@ func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfigu
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithUID(value types.UID) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +99,7 @@ func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfigurat
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithResourceVersion(value string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +108,7 @@ func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyC
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithGeneration(value int64) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +117,7 @@ func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfigu
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +126,7 @@ func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Buil
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +135,7 @@ func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Buil
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +145,7 @@ func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *B
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithLabels(entries map[string]string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +160,7 @@ func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildAp
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithAnnotations(entries map[string]string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +174,7 @@ func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *Bu
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +188,7 @@ func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferen
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithFinalizers(values ...string) *LimitRangeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,7 +196,7 @@ func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyCo
return b
}
-func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *LimitRangeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
@@ -206,15 +205,7 @@ func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
// WithSpec sets the Spec field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Spec field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration {
+func (b *LimitRangeApplyConfiguration) WithSpec(value *LimitRangeSpecApplyConfiguration) *LimitRangeApplyConfiguration {
b.Spec = value
return b
}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration {
- b.Status = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go b/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go
new file mode 100644
index 000000000..f4c9476f0
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go
@@ -0,0 +1,89 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// LimitRangeItemApplyConfiguration represents an declarative configuration of the LimitRangeItem type for use
+// with apply.
+type LimitRangeItemApplyConfiguration struct {
+ Type *v1.LimitType `json:"type,omitempty"`
+ Max *v1.ResourceList `json:"max,omitempty"`
+ Min *v1.ResourceList `json:"min,omitempty"`
+ Default *v1.ResourceList `json:"default,omitempty"`
+ DefaultRequest *v1.ResourceList `json:"defaultRequest,omitempty"`
+ MaxLimitRequestRatio *v1.ResourceList `json:"maxLimitRequestRatio,omitempty"`
+}
+
+// LimitRangeItemApplyConfiguration constructs an declarative configuration of the LimitRangeItem type for use with
+// apply.
+func LimitRangeItem() *LimitRangeItemApplyConfiguration {
+ return &LimitRangeItemApplyConfiguration{}
+}
+
+// WithType sets the Type field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Type field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithType(value v1.LimitType) *LimitRangeItemApplyConfiguration {
+ b.Type = &value
+ return b
+}
+
+// WithMax sets the Max field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Max field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithMax(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
+ b.Max = &value
+ return b
+}
+
+// WithMin sets the Min field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Min field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithMin(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
+ b.Min = &value
+ return b
+}
+
+// WithDefault sets the Default field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Default field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithDefault(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
+ b.Default = &value
+ return b
+}
+
+// WithDefaultRequest sets the DefaultRequest field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the DefaultRequest field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithDefaultRequest(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
+ b.DefaultRequest = &value
+ return b
+}
+
+// WithMaxLimitRequestRatio sets the MaxLimitRequestRatio field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the MaxLimitRequestRatio field is set to the value of the last call.
+func (b *LimitRangeItemApplyConfiguration) WithMaxLimitRequestRatio(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
+ b.MaxLimitRequestRatio = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go b/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go
new file mode 100644
index 000000000..4429ef864
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go
@@ -0,0 +1,45 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LimitRangeSpecApplyConfiguration represents an declarative configuration of the LimitRangeSpec type for use
+// with apply.
+type LimitRangeSpecApplyConfiguration struct {
+ Limits []LimitRangeItemApplyConfiguration `json:"limits,omitempty"`
+}
+
+// LimitRangeSpecApplyConfiguration constructs an declarative configuration of the LimitRangeSpec type for use with
+// apply.
+func LimitRangeSpec() *LimitRangeSpecApplyConfiguration {
+ return &LimitRangeSpecApplyConfiguration{}
+}
+
+// WithLimits adds the given value to the Limits field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Limits field.
+func (b *LimitRangeSpecApplyConfiguration) WithLimits(values ...*LimitRangeItemApplyConfiguration) *LimitRangeSpecApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithLimits")
+ }
+ b.Limits = append(b.Limits, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go b/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go
new file mode 100644
index 000000000..2be73d4c2
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go
@@ -0,0 +1,63 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use
+// with apply.
+type LoadBalancerIngressApplyConfiguration struct {
+ IP *string `json:"ip,omitempty"`
+ Hostname *string `json:"hostname,omitempty"`
+ Ports []PortStatusApplyConfiguration `json:"ports,omitempty"`
+}
+
+// LoadBalancerIngressApplyConfiguration constructs an declarative configuration of the LoadBalancerIngress type for use with
+// apply.
+func LoadBalancerIngress() *LoadBalancerIngressApplyConfiguration {
+ return &LoadBalancerIngressApplyConfiguration{}
+}
+
+// WithIP sets the IP field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the IP field is set to the value of the last call.
+func (b *LoadBalancerIngressApplyConfiguration) WithIP(value string) *LoadBalancerIngressApplyConfiguration {
+ b.IP = &value
+ return b
+}
+
+// WithHostname sets the Hostname field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Hostname field is set to the value of the last call.
+func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *LoadBalancerIngressApplyConfiguration {
+ b.Hostname = &value
+ return b
+}
+
+// WithPorts adds the given value to the Ports field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ports field.
+func (b *LoadBalancerIngressApplyConfiguration) WithPorts(values ...*PortStatusApplyConfiguration) *LoadBalancerIngressApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPorts")
+ }
+ b.Ports = append(b.Ports, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go b/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go
new file mode 100644
index 000000000..6836e4da4
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go
@@ -0,0 +1,45 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LoadBalancerStatusApplyConfiguration represents an declarative configuration of the LoadBalancerStatus type for use
+// with apply.
+type LoadBalancerStatusApplyConfiguration struct {
+ Ingress []LoadBalancerIngressApplyConfiguration `json:"ingress,omitempty"`
+}
+
+// LoadBalancerStatusApplyConfiguration constructs an declarative configuration of the LoadBalancerStatus type for use with
+// apply.
+func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration {
+ return &LoadBalancerStatusApplyConfiguration{}
+}
+
+// WithIngress adds the given value to the Ingress field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Ingress field.
+func (b *LoadBalancerStatusApplyConfiguration) WithIngress(values ...*LoadBalancerIngressApplyConfiguration) *LoadBalancerStatusApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithIngress")
+ }
+ b.Ingress = append(b.Ingress, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go b/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go
new file mode 100644
index 000000000..12bd79e83
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use
+// with apply.
+type LocalObjectReferenceApplyConfiguration struct {
+ Name *string `json:"name,omitempty"`
+}
+
+// LocalObjectReferenceApplyConfiguration constructs an declarative configuration of the LocalObjectReference type for use with
+// apply.
+func LocalObjectReference() *LocalObjectReferenceApplyConfiguration {
+ return &LocalObjectReferenceApplyConfiguration{}
+}
+
+// WithName sets the Name field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Name field is set to the value of the last call.
+func (b *LocalObjectReferenceApplyConfiguration) WithName(value string) *LocalObjectReferenceApplyConfiguration {
+ b.Name = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go
new file mode 100644
index 000000000..15af2055c
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go
@@ -0,0 +1,49 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// LocalVolumeSourceApplyConfiguration represents an declarative configuration of the LocalVolumeSource type for use
+// with apply.
+type LocalVolumeSourceApplyConfiguration struct {
+ Path *string `json:"path,omitempty"`
+ FSType *string `json:"fsType,omitempty"`
+}
+
+// LocalVolumeSourceApplyConfiguration constructs an declarative configuration of the LocalVolumeSource type for use with
+// apply.
+func LocalVolumeSource() *LocalVolumeSourceApplyConfiguration {
+ return &LocalVolumeSourceApplyConfiguration{}
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *LocalVolumeSourceApplyConfiguration) WithPath(value string) *LocalVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithFSType sets the FSType field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the FSType field is set to the value of the last call.
+func (b *LocalVolumeSourceApplyConfiguration) WithFSType(value string) *LocalVolumeSourceApplyConfiguration {
+ b.FSType = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go b/pkg/client/camel/applyconfiguration/core/v1/namespace.go
similarity index 76%
copy from pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
copy to pkg/client/camel/applyconfiguration/core/v1/namespace.go
index f9870e1ca..d3ac38f9c 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/namespace.go
@@ -17,38 +17,37 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
-package v1alpha1
+package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// KameletApplyConfiguration represents an declarative configuration of the Kamelet type for use
+// NamespaceApplyConfiguration represents an declarative configuration of the Namespace type for use
// with apply.
-type KameletApplyConfiguration struct {
+type NamespaceApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *KameletSpecApplyConfiguration `json:"spec,omitempty"`
- Status *KameletStatusApplyConfiguration `json:"status,omitempty"`
+ Spec *NamespaceSpecApplyConfiguration `json:"spec,omitempty"`
+ Status *NamespaceStatusApplyConfiguration `json:"status,omitempty"`
}
-// Kamelet constructs an declarative configuration of the Kamelet type for use with
+// Namespace constructs an declarative configuration of the Namespace type for use with
// apply.
-func Kamelet(name, namespace string) *KameletApplyConfiguration {
- b := &KameletApplyConfiguration{}
+func Namespace(name string) *NamespaceApplyConfiguration {
+ b := &NamespaceApplyConfiguration{}
b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("Kamelet")
- b.WithAPIVersion("camel.apache.org/v1alpha1")
+ b.WithKind("Namespace")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithKind(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithKind(value string) *NamespaceApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +55,7 @@ func (b *KameletApplyConfiguration) WithKind(value string) *KameletApplyConfigur
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithAPIVersion(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithAPIVersion(value string) *NamespaceApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +63,7 @@ func (b *KameletApplyConfiguration) WithAPIVersion(value string) *KameletApplyCo
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithName(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithName(value string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +72,7 @@ func (b *KameletApplyConfiguration) WithName(value string) *KameletApplyConfigur
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithGenerateName(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithGenerateName(value string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +81,7 @@ func (b *KameletApplyConfiguration) WithGenerateName(value string) *KameletApply
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithNamespace(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithNamespace(value string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +90,7 @@ func (b *KameletApplyConfiguration) WithNamespace(value string) *KameletApplyCon
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithUID(value types.UID) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithUID(value types.UID) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +99,7 @@ func (b *KameletApplyConfiguration) WithUID(value types.UID) *KameletApplyConfig
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithResourceVersion(value string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithResourceVersion(value string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +108,7 @@ func (b *KameletApplyConfiguration) WithResourceVersion(value string) *KameletAp
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithGeneration(value int64) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithGeneration(value int64) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +117,7 @@ func (b *KameletApplyConfiguration) WithGeneration(value int64) *KameletApplyCon
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithCreationTimestamp(value metav1.Time) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +126,7 @@ func (b *KameletApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Ka
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +135,7 @@ func (b *KameletApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Ka
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +145,7 @@ func (b *KameletApplyConfiguration) WithDeletionGracePeriodSeconds(value int64)
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *KameletApplyConfiguration) WithLabels(entries map[string]string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithLabels(entries map[string]string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +160,7 @@ func (b *KameletApplyConfiguration) WithLabels(entries map[string]string) *Kamel
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *KameletApplyConfiguration) WithAnnotations(entries map[string]string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithAnnotations(entries map[string]string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +174,7 @@ func (b *KameletApplyConfiguration) WithAnnotations(entries map[string]string) *
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *KameletApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +188,7 @@ func (b *KameletApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefer
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *KameletApplyConfiguration) WithFinalizers(values ...string) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithFinalizers(values ...string) *NamespaceApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,7 +196,7 @@ func (b *KameletApplyConfiguration) WithFinalizers(values ...string) *KameletApp
return b
}
-func (b *KameletApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *NamespaceApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
@@ -206,7 +205,7 @@ func (b *KameletApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
// WithSpec sets the Spec field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Spec field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithSpec(value *KameletSpecApplyConfiguration) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithSpec(value *NamespaceSpecApplyConfiguration) *NamespaceApplyConfiguration {
b.Spec = value
return b
}
@@ -214,7 +213,7 @@ func (b *KameletApplyConfiguration) WithSpec(value *KameletSpecApplyConfiguratio
// WithStatus sets the Status field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Status field is set to the value of the last call.
-func (b *KameletApplyConfiguration) WithStatus(value *KameletStatusApplyConfiguration) *KameletApplyConfiguration {
+func (b *NamespaceApplyConfiguration) WithStatus(value *NamespaceStatusApplyConfiguration) *NamespaceApplyConfiguration {
b.Status = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go b/pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go
similarity index 53%
copy from pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
copy to pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go
index 75fc5be08..dcb1be14d 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go
@@ -17,35 +17,33 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
-package v1alpha1
+package v1
import (
- v1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
-// KameletBindingConditionApplyConfiguration represents an declarative configuration of the KameletBindingCondition type for use
+// NamespaceConditionApplyConfiguration represents an declarative configuration of the NamespaceCondition type for use
// with apply.
-type KameletBindingConditionApplyConfiguration struct {
- Type *v1alpha1.KameletBindingConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
+type NamespaceConditionApplyConfiguration struct {
+ Type *v1.NamespaceConditionType `json:"type,omitempty"`
+ Status *v1.ConditionStatus `json:"status,omitempty"`
+ LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
}
-// KameletBindingConditionApplyConfiguration constructs an declarative configuration of the KameletBindingCondition type for use with
+// NamespaceConditionApplyConfiguration constructs an declarative configuration of the NamespaceCondition type for use with
// apply.
-func KameletBindingCondition() *KameletBindingConditionApplyConfiguration {
- return &KameletBindingConditionApplyConfiguration{}
+func NamespaceCondition() *NamespaceConditionApplyConfiguration {
+ return &NamespaceConditionApplyConfiguration{}
}
// WithType sets the Type field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Type field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithType(value v1alpha1.KameletBindingConditionType) *KameletBindingConditionApplyConfiguration {
+func (b *NamespaceConditionApplyConfiguration) WithType(value v1.NamespaceConditionType) *NamespaceConditionApplyConfiguration {
b.Type = &value
return b
}
@@ -53,23 +51,15 @@ func (b *KameletBindingConditionApplyConfiguration) WithType(value v1alpha1.Kame
// WithStatus sets the Status field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Status field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *KameletBindingConditionApplyConfiguration {
+func (b *NamespaceConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NamespaceConditionApplyConfiguration {
b.Status = &value
return b
}
-// WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastUpdateTime field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *KameletBindingConditionApplyConfiguration {
- b.LastUpdateTime = &value
- return b
-}
-
// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *KameletBindingConditionApplyConfiguration {
+func (b *NamespaceConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NamespaceConditionApplyConfiguration {
b.LastTransitionTime = &value
return b
}
@@ -77,7 +67,7 @@ func (b *KameletBindingConditionApplyConfiguration) WithLastTransitionTime(value
// WithReason sets the Reason field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Reason field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithReason(value string) *KameletBindingConditionApplyConfiguration {
+func (b *NamespaceConditionApplyConfiguration) WithReason(value string) *NamespaceConditionApplyConfiguration {
b.Reason = &value
return b
}
@@ -85,7 +75,7 @@ func (b *KameletBindingConditionApplyConfiguration) WithReason(value string) *Ka
// WithMessage sets the Message field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Message field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithMessage(value string) *KameletBindingConditionApplyConfiguration {
+func (b *NamespaceConditionApplyConfiguration) WithMessage(value string) *NamespaceConditionApplyConfiguration {
b.Message = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go b/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go
new file mode 100644
index 000000000..f21efc69b
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go
@@ -0,0 +1,46 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// NamespaceSpecApplyConfiguration represents an declarative configuration of the NamespaceSpec type for use
+// with apply.
+type NamespaceSpecApplyConfiguration struct {
+ Finalizers []v1.FinalizerName `json:"finalizers,omitempty"`
+}
+
+// NamespaceSpecApplyConfiguration constructs an declarative configuration of the NamespaceSpec type for use with
+// apply.
+func NamespaceSpec() *NamespaceSpecApplyConfiguration {
+ return &NamespaceSpecApplyConfiguration{}
+}
+
+// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Finalizers field.
+func (b *NamespaceSpecApplyConfiguration) WithFinalizers(values ...v1.FinalizerName) *NamespaceSpecApplyConfiguration {
+ for i := range values {
+ b.Finalizers = append(b.Finalizers, values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go b/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go
new file mode 100644
index 000000000..d426b881f
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// NamespaceStatusApplyConfiguration represents an declarative configuration of the NamespaceStatus type for use
+// with apply.
+type NamespaceStatusApplyConfiguration struct {
+ Phase *v1.NamespacePhase `json:"phase,omitempty"`
+ Conditions []NamespaceConditionApplyConfiguration `json:"conditions,omitempty"`
+}
+
+// NamespaceStatusApplyConfiguration constructs an declarative configuration of the NamespaceStatus type for use with
+// apply.
+func NamespaceStatus() *NamespaceStatusApplyConfiguration {
+ return &NamespaceStatusApplyConfiguration{}
+}
+
+// WithPhase sets the Phase field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Phase field is set to the value of the last call.
+func (b *NamespaceStatusApplyConfiguration) WithPhase(value v1.NamespacePhase) *NamespaceStatusApplyConfiguration {
+ b.Phase = &value
+ return b
+}
+
+// WithConditions adds the given value to the Conditions field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the Conditions field.
+func (b *NamespaceStatusApplyConfiguration) WithConditions(values ...*NamespaceConditionApplyConfiguration) *NamespaceStatusApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithConditions")
+ }
+ b.Conditions = append(b.Conditions, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go
new file mode 100644
index 000000000..c63b81cb3
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go
@@ -0,0 +1,58 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NFSVolumeSourceApplyConfiguration represents an declarative configuration of the NFSVolumeSource type for use
+// with apply.
+type NFSVolumeSourceApplyConfiguration struct {
+ Server *string `json:"server,omitempty"`
+ Path *string `json:"path,omitempty"`
+ ReadOnly *bool `json:"readOnly,omitempty"`
+}
+
+// NFSVolumeSourceApplyConfiguration constructs an declarative configuration of the NFSVolumeSource type for use with
+// apply.
+func NFSVolumeSource() *NFSVolumeSourceApplyConfiguration {
+ return &NFSVolumeSourceApplyConfiguration{}
+}
+
+// WithServer sets the Server field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Server field is set to the value of the last call.
+func (b *NFSVolumeSourceApplyConfiguration) WithServer(value string) *NFSVolumeSourceApplyConfiguration {
+ b.Server = &value
+ return b
+}
+
+// WithPath sets the Path field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Path field is set to the value of the last call.
+func (b *NFSVolumeSourceApplyConfiguration) WithPath(value string) *NFSVolumeSourceApplyConfiguration {
+ b.Path = &value
+ return b
+}
+
+// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ReadOnly field is set to the value of the last call.
+func (b *NFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *NFSVolumeSourceApplyConfiguration {
+ b.ReadOnly = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/core/v1/node.go
similarity index 77%
copy from pkg/client/camel/applyconfiguration/camel/v1/build.go
copy to pkg/client/camel/applyconfiguration/core/v1/node.go
index 7f4dbc514..2f8eb6c03 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/node.go
@@ -20,35 +20,34 @@ limitations under the License.
package v1
import (
+ v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
- v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
-// BuildApplyConfiguration represents an declarative configuration of the Build type for use
+// NodeApplyConfiguration represents an declarative configuration of the Node type for use
// with apply.
-type BuildApplyConfiguration struct {
+type NodeApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *BuildSpecApplyConfiguration `json:"spec,omitempty"`
- Status *BuildStatusApplyConfiguration `json:"status,omitempty"`
+ Spec *NodeSpecApplyConfiguration `json:"spec,omitempty"`
+ Status *NodeStatusApplyConfiguration `json:"status,omitempty"`
}
-// Build constructs an declarative configuration of the Build type for use with
+// Node constructs an declarative configuration of the Node type for use with
// apply.
-func Build(name, namespace string) *BuildApplyConfiguration {
- b := &BuildApplyConfiguration{}
+func Node(name string) *NodeApplyConfiguration {
+ b := &NodeApplyConfiguration{}
b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("Build")
- b.WithAPIVersion("camel.apache.org/v1")
+ b.WithKind("Node")
+ b.WithAPIVersion("v1")
return b
}
// WithKind sets the Kind field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Kind field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration {
b.Kind = &value
return b
}
@@ -56,7 +55,7 @@ func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguratio
// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration {
b.APIVersion = &value
return b
}
@@ -64,7 +63,7 @@ func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfig
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Name = &value
return b
@@ -73,7 +72,7 @@ func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguratio
// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.GenerateName = &value
return b
@@ -82,7 +81,7 @@ func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConf
// WithNamespace sets the Namespace field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Namespace = &value
return b
@@ -91,7 +90,7 @@ func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfigu
// WithUID sets the UID field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the UID field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.UID = &value
return b
@@ -100,7 +99,7 @@ func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfigurat
// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ResourceVersion = &value
return b
@@ -109,7 +108,7 @@ func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyC
// WithGeneration sets the Generation field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Generation field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.Generation = &value
return b
@@ -118,7 +117,7 @@ func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfigu
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.CreationTimestamp = &value
return b
@@ -127,7 +126,7 @@ func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Buil
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionTimestamp = &value
return b
@@ -136,7 +135,7 @@ func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Buil
// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.DeletionGracePeriodSeconds = &value
return b
@@ -146,7 +145,7 @@ func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *B
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Labels field,
// overwriting an existing map entries in Labels field with the same key.
-func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Labels == nil && len(entries) > 0 {
b.Labels = make(map[string]string, len(entries))
@@ -161,7 +160,7 @@ func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildAp
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Annotations field,
// overwriting an existing map entries in Annotations field with the same key.
-func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
if b.Annotations == nil && len(entries) > 0 {
b.Annotations = make(map[string]string, len(entries))
@@ -175,7 +174,7 @@ func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *Bu
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@@ -189,7 +188,7 @@ func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferen
// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
b.Finalizers = append(b.Finalizers, values[i])
@@ -197,7 +196,7 @@ func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyCo
return b
}
-func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
+func (b *NodeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
}
@@ -206,7 +205,7 @@ func (b *BuildApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
// WithSpec sets the Spec field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Spec field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithSpec(value *NodeSpecApplyConfiguration) *NodeApplyConfiguration {
b.Spec = value
return b
}
@@ -214,7 +213,7 @@ func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *
// WithStatus sets the Status field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Status field is set to the value of the last call.
-func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration {
+func (b *NodeApplyConfiguration) WithStatus(value *NodeStatusApplyConfiguration) *NodeApplyConfiguration {
b.Status = value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go b/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go
new file mode 100644
index 000000000..dbd6a4a3b
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go
@@ -0,0 +1,53 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+import (
+ v1 "k8s.io/api/core/v1"
+)
+
+// NodeAddressApplyConfiguration represents an declarative configuration of the NodeAddress type for use
+// with apply.
+type NodeAddressApplyConfiguration struct {
+ Type *v1.NodeAddressType `json:"type,omitempty"`
+ Address *string `json:"address,omitempty"`
+}
+
+// NodeAddressApplyConfiguration constructs an declarative configuration of the NodeAddress type for use with
+// apply.
+func NodeAddress() *NodeAddressApplyConfiguration {
+ return &NodeAddressApplyConfiguration{}
+}
+
+// WithType sets the Type field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Type field is set to the value of the last call.
+func (b *NodeAddressApplyConfiguration) WithType(value v1.NodeAddressType) *NodeAddressApplyConfiguration {
+ b.Type = &value
+ return b
+}
+
+// WithAddress sets the Address field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Address field is set to the value of the last call.
+func (b *NodeAddressApplyConfiguration) WithAddress(value string) *NodeAddressApplyConfiguration {
+ b.Address = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go b/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go
new file mode 100644
index 000000000..b8f032400
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go
@@ -0,0 +1,54 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NodeAffinityApplyConfiguration represents an declarative configuration of the NodeAffinity type for use
+// with apply.
+type NodeAffinityApplyConfiguration struct {
+ RequiredDuringSchedulingIgnoredDuringExecution *NodeSelectorApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
+ PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTermApplyConfiguration `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
+}
+
+// NodeAffinityApplyConfiguration constructs an declarative configuration of the NodeAffinity type for use with
+// apply.
+func NodeAffinity() *NodeAffinityApplyConfiguration {
+ return &NodeAffinityApplyConfiguration{}
+}
+
+// WithRequiredDuringSchedulingIgnoredDuringExecution sets the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the RequiredDuringSchedulingIgnoredDuringExecution field is set to the value of the last call.
+func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration {
+ b.RequiredDuringSchedulingIgnoredDuringExecution = value
+ return b
+}
+
+// WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
+// If called multiple times, values provided by each call will be appended to the PreferredDuringSchedulingIgnoredDuringExecution field.
+func (b *NodeAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*PreferredSchedulingTermApplyConfiguration) *NodeAffinityApplyConfiguration {
+ for i := range values {
+ if values[i] == nil {
+ panic("nil value passed to WithPreferredDuringSchedulingIgnoredDuringExecution")
+ }
+ b.PreferredDuringSchedulingIgnoredDuringExecution = append(b.PreferredDuringSchedulingIgnoredDuringExecution, *values[i])
+ }
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go b/pkg/client/camel/applyconfiguration/core/v1/nodecondition.go
similarity index 55%
copy from pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
copy to pkg/client/camel/applyconfiguration/core/v1/nodecondition.go
index 75fc5be08..acd8f40bc 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbindingcondition.go
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodecondition.go
@@ -17,35 +17,34 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
-package v1alpha1
+package v1
import (
- v1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
-// KameletBindingConditionApplyConfiguration represents an declarative configuration of the KameletBindingCondition type for use
+// NodeConditionApplyConfiguration represents an declarative configuration of the NodeCondition type for use
// with apply.
-type KameletBindingConditionApplyConfiguration struct {
- Type *v1alpha1.KameletBindingConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
+type NodeConditionApplyConfiguration struct {
+ Type *v1.NodeConditionType `json:"type,omitempty"`
+ Status *v1.ConditionStatus `json:"status,omitempty"`
+ LastHeartbeatTime *metav1.Time `json:"lastHeartbeatTime,omitempty"`
+ LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+ Message *string `json:"message,omitempty"`
}
-// KameletBindingConditionApplyConfiguration constructs an declarative configuration of the KameletBindingCondition type for use with
+// NodeConditionApplyConfiguration constructs an declarative configuration of the NodeCondition type for use with
// apply.
-func KameletBindingCondition() *KameletBindingConditionApplyConfiguration {
- return &KameletBindingConditionApplyConfiguration{}
+func NodeCondition() *NodeConditionApplyConfiguration {
+ return &NodeConditionApplyConfiguration{}
}
// WithType sets the Type field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Type field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithType(value v1alpha1.KameletBindingConditionType) *KameletBindingConditionApplyConfiguration {
+func (b *NodeConditionApplyConfiguration) WithType(value v1.NodeConditionType) *NodeConditionApplyConfiguration {
b.Type = &value
return b
}
@@ -53,23 +52,23 @@ func (b *KameletBindingConditionApplyConfiguration) WithType(value v1alpha1.Kame
// WithStatus sets the Status field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Status field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *KameletBindingConditionApplyConfiguration {
+func (b *NodeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NodeConditionApplyConfiguration {
b.Status = &value
return b
}
-// WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value
+// WithLastHeartbeatTime sets the LastHeartbeatTime field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastUpdateTime field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *KameletBindingConditionApplyConfiguration {
- b.LastUpdateTime = &value
+// If called multiple times, the LastHeartbeatTime field is set to the value of the last call.
+func (b *NodeConditionApplyConfiguration) WithLastHeartbeatTime(value metav1.Time) *NodeConditionApplyConfiguration {
+ b.LastHeartbeatTime = &value
return b
}
// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *KameletBindingConditionApplyConfiguration {
+func (b *NodeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NodeConditionApplyConfiguration {
b.LastTransitionTime = &value
return b
}
@@ -77,7 +76,7 @@ func (b *KameletBindingConditionApplyConfiguration) WithLastTransitionTime(value
// WithReason sets the Reason field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Reason field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithReason(value string) *KameletBindingConditionApplyConfiguration {
+func (b *NodeConditionApplyConfiguration) WithReason(value string) *NodeConditionApplyConfiguration {
b.Reason = &value
return b
}
@@ -85,7 +84,7 @@ func (b *KameletBindingConditionApplyConfiguration) WithReason(value string) *Ka
// WithMessage sets the Message field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Message field is set to the value of the last call.
-func (b *KameletBindingConditionApplyConfiguration) WithMessage(value string) *KameletBindingConditionApplyConfiguration {
+func (b *NodeConditionApplyConfiguration) WithMessage(value string) *NodeConditionApplyConfiguration {
b.Message = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go
new file mode 100644
index 000000000..2a41324f8
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NodeConfigSourceApplyConfiguration represents an declarative configuration of the NodeConfigSource type for use
+// with apply.
+type NodeConfigSourceApplyConfiguration struct {
+ ConfigMap *ConfigMapNodeConfigSourceApplyConfiguration `json:"configMap,omitempty"`
+}
+
+// NodeConfigSourceApplyConfiguration constructs an declarative configuration of the NodeConfigSource type for use with
+// apply.
+func NodeConfigSource() *NodeConfigSourceApplyConfiguration {
+ return &NodeConfigSourceApplyConfiguration{}
+}
+
+// WithConfigMap sets the ConfigMap field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the ConfigMap field is set to the value of the last call.
+func (b *NodeConfigSourceApplyConfiguration) WithConfigMap(value *ConfigMapNodeConfigSourceApplyConfiguration) *NodeConfigSourceApplyConfiguration {
+ b.ConfigMap = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go
new file mode 100644
index 000000000..312503f31
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go
@@ -0,0 +1,67 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NodeConfigStatusApplyConfiguration represents an declarative configuration of the NodeConfigStatus type for use
+// with apply.
+type NodeConfigStatusApplyConfiguration struct {
+ Assigned *NodeConfigSourceApplyConfiguration `json:"assigned,omitempty"`
+ Active *NodeConfigSourceApplyConfiguration `json:"active,omitempty"`
+ LastKnownGood *NodeConfigSourceApplyConfiguration `json:"lastKnownGood,omitempty"`
+ Error *string `json:"error,omitempty"`
+}
+
+// NodeConfigStatusApplyConfiguration constructs an declarative configuration of the NodeConfigStatus type for use with
+// apply.
+func NodeConfigStatus() *NodeConfigStatusApplyConfiguration {
+ return &NodeConfigStatusApplyConfiguration{}
+}
+
+// WithAssigned sets the Assigned field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Assigned field is set to the value of the last call.
+func (b *NodeConfigStatusApplyConfiguration) WithAssigned(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
+ b.Assigned = value
+ return b
+}
+
+// WithActive sets the Active field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Active field is set to the value of the last call.
+func (b *NodeConfigStatusApplyConfiguration) WithActive(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
+ b.Active = value
+ return b
+}
+
+// WithLastKnownGood sets the LastKnownGood field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the LastKnownGood field is set to the value of the last call.
+func (b *NodeConfigStatusApplyConfiguration) WithLastKnownGood(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
+ b.LastKnownGood = value
+ return b
+}
+
+// WithError sets the Error field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Error field is set to the value of the last call.
+func (b *NodeConfigStatusApplyConfiguration) WithError(value string) *NodeConfigStatusApplyConfiguration {
+ b.Error = &value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go b/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go
new file mode 100644
index 000000000..9aac87330
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go
@@ -0,0 +1,40 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NodeDaemonEndpointsApplyConfiguration represents an declarative configuration of the NodeDaemonEndpoints type for use
+// with apply.
+type NodeDaemonEndpointsApplyConfiguration struct {
+ KubeletEndpoint *DaemonEndpointApplyConfiguration `json:"kubeletEndpoint,omitempty"`
+}
+
+// NodeDaemonEndpointsApplyConfiguration constructs an declarative configuration of the NodeDaemonEndpoints type for use with
+// apply.
+func NodeDaemonEndpoints() *NodeDaemonEndpointsApplyConfiguration {
+ return &NodeDaemonEndpointsApplyConfiguration{}
+}
+
+// WithKubeletEndpoint sets the KubeletEndpoint field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the KubeletEndpoint field is set to the value of the last call.
+func (b *NodeDaemonEndpointsApplyConfiguration) WithKubeletEndpoint(value *DaemonEndpointApplyConfiguration) *NodeDaemonEndpointsApplyConfiguration {
+ b.KubeletEndpoint = value
+ return b
+}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go b/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go
new file mode 100644
index 000000000..38fc20294
--- /dev/null
+++ b/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go
@@ -0,0 +1,45 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by applyconfiguration-gen. DO NOT EDIT.
+
+package v1
+
+// NodeSelectorApplyConfiguration represents an declarative configuration of the NodeSelector type for use
+// with apply.
+type NodeSelectorApplyConfiguration struct {
+ NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
+}
+
+// NodeSelectorApplyConfiguration constructs an declarative configuration of the NodeSelector type for use with
+// apply.
+func NodeSelector() *NodeSelectorApplyConfiguration {
+ return &NodeSelectorApplyConfiguration{}
+}
+
+// WithNodeSelectorTerms adds the given value to the NodeSelectorTerms field in the declarative configuration
+// and returns the receiver, so that objects can be build by chaining "With" function invocations.
... 11424 lines suppressed ...
[camel-k] 04/08: chore(test): improve knative kamelet binding test
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit c9776e11e4371429e8163f52ecab10dc8bab633a
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Thu Jan 19 14:55:03 2023 +0100
chore(test): improve knative kamelet binding test
I've removed some expectation as based on timing an likely to randomly
fail.
---
e2e/global/knative/kamelet_test.go | 22 ++++------------------
e2e/support/test_support.go | 7 +++++++
2 files changed, 11 insertions(+), 18 deletions(-)
diff --git a/e2e/global/knative/kamelet_test.go b/e2e/global/knative/kamelet_test.go
index 420a791a4..811149ccb 100644
--- a/e2e/global/knative/kamelet_test.go
+++ b/e2e/global/knative/kamelet_test.go
@@ -42,6 +42,7 @@ func TestKameletChange(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
operatorID := "camel-k-kamelet-change"
timerSource := "my-timer-source"
+
Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed())
Expect(CreateTimerKamelet(ns, timerSource)()).To(Succeed())
Expect(CreateKnativeChannel(ns, "messages")()).To(Succeed())
@@ -66,22 +67,15 @@ func TestKameletChange(t *testing.T) {
"trait.camel.apache.org/health.readiness-initial-delay": "10",
}
+ // Create the KameletBinding
Expect(BindKameletTo(ns, timerBinding, annotations, from, to, map[string]string{"message": "message is Hello"}, map[string]string{})()).To(Succeed())
- Eventually(KameletBindingConditionStatus(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionFalse))
- Eventually(KameletBindingCondition(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutMedium).Should(And(
- WithTransform(KameletBindingConditionReason, Equal(v1.IntegrationConditionDeploymentProgressingReason)),
- WithTransform(KameletBindingConditionMessage, Or(
- Equal("0/1 updated replicas"),
- Equal("0/1 ready replicas"),
- ))))
-
Eventually(IntegrationPodPhase(ns, timerBinding), TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationConditionStatus(ns, "timer-binding", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
Eventually(IntegrationLogs(ns, "display"), TestTimeoutShort).Should(ContainSubstring("message is Hello"))
- Eventually(KameletBindingConditionStatus(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
Eventually(KameletBindingCondition(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutMedium).Should(And(
+ WithTransform(KameletBindingConditionStatusExtract, Equal(corev1.ConditionTrue)),
WithTransform(KameletBindingConditionReason, Equal(v1.IntegrationConditionDeploymentReadyReason)),
WithTransform(KameletBindingConditionMessage, Equal(fmt.Sprintf("1/1 ready replicas"))),
))
@@ -89,21 +83,13 @@ func TestKameletChange(t *testing.T) {
// Update the KameletBinding
Expect(BindKameletTo(ns, "timer-binding", annotations, from, to, map[string]string{"message": "message is Hi"}, map[string]string{})()).To(Succeed())
- Eventually(KameletBindingConditionStatus(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionFalse))
- Eventually(KameletBindingCondition(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutMedium).Should(And(
- WithTransform(KameletBindingConditionReason, Equal(v1.IntegrationConditionDeploymentProgressingReason)),
- WithTransform(KameletBindingConditionMessage, Or(
- Equal("0/1 updated replicas"),
- Equal("0/1 ready replicas"),
- ))))
-
Eventually(IntegrationPodPhase(ns, "timer-binding"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationConditionStatus(ns, "timer-binding", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
Eventually(IntegrationLogs(ns, "display"), TestTimeoutShort).Should(ContainSubstring("message is Hi"))
- Eventually(KameletBindingConditionStatus(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
Eventually(KameletBindingCondition(ns, timerBinding, v1alpha1.KameletBindingConditionReady), TestTimeoutMedium).
Should(And(
+ WithTransform(KameletBindingConditionStatusExtract, Equal(corev1.ConditionTrue)),
WithTransform(KameletBindingConditionReason, Equal(v1.IntegrationConditionDeploymentReadyReason)),
WithTransform(KameletBindingConditionMessage, Equal("1/1 ready replicas")),
))
diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index c5f041e7c..0030cacc3 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -1089,6 +1089,13 @@ func KameletBindingCondition(ns string, name string, conditionType v1alpha1.Kame
}
}
+func KameletBindingConditionStatusExtract(c *v1alpha1.KameletBindingCondition) corev1.ConditionStatus {
+ if c == nil {
+ return ""
+ }
+ return c.Status
+}
+
func KameletBindingConditionReason(c *v1alpha1.KameletBindingCondition) string {
if c == nil {
return ""
[camel-k] 02/08: feat: Render error message condition as json/structured message (applyconfig) #3967
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 39abbab6765bf712f61a241031a9877929e05d51
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 23 14:29:42 2023 +0100
feat: Render error message condition as json/structured message (applyconfig) #3967
---
.../crd/bases/camel.apache.org_integrations.yaml | 61 +--
.../bases/camel.apache.org_kameletbindings.yaml | 61 +--
docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 10 +-
helm/camel-k/crds/crd-integration.yaml | 61 +--
helm/camel-k/crds/crd-kamelet-binding.yaml | 61 +--
pkg/apis/camel/v1/integration_types.go | 6 +-
pkg/apis/camel/v1/zz_generated.deepcopy.go | 2 +-
.../camel/applyconfiguration/camel/v1/build.go | 2 +-
.../applyconfiguration/camel/v1/camelcatalog.go | 2 +-
.../applyconfiguration/camel/v1/integration.go | 2 +-
.../applyconfiguration/camel/v1/integrationkit.go | 2 +-
.../camel/v1/integrationplatform.go | 2 +-
.../applyconfiguration/camel/v1/integrationspec.go | 28 +-
.../camel/v1/integrationstatus.go | 42 +--
.../applyconfiguration/camel/v1/mavenbuildspec.go | 9 +-
.../camel/applyconfiguration/camel/v1/mavenspec.go | 23 +-
.../applyconfiguration/camel/v1/podcondition.go | 66 +---
.../camel/applyconfiguration/camel/v1/podspec.go | 68 ++--
.../applyconfiguration/camel/v1/valuesource.go | 14 +-
.../applyconfiguration/camel/v1alpha1/endpoint.go | 8 +-
.../applyconfiguration/camel/v1alpha1/kamelet.go | 2 +-
.../camel/v1alpha1/kameletbinding.go | 2 +-
.../camel/applyconfiguration/core/v1/affinity.go | 58 ---
.../applyconfiguration/core/v1/attachedvolume.go | 53 ---
.../core/v1/awselasticblockstorevolumesource.go | 67 ----
.../core/v1/azurediskvolumesource.go | 89 -----
.../core/v1/azurefilepersistentvolumesource.go | 67 ----
.../core/v1/azurefilevolumesource.go | 58 ---
.../applyconfiguration/core/v1/capabilities.go | 57 ---
.../core/v1/cephfspersistentvolumesource.go | 87 -----
.../core/v1/cephfsvolumesource.go | 87 -----
.../core/v1/cinderpersistentvolumesource.go | 67 ----
.../core/v1/cindervolumesource.go | 67 ----
.../applyconfiguration/core/v1/clientipconfig.go | 40 --
.../core/v1/componentcondition.go | 71 ----
.../applyconfiguration/core/v1/componentstatus.go | 215 -----------
.../camel/applyconfiguration/core/v1/configmap.go | 241 ------------
.../core/v1/configmapenvsource.go | 49 ---
.../core/v1/configmapkeyselector.go | 58 ---
.../core/v1/configmapnodeconfigsource.go | 80 ----
.../core/v1/configmapprojection.go | 63 ----
.../core/v1/configmapvolumesource.go | 72 ----
.../camel/applyconfiguration/core/v1/container.go | 262 -------------
.../applyconfiguration/core/v1/containerimage.go | 51 ---
.../applyconfiguration/core/v1/containerport.go | 80 ----
.../applyconfiguration/core/v1/containerstate.go | 58 ---
.../core/v1/containerstaterunning.go | 44 ---
.../core/v1/containerstateterminated.go | 98 -----
.../core/v1/containerstatewaiting.go | 49 ---
.../applyconfiguration/core/v1/containerstatus.go | 112 ------
.../core/v1/csipersistentvolumesource.go | 127 -------
.../applyconfiguration/core/v1/csivolumesource.go | 82 ----
.../applyconfiguration/core/v1/daemonendpoint.go | 40 --
.../core/v1/downwardapiprojection.go | 45 ---
.../core/v1/downwardapivolumefile.go | 67 ----
.../core/v1/downwardapivolumesource.go | 54 ---
.../core/v1/emptydirvolumesource.go | 54 ---
.../applyconfiguration/core/v1/endpointaddress.go | 67 ----
.../applyconfiguration/core/v1/endpointport.go | 71 ----
.../camel/applyconfiguration/core/v1/endpoints.go | 216 -----------
.../applyconfiguration/core/v1/endpointsubset.go | 73 ----
.../applyconfiguration/core/v1/envfromsource.go | 58 ---
.../camel/applyconfiguration/core/v1/envvar.go | 58 ---
.../applyconfiguration/core/v1/envvarsource.go | 67 ----
.../core/v1/ephemeralcontainer.go | 250 ------------
.../core/v1/ephemeralcontainercommon.go | 262 -------------
.../core/v1/ephemeralvolumesource.go | 40 --
.../camel/applyconfiguration/core/v1/event.go | 328 ----------------
.../applyconfiguration/core/v1/eventseries.go | 53 ---
.../applyconfiguration/core/v1/eventsource.go | 49 ---
.../camel/applyconfiguration/core/v1/execaction.go | 42 ---
.../applyconfiguration/core/v1/fcvolumesource.go | 80 ----
.../core/v1/flexpersistentvolumesource.go | 82 ----
.../applyconfiguration/core/v1/flexvolumesource.go | 82 ----
.../core/v1/flockervolumesource.go | 49 ---
.../core/v1/gcepersistentdiskvolumesource.go | 67 ----
.../core/v1/gitrepovolumesource.go | 58 ---
.../core/v1/glusterfspersistentvolumesource.go | 67 ----
.../core/v1/glusterfsvolumesource.go | 58 ---
.../camel/applyconfiguration/core/v1/grpcaction.go | 49 ---
.../camel/applyconfiguration/core/v1/hostalias.go | 51 ---
.../core/v1/hostpathvolumesource.go | 53 ---
.../applyconfiguration/core/v1/httpgetaction.go | 86 -----
.../camel/applyconfiguration/core/v1/httpheader.go | 49 ---
.../core/v1/iscsipersistentvolumesource.go | 132 -------
.../core/v1/iscsivolumesource.go | 132 -------
.../camel/applyconfiguration/core/v1/keytopath.go | 58 ---
.../camel/applyconfiguration/core/v1/lifecycle.go | 49 ---
.../applyconfiguration/core/v1/lifecyclehandler.go | 58 ---
.../camel/applyconfiguration/core/v1/limitrange.go | 211 -----------
.../applyconfiguration/core/v1/limitrangeitem.go | 89 -----
.../applyconfiguration/core/v1/limitrangespec.go | 45 ---
.../core/v1/loadbalanceringress.go | 63 ----
.../core/v1/loadbalancerstatus.go | 45 ---
.../core/v1/localobjectreference.go | 40 --
.../core/v1/localvolumesource.go | 49 ---
.../camel/applyconfiguration/core/v1/namespace.go | 219 -----------
.../core/v1/namespacecondition.go | 81 ----
.../applyconfiguration/core/v1/namespacespec.go | 46 ---
.../applyconfiguration/core/v1/namespacestatus.go | 58 ---
.../applyconfiguration/core/v1/nfsvolumesource.go | 58 ---
.../camel/applyconfiguration/core/v1/node.go | 219 -----------
.../applyconfiguration/core/v1/nodeaddress.go | 53 ---
.../applyconfiguration/core/v1/nodeaffinity.go | 54 ---
.../applyconfiguration/core/v1/nodecondition.go | 90 -----
.../applyconfiguration/core/v1/nodeconfigsource.go | 40 --
.../applyconfiguration/core/v1/nodeconfigstatus.go | 67 ----
.../core/v1/nodedaemonendpoints.go | 40 --
.../applyconfiguration/core/v1/nodeselector.go | 45 ---
.../core/v1/nodeselectorrequirement.go | 64 ----
.../applyconfiguration/core/v1/nodeselectorterm.go | 59 ---
.../camel/applyconfiguration/core/v1/nodespec.go | 101 -----
.../camel/applyconfiguration/core/v1/nodestatus.go | 156 --------
.../applyconfiguration/core/v1/nodesysteminfo.go | 121 ------
.../core/v1/objectfieldselector.go | 49 ---
.../applyconfiguration/core/v1/objectreference.go | 98 -----
.../applyconfiguration/core/v1/persistentvolume.go | 219 -----------
.../core/v1/persistentvolumeclaim.go | 220 -----------
.../core/v1/persistentvolumeclaimcondition.go | 90 -----
.../core/v1/persistentvolumeclaimspec.go | 110 ------
.../core/v1/persistentvolumeclaimstatus.go | 96 -----
.../core/v1/persistentvolumeclaimtemplate.go | 189 ----------
.../core/v1/persistentvolumeclaimvolumesource.go | 49 ---
.../core/v1/persistentvolumesource.go | 229 -----------
.../core/v1/persistentvolumespec.go | 288 --------------
.../core/v1/persistentvolumestatus.go | 62 ---
.../core/v1/photonpersistentdiskvolumesource.go | 49 ---
pkg/client/camel/applyconfiguration/core/v1/pod.go | 220 -----------
.../applyconfiguration/core/v1/podaffinity.go | 59 ---
.../applyconfiguration/core/v1/podaffinityterm.go | 73 ----
.../applyconfiguration/core/v1/podantiaffinity.go | 59 ---
.../applyconfiguration/core/v1/podcondition.go | 90 -----
.../applyconfiguration/core/v1/poddnsconfig.go | 67 ----
.../core/v1/poddnsconfigoption.go | 49 ---
.../camel/applyconfiguration/core/v1/podip.go | 40 --
.../camel/applyconfiguration/core/v1/podos.go | 44 ---
.../applyconfiguration/core/v1/podreadinessgate.go | 44 ---
.../core/v1/podsecuritycontext.go | 132 -------
.../camel/applyconfiguration/core/v1/podspec.go | 419 ---------------------
.../camel/applyconfiguration/core/v1/podstatus.go | 178 ---------
.../applyconfiguration/core/v1/podtemplate.go | 211 -----------
.../applyconfiguration/core/v1/podtemplatespec.go | 189 ----------
.../camel/applyconfiguration/core/v1/portstatus.go | 62 ---
.../core/v1/portworxvolumesource.go | 58 ---
.../core/v1/preferredschedulingterm.go | 49 ---
.../camel/applyconfiguration/core/v1/probe.go | 118 ------
.../applyconfiguration/core/v1/probehandler.go | 67 ----
.../core/v1/projectedvolumesource.go | 54 ---
.../core/v1/quobytevolumesource.go | 85 -----
.../core/v1/rbdpersistentvolumesource.go | 105 ------
.../applyconfiguration/core/v1/rbdvolumesource.go | 105 ------
.../core/v1/replicationcontroller.go | 220 -----------
.../core/v1/replicationcontrollercondition.go | 81 ----
.../core/v1/replicationcontrollerspec.go | 73 ----
.../core/v1/replicationcontrollerstatus.go | 90 -----
.../core/v1/resourcefieldselector.go | 62 ---
.../applyconfiguration/core/v1/resourcequota.go | 220 -----------
.../core/v1/resourcequotaspec.go | 64 ----
.../core/v1/resourcequotastatus.go | 53 ---
.../core/v1/resourcerequirements.go | 53 ---
.../core/v1/scaleiopersistentvolumesource.go | 121 ------
.../core/v1/scaleiovolumesource.go | 121 ------
.../core/v1/scopedresourceselectorrequirement.go | 64 ----
.../applyconfiguration/core/v1/scopeselector.go | 45 ---
.../applyconfiguration/core/v1/seccompprofile.go | 53 ---
.../camel/applyconfiguration/core/v1/secret.go | 251 ------------
.../applyconfiguration/core/v1/secretenvsource.go | 49 ---
.../core/v1/secretkeyselector.go | 58 ---
.../applyconfiguration/core/v1/secretprojection.go | 63 ----
.../applyconfiguration/core/v1/secretreference.go | 49 ---
.../core/v1/secretvolumesource.go | 72 ----
.../applyconfiguration/core/v1/securitycontext.go | 134 -------
.../applyconfiguration/core/v1/selinuxoptions.go | 67 ----
.../camel/applyconfiguration/core/v1/service.go | 220 -----------
.../applyconfiguration/core/v1/serviceaccount.go | 239 ------------
.../core/v1/serviceaccounttokenprojection.go | 58 ---
.../applyconfiguration/core/v1/serviceport.go | 90 -----
.../applyconfiguration/core/v1/servicespec.go | 225 -----------
.../applyconfiguration/core/v1/servicestatus.go | 58 ---
.../core/v1/sessionaffinityconfig.go | 40 --
.../core/v1/storageospersistentvolumesource.go | 76 ----
.../core/v1/storageosvolumesource.go | 76 ----
.../camel/applyconfiguration/core/v1/sysctl.go | 49 ---
.../camel/applyconfiguration/core/v1/taint.go | 72 ----
.../applyconfiguration/core/v1/tcpsocketaction.go | 53 ---
.../camel/applyconfiguration/core/v1/toleration.go | 80 ----
.../core/v1/topologyspreadconstraint.go | 110 ------
.../core/v1/typedlocalobjectreference.go | 58 ---
.../camel/applyconfiguration/core/v1/volume.go | 273 --------------
.../applyconfiguration/core/v1/volumedevice.go | 49 ---
.../applyconfiguration/core/v1/volumemount.go | 89 -----
.../core/v1/volumenodeaffinity.go | 40 --
.../applyconfiguration/core/v1/volumeprojection.go | 67 ----
.../applyconfiguration/core/v1/volumesource.go | 292 --------------
.../core/v1/vspherevirtualdiskvolumesource.go | 67 ----
.../core/v1/weightedpodaffinityterm.go | 49 ---
.../core/v1/windowssecuritycontextoptions.go | 67 ----
.../camel/applyconfiguration/meta/v1/condition.go | 89 -----
.../applyconfiguration/meta/v1/labelselector.go | 60 ---
.../meta/v1/labelselectorrequirement.go | 64 ----
.../meta/v1/managedfieldsentry.go | 98 -----
.../camel/applyconfiguration/meta/v1/objectmeta.go | 172 ---------
.../applyconfiguration/meta/v1/ownerreference.go | 89 -----
.../camel/applyconfiguration/meta/v1/typemeta.go | 49 ---
pkg/client/camel/applyconfiguration/utils.go | 372 ------------------
pkg/controller/integration/monitor.go | 6 +-
pkg/resources/resources.go | 8 +-
script/gen_client.sh | 2 +-
208 files changed, 257 insertions(+), 18047 deletions(-)
diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/config/crd/bases/camel.apache.org_integrations.yaml
index e782886df..51c6ba51f 100644
--- a/config/crd/bases/camel.apache.org_integrations.yaml
+++ b/config/crd/bases/camel.apache.org_integrations.yaml
@@ -7393,6 +7393,39 @@ spec:
from the owned PODs
items:
properties:
+ condition:
+ description: PodCondition contains details for the current
+ condition of this pod.
+ properties:
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned
+ from one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for
+ the condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition.
+ Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
health:
items:
properties:
@@ -7409,36 +7442,10 @@ spec:
type: string
type: object
type: array
- lastProbeTime:
- description: Last time we probed the condition.
- format: date-time
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from
- one status to another.
- format: date-time
- type: string
- message:
- description: Human-readable message indicating details
- about last transition.
- type: string
name:
type: string
- reason:
- description: Unique, one-word, CamelCase reason for the
- condition's last transition.
- type: string
- status:
- description: 'Status is the status of the condition. Can
- be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
- type:
- description: 'Type is the type of the condition. More
- info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
required:
- - status
- - type
+ - condition
type: object
type: array
reason:
diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml
index d29c30b6c..cf2213b68 100644
--- a/config/crd/bases/camel.apache.org_kameletbindings.yaml
+++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml
@@ -8347,6 +8347,39 @@ spec:
from the owned PODs
items:
properties:
+ condition:
+ description: PodCondition contains details for the current
+ condition of this pod.
+ properties:
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned
+ from one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for
+ the condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition.
+ Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
health:
items:
properties:
@@ -8363,36 +8396,10 @@ spec:
type: string
type: object
type: array
- lastProbeTime:
- description: Last time we probed the condition.
- format: date-time
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from
- one status to another.
- format: date-time
- type: string
- message:
- description: Human-readable message indicating details
- about last transition.
- type: string
name:
type: string
- reason:
- description: Unique, one-word, CamelCase reason for the
- condition's last transition.
- type: string
- status:
- description: 'Status is the status of the condition. Can
- be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
- type:
- description: 'Type is the type of the condition. More
- info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
required:
- - status
- - type
+ - condition
type: object
type: array
reason:
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index c5e59294e..4b9e182a0 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -2527,15 +2527,15 @@ See https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html.
|Field
|Description
-|`PodCondition` +
-*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podcondition-v1-core[Kubernetes core/v1.PodCondition]*
-|(Members of `PodCondition` are embedded into this type.)
+|`name` +
+string
+|
-|`name` +
-string
+|`condition` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podcondition-v1-core[Kubernetes core/v1.PodCondition]*
|
diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml
index e782886df..51c6ba51f 100644
--- a/helm/camel-k/crds/crd-integration.yaml
+++ b/helm/camel-k/crds/crd-integration.yaml
@@ -7393,6 +7393,39 @@ spec:
from the owned PODs
items:
properties:
+ condition:
+ description: PodCondition contains details for the current
+ condition of this pod.
+ properties:
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned
+ from one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for
+ the condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition.
+ Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
health:
items:
properties:
@@ -7409,36 +7442,10 @@ spec:
type: string
type: object
type: array
- lastProbeTime:
- description: Last time we probed the condition.
- format: date-time
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from
- one status to another.
- format: date-time
- type: string
- message:
- description: Human-readable message indicating details
- about last transition.
- type: string
name:
type: string
- reason:
- description: Unique, one-word, CamelCase reason for the
- condition's last transition.
- type: string
- status:
- description: 'Status is the status of the condition. Can
- be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
- type:
- description: 'Type is the type of the condition. More
- info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
required:
- - status
- - type
+ - condition
type: object
type: array
reason:
diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml
index d29c30b6c..cf2213b68 100644
--- a/helm/camel-k/crds/crd-kamelet-binding.yaml
+++ b/helm/camel-k/crds/crd-kamelet-binding.yaml
@@ -8347,6 +8347,39 @@ spec:
from the owned PODs
items:
properties:
+ condition:
+ description: PodCondition contains details for the current
+ condition of this pod.
+ properties:
+ lastProbeTime:
+ description: Last time we probed the condition.
+ format: date-time
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned
+ from one status to another.
+ format: date-time
+ type: string
+ message:
+ description: Human-readable message indicating details
+ about last transition.
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for
+ the condition's last transition.
+ type: string
+ status:
+ description: 'Status is the status of the condition.
+ Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ type:
+ description: 'Type is the type of the condition. More
+ info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
+ type: string
+ required:
+ - status
+ - type
+ type: object
health:
items:
properties:
@@ -8363,36 +8396,10 @@ spec:
type: string
type: object
type: array
- lastProbeTime:
- description: Last time we probed the condition.
- format: date-time
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from
- one status to another.
- format: date-time
- type: string
- message:
- description: Human-readable message indicating details
- about last transition.
- type: string
name:
type: string
- reason:
- description: Unique, one-word, CamelCase reason for the
- condition's last transition.
- type: string
- status:
- description: 'Status is the status of the condition. Can
- be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
- type:
- description: 'Type is the type of the condition. More
- info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions'
- type: string
required:
- - status
- - type
+ - condition
type: object
type: array
reason:
diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go
index 0f609c655..05b49718c 100644
--- a/pkg/apis/camel/v1/integration_types.go
+++ b/pkg/apis/camel/v1/integration_types.go
@@ -299,7 +299,7 @@ type PodSpec struct {
}
type PodCondition struct {
- corev1.PodCondition `json:",inline" yaml:",inline"`
- Name string `json:"name,omitempty" yaml:"name,omitempty"`
- Health []HealthCheckResponse `json:"health,omitempty" yaml:"health,omitempty"`
+ Name string `json:"name,omitempty" yaml:"name,omitempty"`
+ Condition corev1.PodCondition `json:"condition" yaml:"condition"`
+ Health []HealthCheckResponse `json:"health,omitempty" yaml:"health,omitempty"`
}
diff --git a/pkg/apis/camel/v1/zz_generated.deepcopy.go b/pkg/apis/camel/v1/zz_generated.deepcopy.go
index 454a2c1b3..6d4e1d5f0 100644
--- a/pkg/apis/camel/v1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1/zz_generated.deepcopy.go
@@ -1377,7 +1377,7 @@ func (in PluginProperties) DeepCopy() PluginProperties {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PodCondition) DeepCopyInto(out *PodCondition) {
*out = *in
- in.PodCondition.DeepCopyInto(&out.PodCondition)
+ in.Condition.DeepCopyInto(&out.Condition)
if in.Health != nil {
in, out := &in.Health, &out.Health
*out = make([]HealthCheckResponse, len(*in))
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/build.go b/pkg/client/camel/applyconfiguration/camel/v1/build.go
index 6be9d11dc..7f4dbc514 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/build.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/build.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// BuildApplyConfiguration represents an declarative configuration of the Build type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go b/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
index d2f06625e..ddfdfeafd 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go
@@ -21,9 +21,9 @@ package v1
import (
camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1"
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// CamelCatalogApplyConfiguration represents an declarative configuration of the CamelCatalog type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integration.go b/pkg/client/camel/applyconfiguration/camel/v1/integration.go
index 7d10840e1..5cf1edb0d 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integration.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integration.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationApplyConfiguration represents an declarative configuration of the Integration type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
index 58e3ee554..0ea2e903c 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationKitApplyConfiguration represents an declarative configuration of the IntegrationKit type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
index f5565dfdb..e5eb66992 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// IntegrationPlatformApplyConfiguration represents an declarative configuration of the IntegrationPlatform type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
index 9f84a4f94..afa204a31 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationspec.go
@@ -21,23 +21,23 @@ package v1
import (
camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1"
- corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ corev1 "k8s.io/api/core/v1"
)
// IntegrationSpecApplyConfiguration represents an declarative configuration of the IntegrationSpec type for use
// with apply.
type IntegrationSpecApplyConfiguration struct {
- Replicas *int32 `json:"replicas,omitempty"`
- Sources []SourceSpecApplyConfiguration `json:"sources,omitempty"`
- Flows []FlowApplyConfiguration `json:"flows,omitempty"`
- IntegrationKit *corev1.ObjectReferenceApplyConfiguration `json:"integrationKit,omitempty"`
- Dependencies []string `json:"dependencies,omitempty"`
- Profile *camelv1.TraitProfile `json:"profile,omitempty"`
- Traits *TraitsApplyConfiguration `json:"traits,omitempty"`
- PodTemplate *PodSpecTemplateApplyConfiguration `json:"template,omitempty"`
- Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
- Repositories []string `json:"repositories,omitempty"`
- ServiceAccountName *string `json:"serviceAccountName,omitempty"`
+ Replicas *int32 `json:"replicas,omitempty"`
+ Sources []SourceSpecApplyConfiguration `json:"sources,omitempty"`
+ Flows []FlowApplyConfiguration `json:"flows,omitempty"`
+ IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"`
+ Dependencies []string `json:"dependencies,omitempty"`
+ Profile *camelv1.TraitProfile `json:"profile,omitempty"`
+ Traits *TraitsApplyConfiguration `json:"traits,omitempty"`
+ PodTemplate *PodSpecTemplateApplyConfiguration `json:"template,omitempty"`
+ Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
+ Repositories []string `json:"repositories,omitempty"`
+ ServiceAccountName *string `json:"serviceAccountName,omitempty"`
}
// IntegrationSpecApplyConfiguration constructs an declarative configuration of the IntegrationSpec type for use with
@@ -83,8 +83,8 @@ func (b *IntegrationSpecApplyConfiguration) WithFlows(values ...*FlowApplyConfig
// WithIntegrationKit sets the IntegrationKit field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the IntegrationKit field is set to the value of the last call.
-func (b *IntegrationSpecApplyConfiguration) WithIntegrationKit(value *corev1.ObjectReferenceApplyConfiguration) *IntegrationSpecApplyConfiguration {
- b.IntegrationKit = value
+func (b *IntegrationSpecApplyConfiguration) WithIntegrationKit(value corev1.ObjectReference) *IntegrationSpecApplyConfiguration {
+ b.IntegrationKit = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go b/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
index b14b874bc..5b7fbc778 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/integrationstatus.go
@@ -21,31 +21,31 @@ package v1
import (
v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
- corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// IntegrationStatusApplyConfiguration represents an declarative configuration of the IntegrationStatus type for use
// with apply.
type IntegrationStatusApplyConfiguration struct {
- ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
- Phase *v1.IntegrationPhase `json:"phase,omitempty"`
- Digest *string `json:"digest,omitempty"`
- Image *string `json:"image,omitempty"`
- Dependencies []string `json:"dependencies,omitempty"`
- Profile *v1.TraitProfile `json:"profile,omitempty"`
- IntegrationKit *corev1.ObjectReferenceApplyConfiguration `json:"integrationKit,omitempty"`
- Platform *string `json:"platform,omitempty"`
- GeneratedSources []SourceSpecApplyConfiguration `json:"generatedSources,omitempty"`
- RuntimeVersion *string `json:"runtimeVersion,omitempty"`
- RuntimeProvider *v1.RuntimeProvider `json:"runtimeProvider,omitempty"`
- Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
- Conditions []IntegrationConditionApplyConfiguration `json:"conditions,omitempty"`
- Version *string `json:"version,omitempty"`
- Replicas *int32 `json:"replicas,omitempty"`
- Selector *string `json:"selector,omitempty"`
- Capabilities []string `json:"capabilities,omitempty"`
- InitializationTimestamp *metav1.Time `json:"lastInitTimestamp,omitempty"`
+ ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
+ Phase *v1.IntegrationPhase `json:"phase,omitempty"`
+ Digest *string `json:"digest,omitempty"`
+ Image *string `json:"image,omitempty"`
+ Dependencies []string `json:"dependencies,omitempty"`
+ Profile *v1.TraitProfile `json:"profile,omitempty"`
+ IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"`
+ Platform *string `json:"platform,omitempty"`
+ GeneratedSources []SourceSpecApplyConfiguration `json:"generatedSources,omitempty"`
+ RuntimeVersion *string `json:"runtimeVersion,omitempty"`
+ RuntimeProvider *v1.RuntimeProvider `json:"runtimeProvider,omitempty"`
+ Configuration []ConfigurationSpecApplyConfiguration `json:"configuration,omitempty"`
+ Conditions []IntegrationConditionApplyConfiguration `json:"conditions,omitempty"`
+ Version *string `json:"version,omitempty"`
+ Replicas *int32 `json:"replicas,omitempty"`
+ Selector *string `json:"selector,omitempty"`
+ Capabilities []string `json:"capabilities,omitempty"`
+ InitializationTimestamp *metav1.Time `json:"lastInitTimestamp,omitempty"`
}
// IntegrationStatusApplyConfiguration constructs an declarative configuration of the IntegrationStatus type for use with
@@ -107,8 +107,8 @@ func (b *IntegrationStatusApplyConfiguration) WithProfile(value v1.TraitProfile)
// WithIntegrationKit sets the IntegrationKit field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the IntegrationKit field is set to the value of the last call.
-func (b *IntegrationStatusApplyConfiguration) WithIntegrationKit(value *corev1.ObjectReferenceApplyConfiguration) *IntegrationStatusApplyConfiguration {
- b.IntegrationKit = value
+func (b *IntegrationStatusApplyConfiguration) WithIntegrationKit(value corev1.ObjectReference) *IntegrationStatusApplyConfiguration {
+ b.IntegrationKit = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go b/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
index 17a75a18a..8878c5f37 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/mavenbuildspec.go
@@ -20,7 +20,7 @@ limitations under the License.
package v1
import (
- corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ corev1 "k8s.io/api/core/v1"
)
// MavenBuildSpecApplyConfiguration represents an declarative configuration of the MavenBuildSpec type for use
@@ -78,12 +78,9 @@ func (b *MavenBuildSpecApplyConfiguration) WithSettingsSecurity(value *ValueSour
// WithCASecrets adds the given value to the CASecrets field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the CASecrets field.
-func (b *MavenBuildSpecApplyConfiguration) WithCASecrets(values ...*corev1.SecretKeySelectorApplyConfiguration) *MavenBuildSpecApplyConfiguration {
+func (b *MavenBuildSpecApplyConfiguration) WithCASecrets(values ...corev1.SecretKeySelector) *MavenBuildSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithCASecrets")
- }
- b.CASecrets = append(b.CASecrets, *values[i])
+ b.CASecrets = append(b.CASecrets, values[i])
}
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go b/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
index f98449637..b10564b40 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/mavenspec.go
@@ -20,19 +20,19 @@ limitations under the License.
package v1
import (
- corev1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ corev1 "k8s.io/api/core/v1"
)
// MavenSpecApplyConfiguration represents an declarative configuration of the MavenSpec type for use
// with apply.
type MavenSpecApplyConfiguration struct {
- LocalRepository *string `json:"localRepository,omitempty"`
- Properties map[string]string `json:"properties,omitempty"`
- Settings *ValueSourceApplyConfiguration `json:"settings,omitempty"`
- SettingsSecurity *ValueSourceApplyConfiguration `json:"settingsSecurity,omitempty"`
- CASecrets []corev1.SecretKeySelectorApplyConfiguration `json:"caSecrets,omitempty"`
- Extension []MavenArtifactApplyConfiguration `json:"extension,omitempty"`
- CLIOptions []string `json:"cliOptions,omitempty"`
+ LocalRepository *string `json:"localRepository,omitempty"`
+ Properties map[string]string `json:"properties,omitempty"`
+ Settings *ValueSourceApplyConfiguration `json:"settings,omitempty"`
+ SettingsSecurity *ValueSourceApplyConfiguration `json:"settingsSecurity,omitempty"`
+ CASecrets []corev1.SecretKeySelector `json:"caSecrets,omitempty"`
+ Extension []MavenArtifactApplyConfiguration `json:"extension,omitempty"`
+ CLIOptions []string `json:"cliOptions,omitempty"`
}
// MavenSpecApplyConfiguration constructs an declarative configuration of the MavenSpec type for use with
@@ -82,12 +82,9 @@ func (b *MavenSpecApplyConfiguration) WithSettingsSecurity(value *ValueSourceApp
// WithCASecrets adds the given value to the CASecrets field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the CASecrets field.
-func (b *MavenSpecApplyConfiguration) WithCASecrets(values ...*corev1.SecretKeySelectorApplyConfiguration) *MavenSpecApplyConfiguration {
+func (b *MavenSpecApplyConfiguration) WithCASecrets(values ...corev1.SecretKeySelector) *MavenSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithCASecrets")
- }
- b.CASecrets = append(b.CASecrets, *values[i])
+ b.CASecrets = append(b.CASecrets, values[i])
}
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go b/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
index 5de38d9f7..e54482b25 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/podcondition.go
@@ -20,17 +20,15 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
- corev1 "k8s.io/api/core/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ v1 "k8s.io/api/core/v1"
)
// PodConditionApplyConfiguration represents an declarative configuration of the PodCondition type for use
// with apply.
type PodConditionApplyConfiguration struct {
- v1.PodConditionApplyConfiguration `json:",inline"`
- Name *string `json:"name,omitempty"`
- Health []HealthCheckResponseApplyConfiguration `json:"health,omitempty"`
+ Name *string `json:"name,omitempty"`
+ Condition *v1.PodCondition `json:"condition,omitempty"`
+ Health []HealthCheckResponseApplyConfiguration `json:"health,omitempty"`
}
// PodConditionApplyConfiguration constructs an declarative configuration of the PodCondition type for use with
@@ -39,54 +37,6 @@ func PodCondition() *PodConditionApplyConfiguration {
return &PodConditionApplyConfiguration{}
}
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithType(value corev1.PodConditionType) *PodConditionApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *PodConditionApplyConfiguration {
- b.Status = &value
- return b
-}
-
-// WithLastProbeTime sets the LastProbeTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastProbeTime field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithLastProbeTime(value metav1.Time) *PodConditionApplyConfiguration {
- b.LastProbeTime = &value
- return b
-}
-
-// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodConditionApplyConfiguration {
- b.LastTransitionTime = &value
- return b
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithReason(value string) *PodConditionApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *PodConditionApplyConfiguration) WithMessage(value string) *PodConditionApplyConfiguration {
- b.Message = &value
- return b
-}
-
// WithName sets the Name field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Name field is set to the value of the last call.
@@ -95,6 +45,14 @@ func (b *PodConditionApplyConfiguration) WithName(value string) *PodConditionApp
return b
}
+// WithCondition sets the Condition field in the declarative configuration to the given value
+// and returns the receiver, so that objects can be built by chaining "With" function invocations.
+// If called multiple times, the Condition field is set to the value of the last call.
+func (b *PodConditionApplyConfiguration) WithCondition(value v1.PodCondition) *PodConditionApplyConfiguration {
+ b.Condition = &value
+ return b
+}
+
// WithHealth adds the given value to the Health field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Health field.
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/podspec.go b/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
index f7878a7d0..12de22cf5 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/podspec.go
@@ -20,24 +20,23 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
- corev1 "k8s.io/api/core/v1"
+ v1 "k8s.io/api/core/v1"
)
// PodSpecApplyConfiguration represents an declarative configuration of the PodSpec type for use
// with apply.
type PodSpecApplyConfiguration struct {
- Volumes []v1.VolumeApplyConfiguration `json:"volumes,omitempty"`
- InitContainers []v1.ContainerApplyConfiguration `json:"initContainers,omitempty"`
- Containers []v1.ContainerApplyConfiguration `json:"containers,omitempty"`
- EphemeralContainers []v1.EphemeralContainerApplyConfiguration `json:"ephemeralContainers,omitempty"`
- RestartPolicy *corev1.RestartPolicy `json:"restartPolicy,omitempty"`
- TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
- ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
- DNSPolicy *corev1.DNSPolicy `json:"dnsPolicy,omitempty"`
- NodeSelector map[string]string `json:"nodeSelector,omitempty"`
- TopologySpreadConstraints []v1.TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
- SecurityContext *v1.PodSecurityContextApplyConfiguration `json:"securityContext,omitempty"`
+ Volumes []v1.Volume `json:"volumes,omitempty"`
+ InitContainers []v1.Container `json:"initContainers,omitempty"`
+ Containers []v1.Container `json:"containers,omitempty"`
+ EphemeralContainers []v1.EphemeralContainer `json:"ephemeralContainers,omitempty"`
+ RestartPolicy *v1.RestartPolicy `json:"restartPolicy,omitempty"`
+ TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
+ ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
+ DNSPolicy *v1.DNSPolicy `json:"dnsPolicy,omitempty"`
+ NodeSelector map[string]string `json:"nodeSelector,omitempty"`
+ TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
+ SecurityContext *v1.PodSecurityContext `json:"securityContext,omitempty"`
}
// PodSpecApplyConfiguration constructs an declarative configuration of the PodSpec type for use with
@@ -49,12 +48,9 @@ func PodSpec() *PodSpecApplyConfiguration {
// WithVolumes adds the given value to the Volumes field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Volumes field.
-func (b *PodSpecApplyConfiguration) WithVolumes(values ...*v1.VolumeApplyConfiguration) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithVolumes(values ...v1.Volume) *PodSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumes")
- }
- b.Volumes = append(b.Volumes, *values[i])
+ b.Volumes = append(b.Volumes, values[i])
}
return b
}
@@ -62,12 +58,9 @@ func (b *PodSpecApplyConfiguration) WithVolumes(values ...*v1.VolumeApplyConfigu
// WithInitContainers adds the given value to the InitContainers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the InitContainers field.
-func (b *PodSpecApplyConfiguration) WithInitContainers(values ...*v1.ContainerApplyConfiguration) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithInitContainers(values ...v1.Container) *PodSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithInitContainers")
- }
- b.InitContainers = append(b.InitContainers, *values[i])
+ b.InitContainers = append(b.InitContainers, values[i])
}
return b
}
@@ -75,12 +68,9 @@ func (b *PodSpecApplyConfiguration) WithInitContainers(values ...*v1.ContainerAp
// WithContainers adds the given value to the Containers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Containers field.
-func (b *PodSpecApplyConfiguration) WithContainers(values ...*v1.ContainerApplyConfiguration) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithContainers(values ...v1.Container) *PodSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithContainers")
- }
- b.Containers = append(b.Containers, *values[i])
+ b.Containers = append(b.Containers, values[i])
}
return b
}
@@ -88,12 +78,9 @@ func (b *PodSpecApplyConfiguration) WithContainers(values ...*v1.ContainerApplyC
// WithEphemeralContainers adds the given value to the EphemeralContainers field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the EphemeralContainers field.
-func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...*v1.EphemeralContainerApplyConfiguration) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...v1.EphemeralContainer) *PodSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEphemeralContainers")
- }
- b.EphemeralContainers = append(b.EphemeralContainers, *values[i])
+ b.EphemeralContainers = append(b.EphemeralContainers, values[i])
}
return b
}
@@ -101,7 +88,7 @@ func (b *PodSpecApplyConfiguration) WithEphemeralContainers(values ...*v1.Epheme
// WithRestartPolicy sets the RestartPolicy field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the RestartPolicy field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithRestartPolicy(value corev1.RestartPolicy) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithRestartPolicy(value v1.RestartPolicy) *PodSpecApplyConfiguration {
b.RestartPolicy = &value
return b
}
@@ -125,7 +112,7 @@ func (b *PodSpecApplyConfiguration) WithActiveDeadlineSeconds(value int64) *PodS
// WithDNSPolicy sets the DNSPolicy field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DNSPolicy field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithDNSPolicy(value corev1.DNSPolicy) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithDNSPolicy(value v1.DNSPolicy) *PodSpecApplyConfiguration {
b.DNSPolicy = &value
return b
}
@@ -147,12 +134,9 @@ func (b *PodSpecApplyConfiguration) WithNodeSelector(entries map[string]string)
// WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field.
-func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*v1.TopologySpreadConstraintApplyConfiguration) *PodSpecApplyConfiguration {
+func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...v1.TopologySpreadConstraint) *PodSpecApplyConfiguration {
for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithTopologySpreadConstraints")
- }
- b.TopologySpreadConstraints = append(b.TopologySpreadConstraints, *values[i])
+ b.TopologySpreadConstraints = append(b.TopologySpreadConstraints, values[i])
}
return b
}
@@ -160,7 +144,7 @@ func (b *PodSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*v1.
// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the SecurityContext field is set to the value of the last call.
-func (b *PodSpecApplyConfiguration) WithSecurityContext(value *v1.PodSecurityContextApplyConfiguration) *PodSpecApplyConfiguration {
- b.SecurityContext = value
+func (b *PodSpecApplyConfiguration) WithSecurityContext(value v1.PodSecurityContext) *PodSpecApplyConfiguration {
+ b.SecurityContext = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go b/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
index 227a1ff0b..d2b0a430d 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1/valuesource.go
@@ -20,14 +20,14 @@ limitations under the License.
package v1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ v1 "k8s.io/api/core/v1"
)
// ValueSourceApplyConfiguration represents an declarative configuration of the ValueSource type for use
// with apply.
type ValueSourceApplyConfiguration struct {
- ConfigMapKeyRef *v1.ConfigMapKeySelectorApplyConfiguration `json:"configMapKeyRef,omitempty"`
- SecretKeyRef *v1.SecretKeySelectorApplyConfiguration `json:"secretKeyRef,omitempty"`
+ ConfigMapKeyRef *v1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
+ SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}
// ValueSourceApplyConfiguration constructs an declarative configuration of the ValueSource type for use with
@@ -39,15 +39,15 @@ func ValueSource() *ValueSourceApplyConfiguration {
// WithConfigMapKeyRef sets the ConfigMapKeyRef field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ConfigMapKeyRef field is set to the value of the last call.
-func (b *ValueSourceApplyConfiguration) WithConfigMapKeyRef(value *v1.ConfigMapKeySelectorApplyConfiguration) *ValueSourceApplyConfiguration {
- b.ConfigMapKeyRef = value
+func (b *ValueSourceApplyConfiguration) WithConfigMapKeyRef(value v1.ConfigMapKeySelector) *ValueSourceApplyConfiguration {
+ b.ConfigMapKeyRef = &value
return b
}
// WithSecretKeyRef sets the SecretKeyRef field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the SecretKeyRef field is set to the value of the last call.
-func (b *ValueSourceApplyConfiguration) WithSecretKeyRef(value *v1.SecretKeySelectorApplyConfiguration) *ValueSourceApplyConfiguration {
- b.SecretKeyRef = value
+func (b *ValueSourceApplyConfiguration) WithSecretKeyRef(value v1.SecretKeySelector) *ValueSourceApplyConfiguration {
+ b.SecretKeyRef = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
index 9b5b925e4..d3a5f070e 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/endpoint.go
@@ -21,13 +21,13 @@ package v1alpha1
import (
camelv1alpha1 "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/core/v1"
+ v1 "k8s.io/api/core/v1"
)
// EndpointApplyConfiguration represents an declarative configuration of the Endpoint type for use
// with apply.
type EndpointApplyConfiguration struct {
- Ref *v1.ObjectReferenceApplyConfiguration `json:"ref,omitempty"`
+ Ref *v1.ObjectReference `json:"ref,omitempty"`
URI *string `json:"uri,omitempty"`
Properties *EndpointPropertiesApplyConfiguration `json:"properties,omitempty"`
Types map[camelv1alpha1.EventSlot]EventTypeSpecApplyConfiguration `json:"types,omitempty"`
@@ -42,8 +42,8 @@ func Endpoint() *EndpointApplyConfiguration {
// WithRef sets the Ref field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Ref field is set to the value of the last call.
-func (b *EndpointApplyConfiguration) WithRef(value *v1.ObjectReferenceApplyConfiguration) *EndpointApplyConfiguration {
- b.Ref = value
+func (b *EndpointApplyConfiguration) WithRef(value v1.ObjectReference) *EndpointApplyConfiguration {
+ b.Ref = &value
return b
}
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
index d3a74f577..f9870e1ca 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kamelet.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1alpha1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// KameletApplyConfiguration represents an declarative configuration of the Kamelet type for use
diff --git a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
index 6192819a7..794bed9d5 100644
--- a/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
+++ b/pkg/client/camel/applyconfiguration/camel/v1alpha1/kameletbinding.go
@@ -20,9 +20,9 @@ limitations under the License.
package v1alpha1
import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
+ v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// KameletBindingApplyConfiguration represents an declarative configuration of the KameletBinding type for use
diff --git a/pkg/client/camel/applyconfiguration/core/v1/affinity.go b/pkg/client/camel/applyconfiguration/core/v1/affinity.go
deleted file mode 100644
index c10f32c57..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/affinity.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use
-// with apply.
-type AffinityApplyConfiguration struct {
- NodeAffinity *NodeAffinityApplyConfiguration `json:"nodeAffinity,omitempty"`
- PodAffinity *PodAffinityApplyConfiguration `json:"podAffinity,omitempty"`
- PodAntiAffinity *PodAntiAffinityApplyConfiguration `json:"podAntiAffinity,omitempty"`
-}
-
-// AffinityApplyConfiguration constructs an declarative configuration of the Affinity type for use with
-// apply.
-func Affinity() *AffinityApplyConfiguration {
- return &AffinityApplyConfiguration{}
-}
-
-// WithNodeAffinity sets the NodeAffinity field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodeAffinity field is set to the value of the last call.
-func (b *AffinityApplyConfiguration) WithNodeAffinity(value *NodeAffinityApplyConfiguration) *AffinityApplyConfiguration {
- b.NodeAffinity = value
- return b
-}
-
-// WithPodAffinity sets the PodAffinity field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PodAffinity field is set to the value of the last call.
-func (b *AffinityApplyConfiguration) WithPodAffinity(value *PodAffinityApplyConfiguration) *AffinityApplyConfiguration {
- b.PodAffinity = value
- return b
-}
-
-// WithPodAntiAffinity sets the PodAntiAffinity field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PodAntiAffinity field is set to the value of the last call.
-func (b *AffinityApplyConfiguration) WithPodAntiAffinity(value *PodAntiAffinityApplyConfiguration) *AffinityApplyConfiguration {
- b.PodAntiAffinity = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go b/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go
deleted file mode 100644
index 4be5b7f00..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/attachedvolume.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// AttachedVolumeApplyConfiguration represents an declarative configuration of the AttachedVolume type for use
-// with apply.
-type AttachedVolumeApplyConfiguration struct {
- Name *v1.UniqueVolumeName `json:"name,omitempty"`
- DevicePath *string `json:"devicePath,omitempty"`
-}
-
-// AttachedVolumeApplyConfiguration constructs an declarative configuration of the AttachedVolume type for use with
-// apply.
-func AttachedVolume() *AttachedVolumeApplyConfiguration {
- return &AttachedVolumeApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *AttachedVolumeApplyConfiguration) WithName(value v1.UniqueVolumeName) *AttachedVolumeApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithDevicePath sets the DevicePath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DevicePath field is set to the value of the last call.
-func (b *AttachedVolumeApplyConfiguration) WithDevicePath(value string) *AttachedVolumeApplyConfiguration {
- b.DevicePath = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go
deleted file mode 100644
index 6888345f8..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/awselasticblockstorevolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// AWSElasticBlockStoreVolumeSourceApplyConfiguration represents an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use
-// with apply.
-type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct {
- VolumeID *string `json:"volumeID,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- Partition *int32 `json:"partition,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// AWSElasticBlockStoreVolumeSourceApplyConfiguration constructs an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use with
-// apply.
-func AWSElasticBlockStoreVolumeSource() *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
- return &AWSElasticBlockStoreVolumeSourceApplyConfiguration{}
-}
-
-// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the VolumeID field is set to the value of the last call.
-func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithVolumeID(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
- b.VolumeID = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithFSType(value string) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithPartition sets the Partition field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Partition field is set to the value of the last call.
-func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithPartition(value int32) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
- b.Partition = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *AWSElasticBlockStoreVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AWSElasticBlockStoreVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go
deleted file mode 100644
index a7796b579..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/azurediskvolumesource.go
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// AzureDiskVolumeSourceApplyConfiguration represents an declarative configuration of the AzureDiskVolumeSource type for use
-// with apply.
-type AzureDiskVolumeSourceApplyConfiguration struct {
- DiskName *string `json:"diskName,omitempty"`
- DataDiskURI *string `json:"diskURI,omitempty"`
- CachingMode *v1.AzureDataDiskCachingMode `json:"cachingMode,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- Kind *v1.AzureDataDiskKind `json:"kind,omitempty"`
-}
-
-// AzureDiskVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureDiskVolumeSource type for use with
-// apply.
-func AzureDiskVolumeSource() *AzureDiskVolumeSourceApplyConfiguration {
- return &AzureDiskVolumeSourceApplyConfiguration{}
-}
-
-// WithDiskName sets the DiskName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DiskName field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithDiskName(value string) *AzureDiskVolumeSourceApplyConfiguration {
- b.DiskName = &value
- return b
-}
-
-// WithDataDiskURI sets the DataDiskURI field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DataDiskURI field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithDataDiskURI(value string) *AzureDiskVolumeSourceApplyConfiguration {
- b.DataDiskURI = &value
- return b
-}
-
-// WithCachingMode sets the CachingMode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CachingMode field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithCachingMode(value v1.AzureDataDiskCachingMode) *AzureDiskVolumeSourceApplyConfiguration {
- b.CachingMode = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithFSType(value string) *AzureDiskVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureDiskVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *AzureDiskVolumeSourceApplyConfiguration) WithKind(value v1.AzureDataDiskKind) *AzureDiskVolumeSourceApplyConfiguration {
- b.Kind = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go
deleted file mode 100644
index f878d6108..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/azurefilepersistentvolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// AzureFilePersistentVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFilePersistentVolumeSource type for use
-// with apply.
-type AzureFilePersistentVolumeSourceApplyConfiguration struct {
- SecretName *string `json:"secretName,omitempty"`
- ShareName *string `json:"shareName,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- SecretNamespace *string `json:"secretNamespace,omitempty"`
-}
-
-// AzureFilePersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureFilePersistentVolumeSource type for use with
-// apply.
-func AzureFilePersistentVolumeSource() *AzureFilePersistentVolumeSourceApplyConfiguration {
- return &AzureFilePersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithSecretName sets the SecretName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretName field is set to the value of the last call.
-func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
- b.SecretName = &value
- return b
-}
-
-// WithShareName sets the ShareName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ShareName field is set to the value of the last call.
-func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
- b.ShareName = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFilePersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithSecretNamespace sets the SecretNamespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretNamespace field is set to the value of the last call.
-func (b *AzureFilePersistentVolumeSourceApplyConfiguration) WithSecretNamespace(value string) *AzureFilePersistentVolumeSourceApplyConfiguration {
- b.SecretNamespace = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go
deleted file mode 100644
index 5814e507c..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/azurefilevolumesource.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// AzureFileVolumeSourceApplyConfiguration represents an declarative configuration of the AzureFileVolumeSource type for use
-// with apply.
-type AzureFileVolumeSourceApplyConfiguration struct {
- SecretName *string `json:"secretName,omitempty"`
- ShareName *string `json:"shareName,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// AzureFileVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureFileVolumeSource type for use with
-// apply.
-func AzureFileVolumeSource() *AzureFileVolumeSourceApplyConfiguration {
- return &AzureFileVolumeSourceApplyConfiguration{}
-}
-
-// WithSecretName sets the SecretName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretName field is set to the value of the last call.
-func (b *AzureFileVolumeSourceApplyConfiguration) WithSecretName(value string) *AzureFileVolumeSourceApplyConfiguration {
- b.SecretName = &value
- return b
-}
-
-// WithShareName sets the ShareName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ShareName field is set to the value of the last call.
-func (b *AzureFileVolumeSourceApplyConfiguration) WithShareName(value string) *AzureFileVolumeSourceApplyConfiguration {
- b.ShareName = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *AzureFileVolumeSourceApplyConfiguration) WithReadOnly(value bool) *AzureFileVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/capabilities.go b/pkg/client/camel/applyconfiguration/core/v1/capabilities.go
deleted file mode 100644
index 2b7c758ad..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/capabilities.go
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// CapabilitiesApplyConfiguration represents an declarative configuration of the Capabilities type for use
-// with apply.
-type CapabilitiesApplyConfiguration struct {
- Add []v1.Capability `json:"add,omitempty"`
- Drop []v1.Capability `json:"drop,omitempty"`
-}
-
-// CapabilitiesApplyConfiguration constructs an declarative configuration of the Capabilities type for use with
-// apply.
-func Capabilities() *CapabilitiesApplyConfiguration {
- return &CapabilitiesApplyConfiguration{}
-}
-
-// WithAdd adds the given value to the Add field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Add field.
-func (b *CapabilitiesApplyConfiguration) WithAdd(values ...v1.Capability) *CapabilitiesApplyConfiguration {
- for i := range values {
- b.Add = append(b.Add, values[i])
- }
- return b
-}
-
-// WithDrop adds the given value to the Drop field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Drop field.
-func (b *CapabilitiesApplyConfiguration) WithDrop(values ...v1.Capability) *CapabilitiesApplyConfiguration {
- for i := range values {
- b.Drop = append(b.Drop, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go
deleted file mode 100644
index 7ae08bd6d..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/cephfspersistentvolumesource.go
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CephFSPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSPersistentVolumeSource type for use
-// with apply.
-type CephFSPersistentVolumeSourceApplyConfiguration struct {
- Monitors []string `json:"monitors,omitempty"`
- Path *string `json:"path,omitempty"`
- User *string `json:"user,omitempty"`
- SecretFile *string `json:"secretFile,omitempty"`
- SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// CephFSPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CephFSPersistentVolumeSource type for use with
-// apply.
-func CephFSPersistentVolumeSource() *CephFSPersistentVolumeSourceApplyConfiguration {
- return &CephFSPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithMonitors adds the given value to the Monitors field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Monitors field.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSPersistentVolumeSourceApplyConfiguration {
- for i := range values {
- b.Monitors = append(b.Monitors, values[i])
- }
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithPath(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithUser sets the User field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the User field is set to the value of the last call.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithUser(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
- b.User = &value
- return b
-}
-
-// WithSecretFile sets the SecretFile field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretFile field is set to the value of the last call.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSPersistentVolumeSourceApplyConfiguration {
- b.SecretFile = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CephFSPersistentVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CephFSPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go
deleted file mode 100644
index 9c0e691ec..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/cephfsvolumesource.go
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CephFSVolumeSourceApplyConfiguration represents an declarative configuration of the CephFSVolumeSource type for use
-// with apply.
-type CephFSVolumeSourceApplyConfiguration struct {
- Monitors []string `json:"monitors,omitempty"`
- Path *string `json:"path,omitempty"`
- User *string `json:"user,omitempty"`
- SecretFile *string `json:"secretFile,omitempty"`
- SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// CephFSVolumeSourceApplyConfiguration constructs an declarative configuration of the CephFSVolumeSource type for use with
-// apply.
-func CephFSVolumeSource() *CephFSVolumeSourceApplyConfiguration {
- return &CephFSVolumeSourceApplyConfiguration{}
-}
-
-// WithMonitors adds the given value to the Monitors field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Monitors field.
-func (b *CephFSVolumeSourceApplyConfiguration) WithMonitors(values ...string) *CephFSVolumeSourceApplyConfiguration {
- for i := range values {
- b.Monitors = append(b.Monitors, values[i])
- }
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *CephFSVolumeSourceApplyConfiguration) WithPath(value string) *CephFSVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithUser sets the User field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the User field is set to the value of the last call.
-func (b *CephFSVolumeSourceApplyConfiguration) WithUser(value string) *CephFSVolumeSourceApplyConfiguration {
- b.User = &value
- return b
-}
-
-// WithSecretFile sets the SecretFile field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretFile field is set to the value of the last call.
-func (b *CephFSVolumeSourceApplyConfiguration) WithSecretFile(value string) *CephFSVolumeSourceApplyConfiguration {
- b.SecretFile = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *CephFSVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CephFSVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CephFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CephFSVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go
deleted file mode 100644
index 83eb2d46a..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/cinderpersistentvolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CinderPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CinderPersistentVolumeSource type for use
-// with apply.
-type CinderPersistentVolumeSourceApplyConfiguration struct {
- VolumeID *string `json:"volumeID,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
-}
-
-// CinderPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CinderPersistentVolumeSource type for use with
-// apply.
-func CinderPersistentVolumeSource() *CinderPersistentVolumeSourceApplyConfiguration {
- return &CinderPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the VolumeID field is set to the value of the last call.
-func (b *CinderPersistentVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderPersistentVolumeSourceApplyConfiguration {
- b.VolumeID = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *CinderPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CinderPersistentVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CinderPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *CinderPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *CinderPersistentVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go
deleted file mode 100644
index ac46803fe..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/cindervolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CinderVolumeSourceApplyConfiguration represents an declarative configuration of the CinderVolumeSource type for use
-// with apply.
-type CinderVolumeSourceApplyConfiguration struct {
- VolumeID *string `json:"volumeID,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
-}
-
-// CinderVolumeSourceApplyConfiguration constructs an declarative configuration of the CinderVolumeSource type for use with
-// apply.
-func CinderVolumeSource() *CinderVolumeSourceApplyConfiguration {
- return &CinderVolumeSourceApplyConfiguration{}
-}
-
-// WithVolumeID sets the VolumeID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the VolumeID field is set to the value of the last call.
-func (b *CinderVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderVolumeSourceApplyConfiguration {
- b.VolumeID = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *CinderVolumeSourceApplyConfiguration) WithFSType(value string) *CinderVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CinderVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CinderVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *CinderVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *CinderVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go b/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go
deleted file mode 100644
index f7f1f616e..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/clientipconfig.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ClientIPConfigApplyConfiguration represents an declarative configuration of the ClientIPConfig type for use
-// with apply.
-type ClientIPConfigApplyConfiguration struct {
- TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
-}
-
-// ClientIPConfigApplyConfiguration constructs an declarative configuration of the ClientIPConfig type for use with
-// apply.
-func ClientIPConfig() *ClientIPConfigApplyConfiguration {
- return &ClientIPConfigApplyConfiguration{}
-}
-
-// WithTimeoutSeconds sets the TimeoutSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TimeoutSeconds field is set to the value of the last call.
-func (b *ClientIPConfigApplyConfiguration) WithTimeoutSeconds(value int32) *ClientIPConfigApplyConfiguration {
- b.TimeoutSeconds = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go b/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go
deleted file mode 100644
index ab3f4765f..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/componentcondition.go
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// ComponentConditionApplyConfiguration represents an declarative configuration of the ComponentCondition type for use
-// with apply.
-type ComponentConditionApplyConfiguration struct {
- Type *v1.ComponentConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- Message *string `json:"message,omitempty"`
- Error *string `json:"error,omitempty"`
-}
-
-// ComponentConditionApplyConfiguration constructs an declarative configuration of the ComponentCondition type for use with
-// apply.
-func ComponentCondition() *ComponentConditionApplyConfiguration {
- return &ComponentConditionApplyConfiguration{}
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *ComponentConditionApplyConfiguration) WithType(value v1.ComponentConditionType) *ComponentConditionApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *ComponentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ComponentConditionApplyConfiguration {
- b.Status = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *ComponentConditionApplyConfiguration) WithMessage(value string) *ComponentConditionApplyConfiguration {
- b.Message = &value
- return b
-}
-
-// WithError sets the Error field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Error field is set to the value of the last call.
-func (b *ComponentConditionApplyConfiguration) WithError(value string) *ComponentConditionApplyConfiguration {
- b.Error = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/componentstatus.go b/pkg/client/camel/applyconfiguration/core/v1/componentstatus.go
deleted file mode 100644
index 737f19058..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/componentstatus.go
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// ComponentStatusApplyConfiguration represents an declarative configuration of the ComponentStatus type for use
-// with apply.
-type ComponentStatusApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Conditions []ComponentConditionApplyConfiguration `json:"conditions,omitempty"`
-}
-
-// ComponentStatus constructs an declarative configuration of the ComponentStatus type for use with
-// apply.
-func ComponentStatus(name string) *ComponentStatusApplyConfiguration {
- b := &ComponentStatusApplyConfiguration{}
- b.WithName(name)
- b.WithKind("ComponentStatus")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithKind(value string) *ComponentStatusApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithAPIVersion(value string) *ComponentStatusApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithName(value string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithGenerateName(value string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithNamespace(value string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithUID(value types.UID) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithResourceVersion(value string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithGeneration(value int64) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *ComponentStatusApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *ComponentStatusApplyConfiguration) WithLabels(entries map[string]string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *ComponentStatusApplyConfiguration) WithAnnotations(entries map[string]string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *ComponentStatusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *ComponentStatusApplyConfiguration) WithFinalizers(values ...string) *ComponentStatusApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *ComponentStatusApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithConditions adds the given value to the Conditions field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Conditions field.
-func (b *ComponentStatusApplyConfiguration) WithConditions(values ...*ComponentConditionApplyConfiguration) *ComponentStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithConditions")
- }
- b.Conditions = append(b.Conditions, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmap.go b/pkg/client/camel/applyconfiguration/core/v1/configmap.go
deleted file mode 100644
index 612daf608..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmap.go
+++ /dev/null
@@ -1,241 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// ConfigMapApplyConfiguration represents an declarative configuration of the ConfigMap type for use
-// with apply.
-type ConfigMapApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Immutable *bool `json:"immutable,omitempty"`
- Data map[string]string `json:"data,omitempty"`
- BinaryData map[string][]byte `json:"binaryData,omitempty"`
-}
-
-// ConfigMap constructs an declarative configuration of the ConfigMap type for use with
-// apply.
-func ConfigMap(name, namespace string) *ConfigMapApplyConfiguration {
- b := &ConfigMapApplyConfiguration{}
- b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("ConfigMap")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithKind(value string) *ConfigMapApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithAPIVersion(value string) *ConfigMapApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithName(value string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithGenerateName(value string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithNamespace(value string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithUID(value types.UID) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithResourceVersion(value string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithGeneration(value int64) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *ConfigMapApplyConfiguration) WithLabels(entries map[string]string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *ConfigMapApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *ConfigMapApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *ConfigMapApplyConfiguration) WithFinalizers(values ...string) *ConfigMapApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *ConfigMapApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithImmutable sets the Immutable field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Immutable field is set to the value of the last call.
-func (b *ConfigMapApplyConfiguration) WithImmutable(value bool) *ConfigMapApplyConfiguration {
- b.Immutable = &value
- return b
-}
-
-// WithData puts the entries into the Data field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Data field,
-// overwriting an existing map entries in Data field with the same key.
-func (b *ConfigMapApplyConfiguration) WithData(entries map[string]string) *ConfigMapApplyConfiguration {
- if b.Data == nil && len(entries) > 0 {
- b.Data = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Data[k] = v
- }
- return b
-}
-
-// WithBinaryData puts the entries into the BinaryData field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the BinaryData field,
-// overwriting an existing map entries in BinaryData field with the same key.
-func (b *ConfigMapApplyConfiguration) WithBinaryData(entries map[string][]byte) *ConfigMapApplyConfiguration {
- if b.BinaryData == nil && len(entries) > 0 {
- b.BinaryData = make(map[string][]byte, len(entries))
- }
- for k, v := range entries {
- b.BinaryData[k] = v
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go
deleted file mode 100644
index c538b3464..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmapenvsource.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ConfigMapEnvSourceApplyConfiguration represents an declarative configuration of the ConfigMapEnvSource type for use
-// with apply.
-type ConfigMapEnvSourceApplyConfiguration struct {
- LocalObjectReferenceApplyConfiguration `json:",inline"`
- Optional *bool `json:"optional,omitempty"`
-}
-
-// ConfigMapEnvSourceApplyConfiguration constructs an declarative configuration of the ConfigMapEnvSource type for use with
-// apply.
-func ConfigMapEnvSource() *ConfigMapEnvSourceApplyConfiguration {
- return &ConfigMapEnvSourceApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapEnvSourceApplyConfiguration) WithName(value string) *ConfigMapEnvSourceApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithOptional sets the Optional field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Optional field is set to the value of the last call.
-func (b *ConfigMapEnvSourceApplyConfiguration) WithOptional(value bool) *ConfigMapEnvSourceApplyConfiguration {
- b.Optional = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go b/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go
deleted file mode 100644
index eb63ddcce..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmapkeyselector.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ConfigMapKeySelectorApplyConfiguration represents an declarative configuration of the ConfigMapKeySelector type for use
-// with apply.
-type ConfigMapKeySelectorApplyConfiguration struct {
- LocalObjectReferenceApplyConfiguration `json:",inline"`
- Key *string `json:"key,omitempty"`
- Optional *bool `json:"optional,omitempty"`
-}
-
-// ConfigMapKeySelectorApplyConfiguration constructs an declarative configuration of the ConfigMapKeySelector type for use with
-// apply.
-func ConfigMapKeySelector() *ConfigMapKeySelectorApplyConfiguration {
- return &ConfigMapKeySelectorApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapKeySelectorApplyConfiguration) WithName(value string) *ConfigMapKeySelectorApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithKey sets the Key field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Key field is set to the value of the last call.
-func (b *ConfigMapKeySelectorApplyConfiguration) WithKey(value string) *ConfigMapKeySelectorApplyConfiguration {
- b.Key = &value
- return b
-}
-
-// WithOptional sets the Optional field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Optional field is set to the value of the last call.
-func (b *ConfigMapKeySelectorApplyConfiguration) WithOptional(value bool) *ConfigMapKeySelectorApplyConfiguration {
- b.Optional = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go
deleted file mode 100644
index 16a0105b7..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmapnodeconfigsource.go
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// ConfigMapNodeConfigSourceApplyConfiguration represents an declarative configuration of the ConfigMapNodeConfigSource type for use
-// with apply.
-type ConfigMapNodeConfigSourceApplyConfiguration struct {
- Namespace *string `json:"namespace,omitempty"`
- Name *string `json:"name,omitempty"`
- UID *types.UID `json:"uid,omitempty"`
- ResourceVersion *string `json:"resourceVersion,omitempty"`
- KubeletConfigKey *string `json:"kubeletConfigKey,omitempty"`
-}
-
-// ConfigMapNodeConfigSourceApplyConfiguration constructs an declarative configuration of the ConfigMapNodeConfigSource type for use with
-// apply.
-func ConfigMapNodeConfigSource() *ConfigMapNodeConfigSourceApplyConfiguration {
- return &ConfigMapNodeConfigSourceApplyConfiguration{}
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithNamespace(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
- b.Namespace = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithName(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithUID(value types.UID) *ConfigMapNodeConfigSourceApplyConfiguration {
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithResourceVersion(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
- b.ResourceVersion = &value
- return b
-}
-
-// WithKubeletConfigKey sets the KubeletConfigKey field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the KubeletConfigKey field is set to the value of the last call.
-func (b *ConfigMapNodeConfigSourceApplyConfiguration) WithKubeletConfigKey(value string) *ConfigMapNodeConfigSourceApplyConfiguration {
- b.KubeletConfigKey = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go b/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go
deleted file mode 100644
index 3cd36d932..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmapprojection.go
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ConfigMapProjectionApplyConfiguration represents an declarative configuration of the ConfigMapProjection type for use
-// with apply.
-type ConfigMapProjectionApplyConfiguration struct {
- LocalObjectReferenceApplyConfiguration `json:",inline"`
- Items []KeyToPathApplyConfiguration `json:"items,omitempty"`
- Optional *bool `json:"optional,omitempty"`
-}
-
-// ConfigMapProjectionApplyConfiguration constructs an declarative configuration of the ConfigMapProjection type for use with
-// apply.
-func ConfigMapProjection() *ConfigMapProjectionApplyConfiguration {
- return &ConfigMapProjectionApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapProjectionApplyConfiguration) WithName(value string) *ConfigMapProjectionApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithItems adds the given value to the Items field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Items field.
-func (b *ConfigMapProjectionApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapProjectionApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithItems")
- }
- b.Items = append(b.Items, *values[i])
- }
- return b
-}
-
-// WithOptional sets the Optional field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Optional field is set to the value of the last call.
-func (b *ConfigMapProjectionApplyConfiguration) WithOptional(value bool) *ConfigMapProjectionApplyConfiguration {
- b.Optional = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go
deleted file mode 100644
index d26483dbd..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/configmapvolumesource.go
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ConfigMapVolumeSourceApplyConfiguration represents an declarative configuration of the ConfigMapVolumeSource type for use
-// with apply.
-type ConfigMapVolumeSourceApplyConfiguration struct {
- LocalObjectReferenceApplyConfiguration `json:",inline"`
- Items []KeyToPathApplyConfiguration `json:"items,omitempty"`
- DefaultMode *int32 `json:"defaultMode,omitempty"`
- Optional *bool `json:"optional,omitempty"`
-}
-
-// ConfigMapVolumeSourceApplyConfiguration constructs an declarative configuration of the ConfigMapVolumeSource type for use with
-// apply.
-func ConfigMapVolumeSource() *ConfigMapVolumeSourceApplyConfiguration {
- return &ConfigMapVolumeSourceApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ConfigMapVolumeSourceApplyConfiguration) WithName(value string) *ConfigMapVolumeSourceApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithItems adds the given value to the Items field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Items field.
-func (b *ConfigMapVolumeSourceApplyConfiguration) WithItems(values ...*KeyToPathApplyConfiguration) *ConfigMapVolumeSourceApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithItems")
- }
- b.Items = append(b.Items, *values[i])
- }
- return b
-}
-
-// WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DefaultMode field is set to the value of the last call.
-func (b *ConfigMapVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *ConfigMapVolumeSourceApplyConfiguration {
- b.DefaultMode = &value
- return b
-}
-
-// WithOptional sets the Optional field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Optional field is set to the value of the last call.
-func (b *ConfigMapVolumeSourceApplyConfiguration) WithOptional(value bool) *ConfigMapVolumeSourceApplyConfiguration {
- b.Optional = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/container.go b/pkg/client/camel/applyconfiguration/core/v1/container.go
deleted file mode 100644
index 13fa09891..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/container.go
+++ /dev/null
@@ -1,262 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- corev1 "k8s.io/api/core/v1"
-)
-
-// ContainerApplyConfiguration represents an declarative configuration of the Container type for use
-// with apply.
-type ContainerApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- Image *string `json:"image,omitempty"`
- Command []string `json:"command,omitempty"`
- Args []string `json:"args,omitempty"`
- WorkingDir *string `json:"workingDir,omitempty"`
- Ports []ContainerPortApplyConfiguration `json:"ports,omitempty"`
- EnvFrom []EnvFromSourceApplyConfiguration `json:"envFrom,omitempty"`
- Env []EnvVarApplyConfiguration `json:"env,omitempty"`
- Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
- VolumeMounts []VolumeMountApplyConfiguration `json:"volumeMounts,omitempty"`
- VolumeDevices []VolumeDeviceApplyConfiguration `json:"volumeDevices,omitempty"`
- LivenessProbe *ProbeApplyConfiguration `json:"livenessProbe,omitempty"`
- ReadinessProbe *ProbeApplyConfiguration `json:"readinessProbe,omitempty"`
- StartupProbe *ProbeApplyConfiguration `json:"startupProbe,omitempty"`
- Lifecycle *LifecycleApplyConfiguration `json:"lifecycle,omitempty"`
- TerminationMessagePath *string `json:"terminationMessagePath,omitempty"`
- TerminationMessagePolicy *corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"`
- ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
- SecurityContext *SecurityContextApplyConfiguration `json:"securityContext,omitempty"`
- Stdin *bool `json:"stdin,omitempty"`
- StdinOnce *bool `json:"stdinOnce,omitempty"`
- TTY *bool `json:"tty,omitempty"`
-}
-
-// ContainerApplyConfiguration constructs an declarative configuration of the Container type for use with
-// apply.
-func Container() *ContainerApplyConfiguration {
- return &ContainerApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithName(value string) *ContainerApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithImage sets the Image field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Image field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithImage(value string) *ContainerApplyConfiguration {
- b.Image = &value
- return b
-}
-
-// WithCommand adds the given value to the Command field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Command field.
-func (b *ContainerApplyConfiguration) WithCommand(values ...string) *ContainerApplyConfiguration {
- for i := range values {
- b.Command = append(b.Command, values[i])
- }
- return b
-}
-
-// WithArgs adds the given value to the Args field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Args field.
-func (b *ContainerApplyConfiguration) WithArgs(values ...string) *ContainerApplyConfiguration {
- for i := range values {
- b.Args = append(b.Args, values[i])
- }
- return b
-}
-
-// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the WorkingDir field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithWorkingDir(value string) *ContainerApplyConfiguration {
- b.WorkingDir = &value
- return b
-}
-
-// WithPorts adds the given value to the Ports field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ports field.
-func (b *ContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *ContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPorts")
- }
- b.Ports = append(b.Ports, *values[i])
- }
- return b
-}
-
-// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the EnvFrom field.
-func (b *ContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *ContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnvFrom")
- }
- b.EnvFrom = append(b.EnvFrom, *values[i])
- }
- return b
-}
-
-// WithEnv adds the given value to the Env field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Env field.
-func (b *ContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *ContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnv")
- }
- b.Env = append(b.Env, *values[i])
- }
- return b
-}
-
-// WithResources sets the Resources field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Resources field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *ContainerApplyConfiguration {
- b.Resources = value
- return b
-}
-
-// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
-func (b *ContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *ContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeMounts")
- }
- b.VolumeMounts = append(b.VolumeMounts, *values[i])
- }
- return b
-}
-
-// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
-func (b *ContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *ContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeDevices")
- }
- b.VolumeDevices = append(b.VolumeDevices, *values[i])
- }
- return b
-}
-
-// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LivenessProbe field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
- b.LivenessProbe = value
- return b
-}
-
-// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadinessProbe field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
- b.ReadinessProbe = value
- return b
-}
-
-// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StartupProbe field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *ContainerApplyConfiguration {
- b.StartupProbe = value
- return b
-}
-
-// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lifecycle field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *ContainerApplyConfiguration {
- b.Lifecycle = value
- return b
-}
-
-// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithTerminationMessagePath(value string) *ContainerApplyConfiguration {
- b.TerminationMessagePath = &value
- return b
-}
-
-// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *ContainerApplyConfiguration {
- b.TerminationMessagePolicy = &value
- return b
-}
-
-// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ContainerApplyConfiguration {
- b.ImagePullPolicy = &value
- return b
-}
-
-// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecurityContext field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *ContainerApplyConfiguration {
- b.SecurityContext = value
- return b
-}
-
-// WithStdin sets the Stdin field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Stdin field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithStdin(value bool) *ContainerApplyConfiguration {
- b.Stdin = &value
- return b
-}
-
-// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StdinOnce field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithStdinOnce(value bool) *ContainerApplyConfiguration {
- b.StdinOnce = &value
- return b
-}
-
-// WithTTY sets the TTY field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TTY field is set to the value of the last call.
-func (b *ContainerApplyConfiguration) WithTTY(value bool) *ContainerApplyConfiguration {
- b.TTY = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerimage.go b/pkg/client/camel/applyconfiguration/core/v1/containerimage.go
deleted file mode 100644
index d0c2c8a44..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerimage.go
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ContainerImageApplyConfiguration represents an declarative configuration of the ContainerImage type for use
-// with apply.
-type ContainerImageApplyConfiguration struct {
- Names []string `json:"names,omitempty"`
- SizeBytes *int64 `json:"sizeBytes,omitempty"`
-}
-
-// ContainerImageApplyConfiguration constructs an declarative configuration of the ContainerImage type for use with
-// apply.
-func ContainerImage() *ContainerImageApplyConfiguration {
- return &ContainerImageApplyConfiguration{}
-}
-
-// WithNames adds the given value to the Names field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Names field.
-func (b *ContainerImageApplyConfiguration) WithNames(values ...string) *ContainerImageApplyConfiguration {
- for i := range values {
- b.Names = append(b.Names, values[i])
- }
- return b
-}
-
-// WithSizeBytes sets the SizeBytes field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SizeBytes field is set to the value of the last call.
-func (b *ContainerImageApplyConfiguration) WithSizeBytes(value int64) *ContainerImageApplyConfiguration {
- b.SizeBytes = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerport.go b/pkg/client/camel/applyconfiguration/core/v1/containerport.go
deleted file mode 100644
index dfaa646d5..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerport.go
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// ContainerPortApplyConfiguration represents an declarative configuration of the ContainerPort type for use
-// with apply.
-type ContainerPortApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- HostPort *int32 `json:"hostPort,omitempty"`
- ContainerPort *int32 `json:"containerPort,omitempty"`
- Protocol *v1.Protocol `json:"protocol,omitempty"`
- HostIP *string `json:"hostIP,omitempty"`
-}
-
-// ContainerPortApplyConfiguration constructs an declarative configuration of the ContainerPort type for use with
-// apply.
-func ContainerPort() *ContainerPortApplyConfiguration {
- return &ContainerPortApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ContainerPortApplyConfiguration) WithName(value string) *ContainerPortApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithHostPort sets the HostPort field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the HostPort field is set to the value of the last call.
-func (b *ContainerPortApplyConfiguration) WithHostPort(value int32) *ContainerPortApplyConfiguration {
- b.HostPort = &value
- return b
-}
-
-// WithContainerPort sets the ContainerPort field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ContainerPort field is set to the value of the last call.
-func (b *ContainerPortApplyConfiguration) WithContainerPort(value int32) *ContainerPortApplyConfiguration {
- b.ContainerPort = &value
- return b
-}
-
-// WithProtocol sets the Protocol field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Protocol field is set to the value of the last call.
-func (b *ContainerPortApplyConfiguration) WithProtocol(value v1.Protocol) *ContainerPortApplyConfiguration {
- b.Protocol = &value
- return b
-}
-
-// WithHostIP sets the HostIP field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the HostIP field is set to the value of the last call.
-func (b *ContainerPortApplyConfiguration) WithHostIP(value string) *ContainerPortApplyConfiguration {
- b.HostIP = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstate.go b/pkg/client/camel/applyconfiguration/core/v1/containerstate.go
deleted file mode 100644
index 20f4e2d52..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerstate.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ContainerStateApplyConfiguration represents an declarative configuration of the ContainerState type for use
-// with apply.
-type ContainerStateApplyConfiguration struct {
- Waiting *ContainerStateWaitingApplyConfiguration `json:"waiting,omitempty"`
- Running *ContainerStateRunningApplyConfiguration `json:"running,omitempty"`
- Terminated *ContainerStateTerminatedApplyConfiguration `json:"terminated,omitempty"`
-}
-
-// ContainerStateApplyConfiguration constructs an declarative configuration of the ContainerState type for use with
-// apply.
-func ContainerState() *ContainerStateApplyConfiguration {
- return &ContainerStateApplyConfiguration{}
-}
-
-// WithWaiting sets the Waiting field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Waiting field is set to the value of the last call.
-func (b *ContainerStateApplyConfiguration) WithWaiting(value *ContainerStateWaitingApplyConfiguration) *ContainerStateApplyConfiguration {
- b.Waiting = value
- return b
-}
-
-// WithRunning sets the Running field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Running field is set to the value of the last call.
-func (b *ContainerStateApplyConfiguration) WithRunning(value *ContainerStateRunningApplyConfiguration) *ContainerStateApplyConfiguration {
- b.Running = value
- return b
-}
-
-// WithTerminated sets the Terminated field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Terminated field is set to the value of the last call.
-func (b *ContainerStateApplyConfiguration) WithTerminated(value *ContainerStateTerminatedApplyConfiguration) *ContainerStateApplyConfiguration {
- b.Terminated = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go b/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go
deleted file mode 100644
index 8e32f1960..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerstaterunning.go
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-)
-
-// ContainerStateRunningApplyConfiguration represents an declarative configuration of the ContainerStateRunning type for use
-// with apply.
-type ContainerStateRunningApplyConfiguration struct {
- StartedAt *v1.Time `json:"startedAt,omitempty"`
-}
-
-// ContainerStateRunningApplyConfiguration constructs an declarative configuration of the ContainerStateRunning type for use with
-// apply.
-func ContainerStateRunning() *ContainerStateRunningApplyConfiguration {
- return &ContainerStateRunningApplyConfiguration{}
-}
-
-// WithStartedAt sets the StartedAt field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StartedAt field is set to the value of the last call.
-func (b *ContainerStateRunningApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateRunningApplyConfiguration {
- b.StartedAt = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go b/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go
deleted file mode 100644
index fbf9c8c55..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerstateterminated.go
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-)
-
-// ContainerStateTerminatedApplyConfiguration represents an declarative configuration of the ContainerStateTerminated type for use
-// with apply.
-type ContainerStateTerminatedApplyConfiguration struct {
- ExitCode *int32 `json:"exitCode,omitempty"`
- Signal *int32 `json:"signal,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
- StartedAt *v1.Time `json:"startedAt,omitempty"`
- FinishedAt *v1.Time `json:"finishedAt,omitempty"`
- ContainerID *string `json:"containerID,omitempty"`
-}
-
-// ContainerStateTerminatedApplyConfiguration constructs an declarative configuration of the ContainerStateTerminated type for use with
-// apply.
-func ContainerStateTerminated() *ContainerStateTerminatedApplyConfiguration {
- return &ContainerStateTerminatedApplyConfiguration{}
-}
-
-// WithExitCode sets the ExitCode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ExitCode field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithExitCode(value int32) *ContainerStateTerminatedApplyConfiguration {
- b.ExitCode = &value
- return b
-}
-
-// WithSignal sets the Signal field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Signal field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithSignal(value int32) *ContainerStateTerminatedApplyConfiguration {
- b.Signal = &value
- return b
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithReason(value string) *ContainerStateTerminatedApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithMessage(value string) *ContainerStateTerminatedApplyConfiguration {
- b.Message = &value
- return b
-}
-
-// WithStartedAt sets the StartedAt field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StartedAt field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithStartedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration {
- b.StartedAt = &value
- return b
-}
-
-// WithFinishedAt sets the FinishedAt field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FinishedAt field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithFinishedAt(value v1.Time) *ContainerStateTerminatedApplyConfiguration {
- b.FinishedAt = &value
- return b
-}
-
-// WithContainerID sets the ContainerID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ContainerID field is set to the value of the last call.
-func (b *ContainerStateTerminatedApplyConfiguration) WithContainerID(value string) *ContainerStateTerminatedApplyConfiguration {
- b.ContainerID = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go b/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go
deleted file mode 100644
index 3b463a9d7..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerstatewaiting.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ContainerStateWaitingApplyConfiguration represents an declarative configuration of the ContainerStateWaiting type for use
-// with apply.
-type ContainerStateWaitingApplyConfiguration struct {
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
-}
-
-// ContainerStateWaitingApplyConfiguration constructs an declarative configuration of the ContainerStateWaiting type for use with
-// apply.
-func ContainerStateWaiting() *ContainerStateWaitingApplyConfiguration {
- return &ContainerStateWaitingApplyConfiguration{}
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *ContainerStateWaitingApplyConfiguration) WithReason(value string) *ContainerStateWaitingApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *ContainerStateWaitingApplyConfiguration) WithMessage(value string) *ContainerStateWaitingApplyConfiguration {
- b.Message = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go b/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go
deleted file mode 100644
index 8f8c90b77..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/containerstatus.go
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ContainerStatusApplyConfiguration represents an declarative configuration of the ContainerStatus type for use
-// with apply.
-type ContainerStatusApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- State *ContainerStateApplyConfiguration `json:"state,omitempty"`
- LastTerminationState *ContainerStateApplyConfiguration `json:"lastState,omitempty"`
- Ready *bool `json:"ready,omitempty"`
- RestartCount *int32 `json:"restartCount,omitempty"`
- Image *string `json:"image,omitempty"`
- ImageID *string `json:"imageID,omitempty"`
- ContainerID *string `json:"containerID,omitempty"`
- Started *bool `json:"started,omitempty"`
-}
-
-// ContainerStatusApplyConfiguration constructs an declarative configuration of the ContainerStatus type for use with
-// apply.
-func ContainerStatus() *ContainerStatusApplyConfiguration {
- return &ContainerStatusApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithName(value string) *ContainerStatusApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithState sets the State field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the State field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
- b.State = value
- return b
-}
-
-// WithLastTerminationState sets the LastTerminationState field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastTerminationState field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithLastTerminationState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
- b.LastTerminationState = value
- return b
-}
-
-// WithReady sets the Ready field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Ready field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithReady(value bool) *ContainerStatusApplyConfiguration {
- b.Ready = &value
- return b
-}
-
-// WithRestartCount sets the RestartCount field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the RestartCount field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithRestartCount(value int32) *ContainerStatusApplyConfiguration {
- b.RestartCount = &value
- return b
-}
-
-// WithImage sets the Image field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Image field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithImage(value string) *ContainerStatusApplyConfiguration {
- b.Image = &value
- return b
-}
-
-// WithImageID sets the ImageID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ImageID field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithImageID(value string) *ContainerStatusApplyConfiguration {
- b.ImageID = &value
- return b
-}
-
-// WithContainerID sets the ContainerID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ContainerID field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithContainerID(value string) *ContainerStatusApplyConfiguration {
- b.ContainerID = &value
- return b
-}
-
-// WithStarted sets the Started field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Started field is set to the value of the last call.
-func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerStatusApplyConfiguration {
- b.Started = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go
deleted file mode 100644
index cf437bf17..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/csipersistentvolumesource.go
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the CSIPersistentVolumeSource type for use
-// with apply.
-type CSIPersistentVolumeSourceApplyConfiguration struct {
- Driver *string `json:"driver,omitempty"`
- VolumeHandle *string `json:"volumeHandle,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`
- ControllerPublishSecretRef *SecretReferenceApplyConfiguration `json:"controllerPublishSecretRef,omitempty"`
- NodeStageSecretRef *SecretReferenceApplyConfiguration `json:"nodeStageSecretRef,omitempty"`
- NodePublishSecretRef *SecretReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
- ControllerExpandSecretRef *SecretReferenceApplyConfiguration `json:"controllerExpandSecretRef,omitempty"`
- NodeExpandSecretRef *SecretReferenceApplyConfiguration `json:"nodeExpandSecretRef,omitempty"`
-}
-
-// CSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIPersistentVolumeSource type for use with
-// apply.
-func CSIPersistentVolumeSource() *CSIPersistentVolumeSourceApplyConfiguration {
- return &CSIPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithDriver sets the Driver field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Driver field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *CSIPersistentVolumeSourceApplyConfiguration {
- b.Driver = &value
- return b
-}
-
-// WithVolumeHandle sets the VolumeHandle field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the VolumeHandle field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeHandle(value string) *CSIPersistentVolumeSourceApplyConfiguration {
- b.VolumeHandle = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *CSIPersistentVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithVolumeAttributes puts the entries into the VolumeAttributes field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the VolumeAttributes field,
-// overwriting an existing map entries in VolumeAttributes field with the same key.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIPersistentVolumeSourceApplyConfiguration {
- if b.VolumeAttributes == nil && len(entries) > 0 {
- b.VolumeAttributes = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.VolumeAttributes[k] = v
- }
- return b
-}
-
-// WithControllerPublishSecretRef sets the ControllerPublishSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ControllerPublishSecretRef field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerPublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
- b.ControllerPublishSecretRef = value
- return b
-}
-
-// WithNodeStageSecretRef sets the NodeStageSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodeStageSecretRef field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeStageSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
- b.NodeStageSecretRef = value
- return b
-}
-
-// WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodePublishSecretRef field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
- b.NodePublishSecretRef = value
- return b
-}
-
-// WithControllerExpandSecretRef sets the ControllerExpandSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ControllerExpandSecretRef field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithControllerExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
- b.ControllerExpandSecretRef = value
- return b
-}
-
-// WithNodeExpandSecretRef sets the NodeExpandSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodeExpandSecretRef field is set to the value of the last call.
-func (b *CSIPersistentVolumeSourceApplyConfiguration) WithNodeExpandSecretRef(value *SecretReferenceApplyConfiguration) *CSIPersistentVolumeSourceApplyConfiguration {
- b.NodeExpandSecretRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go
deleted file mode 100644
index d6026ffb5..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/csivolumesource.go
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// CSIVolumeSourceApplyConfiguration represents an declarative configuration of the CSIVolumeSource type for use
-// with apply.
-type CSIVolumeSourceApplyConfiguration struct {
- Driver *string `json:"driver,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`
- NodePublishSecretRef *LocalObjectReferenceApplyConfiguration `json:"nodePublishSecretRef,omitempty"`
-}
-
-// CSIVolumeSourceApplyConfiguration constructs an declarative configuration of the CSIVolumeSource type for use with
-// apply.
-func CSIVolumeSource() *CSIVolumeSourceApplyConfiguration {
- return &CSIVolumeSourceApplyConfiguration{}
-}
-
-// WithDriver sets the Driver field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Driver field is set to the value of the last call.
-func (b *CSIVolumeSourceApplyConfiguration) WithDriver(value string) *CSIVolumeSourceApplyConfiguration {
- b.Driver = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *CSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *CSIVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *CSIVolumeSourceApplyConfiguration) WithFSType(value string) *CSIVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithVolumeAttributes puts the entries into the VolumeAttributes field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the VolumeAttributes field,
-// overwriting an existing map entries in VolumeAttributes field with the same key.
-func (b *CSIVolumeSourceApplyConfiguration) WithVolumeAttributes(entries map[string]string) *CSIVolumeSourceApplyConfiguration {
- if b.VolumeAttributes == nil && len(entries) > 0 {
- b.VolumeAttributes = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.VolumeAttributes[k] = v
- }
- return b
-}
-
-// WithNodePublishSecretRef sets the NodePublishSecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodePublishSecretRef field is set to the value of the last call.
-func (b *CSIVolumeSourceApplyConfiguration) WithNodePublishSecretRef(value *LocalObjectReferenceApplyConfiguration) *CSIVolumeSourceApplyConfiguration {
- b.NodePublishSecretRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go b/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go
deleted file mode 100644
index f6dcf3f04..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/daemonendpoint.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// DaemonEndpointApplyConfiguration represents an declarative configuration of the DaemonEndpoint type for use
-// with apply.
-type DaemonEndpointApplyConfiguration struct {
- Port *int32 `json:"Port,omitempty"`
-}
-
-// DaemonEndpointApplyConfiguration constructs an declarative configuration of the DaemonEndpoint type for use with
-// apply.
-func DaemonEndpoint() *DaemonEndpointApplyConfiguration {
- return &DaemonEndpointApplyConfiguration{}
-}
-
-// WithPort sets the Port field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Port field is set to the value of the last call.
-func (b *DaemonEndpointApplyConfiguration) WithPort(value int32) *DaemonEndpointApplyConfiguration {
- b.Port = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go
deleted file mode 100644
index 8a6f6cfdb..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/downwardapiprojection.go
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// DownwardAPIProjectionApplyConfiguration represents an declarative configuration of the DownwardAPIProjection type for use
-// with apply.
-type DownwardAPIProjectionApplyConfiguration struct {
- Items []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
-}
-
-// DownwardAPIProjectionApplyConfiguration constructs an declarative configuration of the DownwardAPIProjection type for use with
-// apply.
-func DownwardAPIProjection() *DownwardAPIProjectionApplyConfiguration {
- return &DownwardAPIProjectionApplyConfiguration{}
-}
-
-// WithItems adds the given value to the Items field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Items field.
-func (b *DownwardAPIProjectionApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIProjectionApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithItems")
- }
- b.Items = append(b.Items, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go
deleted file mode 100644
index 9712f2cca..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumefile.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// DownwardAPIVolumeFileApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeFile type for use
-// with apply.
-type DownwardAPIVolumeFileApplyConfiguration struct {
- Path *string `json:"path,omitempty"`
- FieldRef *ObjectFieldSelectorApplyConfiguration `json:"fieldRef,omitempty"`
- ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
- Mode *int32 `json:"mode,omitempty"`
-}
-
-// DownwardAPIVolumeFileApplyConfiguration constructs an declarative configuration of the DownwardAPIVolumeFile type for use with
-// apply.
-func DownwardAPIVolumeFile() *DownwardAPIVolumeFileApplyConfiguration {
- return &DownwardAPIVolumeFileApplyConfiguration{}
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *DownwardAPIVolumeFileApplyConfiguration) WithPath(value string) *DownwardAPIVolumeFileApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithFieldRef sets the FieldRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FieldRef field is set to the value of the last call.
-func (b *DownwardAPIVolumeFileApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration {
- b.FieldRef = value
- return b
-}
-
-// WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceFieldRef field is set to the value of the last call.
-func (b *DownwardAPIVolumeFileApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *DownwardAPIVolumeFileApplyConfiguration {
- b.ResourceFieldRef = value
- return b
-}
-
-// WithMode sets the Mode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Mode field is set to the value of the last call.
-func (b *DownwardAPIVolumeFileApplyConfiguration) WithMode(value int32) *DownwardAPIVolumeFileApplyConfiguration {
- b.Mode = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go
deleted file mode 100644
index a5f2cbf10..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/downwardapivolumesource.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// DownwardAPIVolumeSourceApplyConfiguration represents an declarative configuration of the DownwardAPIVolumeSource type for use
-// with apply.
-type DownwardAPIVolumeSourceApplyConfiguration struct {
- Items []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
- DefaultMode *int32 `json:"defaultMode,omitempty"`
-}
-
-// DownwardAPIVolumeSourceApplyConfiguration constructs an declarative configuration of the DownwardAPIVolumeSource type for use with
-// apply.
-func DownwardAPIVolumeSource() *DownwardAPIVolumeSourceApplyConfiguration {
- return &DownwardAPIVolumeSourceApplyConfiguration{}
-}
-
-// WithItems adds the given value to the Items field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Items field.
-func (b *DownwardAPIVolumeSourceApplyConfiguration) WithItems(values ...*DownwardAPIVolumeFileApplyConfiguration) *DownwardAPIVolumeSourceApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithItems")
- }
- b.Items = append(b.Items, *values[i])
- }
- return b
-}
-
-// WithDefaultMode sets the DefaultMode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DefaultMode field is set to the value of the last call.
-func (b *DownwardAPIVolumeSourceApplyConfiguration) WithDefaultMode(value int32) *DownwardAPIVolumeSourceApplyConfiguration {
- b.DefaultMode = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go
deleted file mode 100644
index a38acf01b..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/emptydirvolumesource.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
- resource "k8s.io/apimachinery/pkg/api/resource"
-)
-
-// EmptyDirVolumeSourceApplyConfiguration represents an declarative configuration of the EmptyDirVolumeSource type for use
-// with apply.
-type EmptyDirVolumeSourceApplyConfiguration struct {
- Medium *v1.StorageMedium `json:"medium,omitempty"`
- SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
-}
-
-// EmptyDirVolumeSourceApplyConfiguration constructs an declarative configuration of the EmptyDirVolumeSource type for use with
-// apply.
-func EmptyDirVolumeSource() *EmptyDirVolumeSourceApplyConfiguration {
- return &EmptyDirVolumeSourceApplyConfiguration{}
-}
-
-// WithMedium sets the Medium field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Medium field is set to the value of the last call.
-func (b *EmptyDirVolumeSourceApplyConfiguration) WithMedium(value v1.StorageMedium) *EmptyDirVolumeSourceApplyConfiguration {
- b.Medium = &value
- return b
-}
-
-// WithSizeLimit sets the SizeLimit field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SizeLimit field is set to the value of the last call.
-func (b *EmptyDirVolumeSourceApplyConfiguration) WithSizeLimit(value resource.Quantity) *EmptyDirVolumeSourceApplyConfiguration {
- b.SizeLimit = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go b/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go
deleted file mode 100644
index 1ab5230a0..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/endpointaddress.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EndpointAddressApplyConfiguration represents an declarative configuration of the EndpointAddress type for use
-// with apply.
-type EndpointAddressApplyConfiguration struct {
- IP *string `json:"ip,omitempty"`
- Hostname *string `json:"hostname,omitempty"`
- NodeName *string `json:"nodeName,omitempty"`
- TargetRef *ObjectReferenceApplyConfiguration `json:"targetRef,omitempty"`
-}
-
-// EndpointAddressApplyConfiguration constructs an declarative configuration of the EndpointAddress type for use with
-// apply.
-func EndpointAddress() *EndpointAddressApplyConfiguration {
- return &EndpointAddressApplyConfiguration{}
-}
-
-// WithIP sets the IP field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the IP field is set to the value of the last call.
-func (b *EndpointAddressApplyConfiguration) WithIP(value string) *EndpointAddressApplyConfiguration {
- b.IP = &value
- return b
-}
-
-// WithHostname sets the Hostname field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Hostname field is set to the value of the last call.
-func (b *EndpointAddressApplyConfiguration) WithHostname(value string) *EndpointAddressApplyConfiguration {
- b.Hostname = &value
- return b
-}
-
-// WithNodeName sets the NodeName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodeName field is set to the value of the last call.
-func (b *EndpointAddressApplyConfiguration) WithNodeName(value string) *EndpointAddressApplyConfiguration {
- b.NodeName = &value
- return b
-}
-
-// WithTargetRef sets the TargetRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TargetRef field is set to the value of the last call.
-func (b *EndpointAddressApplyConfiguration) WithTargetRef(value *ObjectReferenceApplyConfiguration) *EndpointAddressApplyConfiguration {
- b.TargetRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointport.go b/pkg/client/camel/applyconfiguration/core/v1/endpointport.go
deleted file mode 100644
index 1cd6403a9..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/endpointport.go
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// EndpointPortApplyConfiguration represents an declarative configuration of the EndpointPort type for use
-// with apply.
-type EndpointPortApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- Port *int32 `json:"port,omitempty"`
- Protocol *v1.Protocol `json:"protocol,omitempty"`
- AppProtocol *string `json:"appProtocol,omitempty"`
-}
-
-// EndpointPortApplyConfiguration constructs an declarative configuration of the EndpointPort type for use with
-// apply.
-func EndpointPort() *EndpointPortApplyConfiguration {
- return &EndpointPortApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EndpointPortApplyConfiguration) WithName(value string) *EndpointPortApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithPort sets the Port field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Port field is set to the value of the last call.
-func (b *EndpointPortApplyConfiguration) WithPort(value int32) *EndpointPortApplyConfiguration {
- b.Port = &value
- return b
-}
-
-// WithProtocol sets the Protocol field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Protocol field is set to the value of the last call.
-func (b *EndpointPortApplyConfiguration) WithProtocol(value v1.Protocol) *EndpointPortApplyConfiguration {
- b.Protocol = &value
- return b
-}
-
-// WithAppProtocol sets the AppProtocol field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the AppProtocol field is set to the value of the last call.
-func (b *EndpointPortApplyConfiguration) WithAppProtocol(value string) *EndpointPortApplyConfiguration {
- b.AppProtocol = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpoints.go b/pkg/client/camel/applyconfiguration/core/v1/endpoints.go
deleted file mode 100644
index 11655eb9f..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/endpoints.go
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// EndpointsApplyConfiguration represents an declarative configuration of the Endpoints type for use
-// with apply.
-type EndpointsApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Subsets []EndpointSubsetApplyConfiguration `json:"subsets,omitempty"`
-}
-
-// Endpoints constructs an declarative configuration of the Endpoints type for use with
-// apply.
-func Endpoints(name, namespace string) *EndpointsApplyConfiguration {
- b := &EndpointsApplyConfiguration{}
- b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("Endpoints")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithKind(value string) *EndpointsApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithAPIVersion(value string) *EndpointsApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithName(value string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithGenerateName(value string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithNamespace(value string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithUID(value types.UID) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithResourceVersion(value string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithGeneration(value int64) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *EndpointsApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *EndpointsApplyConfiguration) WithLabels(entries map[string]string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *EndpointsApplyConfiguration) WithAnnotations(entries map[string]string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *EndpointsApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *EndpointsApplyConfiguration) WithFinalizers(values ...string) *EndpointsApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *EndpointsApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithSubsets adds the given value to the Subsets field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Subsets field.
-func (b *EndpointsApplyConfiguration) WithSubsets(values ...*EndpointSubsetApplyConfiguration) *EndpointsApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithSubsets")
- }
- b.Subsets = append(b.Subsets, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go b/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go
deleted file mode 100644
index 9b272bceb..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/endpointsubset.go
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EndpointSubsetApplyConfiguration represents an declarative configuration of the EndpointSubset type for use
-// with apply.
-type EndpointSubsetApplyConfiguration struct {
- Addresses []EndpointAddressApplyConfiguration `json:"addresses,omitempty"`
- NotReadyAddresses []EndpointAddressApplyConfiguration `json:"notReadyAddresses,omitempty"`
- Ports []EndpointPortApplyConfiguration `json:"ports,omitempty"`
-}
-
-// EndpointSubsetApplyConfiguration constructs an declarative configuration of the EndpointSubset type for use with
-// apply.
-func EndpointSubset() *EndpointSubsetApplyConfiguration {
- return &EndpointSubsetApplyConfiguration{}
-}
-
-// WithAddresses adds the given value to the Addresses field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Addresses field.
-func (b *EndpointSubsetApplyConfiguration) WithAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithAddresses")
- }
- b.Addresses = append(b.Addresses, *values[i])
- }
- return b
-}
-
-// WithNotReadyAddresses adds the given value to the NotReadyAddresses field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the NotReadyAddresses field.
-func (b *EndpointSubsetApplyConfiguration) WithNotReadyAddresses(values ...*EndpointAddressApplyConfiguration) *EndpointSubsetApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithNotReadyAddresses")
- }
- b.NotReadyAddresses = append(b.NotReadyAddresses, *values[i])
- }
- return b
-}
-
-// WithPorts adds the given value to the Ports field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ports field.
-func (b *EndpointSubsetApplyConfiguration) WithPorts(values ...*EndpointPortApplyConfiguration) *EndpointSubsetApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPorts")
- }
- b.Ports = append(b.Ports, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go b/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go
deleted file mode 100644
index 9ddeb74e3..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/envfromsource.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EnvFromSourceApplyConfiguration represents an declarative configuration of the EnvFromSource type for use
-// with apply.
-type EnvFromSourceApplyConfiguration struct {
- Prefix *string `json:"prefix,omitempty"`
- ConfigMapRef *ConfigMapEnvSourceApplyConfiguration `json:"configMapRef,omitempty"`
- SecretRef *SecretEnvSourceApplyConfiguration `json:"secretRef,omitempty"`
-}
-
-// EnvFromSourceApplyConfiguration constructs an declarative configuration of the EnvFromSource type for use with
-// apply.
-func EnvFromSource() *EnvFromSourceApplyConfiguration {
- return &EnvFromSourceApplyConfiguration{}
-}
-
-// WithPrefix sets the Prefix field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Prefix field is set to the value of the last call.
-func (b *EnvFromSourceApplyConfiguration) WithPrefix(value string) *EnvFromSourceApplyConfiguration {
- b.Prefix = &value
- return b
-}
-
-// WithConfigMapRef sets the ConfigMapRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ConfigMapRef field is set to the value of the last call.
-func (b *EnvFromSourceApplyConfiguration) WithConfigMapRef(value *ConfigMapEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration {
- b.ConfigMapRef = value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *EnvFromSourceApplyConfiguration) WithSecretRef(value *SecretEnvSourceApplyConfiguration) *EnvFromSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envvar.go b/pkg/client/camel/applyconfiguration/core/v1/envvar.go
deleted file mode 100644
index f25046497..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/envvar.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EnvVarApplyConfiguration represents an declarative configuration of the EnvVar type for use
-// with apply.
-type EnvVarApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- Value *string `json:"value,omitempty"`
- ValueFrom *EnvVarSourceApplyConfiguration `json:"valueFrom,omitempty"`
-}
-
-// EnvVarApplyConfiguration constructs an declarative configuration of the EnvVar type for use with
-// apply.
-func EnvVar() *EnvVarApplyConfiguration {
- return &EnvVarApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EnvVarApplyConfiguration) WithName(value string) *EnvVarApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithValue sets the Value field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Value field is set to the value of the last call.
-func (b *EnvVarApplyConfiguration) WithValue(value string) *EnvVarApplyConfiguration {
- b.Value = &value
- return b
-}
-
-// WithValueFrom sets the ValueFrom field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ValueFrom field is set to the value of the last call.
-func (b *EnvVarApplyConfiguration) WithValueFrom(value *EnvVarSourceApplyConfiguration) *EnvVarApplyConfiguration {
- b.ValueFrom = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go b/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go
deleted file mode 100644
index 0561c776f..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/envvarsource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EnvVarSourceApplyConfiguration represents an declarative configuration of the EnvVarSource type for use
-// with apply.
-type EnvVarSourceApplyConfiguration struct {
- FieldRef *ObjectFieldSelectorApplyConfiguration `json:"fieldRef,omitempty"`
- ResourceFieldRef *ResourceFieldSelectorApplyConfiguration `json:"resourceFieldRef,omitempty"`
- ConfigMapKeyRef *ConfigMapKeySelectorApplyConfiguration `json:"configMapKeyRef,omitempty"`
- SecretKeyRef *SecretKeySelectorApplyConfiguration `json:"secretKeyRef,omitempty"`
-}
-
-// EnvVarSourceApplyConfiguration constructs an declarative configuration of the EnvVarSource type for use with
-// apply.
-func EnvVarSource() *EnvVarSourceApplyConfiguration {
- return &EnvVarSourceApplyConfiguration{}
-}
-
-// WithFieldRef sets the FieldRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FieldRef field is set to the value of the last call.
-func (b *EnvVarSourceApplyConfiguration) WithFieldRef(value *ObjectFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
- b.FieldRef = value
- return b
-}
-
-// WithResourceFieldRef sets the ResourceFieldRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceFieldRef field is set to the value of the last call.
-func (b *EnvVarSourceApplyConfiguration) WithResourceFieldRef(value *ResourceFieldSelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
- b.ResourceFieldRef = value
- return b
-}
-
-// WithConfigMapKeyRef sets the ConfigMapKeyRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ConfigMapKeyRef field is set to the value of the last call.
-func (b *EnvVarSourceApplyConfiguration) WithConfigMapKeyRef(value *ConfigMapKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
- b.ConfigMapKeyRef = value
- return b
-}
-
-// WithSecretKeyRef sets the SecretKeyRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretKeyRef field is set to the value of the last call.
-func (b *EnvVarSourceApplyConfiguration) WithSecretKeyRef(value *SecretKeySelectorApplyConfiguration) *EnvVarSourceApplyConfiguration {
- b.SecretKeyRef = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go
deleted file mode 100644
index 22bd2aaba..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainer.go
+++ /dev/null
@@ -1,250 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- corev1 "k8s.io/api/core/v1"
-)
-
-// EphemeralContainerApplyConfiguration represents an declarative configuration of the EphemeralContainer type for use
-// with apply.
-type EphemeralContainerApplyConfiguration struct {
- EphemeralContainerCommonApplyConfiguration `json:",inline"`
- TargetContainerName *string `json:"targetContainerName,omitempty"`
-}
-
-// EphemeralContainerApplyConfiguration constructs an declarative configuration of the EphemeralContainer type for use with
-// apply.
-func EphemeralContainer() *EphemeralContainerApplyConfiguration {
- return &EphemeralContainerApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithName(value string) *EphemeralContainerApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithImage sets the Image field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Image field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithImage(value string) *EphemeralContainerApplyConfiguration {
- b.Image = &value
- return b
-}
-
-// WithCommand adds the given value to the Command field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Command field.
-func (b *EphemeralContainerApplyConfiguration) WithCommand(values ...string) *EphemeralContainerApplyConfiguration {
- for i := range values {
- b.Command = append(b.Command, values[i])
- }
- return b
-}
-
-// WithArgs adds the given value to the Args field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Args field.
-func (b *EphemeralContainerApplyConfiguration) WithArgs(values ...string) *EphemeralContainerApplyConfiguration {
- for i := range values {
- b.Args = append(b.Args, values[i])
- }
- return b
-}
-
-// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the WorkingDir field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerApplyConfiguration {
- b.WorkingDir = &value
- return b
-}
-
-// WithPorts adds the given value to the Ports field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ports field.
-func (b *EphemeralContainerApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPorts")
- }
- b.Ports = append(b.Ports, *values[i])
- }
- return b
-}
-
-// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the EnvFrom field.
-func (b *EphemeralContainerApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnvFrom")
- }
- b.EnvFrom = append(b.EnvFrom, *values[i])
- }
- return b
-}
-
-// WithEnv adds the given value to the Env field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Env field.
-func (b *EphemeralContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnv")
- }
- b.Env = append(b.Env, *values[i])
- }
- return b
-}
-
-// WithResources sets the Resources field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Resources field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.Resources = value
- return b
-}
-
-// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
-func (b *EphemeralContainerApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeMounts")
- }
- b.VolumeMounts = append(b.VolumeMounts, *values[i])
- }
- return b
-}
-
-// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
-func (b *EphemeralContainerApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeDevices")
- }
- b.VolumeDevices = append(b.VolumeDevices, *values[i])
- }
- return b
-}
-
-// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LivenessProbe field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.LivenessProbe = value
- return b
-}
-
-// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadinessProbe field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.ReadinessProbe = value
- return b
-}
-
-// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StartupProbe field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.StartupProbe = value
- return b
-}
-
-// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lifecycle field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.Lifecycle = value
- return b
-}
-
-// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerApplyConfiguration {
- b.TerminationMessagePath = &value
- return b
-}
-
-// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerApplyConfiguration {
- b.TerminationMessagePolicy = &value
- return b
-}
-
-// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerApplyConfiguration {
- b.ImagePullPolicy = &value
- return b
-}
-
-// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecurityContext field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerApplyConfiguration {
- b.SecurityContext = value
- return b
-}
-
-// WithStdin sets the Stdin field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Stdin field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithStdin(value bool) *EphemeralContainerApplyConfiguration {
- b.Stdin = &value
- return b
-}
-
-// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StdinOnce field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerApplyConfiguration {
- b.StdinOnce = &value
- return b
-}
-
-// WithTTY sets the TTY field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TTY field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithTTY(value bool) *EphemeralContainerApplyConfiguration {
- b.TTY = &value
- return b
-}
-
-// WithTargetContainerName sets the TargetContainerName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TargetContainerName field is set to the value of the last call.
-func (b *EphemeralContainerApplyConfiguration) WithTargetContainerName(value string) *EphemeralContainerApplyConfiguration {
- b.TargetContainerName = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go
deleted file mode 100644
index 88ff16231..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/ephemeralcontainercommon.go
+++ /dev/null
@@ -1,262 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- corev1 "k8s.io/api/core/v1"
-)
-
-// EphemeralContainerCommonApplyConfiguration represents an declarative configuration of the EphemeralContainerCommon type for use
-// with apply.
-type EphemeralContainerCommonApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- Image *string `json:"image,omitempty"`
- Command []string `json:"command,omitempty"`
- Args []string `json:"args,omitempty"`
- WorkingDir *string `json:"workingDir,omitempty"`
- Ports []ContainerPortApplyConfiguration `json:"ports,omitempty"`
- EnvFrom []EnvFromSourceApplyConfiguration `json:"envFrom,omitempty"`
- Env []EnvVarApplyConfiguration `json:"env,omitempty"`
- Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
- VolumeMounts []VolumeMountApplyConfiguration `json:"volumeMounts,omitempty"`
- VolumeDevices []VolumeDeviceApplyConfiguration `json:"volumeDevices,omitempty"`
- LivenessProbe *ProbeApplyConfiguration `json:"livenessProbe,omitempty"`
- ReadinessProbe *ProbeApplyConfiguration `json:"readinessProbe,omitempty"`
- StartupProbe *ProbeApplyConfiguration `json:"startupProbe,omitempty"`
- Lifecycle *LifecycleApplyConfiguration `json:"lifecycle,omitempty"`
- TerminationMessagePath *string `json:"terminationMessagePath,omitempty"`
- TerminationMessagePolicy *corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"`
- ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
- SecurityContext *SecurityContextApplyConfiguration `json:"securityContext,omitempty"`
- Stdin *bool `json:"stdin,omitempty"`
- StdinOnce *bool `json:"stdinOnce,omitempty"`
- TTY *bool `json:"tty,omitempty"`
-}
-
-// EphemeralContainerCommonApplyConfiguration constructs an declarative configuration of the EphemeralContainerCommon type for use with
-// apply.
-func EphemeralContainerCommon() *EphemeralContainerCommonApplyConfiguration {
- return &EphemeralContainerCommonApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithName(value string) *EphemeralContainerCommonApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithImage sets the Image field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Image field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithImage(value string) *EphemeralContainerCommonApplyConfiguration {
- b.Image = &value
- return b
-}
-
-// WithCommand adds the given value to the Command field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Command field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithCommand(values ...string) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- b.Command = append(b.Command, values[i])
- }
- return b
-}
-
-// WithArgs adds the given value to the Args field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Args field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithArgs(values ...string) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- b.Args = append(b.Args, values[i])
- }
- return b
-}
-
-// WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the WorkingDir field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerCommonApplyConfiguration {
- b.WorkingDir = &value
- return b
-}
-
-// WithPorts adds the given value to the Ports field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ports field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPorts")
- }
- b.Ports = append(b.Ports, *values[i])
- }
- return b
-}
-
-// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the EnvFrom field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnvFrom")
- }
- b.EnvFrom = append(b.EnvFrom, *values[i])
- }
- return b
-}
-
-// WithEnv adds the given value to the Env field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Env field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithEnv")
- }
- b.Env = append(b.Env, *values[i])
- }
- return b
-}
-
-// WithResources sets the Resources field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Resources field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.Resources = value
- return b
-}
-
-// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeMounts field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeMounts")
- }
- b.VolumeMounts = append(b.VolumeMounts, *values[i])
- }
- return b
-}
-
-// WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumeDevices field.
-func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumeDevices")
- }
- b.VolumeDevices = append(b.VolumeDevices, *values[i])
- }
- return b
-}
-
-// WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LivenessProbe field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.LivenessProbe = value
- return b
-}
-
-// WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadinessProbe field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.ReadinessProbe = value
- return b
-}
-
-// WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StartupProbe field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.StartupProbe = value
- return b
-}
-
-// WithLifecycle sets the Lifecycle field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lifecycle field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.Lifecycle = value
- return b
-}
-
-// WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePath field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerCommonApplyConfiguration {
- b.TerminationMessagePath = &value
- return b
-}
-
-// WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TerminationMessagePolicy field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerCommonApplyConfiguration {
- b.TerminationMessagePolicy = &value
- return b
-}
-
-// WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ImagePullPolicy field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerCommonApplyConfiguration {
- b.ImagePullPolicy = &value
- return b
-}
-
-// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecurityContext field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerCommonApplyConfiguration {
- b.SecurityContext = value
- return b
-}
-
-// WithStdin sets the Stdin field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Stdin field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithStdin(value bool) *EphemeralContainerCommonApplyConfiguration {
- b.Stdin = &value
- return b
-}
-
-// WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the StdinOnce field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerCommonApplyConfiguration {
- b.StdinOnce = &value
- return b
-}
-
-// WithTTY sets the TTY field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TTY field is set to the value of the last call.
-func (b *EphemeralContainerCommonApplyConfiguration) WithTTY(value bool) *EphemeralContainerCommonApplyConfiguration {
- b.TTY = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go
deleted file mode 100644
index 193096f69..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/ephemeralvolumesource.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EphemeralVolumeSourceApplyConfiguration represents an declarative configuration of the EphemeralVolumeSource type for use
-// with apply.
-type EphemeralVolumeSourceApplyConfiguration struct {
- VolumeClaimTemplate *PersistentVolumeClaimTemplateApplyConfiguration `json:"volumeClaimTemplate,omitempty"`
-}
-
-// EphemeralVolumeSourceApplyConfiguration constructs an declarative configuration of the EphemeralVolumeSource type for use with
-// apply.
-func EphemeralVolumeSource() *EphemeralVolumeSourceApplyConfiguration {
- return &EphemeralVolumeSourceApplyConfiguration{}
-}
-
-// WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the VolumeClaimTemplate field is set to the value of the last call.
-func (b *EphemeralVolumeSourceApplyConfiguration) WithVolumeClaimTemplate(value *PersistentVolumeClaimTemplateApplyConfiguration) *EphemeralVolumeSourceApplyConfiguration {
- b.VolumeClaimTemplate = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/event.go b/pkg/client/camel/applyconfiguration/core/v1/event.go
deleted file mode 100644
index f9193d2f6..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/event.go
+++ /dev/null
@@ -1,328 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// EventApplyConfiguration represents an declarative configuration of the Event type for use
-// with apply.
-type EventApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- InvolvedObject *ObjectReferenceApplyConfiguration `json:"involvedObject,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
- Source *EventSourceApplyConfiguration `json:"source,omitempty"`
- FirstTimestamp *metav1.Time `json:"firstTimestamp,omitempty"`
- LastTimestamp *metav1.Time `json:"lastTimestamp,omitempty"`
- Count *int32 `json:"count,omitempty"`
- Type *string `json:"type,omitempty"`
- EventTime *metav1.MicroTime `json:"eventTime,omitempty"`
- Series *EventSeriesApplyConfiguration `json:"series,omitempty"`
- Action *string `json:"action,omitempty"`
- Related *ObjectReferenceApplyConfiguration `json:"related,omitempty"`
- ReportingController *string `json:"reportingComponent,omitempty"`
- ReportingInstance *string `json:"reportingInstance,omitempty"`
-}
-
-// Event constructs an declarative configuration of the Event type for use with
-// apply.
-func Event(name, namespace string) *EventApplyConfiguration {
- b := &EventApplyConfiguration{}
- b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("Event")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithKind(value string) *EventApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithAPIVersion(value string) *EventApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithName(value string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithGenerateName(value string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithNamespace(value string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithUID(value types.UID) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithResourceVersion(value string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithGeneration(value int64) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *EventApplyConfiguration) WithLabels(entries map[string]string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *EventApplyConfiguration) WithAnnotations(entries map[string]string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *EventApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *EventApplyConfiguration) WithFinalizers(values ...string) *EventApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *EventApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithInvolvedObject sets the InvolvedObject field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the InvolvedObject field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithInvolvedObject(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration {
- b.InvolvedObject = value
- return b
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithReason(value string) *EventApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithMessage(value string) *EventApplyConfiguration {
- b.Message = &value
- return b
-}
-
-// WithSource sets the Source field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Source field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithSource(value *EventSourceApplyConfiguration) *EventApplyConfiguration {
- b.Source = value
- return b
-}
-
-// WithFirstTimestamp sets the FirstTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FirstTimestamp field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithFirstTimestamp(value metav1.Time) *EventApplyConfiguration {
- b.FirstTimestamp = &value
- return b
-}
-
-// WithLastTimestamp sets the LastTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastTimestamp field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithLastTimestamp(value metav1.Time) *EventApplyConfiguration {
- b.LastTimestamp = &value
- return b
-}
-
-// WithCount sets the Count field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Count field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithCount(value int32) *EventApplyConfiguration {
- b.Count = &value
- return b
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithType(value string) *EventApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithEventTime sets the EventTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the EventTime field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithEventTime(value metav1.MicroTime) *EventApplyConfiguration {
- b.EventTime = &value
- return b
-}
-
-// WithSeries sets the Series field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Series field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithSeries(value *EventSeriesApplyConfiguration) *EventApplyConfiguration {
- b.Series = value
- return b
-}
-
-// WithAction sets the Action field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Action field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithAction(value string) *EventApplyConfiguration {
- b.Action = &value
- return b
-}
-
-// WithRelated sets the Related field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Related field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithRelated(value *ObjectReferenceApplyConfiguration) *EventApplyConfiguration {
- b.Related = value
- return b
-}
-
-// WithReportingController sets the ReportingController field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReportingController field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithReportingController(value string) *EventApplyConfiguration {
- b.ReportingController = &value
- return b
-}
-
-// WithReportingInstance sets the ReportingInstance field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReportingInstance field is set to the value of the last call.
-func (b *EventApplyConfiguration) WithReportingInstance(value string) *EventApplyConfiguration {
- b.ReportingInstance = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/eventseries.go b/pkg/client/camel/applyconfiguration/core/v1/eventseries.go
deleted file mode 100644
index a50e94c64..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/eventseries.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-)
-
-// EventSeriesApplyConfiguration represents an declarative configuration of the EventSeries type for use
-// with apply.
-type EventSeriesApplyConfiguration struct {
- Count *int32 `json:"count,omitempty"`
- LastObservedTime *v1.MicroTime `json:"lastObservedTime,omitempty"`
-}
-
-// EventSeriesApplyConfiguration constructs an declarative configuration of the EventSeries type for use with
-// apply.
-func EventSeries() *EventSeriesApplyConfiguration {
- return &EventSeriesApplyConfiguration{}
-}
-
-// WithCount sets the Count field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Count field is set to the value of the last call.
-func (b *EventSeriesApplyConfiguration) WithCount(value int32) *EventSeriesApplyConfiguration {
- b.Count = &value
- return b
-}
-
-// WithLastObservedTime sets the LastObservedTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastObservedTime field is set to the value of the last call.
-func (b *EventSeriesApplyConfiguration) WithLastObservedTime(value v1.MicroTime) *EventSeriesApplyConfiguration {
- b.LastObservedTime = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/eventsource.go b/pkg/client/camel/applyconfiguration/core/v1/eventsource.go
deleted file mode 100644
index 91084e470..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/eventsource.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// EventSourceApplyConfiguration represents an declarative configuration of the EventSource type for use
-// with apply.
-type EventSourceApplyConfiguration struct {
- Component *string `json:"component,omitempty"`
- Host *string `json:"host,omitempty"`
-}
-
-// EventSourceApplyConfiguration constructs an declarative configuration of the EventSource type for use with
-// apply.
-func EventSource() *EventSourceApplyConfiguration {
- return &EventSourceApplyConfiguration{}
-}
-
-// WithComponent sets the Component field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Component field is set to the value of the last call.
-func (b *EventSourceApplyConfiguration) WithComponent(value string) *EventSourceApplyConfiguration {
- b.Component = &value
- return b
-}
-
-// WithHost sets the Host field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Host field is set to the value of the last call.
-func (b *EventSourceApplyConfiguration) WithHost(value string) *EventSourceApplyConfiguration {
- b.Host = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/execaction.go b/pkg/client/camel/applyconfiguration/core/v1/execaction.go
deleted file mode 100644
index b59ab0679..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/execaction.go
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ExecActionApplyConfiguration represents an declarative configuration of the ExecAction type for use
-// with apply.
-type ExecActionApplyConfiguration struct {
- Command []string `json:"command,omitempty"`
-}
-
-// ExecActionApplyConfiguration constructs an declarative configuration of the ExecAction type for use with
-// apply.
-func ExecAction() *ExecActionApplyConfiguration {
- return &ExecActionApplyConfiguration{}
-}
-
-// WithCommand adds the given value to the Command field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Command field.
-func (b *ExecActionApplyConfiguration) WithCommand(values ...string) *ExecActionApplyConfiguration {
- for i := range values {
- b.Command = append(b.Command, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go
deleted file mode 100644
index 17c3a4861..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/fcvolumesource.go
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// FCVolumeSourceApplyConfiguration represents an declarative configuration of the FCVolumeSource type for use
-// with apply.
-type FCVolumeSourceApplyConfiguration struct {
- TargetWWNs []string `json:"targetWWNs,omitempty"`
- Lun *int32 `json:"lun,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- WWIDs []string `json:"wwids,omitempty"`
-}
-
-// FCVolumeSourceApplyConfiguration constructs an declarative configuration of the FCVolumeSource type for use with
-// apply.
-func FCVolumeSource() *FCVolumeSourceApplyConfiguration {
- return &FCVolumeSourceApplyConfiguration{}
-}
-
-// WithTargetWWNs adds the given value to the TargetWWNs field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the TargetWWNs field.
-func (b *FCVolumeSourceApplyConfiguration) WithTargetWWNs(values ...string) *FCVolumeSourceApplyConfiguration {
- for i := range values {
- b.TargetWWNs = append(b.TargetWWNs, values[i])
- }
- return b
-}
-
-// WithLun sets the Lun field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lun field is set to the value of the last call.
-func (b *FCVolumeSourceApplyConfiguration) WithLun(value int32) *FCVolumeSourceApplyConfiguration {
- b.Lun = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *FCVolumeSourceApplyConfiguration) WithFSType(value string) *FCVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *FCVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FCVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithWWIDs adds the given value to the WWIDs field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the WWIDs field.
-func (b *FCVolumeSourceApplyConfiguration) WithWWIDs(values ...string) *FCVolumeSourceApplyConfiguration {
- for i := range values {
- b.WWIDs = append(b.WWIDs, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go
deleted file mode 100644
index 092be9a02..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/flexpersistentvolumesource.go
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// FlexPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the FlexPersistentVolumeSource type for use
-// with apply.
-type FlexPersistentVolumeSourceApplyConfiguration struct {
- Driver *string `json:"driver,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- Options map[string]string `json:"options,omitempty"`
-}
-
-// FlexPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the FlexPersistentVolumeSource type for use with
-// apply.
-func FlexPersistentVolumeSource() *FlexPersistentVolumeSourceApplyConfiguration {
- return &FlexPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithDriver sets the Driver field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Driver field is set to the value of the last call.
-func (b *FlexPersistentVolumeSourceApplyConfiguration) WithDriver(value string) *FlexPersistentVolumeSourceApplyConfiguration {
- b.Driver = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *FlexPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *FlexPersistentVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *FlexPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *FlexPersistentVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *FlexPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithOptions puts the entries into the Options field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Options field,
-// overwriting an existing map entries in Options field with the same key.
-func (b *FlexPersistentVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexPersistentVolumeSourceApplyConfiguration {
- if b.Options == nil && len(entries) > 0 {
- b.Options = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Options[k] = v
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go
deleted file mode 100644
index da3f6709f..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/flexvolumesource.go
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// FlexVolumeSourceApplyConfiguration represents an declarative configuration of the FlexVolumeSource type for use
-// with apply.
-type FlexVolumeSourceApplyConfiguration struct {
- Driver *string `json:"driver,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- Options map[string]string `json:"options,omitempty"`
-}
-
-// FlexVolumeSourceApplyConfiguration constructs an declarative configuration of the FlexVolumeSource type for use with
-// apply.
-func FlexVolumeSource() *FlexVolumeSourceApplyConfiguration {
- return &FlexVolumeSourceApplyConfiguration{}
-}
-
-// WithDriver sets the Driver field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Driver field is set to the value of the last call.
-func (b *FlexVolumeSourceApplyConfiguration) WithDriver(value string) *FlexVolumeSourceApplyConfiguration {
- b.Driver = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *FlexVolumeSourceApplyConfiguration) WithFSType(value string) *FlexVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *FlexVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *FlexVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *FlexVolumeSourceApplyConfiguration) WithReadOnly(value bool) *FlexVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithOptions puts the entries into the Options field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Options field,
-// overwriting an existing map entries in Options field with the same key.
-func (b *FlexVolumeSourceApplyConfiguration) WithOptions(entries map[string]string) *FlexVolumeSourceApplyConfiguration {
- if b.Options == nil && len(entries) > 0 {
- b.Options = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Options[k] = v
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go
deleted file mode 100644
index fddc0217e..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/flockervolumesource.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// FlockerVolumeSourceApplyConfiguration represents an declarative configuration of the FlockerVolumeSource type for use
-// with apply.
-type FlockerVolumeSourceApplyConfiguration struct {
- DatasetName *string `json:"datasetName,omitempty"`
- DatasetUUID *string `json:"datasetUUID,omitempty"`
-}
-
-// FlockerVolumeSourceApplyConfiguration constructs an declarative configuration of the FlockerVolumeSource type for use with
-// apply.
-func FlockerVolumeSource() *FlockerVolumeSourceApplyConfiguration {
- return &FlockerVolumeSourceApplyConfiguration{}
-}
-
-// WithDatasetName sets the DatasetName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DatasetName field is set to the value of the last call.
-func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetName(value string) *FlockerVolumeSourceApplyConfiguration {
- b.DatasetName = &value
- return b
-}
-
-// WithDatasetUUID sets the DatasetUUID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DatasetUUID field is set to the value of the last call.
-func (b *FlockerVolumeSourceApplyConfiguration) WithDatasetUUID(value string) *FlockerVolumeSourceApplyConfiguration {
- b.DatasetUUID = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go
deleted file mode 100644
index 4f55a7096..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/gcepersistentdiskvolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// GCEPersistentDiskVolumeSourceApplyConfiguration represents an declarative configuration of the GCEPersistentDiskVolumeSource type for use
-// with apply.
-type GCEPersistentDiskVolumeSourceApplyConfiguration struct {
- PDName *string `json:"pdName,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- Partition *int32 `json:"partition,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// GCEPersistentDiskVolumeSourceApplyConfiguration constructs an declarative configuration of the GCEPersistentDiskVolumeSource type for use with
-// apply.
-func GCEPersistentDiskVolumeSource() *GCEPersistentDiskVolumeSourceApplyConfiguration {
- return &GCEPersistentDiskVolumeSourceApplyConfiguration{}
-}
-
-// WithPDName sets the PDName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PDName field is set to the value of the last call.
-func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPDName(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration {
- b.PDName = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithFSType(value string) *GCEPersistentDiskVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithPartition sets the Partition field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Partition field is set to the value of the last call.
-func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithPartition(value int32) *GCEPersistentDiskVolumeSourceApplyConfiguration {
- b.Partition = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *GCEPersistentDiskVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GCEPersistentDiskVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go
deleted file mode 100644
index c8d2febf4..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/gitrepovolumesource.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// GitRepoVolumeSourceApplyConfiguration represents an declarative configuration of the GitRepoVolumeSource type for use
-// with apply.
-type GitRepoVolumeSourceApplyConfiguration struct {
- Repository *string `json:"repository,omitempty"`
- Revision *string `json:"revision,omitempty"`
- Directory *string `json:"directory,omitempty"`
-}
-
-// GitRepoVolumeSourceApplyConfiguration constructs an declarative configuration of the GitRepoVolumeSource type for use with
-// apply.
-func GitRepoVolumeSource() *GitRepoVolumeSourceApplyConfiguration {
- return &GitRepoVolumeSourceApplyConfiguration{}
-}
-
-// WithRepository sets the Repository field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Repository field is set to the value of the last call.
-func (b *GitRepoVolumeSourceApplyConfiguration) WithRepository(value string) *GitRepoVolumeSourceApplyConfiguration {
- b.Repository = &value
- return b
-}
-
-// WithRevision sets the Revision field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Revision field is set to the value of the last call.
-func (b *GitRepoVolumeSourceApplyConfiguration) WithRevision(value string) *GitRepoVolumeSourceApplyConfiguration {
- b.Revision = &value
- return b
-}
-
-// WithDirectory sets the Directory field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Directory field is set to the value of the last call.
-func (b *GitRepoVolumeSourceApplyConfiguration) WithDirectory(value string) *GitRepoVolumeSourceApplyConfiguration {
- b.Directory = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go
deleted file mode 100644
index c66f77a08..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/glusterfspersistentvolumesource.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// GlusterfsPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsPersistentVolumeSource type for use
-// with apply.
-type GlusterfsPersistentVolumeSourceApplyConfiguration struct {
- EndpointsName *string `json:"endpoints,omitempty"`
- Path *string `json:"path,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- EndpointsNamespace *string `json:"endpointsNamespace,omitempty"`
-}
-
-// GlusterfsPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the GlusterfsPersistentVolumeSource type for use with
-// apply.
-func GlusterfsPersistentVolumeSource() *GlusterfsPersistentVolumeSourceApplyConfiguration {
- return &GlusterfsPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the EndpointsName field is set to the value of the last call.
-func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
- b.EndpointsName = &value
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithEndpointsNamespace sets the EndpointsNamespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the EndpointsNamespace field is set to the value of the last call.
-func (b *GlusterfsPersistentVolumeSourceApplyConfiguration) WithEndpointsNamespace(value string) *GlusterfsPersistentVolumeSourceApplyConfiguration {
- b.EndpointsNamespace = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go
deleted file mode 100644
index 85e65d80b..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/glusterfsvolumesource.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// GlusterfsVolumeSourceApplyConfiguration represents an declarative configuration of the GlusterfsVolumeSource type for use
-// with apply.
-type GlusterfsVolumeSourceApplyConfiguration struct {
- EndpointsName *string `json:"endpoints,omitempty"`
- Path *string `json:"path,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// GlusterfsVolumeSourceApplyConfiguration constructs an declarative configuration of the GlusterfsVolumeSource type for use with
-// apply.
-func GlusterfsVolumeSource() *GlusterfsVolumeSourceApplyConfiguration {
- return &GlusterfsVolumeSourceApplyConfiguration{}
-}
-
-// WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the EndpointsName field is set to the value of the last call.
-func (b *GlusterfsVolumeSourceApplyConfiguration) WithEndpointsName(value string) *GlusterfsVolumeSourceApplyConfiguration {
- b.EndpointsName = &value
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *GlusterfsVolumeSourceApplyConfiguration) WithPath(value string) *GlusterfsVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *GlusterfsVolumeSourceApplyConfiguration) WithReadOnly(value bool) *GlusterfsVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go b/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go
deleted file mode 100644
index e636755ad..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/grpcaction.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// GRPCActionApplyConfiguration represents an declarative configuration of the GRPCAction type for use
-// with apply.
-type GRPCActionApplyConfiguration struct {
- Port *int32 `json:"port,omitempty"`
- Service *string `json:"service,omitempty"`
-}
-
-// GRPCActionApplyConfiguration constructs an declarative configuration of the GRPCAction type for use with
-// apply.
-func GRPCAction() *GRPCActionApplyConfiguration {
- return &GRPCActionApplyConfiguration{}
-}
-
-// WithPort sets the Port field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Port field is set to the value of the last call.
-func (b *GRPCActionApplyConfiguration) WithPort(value int32) *GRPCActionApplyConfiguration {
- b.Port = &value
- return b
-}
-
-// WithService sets the Service field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Service field is set to the value of the last call.
-func (b *GRPCActionApplyConfiguration) WithService(value string) *GRPCActionApplyConfiguration {
- b.Service = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/hostalias.go b/pkg/client/camel/applyconfiguration/core/v1/hostalias.go
deleted file mode 100644
index 3189de463..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/hostalias.go
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use
-// with apply.
-type HostAliasApplyConfiguration struct {
- IP *string `json:"ip,omitempty"`
- Hostnames []string `json:"hostnames,omitempty"`
-}
-
-// HostAliasApplyConfiguration constructs an declarative configuration of the HostAlias type for use with
-// apply.
-func HostAlias() *HostAliasApplyConfiguration {
- return &HostAliasApplyConfiguration{}
-}
-
-// WithIP sets the IP field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the IP field is set to the value of the last call.
-func (b *HostAliasApplyConfiguration) WithIP(value string) *HostAliasApplyConfiguration {
- b.IP = &value
- return b
-}
-
-// WithHostnames adds the given value to the Hostnames field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Hostnames field.
-func (b *HostAliasApplyConfiguration) WithHostnames(values ...string) *HostAliasApplyConfiguration {
- for i := range values {
- b.Hostnames = append(b.Hostnames, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go
deleted file mode 100644
index 66d6f4724..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/hostpathvolumesource.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// HostPathVolumeSourceApplyConfiguration represents an declarative configuration of the HostPathVolumeSource type for use
-// with apply.
-type HostPathVolumeSourceApplyConfiguration struct {
- Path *string `json:"path,omitempty"`
- Type *v1.HostPathType `json:"type,omitempty"`
-}
-
-// HostPathVolumeSourceApplyConfiguration constructs an declarative configuration of the HostPathVolumeSource type for use with
-// apply.
-func HostPathVolumeSource() *HostPathVolumeSourceApplyConfiguration {
- return &HostPathVolumeSourceApplyConfiguration{}
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *HostPathVolumeSourceApplyConfiguration) WithPath(value string) *HostPathVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *HostPathVolumeSourceApplyConfiguration) WithType(value v1.HostPathType) *HostPathVolumeSourceApplyConfiguration {
- b.Type = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go b/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go
deleted file mode 100644
index bbac0db2a..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/httpgetaction.go
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
- intstr "k8s.io/apimachinery/pkg/util/intstr"
-)
-
-// HTTPGetActionApplyConfiguration represents an declarative configuration of the HTTPGetAction type for use
-// with apply.
-type HTTPGetActionApplyConfiguration struct {
- Path *string `json:"path,omitempty"`
- Port *intstr.IntOrString `json:"port,omitempty"`
- Host *string `json:"host,omitempty"`
- Scheme *v1.URIScheme `json:"scheme,omitempty"`
- HTTPHeaders []HTTPHeaderApplyConfiguration `json:"httpHeaders,omitempty"`
-}
-
-// HTTPGetActionApplyConfiguration constructs an declarative configuration of the HTTPGetAction type for use with
-// apply.
-func HTTPGetAction() *HTTPGetActionApplyConfiguration {
- return &HTTPGetActionApplyConfiguration{}
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *HTTPGetActionApplyConfiguration) WithPath(value string) *HTTPGetActionApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithPort sets the Port field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Port field is set to the value of the last call.
-func (b *HTTPGetActionApplyConfiguration) WithPort(value intstr.IntOrString) *HTTPGetActionApplyConfiguration {
- b.Port = &value
- return b
-}
-
-// WithHost sets the Host field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Host field is set to the value of the last call.
-func (b *HTTPGetActionApplyConfiguration) WithHost(value string) *HTTPGetActionApplyConfiguration {
- b.Host = &value
- return b
-}
-
-// WithScheme sets the Scheme field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Scheme field is set to the value of the last call.
-func (b *HTTPGetActionApplyConfiguration) WithScheme(value v1.URIScheme) *HTTPGetActionApplyConfiguration {
- b.Scheme = &value
- return b
-}
-
-// WithHTTPHeaders adds the given value to the HTTPHeaders field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the HTTPHeaders field.
-func (b *HTTPGetActionApplyConfiguration) WithHTTPHeaders(values ...*HTTPHeaderApplyConfiguration) *HTTPGetActionApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithHTTPHeaders")
- }
- b.HTTPHeaders = append(b.HTTPHeaders, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/httpheader.go b/pkg/client/camel/applyconfiguration/core/v1/httpheader.go
deleted file mode 100644
index d6b076dd4..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/httpheader.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// HTTPHeaderApplyConfiguration represents an declarative configuration of the HTTPHeader type for use
-// with apply.
-type HTTPHeaderApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
- Value *string `json:"value,omitempty"`
-}
-
-// HTTPHeaderApplyConfiguration constructs an declarative configuration of the HTTPHeader type for use with
-// apply.
-func HTTPHeader() *HTTPHeaderApplyConfiguration {
- return &HTTPHeaderApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *HTTPHeaderApplyConfiguration) WithName(value string) *HTTPHeaderApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithValue sets the Value field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Value field is set to the value of the last call.
-func (b *HTTPHeaderApplyConfiguration) WithValue(value string) *HTTPHeaderApplyConfiguration {
- b.Value = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go
deleted file mode 100644
index 69c0e6d85..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/iscsipersistentvolumesource.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ISCSIPersistentVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIPersistentVolumeSource type for use
-// with apply.
-type ISCSIPersistentVolumeSourceApplyConfiguration struct {
- TargetPortal *string `json:"targetPortal,omitempty"`
- IQN *string `json:"iqn,omitempty"`
- Lun *int32 `json:"lun,omitempty"`
- ISCSIInterface *string `json:"iscsiInterface,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- Portals []string `json:"portals,omitempty"`
- DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"`
- SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"`
- SecretRef *SecretReferenceApplyConfiguration `json:"secretRef,omitempty"`
- InitiatorName *string `json:"initiatorName,omitempty"`
-}
-
-// ISCSIPersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the ISCSIPersistentVolumeSource type for use with
-// apply.
-func ISCSIPersistentVolumeSource() *ISCSIPersistentVolumeSourceApplyConfiguration {
- return &ISCSIPersistentVolumeSourceApplyConfiguration{}
-}
-
-// WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TargetPortal field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.TargetPortal = &value
- return b
-}
-
-// WithIQN sets the IQN field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the IQN field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.IQN = &value
- return b
-}
-
-// WithLun sets the Lun field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lun field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.Lun = &value
- return b
-}
-
-// WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ISCSIInterface field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.ISCSIInterface = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithPortals adds the given value to the Portals field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Portals field.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- for i := range values {
- b.Portals = append(b.Portals, values[i])
- }
- return b
-}
-
-// WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.DiscoveryCHAPAuth = &value
- return b
-}
-
-// WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SessionCHAPAuth field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.SessionCHAPAuth = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithSecretRef(value *SecretReferenceApplyConfiguration) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the InitiatorName field is set to the value of the last call.
-func (b *ISCSIPersistentVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIPersistentVolumeSourceApplyConfiguration {
- b.InitiatorName = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go
deleted file mode 100644
index 119301d62..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/iscsivolumesource.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ISCSIVolumeSourceApplyConfiguration represents an declarative configuration of the ISCSIVolumeSource type for use
-// with apply.
-type ISCSIVolumeSourceApplyConfiguration struct {
- TargetPortal *string `json:"targetPortal,omitempty"`
- IQN *string `json:"iqn,omitempty"`
- Lun *int32 `json:"lun,omitempty"`
- ISCSIInterface *string `json:"iscsiInterface,omitempty"`
- FSType *string `json:"fsType,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
- Portals []string `json:"portals,omitempty"`
- DiscoveryCHAPAuth *bool `json:"chapAuthDiscovery,omitempty"`
- SessionCHAPAuth *bool `json:"chapAuthSession,omitempty"`
- SecretRef *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
- InitiatorName *string `json:"initiatorName,omitempty"`
-}
-
-// ISCSIVolumeSourceApplyConfiguration constructs an declarative configuration of the ISCSIVolumeSource type for use with
-// apply.
-func ISCSIVolumeSource() *ISCSIVolumeSourceApplyConfiguration {
- return &ISCSIVolumeSourceApplyConfiguration{}
-}
-
-// WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TargetPortal field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithTargetPortal(value string) *ISCSIVolumeSourceApplyConfiguration {
- b.TargetPortal = &value
- return b
-}
-
-// WithIQN sets the IQN field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the IQN field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithIQN(value string) *ISCSIVolumeSourceApplyConfiguration {
- b.IQN = &value
- return b
-}
-
-// WithLun sets the Lun field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Lun field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithLun(value int32) *ISCSIVolumeSourceApplyConfiguration {
- b.Lun = &value
- return b
-}
-
-// WithISCSIInterface sets the ISCSIInterface field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ISCSIInterface field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithISCSIInterface(value string) *ISCSIVolumeSourceApplyConfiguration {
- b.ISCSIInterface = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithFSType(value string) *ISCSIVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithReadOnly(value bool) *ISCSIVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
-
-// WithPortals adds the given value to the Portals field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Portals field.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithPortals(values ...string) *ISCSIVolumeSourceApplyConfiguration {
- for i := range values {
- b.Portals = append(b.Portals, values[i])
- }
- return b
-}
-
-// WithDiscoveryCHAPAuth sets the DiscoveryCHAPAuth field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DiscoveryCHAPAuth field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithDiscoveryCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration {
- b.DiscoveryCHAPAuth = &value
- return b
-}
-
-// WithSessionCHAPAuth sets the SessionCHAPAuth field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SessionCHAPAuth field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithSessionCHAPAuth(value bool) *ISCSIVolumeSourceApplyConfiguration {
- b.SessionCHAPAuth = &value
- return b
-}
-
-// WithSecretRef sets the SecretRef field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SecretRef field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithSecretRef(value *LocalObjectReferenceApplyConfiguration) *ISCSIVolumeSourceApplyConfiguration {
- b.SecretRef = value
- return b
-}
-
-// WithInitiatorName sets the InitiatorName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the InitiatorName field is set to the value of the last call.
-func (b *ISCSIVolumeSourceApplyConfiguration) WithInitiatorName(value string) *ISCSIVolumeSourceApplyConfiguration {
- b.InitiatorName = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/keytopath.go b/pkg/client/camel/applyconfiguration/core/v1/keytopath.go
deleted file mode 100644
index 3a2995dd4..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/keytopath.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// KeyToPathApplyConfiguration represents an declarative configuration of the KeyToPath type for use
-// with apply.
-type KeyToPathApplyConfiguration struct {
- Key *string `json:"key,omitempty"`
- Path *string `json:"path,omitempty"`
- Mode *int32 `json:"mode,omitempty"`
-}
-
-// KeyToPathApplyConfiguration constructs an declarative configuration of the KeyToPath type for use with
-// apply.
-func KeyToPath() *KeyToPathApplyConfiguration {
- return &KeyToPathApplyConfiguration{}
-}
-
-// WithKey sets the Key field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Key field is set to the value of the last call.
-func (b *KeyToPathApplyConfiguration) WithKey(value string) *KeyToPathApplyConfiguration {
- b.Key = &value
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *KeyToPathApplyConfiguration) WithPath(value string) *KeyToPathApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithMode sets the Mode field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Mode field is set to the value of the last call.
-func (b *KeyToPathApplyConfiguration) WithMode(value int32) *KeyToPathApplyConfiguration {
- b.Mode = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go b/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go
deleted file mode 100644
index 98f218563..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/lifecycle.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LifecycleApplyConfiguration represents an declarative configuration of the Lifecycle type for use
-// with apply.
-type LifecycleApplyConfiguration struct {
- PostStart *LifecycleHandlerApplyConfiguration `json:"postStart,omitempty"`
- PreStop *LifecycleHandlerApplyConfiguration `json:"preStop,omitempty"`
-}
-
-// LifecycleApplyConfiguration constructs an declarative configuration of the Lifecycle type for use with
-// apply.
-func Lifecycle() *LifecycleApplyConfiguration {
- return &LifecycleApplyConfiguration{}
-}
-
-// WithPostStart sets the PostStart field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PostStart field is set to the value of the last call.
-func (b *LifecycleApplyConfiguration) WithPostStart(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration {
- b.PostStart = value
- return b
-}
-
-// WithPreStop sets the PreStop field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PreStop field is set to the value of the last call.
-func (b *LifecycleApplyConfiguration) WithPreStop(value *LifecycleHandlerApplyConfiguration) *LifecycleApplyConfiguration {
- b.PreStop = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go b/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go
deleted file mode 100644
index 86e22b4eb..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/lifecyclehandler.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LifecycleHandlerApplyConfiguration represents an declarative configuration of the LifecycleHandler type for use
-// with apply.
-type LifecycleHandlerApplyConfiguration struct {
- Exec *ExecActionApplyConfiguration `json:"exec,omitempty"`
- HTTPGet *HTTPGetActionApplyConfiguration `json:"httpGet,omitempty"`
- TCPSocket *TCPSocketActionApplyConfiguration `json:"tcpSocket,omitempty"`
-}
-
-// LifecycleHandlerApplyConfiguration constructs an declarative configuration of the LifecycleHandler type for use with
-// apply.
-func LifecycleHandler() *LifecycleHandlerApplyConfiguration {
- return &LifecycleHandlerApplyConfiguration{}
-}
-
-// WithExec sets the Exec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Exec field is set to the value of the last call.
-func (b *LifecycleHandlerApplyConfiguration) WithExec(value *ExecActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
- b.Exec = value
- return b
-}
-
-// WithHTTPGet sets the HTTPGet field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the HTTPGet field is set to the value of the last call.
-func (b *LifecycleHandlerApplyConfiguration) WithHTTPGet(value *HTTPGetActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
- b.HTTPGet = value
- return b
-}
-
-// WithTCPSocket sets the TCPSocket field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the TCPSocket field is set to the value of the last call.
-func (b *LifecycleHandlerApplyConfiguration) WithTCPSocket(value *TCPSocketActionApplyConfiguration) *LifecycleHandlerApplyConfiguration {
- b.TCPSocket = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/limitrange.go b/pkg/client/camel/applyconfiguration/core/v1/limitrange.go
deleted file mode 100644
index 8e25140c1..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/limitrange.go
+++ /dev/null
@@ -1,211 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// LimitRangeApplyConfiguration represents an declarative configuration of the LimitRange type for use
-// with apply.
-type LimitRangeApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *LimitRangeSpecApplyConfiguration `json:"spec,omitempty"`
-}
-
-// LimitRange constructs an declarative configuration of the LimitRange type for use with
-// apply.
-func LimitRange(name, namespace string) *LimitRangeApplyConfiguration {
- b := &LimitRangeApplyConfiguration{}
- b.WithName(name)
- b.WithNamespace(namespace)
- b.WithKind("LimitRange")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithKind(value string) *LimitRangeApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithAPIVersion(value string) *LimitRangeApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithName(value string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithGenerateName(value string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithNamespace(value string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithUID(value types.UID) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithResourceVersion(value string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithGeneration(value int64) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *LimitRangeApplyConfiguration) WithLabels(entries map[string]string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *LimitRangeApplyConfiguration) WithAnnotations(entries map[string]string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *LimitRangeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *LimitRangeApplyConfiguration) WithFinalizers(values ...string) *LimitRangeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *LimitRangeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithSpec sets the Spec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *LimitRangeApplyConfiguration) WithSpec(value *LimitRangeSpecApplyConfiguration) *LimitRangeApplyConfiguration {
- b.Spec = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go b/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go
deleted file mode 100644
index f4c9476f0..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/limitrangeitem.go
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// LimitRangeItemApplyConfiguration represents an declarative configuration of the LimitRangeItem type for use
-// with apply.
-type LimitRangeItemApplyConfiguration struct {
- Type *v1.LimitType `json:"type,omitempty"`
- Max *v1.ResourceList `json:"max,omitempty"`
- Min *v1.ResourceList `json:"min,omitempty"`
- Default *v1.ResourceList `json:"default,omitempty"`
- DefaultRequest *v1.ResourceList `json:"defaultRequest,omitempty"`
- MaxLimitRequestRatio *v1.ResourceList `json:"maxLimitRequestRatio,omitempty"`
-}
-
-// LimitRangeItemApplyConfiguration constructs an declarative configuration of the LimitRangeItem type for use with
-// apply.
-func LimitRangeItem() *LimitRangeItemApplyConfiguration {
- return &LimitRangeItemApplyConfiguration{}
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithType(value v1.LimitType) *LimitRangeItemApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithMax sets the Max field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Max field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithMax(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
- b.Max = &value
- return b
-}
-
-// WithMin sets the Min field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Min field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithMin(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
- b.Min = &value
- return b
-}
-
-// WithDefault sets the Default field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Default field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithDefault(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
- b.Default = &value
- return b
-}
-
-// WithDefaultRequest sets the DefaultRequest field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DefaultRequest field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithDefaultRequest(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
- b.DefaultRequest = &value
- return b
-}
-
-// WithMaxLimitRequestRatio sets the MaxLimitRequestRatio field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the MaxLimitRequestRatio field is set to the value of the last call.
-func (b *LimitRangeItemApplyConfiguration) WithMaxLimitRequestRatio(value v1.ResourceList) *LimitRangeItemApplyConfiguration {
- b.MaxLimitRequestRatio = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go b/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go
deleted file mode 100644
index 4429ef864..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/limitrangespec.go
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LimitRangeSpecApplyConfiguration represents an declarative configuration of the LimitRangeSpec type for use
-// with apply.
-type LimitRangeSpecApplyConfiguration struct {
- Limits []LimitRangeItemApplyConfiguration `json:"limits,omitempty"`
-}
-
-// LimitRangeSpecApplyConfiguration constructs an declarative configuration of the LimitRangeSpec type for use with
-// apply.
-func LimitRangeSpec() *LimitRangeSpecApplyConfiguration {
- return &LimitRangeSpecApplyConfiguration{}
-}
-
-// WithLimits adds the given value to the Limits field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Limits field.
-func (b *LimitRangeSpecApplyConfiguration) WithLimits(values ...*LimitRangeItemApplyConfiguration) *LimitRangeSpecApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithLimits")
- }
- b.Limits = append(b.Limits, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go b/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go
deleted file mode 100644
index 2be73d4c2..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/loadbalanceringress.go
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use
-// with apply.
-type LoadBalancerIngressApplyConfiguration struct {
- IP *string `json:"ip,omitempty"`
- Hostname *string `json:"hostname,omitempty"`
- Ports []PortStatusApplyConfiguration `json:"ports,omitempty"`
-}
-
-// LoadBalancerIngressApplyConfiguration constructs an declarative configuration of the LoadBalancerIngress type for use with
-// apply.
-func LoadBalancerIngress() *LoadBalancerIngressApplyConfiguration {
- return &LoadBalancerIngressApplyConfiguration{}
-}
-
-// WithIP sets the IP field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the IP field is set to the value of the last call.
-func (b *LoadBalancerIngressApplyConfiguration) WithIP(value string) *LoadBalancerIngressApplyConfiguration {
- b.IP = &value
- return b
-}
-
-// WithHostname sets the Hostname field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Hostname field is set to the value of the last call.
-func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *LoadBalancerIngressApplyConfiguration {
- b.Hostname = &value
- return b
-}
-
-// WithPorts adds the given value to the Ports field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ports field.
-func (b *LoadBalancerIngressApplyConfiguration) WithPorts(values ...*PortStatusApplyConfiguration) *LoadBalancerIngressApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPorts")
- }
- b.Ports = append(b.Ports, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go b/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go
deleted file mode 100644
index 6836e4da4..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/loadbalancerstatus.go
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LoadBalancerStatusApplyConfiguration represents an declarative configuration of the LoadBalancerStatus type for use
-// with apply.
-type LoadBalancerStatusApplyConfiguration struct {
- Ingress []LoadBalancerIngressApplyConfiguration `json:"ingress,omitempty"`
-}
-
-// LoadBalancerStatusApplyConfiguration constructs an declarative configuration of the LoadBalancerStatus type for use with
-// apply.
-func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration {
- return &LoadBalancerStatusApplyConfiguration{}
-}
-
-// WithIngress adds the given value to the Ingress field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Ingress field.
-func (b *LoadBalancerStatusApplyConfiguration) WithIngress(values ...*LoadBalancerIngressApplyConfiguration) *LoadBalancerStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithIngress")
- }
- b.Ingress = append(b.Ingress, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go b/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go
deleted file mode 100644
index 12bd79e83..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/localobjectreference.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use
-// with apply.
-type LocalObjectReferenceApplyConfiguration struct {
- Name *string `json:"name,omitempty"`
-}
-
-// LocalObjectReferenceApplyConfiguration constructs an declarative configuration of the LocalObjectReference type for use with
-// apply.
-func LocalObjectReference() *LocalObjectReferenceApplyConfiguration {
- return &LocalObjectReferenceApplyConfiguration{}
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *LocalObjectReferenceApplyConfiguration) WithName(value string) *LocalObjectReferenceApplyConfiguration {
- b.Name = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go
deleted file mode 100644
index 15af2055c..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/localvolumesource.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// LocalVolumeSourceApplyConfiguration represents an declarative configuration of the LocalVolumeSource type for use
-// with apply.
-type LocalVolumeSourceApplyConfiguration struct {
- Path *string `json:"path,omitempty"`
- FSType *string `json:"fsType,omitempty"`
-}
-
-// LocalVolumeSourceApplyConfiguration constructs an declarative configuration of the LocalVolumeSource type for use with
-// apply.
-func LocalVolumeSource() *LocalVolumeSourceApplyConfiguration {
- return &LocalVolumeSourceApplyConfiguration{}
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *LocalVolumeSourceApplyConfiguration) WithPath(value string) *LocalVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithFSType sets the FSType field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FSType field is set to the value of the last call.
-func (b *LocalVolumeSourceApplyConfiguration) WithFSType(value string) *LocalVolumeSourceApplyConfiguration {
- b.FSType = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespace.go b/pkg/client/camel/applyconfiguration/core/v1/namespace.go
deleted file mode 100644
index d3ac38f9c..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/namespace.go
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// NamespaceApplyConfiguration represents an declarative configuration of the Namespace type for use
-// with apply.
-type NamespaceApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *NamespaceSpecApplyConfiguration `json:"spec,omitempty"`
- Status *NamespaceStatusApplyConfiguration `json:"status,omitempty"`
-}
-
-// Namespace constructs an declarative configuration of the Namespace type for use with
-// apply.
-func Namespace(name string) *NamespaceApplyConfiguration {
- b := &NamespaceApplyConfiguration{}
- b.WithName(name)
- b.WithKind("Namespace")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithKind(value string) *NamespaceApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithAPIVersion(value string) *NamespaceApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithName(value string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithGenerateName(value string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithNamespace(value string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithUID(value types.UID) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithResourceVersion(value string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithGeneration(value int64) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *NamespaceApplyConfiguration) WithLabels(entries map[string]string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *NamespaceApplyConfiguration) WithAnnotations(entries map[string]string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *NamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *NamespaceApplyConfiguration) WithFinalizers(values ...string) *NamespaceApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *NamespaceApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithSpec sets the Spec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithSpec(value *NamespaceSpecApplyConfiguration) *NamespaceApplyConfiguration {
- b.Spec = value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *NamespaceApplyConfiguration) WithStatus(value *NamespaceStatusApplyConfiguration) *NamespaceApplyConfiguration {
- b.Status = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go b/pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go
deleted file mode 100644
index dcb1be14d..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/namespacecondition.go
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-)
-
-// NamespaceConditionApplyConfiguration represents an declarative configuration of the NamespaceCondition type for use
-// with apply.
-type NamespaceConditionApplyConfiguration struct {
- Type *v1.NamespaceConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
-}
-
-// NamespaceConditionApplyConfiguration constructs an declarative configuration of the NamespaceCondition type for use with
-// apply.
-func NamespaceCondition() *NamespaceConditionApplyConfiguration {
- return &NamespaceConditionApplyConfiguration{}
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *NamespaceConditionApplyConfiguration) WithType(value v1.NamespaceConditionType) *NamespaceConditionApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *NamespaceConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NamespaceConditionApplyConfiguration {
- b.Status = &value
- return b
-}
-
-// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *NamespaceConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NamespaceConditionApplyConfiguration {
- b.LastTransitionTime = &value
- return b
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *NamespaceConditionApplyConfiguration) WithReason(value string) *NamespaceConditionApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *NamespaceConditionApplyConfiguration) WithMessage(value string) *NamespaceConditionApplyConfiguration {
- b.Message = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go b/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go
deleted file mode 100644
index f21efc69b..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/namespacespec.go
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// NamespaceSpecApplyConfiguration represents an declarative configuration of the NamespaceSpec type for use
-// with apply.
-type NamespaceSpecApplyConfiguration struct {
- Finalizers []v1.FinalizerName `json:"finalizers,omitempty"`
-}
-
-// NamespaceSpecApplyConfiguration constructs an declarative configuration of the NamespaceSpec type for use with
-// apply.
-func NamespaceSpec() *NamespaceSpecApplyConfiguration {
- return &NamespaceSpecApplyConfiguration{}
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *NamespaceSpecApplyConfiguration) WithFinalizers(values ...v1.FinalizerName) *NamespaceSpecApplyConfiguration {
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go b/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go
deleted file mode 100644
index d426b881f..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/namespacestatus.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// NamespaceStatusApplyConfiguration represents an declarative configuration of the NamespaceStatus type for use
-// with apply.
-type NamespaceStatusApplyConfiguration struct {
- Phase *v1.NamespacePhase `json:"phase,omitempty"`
- Conditions []NamespaceConditionApplyConfiguration `json:"conditions,omitempty"`
-}
-
-// NamespaceStatusApplyConfiguration constructs an declarative configuration of the NamespaceStatus type for use with
-// apply.
-func NamespaceStatus() *NamespaceStatusApplyConfiguration {
- return &NamespaceStatusApplyConfiguration{}
-}
-
-// WithPhase sets the Phase field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Phase field is set to the value of the last call.
-func (b *NamespaceStatusApplyConfiguration) WithPhase(value v1.NamespacePhase) *NamespaceStatusApplyConfiguration {
- b.Phase = &value
- return b
-}
-
-// WithConditions adds the given value to the Conditions field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Conditions field.
-func (b *NamespaceStatusApplyConfiguration) WithConditions(values ...*NamespaceConditionApplyConfiguration) *NamespaceStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithConditions")
- }
- b.Conditions = append(b.Conditions, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go b/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go
deleted file mode 100644
index c63b81cb3..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nfsvolumesource.go
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NFSVolumeSourceApplyConfiguration represents an declarative configuration of the NFSVolumeSource type for use
-// with apply.
-type NFSVolumeSourceApplyConfiguration struct {
- Server *string `json:"server,omitempty"`
- Path *string `json:"path,omitempty"`
- ReadOnly *bool `json:"readOnly,omitempty"`
-}
-
-// NFSVolumeSourceApplyConfiguration constructs an declarative configuration of the NFSVolumeSource type for use with
-// apply.
-func NFSVolumeSource() *NFSVolumeSourceApplyConfiguration {
- return &NFSVolumeSourceApplyConfiguration{}
-}
-
-// WithServer sets the Server field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Server field is set to the value of the last call.
-func (b *NFSVolumeSourceApplyConfiguration) WithServer(value string) *NFSVolumeSourceApplyConfiguration {
- b.Server = &value
- return b
-}
-
-// WithPath sets the Path field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Path field is set to the value of the last call.
-func (b *NFSVolumeSourceApplyConfiguration) WithPath(value string) *NFSVolumeSourceApplyConfiguration {
- b.Path = &value
- return b
-}
-
-// WithReadOnly sets the ReadOnly field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ReadOnly field is set to the value of the last call.
-func (b *NFSVolumeSourceApplyConfiguration) WithReadOnly(value bool) *NFSVolumeSourceApplyConfiguration {
- b.ReadOnly = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/node.go b/pkg/client/camel/applyconfiguration/core/v1/node.go
deleted file mode 100644
index 2f8eb6c03..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/node.go
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// NodeApplyConfiguration represents an declarative configuration of the Node type for use
-// with apply.
-type NodeApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *NodeSpecApplyConfiguration `json:"spec,omitempty"`
- Status *NodeStatusApplyConfiguration `json:"status,omitempty"`
-}
-
-// Node constructs an declarative configuration of the Node type for use with
-// apply.
-func Node(name string) *NodeApplyConfiguration {
- b := &NodeApplyConfiguration{}
- b.WithName(name)
- b.WithKind("Node")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *NodeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
- b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
- }
-}
-
-// WithSpec sets the Spec field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Spec field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithSpec(value *NodeSpecApplyConfiguration) *NodeApplyConfiguration {
- b.Spec = value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *NodeApplyConfiguration) WithStatus(value *NodeStatusApplyConfiguration) *NodeApplyConfiguration {
- b.Status = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go b/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go
deleted file mode 100644
index dbd6a4a3b..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeaddress.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// NodeAddressApplyConfiguration represents an declarative configuration of the NodeAddress type for use
-// with apply.
-type NodeAddressApplyConfiguration struct {
- Type *v1.NodeAddressType `json:"type,omitempty"`
- Address *string `json:"address,omitempty"`
-}
-
-// NodeAddressApplyConfiguration constructs an declarative configuration of the NodeAddress type for use with
-// apply.
-func NodeAddress() *NodeAddressApplyConfiguration {
- return &NodeAddressApplyConfiguration{}
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *NodeAddressApplyConfiguration) WithType(value v1.NodeAddressType) *NodeAddressApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithAddress sets the Address field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Address field is set to the value of the last call.
-func (b *NodeAddressApplyConfiguration) WithAddress(value string) *NodeAddressApplyConfiguration {
- b.Address = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go b/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go
deleted file mode 100644
index b8f032400..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeaffinity.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeAffinityApplyConfiguration represents an declarative configuration of the NodeAffinity type for use
-// with apply.
-type NodeAffinityApplyConfiguration struct {
- RequiredDuringSchedulingIgnoredDuringExecution *NodeSelectorApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
- PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTermApplyConfiguration `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
-}
-
-// NodeAffinityApplyConfiguration constructs an declarative configuration of the NodeAffinity type for use with
-// apply.
-func NodeAffinity() *NodeAffinityApplyConfiguration {
- return &NodeAffinityApplyConfiguration{}
-}
-
-// WithRequiredDuringSchedulingIgnoredDuringExecution sets the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the RequiredDuringSchedulingIgnoredDuringExecution field is set to the value of the last call.
-func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration {
- b.RequiredDuringSchedulingIgnoredDuringExecution = value
- return b
-}
-
-// WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the PreferredDuringSchedulingIgnoredDuringExecution field.
-func (b *NodeAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...*PreferredSchedulingTermApplyConfiguration) *NodeAffinityApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithPreferredDuringSchedulingIgnoredDuringExecution")
- }
- b.PreferredDuringSchedulingIgnoredDuringExecution = append(b.PreferredDuringSchedulingIgnoredDuringExecution, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodecondition.go b/pkg/client/camel/applyconfiguration/core/v1/nodecondition.go
deleted file mode 100644
index acd8f40bc..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodecondition.go
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-)
-
-// NodeConditionApplyConfiguration represents an declarative configuration of the NodeCondition type for use
-// with apply.
-type NodeConditionApplyConfiguration struct {
- Type *v1.NodeConditionType `json:"type,omitempty"`
- Status *v1.ConditionStatus `json:"status,omitempty"`
- LastHeartbeatTime *metav1.Time `json:"lastHeartbeatTime,omitempty"`
- LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
- Reason *string `json:"reason,omitempty"`
- Message *string `json:"message,omitempty"`
-}
-
-// NodeConditionApplyConfiguration constructs an declarative configuration of the NodeCondition type for use with
-// apply.
-func NodeCondition() *NodeConditionApplyConfiguration {
- return &NodeConditionApplyConfiguration{}
-}
-
-// WithType sets the Type field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Type field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithType(value v1.NodeConditionType) *NodeConditionApplyConfiguration {
- b.Type = &value
- return b
-}
-
-// WithStatus sets the Status field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Status field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *NodeConditionApplyConfiguration {
- b.Status = &value
- return b
-}
-
-// WithLastHeartbeatTime sets the LastHeartbeatTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastHeartbeatTime field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithLastHeartbeatTime(value metav1.Time) *NodeConditionApplyConfiguration {
- b.LastHeartbeatTime = &value
- return b
-}
-
-// WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastTransitionTime field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *NodeConditionApplyConfiguration {
- b.LastTransitionTime = &value
- return b
-}
-
-// WithReason sets the Reason field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Reason field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithReason(value string) *NodeConditionApplyConfiguration {
- b.Reason = &value
- return b
-}
-
-// WithMessage sets the Message field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Message field is set to the value of the last call.
-func (b *NodeConditionApplyConfiguration) WithMessage(value string) *NodeConditionApplyConfiguration {
- b.Message = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go
deleted file mode 100644
index 2a41324f8..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigsource.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeConfigSourceApplyConfiguration represents an declarative configuration of the NodeConfigSource type for use
-// with apply.
-type NodeConfigSourceApplyConfiguration struct {
- ConfigMap *ConfigMapNodeConfigSourceApplyConfiguration `json:"configMap,omitempty"`
-}
-
-// NodeConfigSourceApplyConfiguration constructs an declarative configuration of the NodeConfigSource type for use with
-// apply.
-func NodeConfigSource() *NodeConfigSourceApplyConfiguration {
- return &NodeConfigSourceApplyConfiguration{}
-}
-
-// WithConfigMap sets the ConfigMap field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ConfigMap field is set to the value of the last call.
-func (b *NodeConfigSourceApplyConfiguration) WithConfigMap(value *ConfigMapNodeConfigSourceApplyConfiguration) *NodeConfigSourceApplyConfiguration {
- b.ConfigMap = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go b/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go
deleted file mode 100644
index 312503f31..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeconfigstatus.go
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeConfigStatusApplyConfiguration represents an declarative configuration of the NodeConfigStatus type for use
-// with apply.
-type NodeConfigStatusApplyConfiguration struct {
- Assigned *NodeConfigSourceApplyConfiguration `json:"assigned,omitempty"`
- Active *NodeConfigSourceApplyConfiguration `json:"active,omitempty"`
- LastKnownGood *NodeConfigSourceApplyConfiguration `json:"lastKnownGood,omitempty"`
- Error *string `json:"error,omitempty"`
-}
-
-// NodeConfigStatusApplyConfiguration constructs an declarative configuration of the NodeConfigStatus type for use with
-// apply.
-func NodeConfigStatus() *NodeConfigStatusApplyConfiguration {
- return &NodeConfigStatusApplyConfiguration{}
-}
-
-// WithAssigned sets the Assigned field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Assigned field is set to the value of the last call.
-func (b *NodeConfigStatusApplyConfiguration) WithAssigned(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
- b.Assigned = value
- return b
-}
-
-// WithActive sets the Active field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Active field is set to the value of the last call.
-func (b *NodeConfigStatusApplyConfiguration) WithActive(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
- b.Active = value
- return b
-}
-
-// WithLastKnownGood sets the LastKnownGood field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the LastKnownGood field is set to the value of the last call.
-func (b *NodeConfigStatusApplyConfiguration) WithLastKnownGood(value *NodeConfigSourceApplyConfiguration) *NodeConfigStatusApplyConfiguration {
- b.LastKnownGood = value
- return b
-}
-
-// WithError sets the Error field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Error field is set to the value of the last call.
-func (b *NodeConfigStatusApplyConfiguration) WithError(value string) *NodeConfigStatusApplyConfiguration {
- b.Error = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go b/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go
deleted file mode 100644
index 9aac87330..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodedaemonendpoints.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeDaemonEndpointsApplyConfiguration represents an declarative configuration of the NodeDaemonEndpoints type for use
-// with apply.
-type NodeDaemonEndpointsApplyConfiguration struct {
- KubeletEndpoint *DaemonEndpointApplyConfiguration `json:"kubeletEndpoint,omitempty"`
-}
-
-// NodeDaemonEndpointsApplyConfiguration constructs an declarative configuration of the NodeDaemonEndpoints type for use with
-// apply.
-func NodeDaemonEndpoints() *NodeDaemonEndpointsApplyConfiguration {
- return &NodeDaemonEndpointsApplyConfiguration{}
-}
-
-// WithKubeletEndpoint sets the KubeletEndpoint field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the KubeletEndpoint field is set to the value of the last call.
-func (b *NodeDaemonEndpointsApplyConfiguration) WithKubeletEndpoint(value *DaemonEndpointApplyConfiguration) *NodeDaemonEndpointsApplyConfiguration {
- b.KubeletEndpoint = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go b/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go
deleted file mode 100644
index 38fc20294..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeselector.go
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeSelectorApplyConfiguration represents an declarative configuration of the NodeSelector type for use
-// with apply.
-type NodeSelectorApplyConfiguration struct {
- NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
-}
-
-// NodeSelectorApplyConfiguration constructs an declarative configuration of the NodeSelector type for use with
-// apply.
-func NodeSelector() *NodeSelectorApplyConfiguration {
- return &NodeSelectorApplyConfiguration{}
-}
-
-// WithNodeSelectorTerms adds the given value to the NodeSelectorTerms field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the NodeSelectorTerms field.
-func (b *NodeSelectorApplyConfiguration) WithNodeSelectorTerms(values ...*NodeSelectorTermApplyConfiguration) *NodeSelectorApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithNodeSelectorTerms")
- }
- b.NodeSelectorTerms = append(b.NodeSelectorTerms, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeselectorrequirement.go b/pkg/client/camel/applyconfiguration/core/v1/nodeselectorrequirement.go
deleted file mode 100644
index 3c3972431..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeselectorrequirement.go
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// NodeSelectorRequirementApplyConfiguration represents an declarative configuration of the NodeSelectorRequirement type for use
-// with apply.
-type NodeSelectorRequirementApplyConfiguration struct {
- Key *string `json:"key,omitempty"`
- Operator *v1.NodeSelectorOperator `json:"operator,omitempty"`
- Values []string `json:"values,omitempty"`
-}
-
-// NodeSelectorRequirementApplyConfiguration constructs an declarative configuration of the NodeSelectorRequirement type for use with
-// apply.
-func NodeSelectorRequirement() *NodeSelectorRequirementApplyConfiguration {
- return &NodeSelectorRequirementApplyConfiguration{}
-}
-
-// WithKey sets the Key field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Key field is set to the value of the last call.
-func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeSelectorRequirementApplyConfiguration {
- b.Key = &value
- return b
-}
-
-// WithOperator sets the Operator field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Operator field is set to the value of the last call.
-func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration {
- b.Operator = &value
- return b
-}
-
-// WithValues adds the given value to the Values field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Values field.
-func (b *NodeSelectorRequirementApplyConfiguration) WithValues(values ...string) *NodeSelectorRequirementApplyConfiguration {
- for i := range values {
- b.Values = append(b.Values, values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodeselectorterm.go b/pkg/client/camel/applyconfiguration/core/v1/nodeselectorterm.go
deleted file mode 100644
index 387a71926..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodeselectorterm.go
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeSelectorTermApplyConfiguration represents an declarative configuration of the NodeSelectorTerm type for use
-// with apply.
-type NodeSelectorTermApplyConfiguration struct {
- MatchExpressions []NodeSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
- MatchFields []NodeSelectorRequirementApplyConfiguration `json:"matchFields,omitempty"`
-}
-
-// NodeSelectorTermApplyConfiguration constructs an declarative configuration of the NodeSelectorTerm type for use with
-// apply.
-func NodeSelectorTerm() *NodeSelectorTermApplyConfiguration {
- return &NodeSelectorTermApplyConfiguration{}
-}
-
-// WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the MatchExpressions field.
-func (b *NodeSelectorTermApplyConfiguration) WithMatchExpressions(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithMatchExpressions")
- }
- b.MatchExpressions = append(b.MatchExpressions, *values[i])
- }
- return b
-}
-
-// WithMatchFields adds the given value to the MatchFields field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the MatchFields field.
-func (b *NodeSelectorTermApplyConfiguration) WithMatchFields(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithMatchFields")
- }
- b.MatchFields = append(b.MatchFields, *values[i])
- }
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodespec.go b/pkg/client/camel/applyconfiguration/core/v1/nodespec.go
deleted file mode 100644
index 717b3d1b9..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodespec.go
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeSpecApplyConfiguration represents an declarative configuration of the NodeSpec type for use
-// with apply.
-type NodeSpecApplyConfiguration struct {
- PodCIDR *string `json:"podCIDR,omitempty"`
- PodCIDRs []string `json:"podCIDRs,omitempty"`
- ProviderID *string `json:"providerID,omitempty"`
- Unschedulable *bool `json:"unschedulable,omitempty"`
- Taints []TaintApplyConfiguration `json:"taints,omitempty"`
- ConfigSource *NodeConfigSourceApplyConfiguration `json:"configSource,omitempty"`
- DoNotUseExternalID *string `json:"externalID,omitempty"`
-}
-
-// NodeSpecApplyConfiguration constructs an declarative configuration of the NodeSpec type for use with
-// apply.
-func NodeSpec() *NodeSpecApplyConfiguration {
- return &NodeSpecApplyConfiguration{}
-}
-
-// WithPodCIDR sets the PodCIDR field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the PodCIDR field is set to the value of the last call.
-func (b *NodeSpecApplyConfiguration) WithPodCIDR(value string) *NodeSpecApplyConfiguration {
- b.PodCIDR = &value
- return b
-}
-
-// WithPodCIDRs adds the given value to the PodCIDRs field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the PodCIDRs field.
-func (b *NodeSpecApplyConfiguration) WithPodCIDRs(values ...string) *NodeSpecApplyConfiguration {
- for i := range values {
- b.PodCIDRs = append(b.PodCIDRs, values[i])
- }
- return b
-}
-
-// WithProviderID sets the ProviderID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ProviderID field is set to the value of the last call.
-func (b *NodeSpecApplyConfiguration) WithProviderID(value string) *NodeSpecApplyConfiguration {
- b.ProviderID = &value
- return b
-}
-
-// WithUnschedulable sets the Unschedulable field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Unschedulable field is set to the value of the last call.
-func (b *NodeSpecApplyConfiguration) WithUnschedulable(value bool) *NodeSpecApplyConfiguration {
- b.Unschedulable = &value
- return b
-}
-
-// WithTaints adds the given value to the Taints field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Taints field.
-func (b *NodeSpecApplyConfiguration) WithTaints(values ...*TaintApplyConfiguration) *NodeSpecApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithTaints")
- }
- b.Taints = append(b.Taints, *values[i])
- }
- return b
-}
-
-// WithConfigSource sets the ConfigSource field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ConfigSource field is set to the value of the last call.
-func (b *NodeSpecApplyConfiguration) WithConfigSource(value *NodeConfigSourceApplyConfiguration) *NodeSpecApplyConfiguration {
- b.ConfigSource = value
- return b
-}
-
-// WithDoNotUseExternalID sets the DoNotUseExternalID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DoNotUseExternalID field is set to the value of the last call.
-func (b *NodeSpecApplyConfiguration) WithDoNotUseExternalID(value string) *NodeSpecApplyConfiguration {
- b.DoNotUseExternalID = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodestatus.go b/pkg/client/camel/applyconfiguration/core/v1/nodestatus.go
deleted file mode 100644
index 7ea65d18b..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodestatus.go
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "k8s.io/api/core/v1"
-)
-
-// NodeStatusApplyConfiguration represents an declarative configuration of the NodeStatus type for use
-// with apply.
-type NodeStatusApplyConfiguration struct {
- Capacity *v1.ResourceList `json:"capacity,omitempty"`
- Allocatable *v1.ResourceList `json:"allocatable,omitempty"`
- Phase *v1.NodePhase `json:"phase,omitempty"`
- Conditions []NodeConditionApplyConfiguration `json:"conditions,omitempty"`
- Addresses []NodeAddressApplyConfiguration `json:"addresses,omitempty"`
- DaemonEndpoints *NodeDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"`
- NodeInfo *NodeSystemInfoApplyConfiguration `json:"nodeInfo,omitempty"`
- Images []ContainerImageApplyConfiguration `json:"images,omitempty"`
- VolumesInUse []v1.UniqueVolumeName `json:"volumesInUse,omitempty"`
- VolumesAttached []AttachedVolumeApplyConfiguration `json:"volumesAttached,omitempty"`
- Config *NodeConfigStatusApplyConfiguration `json:"config,omitempty"`
-}
-
-// NodeStatusApplyConfiguration constructs an declarative configuration of the NodeStatus type for use with
-// apply.
-func NodeStatus() *NodeStatusApplyConfiguration {
- return &NodeStatusApplyConfiguration{}
-}
-
-// WithCapacity sets the Capacity field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Capacity field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *NodeStatusApplyConfiguration {
- b.Capacity = &value
- return b
-}
-
-// WithAllocatable sets the Allocatable field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Allocatable field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithAllocatable(value v1.ResourceList) *NodeStatusApplyConfiguration {
- b.Allocatable = &value
- return b
-}
-
-// WithPhase sets the Phase field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Phase field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithPhase(value v1.NodePhase) *NodeStatusApplyConfiguration {
- b.Phase = &value
- return b
-}
-
-// WithConditions adds the given value to the Conditions field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Conditions field.
-func (b *NodeStatusApplyConfiguration) WithConditions(values ...*NodeConditionApplyConfiguration) *NodeStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithConditions")
- }
- b.Conditions = append(b.Conditions, *values[i])
- }
- return b
-}
-
-// WithAddresses adds the given value to the Addresses field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Addresses field.
-func (b *NodeStatusApplyConfiguration) WithAddresses(values ...*NodeAddressApplyConfiguration) *NodeStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithAddresses")
- }
- b.Addresses = append(b.Addresses, *values[i])
- }
- return b
-}
-
-// WithDaemonEndpoints sets the DaemonEndpoints field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DaemonEndpoints field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithDaemonEndpoints(value *NodeDaemonEndpointsApplyConfiguration) *NodeStatusApplyConfiguration {
- b.DaemonEndpoints = value
- return b
-}
-
-// WithNodeInfo sets the NodeInfo field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the NodeInfo field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithNodeInfo(value *NodeSystemInfoApplyConfiguration) *NodeStatusApplyConfiguration {
- b.NodeInfo = value
- return b
-}
-
-// WithImages adds the given value to the Images field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Images field.
-func (b *NodeStatusApplyConfiguration) WithImages(values ...*ContainerImageApplyConfiguration) *NodeStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithImages")
- }
- b.Images = append(b.Images, *values[i])
- }
- return b
-}
-
-// WithVolumesInUse adds the given value to the VolumesInUse field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumesInUse field.
-func (b *NodeStatusApplyConfiguration) WithVolumesInUse(values ...v1.UniqueVolumeName) *NodeStatusApplyConfiguration {
- for i := range values {
- b.VolumesInUse = append(b.VolumesInUse, values[i])
- }
- return b
-}
-
-// WithVolumesAttached adds the given value to the VolumesAttached field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the VolumesAttached field.
-func (b *NodeStatusApplyConfiguration) WithVolumesAttached(values ...*AttachedVolumeApplyConfiguration) *NodeStatusApplyConfiguration {
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithVolumesAttached")
- }
- b.VolumesAttached = append(b.VolumesAttached, *values[i])
- }
- return b
-}
-
-// WithConfig sets the Config field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Config field is set to the value of the last call.
-func (b *NodeStatusApplyConfiguration) WithConfig(value *NodeConfigStatusApplyConfiguration) *NodeStatusApplyConfiguration {
- b.Config = value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/nodesysteminfo.go b/pkg/client/camel/applyconfiguration/core/v1/nodesysteminfo.go
deleted file mode 100644
index 947d4ff28..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/nodesysteminfo.go
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// NodeSystemInfoApplyConfiguration represents an declarative configuration of the NodeSystemInfo type for use
-// with apply.
-type NodeSystemInfoApplyConfiguration struct {
- MachineID *string `json:"machineID,omitempty"`
- SystemUUID *string `json:"systemUUID,omitempty"`
- BootID *string `json:"bootID,omitempty"`
- KernelVersion *string `json:"kernelVersion,omitempty"`
- OSImage *string `json:"osImage,omitempty"`
- ContainerRuntimeVersion *string `json:"containerRuntimeVersion,omitempty"`
- KubeletVersion *string `json:"kubeletVersion,omitempty"`
- KubeProxyVersion *string `json:"kubeProxyVersion,omitempty"`
- OperatingSystem *string `json:"operatingSystem,omitempty"`
- Architecture *string `json:"architecture,omitempty"`
-}
-
-// NodeSystemInfoApplyConfiguration constructs an declarative configuration of the NodeSystemInfo type for use with
-// apply.
-func NodeSystemInfo() *NodeSystemInfoApplyConfiguration {
- return &NodeSystemInfoApplyConfiguration{}
-}
-
-// WithMachineID sets the MachineID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the MachineID field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithMachineID(value string) *NodeSystemInfoApplyConfiguration {
- b.MachineID = &value
- return b
-}
-
-// WithSystemUUID sets the SystemUUID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the SystemUUID field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithSystemUUID(value string) *NodeSystemInfoApplyConfiguration {
- b.SystemUUID = &value
- return b
-}
-
-// WithBootID sets the BootID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the BootID field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithBootID(value string) *NodeSystemInfoApplyConfiguration {
- b.BootID = &value
- return b
-}
-
-// WithKernelVersion sets the KernelVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the KernelVersion field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithKernelVersion(value string) *NodeSystemInfoApplyConfiguration {
- b.KernelVersion = &value
- return b
-}
-
-// WithOSImage sets the OSImage field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the OSImage field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithOSImage(value string) *NodeSystemInfoApplyConfiguration {
- b.OSImage = &value
- return b
-}
-
-// WithContainerRuntimeVersion sets the ContainerRuntimeVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ContainerRuntimeVersion field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithContainerRuntimeVersion(value string) *NodeSystemInfoApplyConfiguration {
- b.ContainerRuntimeVersion = &value
- return b
-}
-
-// WithKubeletVersion sets the KubeletVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the KubeletVersion field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithKubeletVersion(value string) *NodeSystemInfoApplyConfiguration {
- b.KubeletVersion = &value
- return b
-}
-
-// WithKubeProxyVersion sets the KubeProxyVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the KubeProxyVersion field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithKubeProxyVersion(value string) *NodeSystemInfoApplyConfiguration {
- b.KubeProxyVersion = &value
- return b
-}
-
-// WithOperatingSystem sets the OperatingSystem field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the OperatingSystem field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithOperatingSystem(value string) *NodeSystemInfoApplyConfiguration {
- b.OperatingSystem = &value
- return b
-}
-
-// WithArchitecture sets the Architecture field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Architecture field is set to the value of the last call.
-func (b *NodeSystemInfoApplyConfiguration) WithArchitecture(value string) *NodeSystemInfoApplyConfiguration {
- b.Architecture = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/objectfieldselector.go b/pkg/client/camel/applyconfiguration/core/v1/objectfieldselector.go
deleted file mode 100644
index d6c8356a1..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/objectfieldselector.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-// ObjectFieldSelectorApplyConfiguration represents an declarative configuration of the ObjectFieldSelector type for use
-// with apply.
-type ObjectFieldSelectorApplyConfiguration struct {
- APIVersion *string `json:"apiVersion,omitempty"`
- FieldPath *string `json:"fieldPath,omitempty"`
-}
-
-// ObjectFieldSelectorApplyConfiguration constructs an declarative configuration of the ObjectFieldSelector type for use with
-// apply.
-func ObjectFieldSelector() *ObjectFieldSelectorApplyConfiguration {
- return &ObjectFieldSelectorApplyConfiguration{}
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *ObjectFieldSelectorApplyConfiguration) WithAPIVersion(value string) *ObjectFieldSelectorApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithFieldPath sets the FieldPath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FieldPath field is set to the value of the last call.
-func (b *ObjectFieldSelectorApplyConfiguration) WithFieldPath(value string) *ObjectFieldSelectorApplyConfiguration {
- b.FieldPath = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/objectreference.go b/pkg/client/camel/applyconfiguration/core/v1/objectreference.go
deleted file mode 100644
index 5e483719d..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/objectreference.go
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// ObjectReferenceApplyConfiguration represents an declarative configuration of the ObjectReference type for use
-// with apply.
-type ObjectReferenceApplyConfiguration struct {
- Kind *string `json:"kind,omitempty"`
- Namespace *string `json:"namespace,omitempty"`
- Name *string `json:"name,omitempty"`
- UID *types.UID `json:"uid,omitempty"`
- APIVersion *string `json:"apiVersion,omitempty"`
- ResourceVersion *string `json:"resourceVersion,omitempty"`
- FieldPath *string `json:"fieldPath,omitempty"`
-}
-
-// ObjectReferenceApplyConfiguration constructs an declarative configuration of the ObjectReference type for use with
-// apply.
-func ObjectReference() *ObjectReferenceApplyConfiguration {
- return &ObjectReferenceApplyConfiguration{}
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithKind(value string) *ObjectReferenceApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration {
- b.Namespace = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration {
- b.Name = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithUID(value types.UID) *ObjectReferenceApplyConfiguration {
- b.UID = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithAPIVersion(value string) *ObjectReferenceApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithResourceVersion(value string) *ObjectReferenceApplyConfiguration {
- b.ResourceVersion = &value
- return b
-}
-
-// WithFieldPath sets the FieldPath field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the FieldPath field is set to the value of the last call.
-func (b *ObjectReferenceApplyConfiguration) WithFieldPath(value string) *ObjectReferenceApplyConfiguration {
- b.FieldPath = &value
- return b
-}
diff --git a/pkg/client/camel/applyconfiguration/core/v1/persistentvolume.go b/pkg/client/camel/applyconfiguration/core/v1/persistentvolume.go
deleted file mode 100644
index 8121e5cc6..000000000
--- a/pkg/client/camel/applyconfiguration/core/v1/persistentvolume.go
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by applyconfiguration-gen. DO NOT EDIT.
-
-package v1
-
-import (
- v1 "github.com/apache/camel-k/pkg/client/camel/applyconfiguration/meta/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- types "k8s.io/apimachinery/pkg/types"
-)
-
-// PersistentVolumeApplyConfiguration represents an declarative configuration of the PersistentVolume type for use
-// with apply.
-type PersistentVolumeApplyConfiguration struct {
- v1.TypeMetaApplyConfiguration `json:",inline"`
- *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
- Spec *PersistentVolumeSpecApplyConfiguration `json:"spec,omitempty"`
- Status *PersistentVolumeStatusApplyConfiguration `json:"status,omitempty"`
-}
-
-// PersistentVolume constructs an declarative configuration of the PersistentVolume type for use with
-// apply.
-func PersistentVolume(name string) *PersistentVolumeApplyConfiguration {
- b := &PersistentVolumeApplyConfiguration{}
- b.WithName(name)
- b.WithKind("PersistentVolume")
- b.WithAPIVersion("v1")
- return b
-}
-
-// WithKind sets the Kind field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Kind field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithKind(value string) *PersistentVolumeApplyConfiguration {
- b.Kind = &value
- return b
-}
-
-// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the APIVersion field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithAPIVersion(value string) *PersistentVolumeApplyConfiguration {
- b.APIVersion = &value
- return b
-}
-
-// WithName sets the Name field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Name field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithName(value string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Name = &value
- return b
-}
-
-// WithGenerateName sets the GenerateName field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the GenerateName field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithGenerateName(value string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.GenerateName = &value
- return b
-}
-
-// WithNamespace sets the Namespace field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Namespace field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithNamespace(value string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Namespace = &value
- return b
-}
-
-// WithUID sets the UID field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the UID field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithUID(value types.UID) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.UID = &value
- return b
-}
-
-// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the ResourceVersion field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithResourceVersion(value string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.ResourceVersion = &value
- return b
-}
-
-// WithGeneration sets the Generation field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the Generation field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithGeneration(value int64) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.Generation = &value
- return b
-}
-
-// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the CreationTimestamp field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.CreationTimestamp = &value
- return b
-}
-
-// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionTimestamp = &value
- return b
-}
-
-// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value
-// and returns the receiver, so that objects can be built by chaining "With" function invocations.
-// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
-func (b *PersistentVolumeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- b.DeletionGracePeriodSeconds = &value
- return b
-}
-
-// WithLabels puts the entries into the Labels field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Labels field,
-// overwriting an existing map entries in Labels field with the same key.
-func (b *PersistentVolumeApplyConfiguration) WithLabels(entries map[string]string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Labels == nil && len(entries) > 0 {
- b.Labels = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Labels[k] = v
- }
- return b
-}
-
-// WithAnnotations puts the entries into the Annotations field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, the entries provided by each call will be put on the Annotations field,
-// overwriting an existing map entries in Annotations field with the same key.
-func (b *PersistentVolumeApplyConfiguration) WithAnnotations(entries map[string]string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- if b.Annotations == nil && len(entries) > 0 {
- b.Annotations = make(map[string]string, len(entries))
- }
- for k, v := range entries {
- b.Annotations[k] = v
- }
- return b
-}
-
-// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
-func (b *PersistentVolumeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- if values[i] == nil {
- panic("nil value passed to WithOwnerReferences")
- }
- b.OwnerReferences = append(b.OwnerReferences, *values[i])
- }
- return b
-}
-
-// WithFinalizers adds the given value to the Finalizers field in the declarative configuration
-// and returns the receiver, so that objects can be build by chaining "With" function invocations.
-// If called multiple times, values provided by each call will be appended to the Finalizers field.
-func (b *PersistentVolumeApplyConfiguration) WithFinalizers(values ...string) *PersistentVolumeApplyConfiguration {
- b.ensureObjectMetaApplyConfigurationExists()
- for i := range values {
- b.Finalizers = append(b.Finalizers, values[i])
- }
- return b
-}
-
-func (b *PersistentVolumeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
- if b.ObjectMetaApplyConfiguration == nil {
... 10137 lines suppressed ...
[camel-k] 07/08: workaround: force eclipse-temurin:11 as runtime base image for upgrade tests
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 20ef910da6423bfd48fffc9ce51655bed5e67168
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 23 20:40:47 2023 +0100
workaround: force eclipse-temurin:11 as runtime base image for upgrade tests
---
e2e/namespace/upgrade/cli_upgrade_test.go | 4 ++--
e2e/namespace/upgrade/olm_upgrade_test.go | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/e2e/namespace/upgrade/cli_upgrade_test.go b/e2e/namespace/upgrade/cli_upgrade_test.go
index 7e9b35d23..e3f155c87 100644
--- a/e2e/namespace/upgrade/cli_upgrade_test.go
+++ b/e2e/namespace/upgrade/cli_upgrade_test.go
@@ -51,7 +51,7 @@ func TestOperatorUpgrade(t *testing.T) {
Expect(os.Setenv("KAMEL_BIN", kamel)).To(Succeed())
// Should both install the CRDs and kamel in the given namespace
- Expect(Kamel("install", "-n", ns, "--olm=false", "--force").Execute()).To(Succeed())
+ Expect(Kamel("install", "-n", ns, "--olm=false", "--force", "--base-image", defaults.BaseImage()).Execute()).To(Succeed())
// Check the operator pod is running
Eventually(OperatorPodPhase(ns), TestTimeoutMedium).Should(Equal(corev1.PodRunning))
@@ -75,7 +75,7 @@ func TestOperatorUpgrade(t *testing.T) {
Expect(os.Setenv("KAMEL_BIN", "")).To(Succeed())
// Upgrade the operator by installing the current version
- Expect(KamelInstall(ns, "--olm=false", "--force", "--operator-image", image).Execute()).To(Succeed())
+ Expect(KamelInstall(ns, "--olm=false", "--force", "--operator-image", image, "--base-image", defaults.BaseImage()).Execute()).To(Succeed())
// Check the operator image is the current built one
Eventually(OperatorImage(ns)).Should(Equal(image))
diff --git a/e2e/namespace/upgrade/olm_upgrade_test.go b/e2e/namespace/upgrade/olm_upgrade_test.go
index 24d2c33ff..f15d269d9 100644
--- a/e2e/namespace/upgrade/olm_upgrade_test.go
+++ b/e2e/namespace/upgrade/olm_upgrade_test.go
@@ -90,6 +90,7 @@ func TestOLMAutomaticUpgrade(t *testing.T) {
"--olm=true",
"--olm-source", catalogSourceName,
"--olm-source-namespace", ns,
+ "--base-image", defaults.BaseImage(),
}
if prevUpdateChannel != "" {
[camel-k] 03/08: chore(test): improve maven log test
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 935cb3aecd7ecc209101ab25188551e73f3f4350
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Wed Jan 18 10:25:22 2023 +0100
chore(test): improve maven log test
- support for MAVEN_CMD env var as camel-k does
- run maven in batch mode to avoid including ASCII escaping chars in the
error message which could cause the test to fail in some evironments
---
pkg/util/maven/maven_log_test.go | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/pkg/util/maven/maven_log_test.go b/pkg/util/maven/maven_log_test.go
index 96c1441d4..a9c18ada0 100644
--- a/pkg/util/maven/maven_log_test.go
+++ b/pkg/util/maven/maven_log_test.go
@@ -19,6 +19,7 @@ package maven
import (
"context"
+ "os"
"os/exec"
"testing"
@@ -27,7 +28,12 @@ import (
)
func TestRunAndLogErrorMvn(t *testing.T) {
- cmd := exec.CommandContext(context.Background(), "mvn", "package")
+ mavenCmd, ok := os.LookupEnv("MAVEN_CMD")
+ if !ok {
+ mavenCmd = "mvn"
+ }
+
+ cmd := exec.CommandContext(context.Background(), mavenCmd, "package", "-B")
err := util.RunAndLog(context.Background(), cmd, mavenLogHandler, mavenLogHandler)
assert.NotNil(t, err)
[camel-k] 05/08: chore(test): improve locale e2e tests
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 6ce7c07c429c7a486434f8f9c24612d73183fc61
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 23 17:43:03 2023 +0100
chore(test): improve locale e2e tests
- remove goroutine for build related test as not needed
- added waiting group to wait for async tasks completion
---
e2e/local/local_build_test.go | 68 ++++++++++-------------------------------
e2e/local/local_inspect_test.go | 20 +++---------
e2e/local/local_run_test.go | 33 +++++++++++++++++---
e2e/support/util/log_scanner.go | 5 +++
4 files changed, 55 insertions(+), 71 deletions(-)
diff --git a/e2e/local/local_build_test.go b/e2e/local/local_build_test.go
index 543f0da2c..de8ba6a32 100644
--- a/e2e/local/local_build_test.go
+++ b/e2e/local/local_build_test.go
@@ -25,7 +25,6 @@ import (
"fmt"
"io"
"strings"
- "sync"
"testing"
. "github.com/onsi/gomega"
@@ -55,7 +54,7 @@ func getCamelVersion() string {
func TestLocalBuild(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -71,11 +70,7 @@ func TestLocalBuild(t *testing.T) {
msgTagged := "Successfully tagged"
logScanner := testutil.NewLogScanner(ctx, piper, msgTagged, image)
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(logScanner.IsFound(msgTagged), TestTimeoutMedium).Should(BeTrue())
Eventually(logScanner.IsFound(image), TestTimeoutMedium).Should(BeTrue())
@@ -85,7 +80,7 @@ func TestLocalBuild(t *testing.T) {
func TestLocalBuildWithTrait(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -102,11 +97,7 @@ func TestLocalBuildWithTrait(t *testing.T) {
msgTagged := "Successfully tagged"
logScanner := testutil.NewLogScanner(ctx, piper, msgWarning, msgTagged, image)
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(logScanner.IsFound(msgWarning), TestTimeoutMedium).Should(BeTrue())
Eventually(logScanner.IsFound(msgTagged), TestTimeoutMedium).Should(BeTrue())
@@ -117,7 +108,7 @@ func TestLocalBuildWithTrait(t *testing.T) {
func TestLocalBuildWithInvalidDependency(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -138,25 +129,17 @@ func TestLocalBuildWithInvalidDependency(t *testing.T) {
warn3 := "Warning: do not use mvn:org.apache.camel.quarkus:camel-quarkus-netty:2.11.0. Use camel:netty instead"
logScanner := testutil.NewLogScanner(ctx, piper, warn1, warn2, warn3)
- var wg sync.WaitGroup
- wg.Add(1)
- go func() {
- defer wg.Done()
- err := kamelBuild.Execute()
- assert.Error(t, err)
- cancel()
- }()
+ Expect(kamelBuild.Execute()).To(Not(BeNil()))
Eventually(logScanner.IsFound(warn1), TestTimeoutShort).Should(BeTrue())
Eventually(logScanner.IsFound(warn2), TestTimeoutShort).Should(BeTrue())
Eventually(logScanner.IsFound(warn3), TestTimeoutShort).Should(BeTrue())
- wg.Wait()
}
func TestLocalBuildIntegrationDirectory(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
file := testutil.MakeTempCopy(t, "files/yaml.yaml")
@@ -164,10 +147,7 @@ func TestLocalBuildIntegrationDirectory(t *testing.T) {
kamelBuild := kamelWithContext(ctx, "local", "build", file, "--integration-directory", dir)
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(dir+"/dependencies", TestTimeoutShort).Should(BeADirectory())
Eventually(dependency(dir, "org.apache.camel.camel-timer-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
@@ -183,7 +163,7 @@ func TestLocalBuildIntegrationDirectory(t *testing.T) {
func TestLocalBuildIntegrationDirectoryWithSpaces(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
file := testutil.MakeTempCopy(t, "files/yaml.yaml")
@@ -191,12 +171,7 @@ func TestLocalBuildIntegrationDirectoryWithSpaces(t *testing.T) {
kamelBuild := kamelWithContext(ctx, "local", "build", file, "--integration-directory", dir)
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- cancel()
- }()
-
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(dir+"/dependencies", TestTimeoutShort).Should(BeADirectory())
Eventually(dependency(dir, "org.apache.camel.camel-timer-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
Eventually(dependency(dir, "org.apache.camel.camel-log-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
@@ -207,7 +182,7 @@ func TestLocalBuildIntegrationDirectoryWithSpaces(t *testing.T) {
func TestLocalBuildIntegrationDirectoryWithMultiBytes(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
file := testutil.MakeTempCopy(t, "files/yaml.yaml")
@@ -215,11 +190,7 @@ func TestLocalBuildIntegrationDirectoryWithMultiBytes(t *testing.T) {
kamelBuild := kamelWithContext(ctx, "local", "build", file, "--integration-directory", dir)
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(dir+"/dependencies", TestTimeoutShort).Should(BeADirectory())
Eventually(dependency(dir, "org.apache.camel.camel-timer-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
@@ -231,7 +202,7 @@ func TestLocalBuildIntegrationDirectoryWithMultiBytes(t *testing.T) {
func TestLocalBuildDependenciesOnly(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
file := testutil.MakeTempCopy(t, "files/yaml.yaml")
@@ -239,11 +210,7 @@ func TestLocalBuildDependenciesOnly(t *testing.T) {
kamelBuild := kamelWithContext(ctx, "local", "build", file, "--integration-directory", dir, "--dependencies-only", "-d", "camel-amqp")
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(dir+"/dependencies", TestTimeoutShort).Should(BeADirectory())
Eventually(dependency(dir, "org.apache.camel.camel-timer-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
@@ -256,7 +223,7 @@ func TestLocalBuildDependenciesOnly(t *testing.T) {
func TestLocalBuildModelineDependencies(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
file := testutil.MakeTempCopy(t, "files/dependency.groovy")
@@ -264,10 +231,7 @@ func TestLocalBuildModelineDependencies(t *testing.T) {
kamelBuild := kamelWithContext(ctx, "local", "build", file, "--integration-directory", dir, "-d", "camel-amqp")
- go func() {
- err := kamelBuild.Execute()
- assert.NoError(t, err)
- }()
+ Expect(kamelBuild.Execute()).To(BeNil())
Eventually(dir+"/dependencies", TestTimeoutShort).Should(BeADirectory())
Eventually(dependency(dir, "org.apache.camel.camel-timer-%s.jar", camelVersion), TestTimeoutShort).Should(BeAnExistingFile())
diff --git a/e2e/local/local_inspect_test.go b/e2e/local/local_inspect_test.go
index 902eac973..a1a1621d2 100644
--- a/e2e/local/local_inspect_test.go
+++ b/e2e/local/local_inspect_test.go
@@ -25,17 +25,15 @@ import (
"io"
"testing"
- . "github.com/onsi/gomega"
- "github.com/stretchr/testify/assert"
-
. "github.com/apache/camel-k/e2e/support"
testutil "github.com/apache/camel-k/e2e/support/util"
+ . "github.com/onsi/gomega"
)
func TestLocalInspect(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -53,11 +51,7 @@ func TestLocalInspect(t *testing.T) {
//"mvn:org.apache.camel.quarkus:camel-quarkus-yaml-dsl",
)
- go func() {
- err := kamelInspect.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelInspect.Execute()).To(BeNil())
Eventually(logScanner.IsFound("camel:log"), TestTimeoutShort).Should(BeTrue())
Eventually(logScanner.IsFound("camel:timer"), TestTimeoutShort).Should(BeTrue())
@@ -67,7 +61,7 @@ func TestLocalInspect(t *testing.T) {
func TestLocalInspectWithDependencies(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -93,11 +87,7 @@ func TestLocalInspectWithDependencies(t *testing.T) {
"camel:timer",
)
- go func() {
- err := kamelInspect.Execute()
- assert.NoError(t, err)
- cancel()
- }()
+ Expect(kamelInspect.Execute()).To(BeNil())
Eventually(logScanner.IsFound(warn1), TestTimeoutShort).Should(BeTrue())
Eventually(logScanner.IsFound(warn2), TestTimeoutShort).Should(BeTrue())
diff --git a/e2e/local/local_run_test.go b/e2e/local/local_run_test.go
index 9ac6f864b..0e6ceec75 100644
--- a/e2e/local/local_run_test.go
+++ b/e2e/local/local_run_test.go
@@ -38,7 +38,7 @@ import (
func TestLocalRun(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -52,7 +52,12 @@ func TestLocalRun(t *testing.T) {
logScanner := testutil.NewLogScanner(ctx, piper, "Magicstring!")
+ var wg sync.WaitGroup
+ wg.Add(1)
+
go func() {
+ defer wg.Done()
+
_ = kamelRun.Execute()
cancel()
}()
@@ -63,7 +68,7 @@ func TestLocalRun(t *testing.T) {
func TestLocalRunWithDependencies(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -77,7 +82,11 @@ func TestLocalRunWithDependencies(t *testing.T) {
logScanner := testutil.NewLogScanner(ctx, piper, "Magicstring!")
+ var wg sync.WaitGroup
+ wg.Add(1)
+
go func() {
+ defer wg.Done()
_ = kamelRun.Execute()
cancel()
}()
@@ -88,7 +97,7 @@ func TestLocalRunWithDependencies(t *testing.T) {
func TestLocalRunWithInvalidDependency(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -110,8 +119,10 @@ func TestLocalRunWithInvalidDependency(t *testing.T) {
var wg sync.WaitGroup
wg.Add(1)
+
go func() {
defer wg.Done()
+
err := kamelRun.Execute()
assert.Error(t, err)
cancel()
@@ -126,7 +137,7 @@ func TestLocalRunWithInvalidDependency(t *testing.T) {
func TestLocalRunContainerize(t *testing.T) {
RegisterTestingT(t)
- ctx, cancel := context.WithCancel(TestContext)
+ ctx, cancel := context.WithTimeout(TestContext, TestTimeoutMedium)
defer cancel()
piper, pipew := io.Pipe()
defer pipew.Close()
@@ -141,8 +152,12 @@ func TestLocalRunContainerize(t *testing.T) {
logScanner := testutil.NewLogScanner(ctx, piper, "Magicstring!")
+ var wg sync.WaitGroup
+ wg.Add(1)
+
defer StopDockerContainers()
go func() {
+ defer wg.Done()
_ = kamelRun.Execute()
cancel()
}()
@@ -162,7 +177,12 @@ func TestLocalRunIntegrationDirectory(t *testing.T) {
kamelBuild := kamelWithContext(ctx1, "local", "build", file, "--integration-directory", dir)
+ var wg sync.WaitGroup
+ wg.Add(1)
+
go func() {
+ defer wg.Done()
+
err := kamelBuild.Execute()
assert.NoError(t, err)
cancel1()
@@ -184,7 +204,12 @@ func TestLocalRunIntegrationDirectory(t *testing.T) {
logScanner := testutil.NewLogScanner(ctx2, piper, "Magicstring!")
+ var wg2 sync.WaitGroup
+ wg2.Add(1)
+
go func() {
+ defer wg2.Done()
+
_ = kamelRun.Execute()
cancel2()
}()
diff --git a/e2e/support/util/log_scanner.go b/e2e/support/util/log_scanner.go
index 82262d889..7508bc4a2 100644
--- a/e2e/support/util/log_scanner.go
+++ b/e2e/support/util/log_scanner.go
@@ -72,3 +72,8 @@ func (s *LogScanner) IsFound(value string) func() bool {
return s.values[value]
}
}
+
+// Contains returns if the string has been found in the logs
+func (s *LogScanner) Contains(value string) bool {
+ return s.values[value]
+}
[camel-k] 06/08: feat: use eclipse-temurin:11 as runtime base image
Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 839773e135d3c705e701cd2b98d5b455bd193f18
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Mon Jan 23 15:15:02 2023 +0100
feat: use eclipse-temurin:11 as runtime base image
---
pkg/util/defaults/defaults.go | 2 +-
script/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/util/defaults/defaults.go b/pkg/util/defaults/defaults.go
index f2a39043d..b881b9a96 100644
--- a/pkg/util/defaults/defaults.go
+++ b/pkg/util/defaults/defaults.go
@@ -35,7 +35,7 @@ const (
KanikoVersion = "0.17.1"
// baseImage --
- baseImage = "docker.io/adoptopenjdk/openjdk11:slim"
+ baseImage = "docker.io/eclipse-temurin:11"
// LocalRepository --
LocalRepository = "/tmp/artifacts/m2"
diff --git a/script/Makefile b/script/Makefile
index b222fd1f7..c1d067ff4 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -31,7 +31,7 @@ CODEGEN_VERSION := v0.25.2
OPERATOR_SDK_VERSION := v1.16.0
KUSTOMIZE_VERSION := v4.5.4
OPM_VERSION := v1.24.0
-BASE_IMAGE := docker.io/adoptopenjdk/openjdk11:slim
+BASE_IMAGE := docker.io/eclipse-temurin:11
LOCAL_REPOSITORY := /tmp/artifacts/m2
IMAGE_NAME ?= docker.io/apache/camel-k