This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 0e70c806726eb4b344aab21e627bad9493a8dcc7
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Mon Mar 1 12:31:42 2021 +0100

    Update generate client based on Kubernetes v0.19.8
---
 pkg/client/camel/clientset/versioned/fake/register.go     | 2 +-
 pkg/client/camel/listers/camel/v1/build.go                | 5 +++++
 pkg/client/camel/listers/camel/v1/camelcatalog.go         | 5 +++++
 pkg/client/camel/listers/camel/v1/integration.go          | 5 +++++
 pkg/client/camel/listers/camel/v1/integrationkit.go       | 5 +++++
 pkg/client/camel/listers/camel/v1/integrationplatform.go  | 5 +++++
 pkg/client/camel/listers/camel/v1alpha1/kamelet.go        | 5 +++++
 pkg/client/camel/listers/camel/v1alpha1/kameletbinding.go | 5 +++++
 8 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/pkg/client/camel/clientset/versioned/fake/register.go 
b/pkg/client/camel/clientset/versioned/fake/register.go
index 3c650ca..449936a 100644
--- a/pkg/client/camel/clientset/versioned/fake/register.go
+++ b/pkg/client/camel/clientset/versioned/fake/register.go
@@ -31,7 +31,7 @@ import (
 
 var scheme = runtime.NewScheme()
 var codecs = serializer.NewCodecFactory(scheme)
-var parameterCodec = runtime.NewParameterCodec(scheme)
+
 var localSchemeBuilder = runtime.SchemeBuilder{
        camelv1.AddToScheme,
        camelv1alpha1.AddToScheme,
diff --git a/pkg/client/camel/listers/camel/v1/build.go 
b/pkg/client/camel/listers/camel/v1/build.go
index c8eeb04..ca48d82 100644
--- a/pkg/client/camel/listers/camel/v1/build.go
+++ b/pkg/client/camel/listers/camel/v1/build.go
@@ -27,8 +27,10 @@ import (
 )
 
 // BuildLister helps list Builds.
+// All objects returned here must be treated as read-only.
 type BuildLister interface {
        // List lists all Builds in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.Build, err error)
        // Builds returns an object that can list and get Builds.
        Builds(namespace string) BuildNamespaceLister
@@ -59,10 +61,13 @@ func (s *buildLister) Builds(namespace string) 
BuildNamespaceLister {
 }
 
 // BuildNamespaceLister helps list and get Builds.
+// All objects returned here must be treated as read-only.
 type BuildNamespaceLister interface {
        // List lists all Builds in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.Build, err error)
        // Get retrieves the Build from the indexer for a given namespace and 
name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1.Build, error)
        BuildNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1/camelcatalog.go 
b/pkg/client/camel/listers/camel/v1/camelcatalog.go
index a3d2ae8..e0fbb28 100644
--- a/pkg/client/camel/listers/camel/v1/camelcatalog.go
+++ b/pkg/client/camel/listers/camel/v1/camelcatalog.go
@@ -27,8 +27,10 @@ import (
 )
 
 // CamelCatalogLister helps list CamelCatalogs.
+// All objects returned here must be treated as read-only.
 type CamelCatalogLister interface {
        // List lists all CamelCatalogs in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.CamelCatalog, err error)
        // CamelCatalogs returns an object that can list and get CamelCatalogs.
        CamelCatalogs(namespace string) CamelCatalogNamespaceLister
@@ -59,10 +61,13 @@ func (s *camelCatalogLister) CamelCatalogs(namespace 
string) CamelCatalogNamespa
 }
 
 // CamelCatalogNamespaceLister helps list and get CamelCatalogs.
+// All objects returned here must be treated as read-only.
 type CamelCatalogNamespaceLister interface {
        // List lists all CamelCatalogs in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.CamelCatalog, err error)
        // Get retrieves the CamelCatalog from the indexer for a given 
namespace and name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1.CamelCatalog, error)
        CamelCatalogNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1/integration.go 
b/pkg/client/camel/listers/camel/v1/integration.go
index cacac07..d0f3769 100644
--- a/pkg/client/camel/listers/camel/v1/integration.go
+++ b/pkg/client/camel/listers/camel/v1/integration.go
@@ -27,8 +27,10 @@ import (
 )
 
 // IntegrationLister helps list Integrations.
+// All objects returned here must be treated as read-only.
 type IntegrationLister interface {
        // List lists all Integrations in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.Integration, err error)
        // Integrations returns an object that can list and get Integrations.
        Integrations(namespace string) IntegrationNamespaceLister
@@ -59,10 +61,13 @@ func (s *integrationLister) Integrations(namespace string) 
IntegrationNamespaceL
 }
 
 // IntegrationNamespaceLister helps list and get Integrations.
+// All objects returned here must be treated as read-only.
 type IntegrationNamespaceLister interface {
        // List lists all Integrations in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.Integration, err error)
        // Get retrieves the Integration from the indexer for a given namespace 
and name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1.Integration, error)
        IntegrationNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1/integrationkit.go 
b/pkg/client/camel/listers/camel/v1/integrationkit.go
index c5fb423..17b6ab4 100644
--- a/pkg/client/camel/listers/camel/v1/integrationkit.go
+++ b/pkg/client/camel/listers/camel/v1/integrationkit.go
@@ -27,8 +27,10 @@ import (
 )
 
 // IntegrationKitLister helps list IntegrationKits.
+// All objects returned here must be treated as read-only.
 type IntegrationKitLister interface {
        // List lists all IntegrationKits in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.IntegrationKit, err error)
        // IntegrationKits returns an object that can list and get 
IntegrationKits.
        IntegrationKits(namespace string) IntegrationKitNamespaceLister
@@ -59,10 +61,13 @@ func (s *integrationKitLister) IntegrationKits(namespace 
string) IntegrationKitN
 }
 
 // IntegrationKitNamespaceLister helps list and get IntegrationKits.
+// All objects returned here must be treated as read-only.
 type IntegrationKitNamespaceLister interface {
        // List lists all IntegrationKits in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.IntegrationKit, err error)
        // Get retrieves the IntegrationKit from the indexer for a given 
namespace and name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1.IntegrationKit, error)
        IntegrationKitNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1/integrationplatform.go 
b/pkg/client/camel/listers/camel/v1/integrationplatform.go
index b9a223e..245bfe0 100644
--- a/pkg/client/camel/listers/camel/v1/integrationplatform.go
+++ b/pkg/client/camel/listers/camel/v1/integrationplatform.go
@@ -27,8 +27,10 @@ import (
 )
 
 // IntegrationPlatformLister helps list IntegrationPlatforms.
+// All objects returned here must be treated as read-only.
 type IntegrationPlatformLister interface {
        // List lists all IntegrationPlatforms in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.IntegrationPlatform, err 
error)
        // IntegrationPlatforms returns an object that can list and get 
IntegrationPlatforms.
        IntegrationPlatforms(namespace string) 
IntegrationPlatformNamespaceLister
@@ -59,10 +61,13 @@ func (s *integrationPlatformLister) 
IntegrationPlatforms(namespace string) Integ
 }
 
 // IntegrationPlatformNamespaceLister helps list and get IntegrationPlatforms.
+// All objects returned here must be treated as read-only.
 type IntegrationPlatformNamespaceLister interface {
        // List lists all IntegrationPlatforms in the indexer for a given 
namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1.IntegrationPlatform, err 
error)
        // Get retrieves the IntegrationPlatform from the indexer for a given 
namespace and name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1.IntegrationPlatform, error)
        IntegrationPlatformNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1alpha1/kamelet.go 
b/pkg/client/camel/listers/camel/v1alpha1/kamelet.go
index 5dfbae8..fb4e500 100644
--- a/pkg/client/camel/listers/camel/v1alpha1/kamelet.go
+++ b/pkg/client/camel/listers/camel/v1alpha1/kamelet.go
@@ -27,8 +27,10 @@ import (
 )
 
 // KameletLister helps list Kamelets.
+// All objects returned here must be treated as read-only.
 type KameletLister interface {
        // List lists all Kamelets in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1alpha1.Kamelet, err error)
        // Kamelets returns an object that can list and get Kamelets.
        Kamelets(namespace string) KameletNamespaceLister
@@ -59,10 +61,13 @@ func (s *kameletLister) Kamelets(namespace string) 
KameletNamespaceLister {
 }
 
 // KameletNamespaceLister helps list and get Kamelets.
+// All objects returned here must be treated as read-only.
 type KameletNamespaceLister interface {
        // List lists all Kamelets in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1alpha1.Kamelet, err error)
        // Get retrieves the Kamelet from the indexer for a given namespace and 
name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1alpha1.Kamelet, error)
        KameletNamespaceListerExpansion
 }
diff --git a/pkg/client/camel/listers/camel/v1alpha1/kameletbinding.go 
b/pkg/client/camel/listers/camel/v1alpha1/kameletbinding.go
index d76bdaf..c7bd29f 100644
--- a/pkg/client/camel/listers/camel/v1alpha1/kameletbinding.go
+++ b/pkg/client/camel/listers/camel/v1alpha1/kameletbinding.go
@@ -27,8 +27,10 @@ import (
 )
 
 // KameletBindingLister helps list KameletBindings.
+// All objects returned here must be treated as read-only.
 type KameletBindingLister interface {
        // List lists all KameletBindings in the indexer.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1alpha1.KameletBinding, err 
error)
        // KameletBindings returns an object that can list and get 
KameletBindings.
        KameletBindings(namespace string) KameletBindingNamespaceLister
@@ -59,10 +61,13 @@ func (s *kameletBindingLister) KameletBindings(namespace 
string) KameletBindingN
 }
 
 // KameletBindingNamespaceLister helps list and get KameletBindings.
+// All objects returned here must be treated as read-only.
 type KameletBindingNamespaceLister interface {
        // List lists all KameletBindings in the indexer for a given namespace.
+       // Objects returned here must be treated as read-only.
        List(selector labels.Selector) (ret []*v1alpha1.KameletBinding, err 
error)
        // Get retrieves the KameletBinding from the indexer for a given 
namespace and name.
+       // Objects returned here must be treated as read-only.
        Get(name string) (*v1alpha1.KameletBinding, error)
        KameletBindingNamespaceListerExpansion
 }

Reply via email to