From 2419a0374bb1c83fb29da561da01ad8867d28a1e Mon Sep 17 00:00:00 2001 From: Alvaro Aleman Date: Sun, 22 Mar 2020 12:43:02 -0400 Subject: [PATCH] Re-generate all listers Kubernetes-commit: be370ddebcb3785325385267cbe5bd7b372e6118 --- pkg/generated/listers/samplecontroller/v1alpha1/foo.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/generated/listers/samplecontroller/v1alpha1/foo.go b/pkg/generated/listers/samplecontroller/v1alpha1/foo.go index a6cbf166..0c53ed6d 100644 --- a/pkg/generated/listers/samplecontroller/v1alpha1/foo.go +++ b/pkg/generated/listers/samplecontroller/v1alpha1/foo.go @@ -26,8 +26,10 @@ import ( ) // FooLister helps list Foos. +// All objects returned here must be treated as read-only. type FooLister interface { // List lists all Foos in the indexer. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1alpha1.Foo, err error) // Foos returns an object that can list and get Foos. Foos(namespace string) FooNamespaceLister @@ -58,10 +60,13 @@ func (s *fooLister) Foos(namespace string) FooNamespaceLister { } // FooNamespaceLister helps list and get Foos. +// All objects returned here must be treated as read-only. type FooNamespaceLister interface { // List lists all Foos in the indexer for a given namespace. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1alpha1.Foo, err error) // Get retrieves the Foo from the indexer for a given namespace and name. + // Objects returned here must be treated as read-only. Get(name string) (*v1alpha1.Foo, error) FooNamespaceListerExpansion }