Browse Source

Update generated code

Alfonso Acosta 10 months ago
parent
commit
8bd324ab88
36 changed files with 211 additions and 134 deletions
  1. 23
    65
      integrations/apis/flux.weave.works/v1beta1/zz_generated.deepcopy.go
  2. 3
    5
      integrations/apis/helm.integrations.flux.weave.works/v1alpha2/zz_generated.deepcopy.go
  3. 3
    16
      integrations/client/clientset/versioned/clientset.go
  4. 3
    0
      integrations/client/clientset/versioned/doc.go
  5. 3
    10
      integrations/client/clientset/versioned/fake/clientset_generated.go
  6. 3
    0
      integrations/client/clientset/versioned/fake/doc.go
  7. 13
    8
      integrations/client/clientset/versioned/fake/register.go
  8. 3
    0
      integrations/client/clientset/versioned/scheme/doc.go
  9. 13
    8
      integrations/client/clientset/versioned/scheme/register.go
  10. 3
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/doc.go
  11. 3
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/doc.go
  12. 3
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/fake_flux.weave.works_client.go
  13. 4
    1
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/fake_helmrelease.go
  14. 3
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/flux.weave.works_client.go
  15. 3
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/generated_expansion.go
  16. 20
    0
      integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/helmrelease.go
  17. 3
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/doc.go
  18. 3
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/doc.go
  19. 4
    1
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/fake_fluxhelmrelease.go
  20. 3
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/fake_helm.integrations.flux.weave.works_client.go
  21. 20
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go
  22. 3
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/generated_expansion.go
  23. 3
    0
      integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/helm.integrations.flux.weave.works_client.go
  24. 15
    11
      integrations/client/informers/externalversions/factory.go
  25. 3
    0
      integrations/client/informers/externalversions/flux.weave.works/interface.go
  26. 8
    4
      integrations/client/informers/externalversions/flux.weave.works/v1beta1/helmrelease.go
  27. 3
    0
      integrations/client/informers/externalversions/flux.weave.works/v1beta1/interface.go
  28. 4
    0
      integrations/client/informers/externalversions/generic.go
  29. 3
    0
      integrations/client/informers/externalversions/helm.integrations.flux.weave.works/interface.go
  30. 8
    4
      integrations/client/informers/externalversions/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go
  31. 3
    0
      integrations/client/informers/externalversions/helm.integrations.flux.weave.works/v1alpha2/interface.go
  32. 7
    1
      integrations/client/informers/externalversions/internalinterfaces/factory_interfaces.go
  33. 3
    0
      integrations/client/listers/flux.weave.works/v1beta1/expansion_generated.go
  34. 3
    0
      integrations/client/listers/flux.weave.works/v1beta1/helmrelease.go
  35. 3
    0
      integrations/client/listers/helm.integrations.flux.weave.works/v1alpha2/expansion_generated.go
  36. 3
    0
      integrations/client/listers/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go

+ 23
- 65
integrations/apis/flux.weave.works/v1beta1/zz_generated.deepcopy.go View File

@@ -16,7 +16,7 @@ See the License for the specific language governing permissions and
16 16
 limitations under the License.
17 17
 */
18 18
 
19
-// This file was autogenerated by deepcopy-gen. Do not edit it manually!
19
+// Code generated by deepcopy-gen. DO NOT EDIT.
20 20
 
21 21
 package v1beta1
22 22
 
@@ -30,12 +30,8 @@ func (in *ChartFileSelector) DeepCopyInto(out *ChartFileSelector) {
30 30
 	*out = *in
31 31
 	if in.Optional != nil {
32 32
 		in, out := &in.Optional, &out.Optional
33
-		if *in == nil {
34
-			*out = nil
35
-		} else {
36
-			*out = new(bool)
37
-			**out = **in
38
-		}
33
+		*out = new(bool)
34
+		**out = **in
39 35
 	}
40 36
 	return
41 37
 }
@@ -55,21 +51,13 @@ func (in *ChartSource) DeepCopyInto(out *ChartSource) {
55 51
 	*out = *in
56 52
 	if in.GitChartSource != nil {
57 53
 		in, out := &in.GitChartSource, &out.GitChartSource
58
-		if *in == nil {
59
-			*out = nil
60
-		} else {
61
-			*out = new(GitChartSource)
62
-			**out = **in
63
-		}
54
+		*out = new(GitChartSource)
55
+		**out = **in
64 56
 	}
65 57
 	if in.RepoChartSource != nil {
66 58
 		in, out := &in.RepoChartSource, &out.RepoChartSource
67
-		if *in == nil {
68
-			*out = nil
69
-		} else {
70
-			*out = new(RepoChartSource)
71
-			(*in).DeepCopyInto(*out)
72
-		}
59
+		*out = new(RepoChartSource)
60
+		(*in).DeepCopyInto(*out)
73 61
 	}
74 62
 	return
75 63
 }
@@ -89,12 +77,8 @@ func (in *ExternalSourceSelector) DeepCopyInto(out *ExternalSourceSelector) {
89 77
 	*out = *in
90 78
 	if in.Optional != nil {
91 79
 		in, out := &in.Optional, &out.Optional
92
-		if *in == nil {
93
-			*out = nil
94
-		} else {
95
-			*out = new(bool)
96
-			**out = **in
97
-		}
80
+		*out = new(bool)
81
+		**out = **in
98 82
 	}
99 83
 	return
100 84
 }
@@ -149,9 +133,8 @@ func (in *HelmRelease) DeepCopy() *HelmRelease {
149 133
 func (in *HelmRelease) DeepCopyObject() runtime.Object {
150 134
 	if c := in.DeepCopy(); c != nil {
151 135
 		return c
152
-	} else {
153
-		return nil
154 136
 	}
137
+	return nil
155 138
 }
156 139
 
157 140
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -200,9 +183,8 @@ func (in *HelmReleaseList) DeepCopy() *HelmReleaseList {
200 183
 func (in *HelmReleaseList) DeepCopyObject() runtime.Object {
201 184
 	if c := in.DeepCopy(); c != nil {
202 185
 		return c
203
-	} else {
204
-		return nil
205 186
 	}
187
+	return nil
206 188
 }
207 189
 
208 190
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -224,12 +206,8 @@ func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec) {
224 206
 	in.HelmValues.DeepCopyInto(&out.HelmValues)
225 207
 	if in.Timeout != nil {
226 208
 		in, out := &in.Timeout, &out.Timeout
227
-		if *in == nil {
228
-			*out = nil
229
-		} else {
230
-			*out = new(int64)
231
-			**out = **in
232
-		}
209
+		*out = new(int64)
210
+		**out = **in
233 211
 	}
234 212
 	return
235 213
 }
@@ -272,12 +250,8 @@ func (in *RepoChartSource) DeepCopyInto(out *RepoChartSource) {
272 250
 	*out = *in
273 251
 	if in.ChartPullSecret != nil {
274 252
 		in, out := &in.ChartPullSecret, &out.ChartPullSecret
275
-		if *in == nil {
276
-			*out = nil
277
-		} else {
278
-			*out = new(v1.LocalObjectReference)
279
-			**out = **in
280
-		}
253
+		*out = new(v1.LocalObjectReference)
254
+		**out = **in
281 255
 	}
282 256
 	return
283 257
 }
@@ -297,39 +271,23 @@ func (in *ValuesFromSource) DeepCopyInto(out *ValuesFromSource) {
297 271
 	*out = *in
298 272
 	if in.ConfigMapKeyRef != nil {
299 273
 		in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
300
-		if *in == nil {
301
-			*out = nil
302
-		} else {
303
-			*out = new(v1.ConfigMapKeySelector)
304
-			(*in).DeepCopyInto(*out)
305
-		}
274
+		*out = new(v1.ConfigMapKeySelector)
275
+		(*in).DeepCopyInto(*out)
306 276
 	}
307 277
 	if in.SecretKeyRef != nil {
308 278
 		in, out := &in.SecretKeyRef, &out.SecretKeyRef
309
-		if *in == nil {
310
-			*out = nil
311
-		} else {
312
-			*out = new(v1.SecretKeySelector)
313
-			(*in).DeepCopyInto(*out)
314
-		}
279
+		*out = new(v1.SecretKeySelector)
280
+		(*in).DeepCopyInto(*out)
315 281
 	}
316 282
 	if in.ExternalSourceRef != nil {
317 283
 		in, out := &in.ExternalSourceRef, &out.ExternalSourceRef
318
-		if *in == nil {
319
-			*out = nil
320
-		} else {
321
-			*out = new(ExternalSourceSelector)
322
-			(*in).DeepCopyInto(*out)
323
-		}
284
+		*out = new(ExternalSourceSelector)
285
+		(*in).DeepCopyInto(*out)
324 286
 	}
325 287
 	if in.ChartFileRef != nil {
326 288
 		in, out := &in.ChartFileRef, &out.ChartFileRef
327
-		if *in == nil {
328
-			*out = nil
329
-		} else {
330
-			*out = new(ChartFileSelector)
331
-			(*in).DeepCopyInto(*out)
332
-		}
289
+		*out = new(ChartFileSelector)
290
+		(*in).DeepCopyInto(*out)
333 291
 	}
334 292
 	return
335 293
 }

+ 3
- 5
integrations/apis/helm.integrations.flux.weave.works/v1alpha2/zz_generated.deepcopy.go View File

@@ -16,7 +16,7 @@ See the License for the specific language governing permissions and
16 16
 limitations under the License.
17 17
 */
18 18
 
19
-// This file was autogenerated by deepcopy-gen. Do not edit it manually!
19
+// Code generated by deepcopy-gen. DO NOT EDIT.
20 20
 
21 21
 package v1alpha2
22 22
 
@@ -49,9 +49,8 @@ func (in *FluxHelmRelease) DeepCopy() *FluxHelmRelease {
49 49
 func (in *FluxHelmRelease) DeepCopyObject() runtime.Object {
50 50
 	if c := in.DeepCopy(); c != nil {
51 51
 		return c
52
-	} else {
53
-		return nil
54 52
 	}
53
+	return nil
55 54
 }
56 55
 
57 56
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -83,9 +82,8 @@ func (in *FluxHelmReleaseList) DeepCopy() *FluxHelmReleaseList {
83 82
 func (in *FluxHelmReleaseList) DeepCopyObject() runtime.Object {
84 83
 	if c := in.DeepCopy(); c != nil {
85 84
 		return c
86
-	} else {
87
-		return nil
88 85
 	}
86
+	return nil
89 87
 }
90 88
 
91 89
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

+ 3
- 16
integrations/client/clientset/versioned/clientset.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package versioned
17 20
 
18 21
 import (
@@ -26,11 +29,7 @@ import (
26 29
 type Interface interface {
27 30
 	Discovery() discovery.DiscoveryInterface
28 31
 	FluxV1beta1() fluxv1beta1.FluxV1beta1Interface
29
-	// Deprecated: please explicitly pick a version if possible.
30
-	Flux() fluxv1beta1.FluxV1beta1Interface
31 32
 	HelmV1alpha2() helmv1alpha2.HelmV1alpha2Interface
32
-	// Deprecated: please explicitly pick a version if possible.
33
-	Helm() helmv1alpha2.HelmV1alpha2Interface
34 33
 }
35 34
 
36 35
 // Clientset contains the clients for groups. Each group has exactly one
@@ -46,23 +45,11 @@ func (c *Clientset) FluxV1beta1() fluxv1beta1.FluxV1beta1Interface {
46 45
 	return c.fluxV1beta1
47 46
 }
48 47
 
49
-// Deprecated: Flux retrieves the default version of FluxClient.
50
-// Please explicitly pick a version.
51
-func (c *Clientset) Flux() fluxv1beta1.FluxV1beta1Interface {
52
-	return c.fluxV1beta1
53
-}
54
-
55 48
 // HelmV1alpha2 retrieves the HelmV1alpha2Client
56 49
 func (c *Clientset) HelmV1alpha2() helmv1alpha2.HelmV1alpha2Interface {
57 50
 	return c.helmV1alpha2
58 51
 }
59 52
 
60
-// Deprecated: Helm retrieves the default version of HelmClient.
61
-// Please explicitly pick a version.
62
-func (c *Clientset) Helm() helmv1alpha2.HelmV1alpha2Interface {
63
-	return c.helmV1alpha2
64
-}
65
-
66 53
 // Discovery retrieves the DiscoveryClient
67 54
 func (c *Clientset) Discovery() discovery.DiscoveryInterface {
68 55
 	if c == nil {

+ 3
- 0
integrations/client/clientset/versioned/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // This package has the automatically generated clientset.
17 20
 package versioned

+ 3
- 10
integrations/client/clientset/versioned/fake/clientset_generated.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (
@@ -75,17 +78,7 @@ func (c *Clientset) FluxV1beta1() fluxv1beta1.FluxV1beta1Interface {
75 78
 	return &fakefluxv1beta1.FakeFluxV1beta1{Fake: &c.Fake}
76 79
 }
77 80
 
78
-// Flux retrieves the FluxV1beta1Client
79
-func (c *Clientset) Flux() fluxv1beta1.FluxV1beta1Interface {
80
-	return &fakefluxv1beta1.FakeFluxV1beta1{Fake: &c.Fake}
81
-}
82
-
83 81
 // HelmV1alpha2 retrieves the HelmV1alpha2Client
84 82
 func (c *Clientset) HelmV1alpha2() helmv1alpha2.HelmV1alpha2Interface {
85 83
 	return &fakehelmv1alpha2.FakeHelmV1alpha2{Fake: &c.Fake}
86 84
 }
87
-
88
-// Helm retrieves the HelmV1alpha2Client
89
-func (c *Clientset) Helm() helmv1alpha2.HelmV1alpha2Interface {
90
-	return &fakehelmv1alpha2.FakeHelmV1alpha2{Fake: &c.Fake}
91
-}

+ 3
- 0
integrations/client/clientset/versioned/fake/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // This package has the automatically generated fake clientset.
17 20
 package fake

+ 13
- 8
integrations/client/clientset/versioned/fake/register.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (
@@ -22,15 +25,15 @@ import (
22 25
 	runtime "k8s.io/apimachinery/pkg/runtime"
23 26
 	schema "k8s.io/apimachinery/pkg/runtime/schema"
24 27
 	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
28
+	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
25 29
 )
26 30
 
27 31
 var scheme = runtime.NewScheme()
28 32
 var codecs = serializer.NewCodecFactory(scheme)
29 33
 var parameterCodec = runtime.NewParameterCodec(scheme)
30
-
31
-func init() {
32
-	v1.AddToGroupVersion(scheme, schema.GroupVersion{Version: "v1"})
33
-	AddToScheme(scheme)
34
+var localSchemeBuilder = runtime.SchemeBuilder{
35
+	fluxv1beta1.AddToScheme,
36
+	helmv1alpha2.AddToScheme,
34 37
 }
35 38
 
36 39
 // AddToScheme adds all types of this clientset into the given scheme. This allows composition
@@ -43,11 +46,13 @@ func init() {
43 46
 //   )
44 47
 //
45 48
 //   kclientset, _ := kubernetes.NewForConfig(c)
46
-//   aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
49
+//   _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
47 50
 //
48 51
 // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
49 52
 // correctly.
50
-func AddToScheme(scheme *runtime.Scheme) {
51
-	fluxv1beta1.AddToScheme(scheme)
52
-	helmv1alpha2.AddToScheme(scheme)
53
+var AddToScheme = localSchemeBuilder.AddToScheme
54
+
55
+func init() {
56
+	v1.AddToGroupVersion(scheme, schema.GroupVersion{Version: "v1"})
57
+	utilruntime.Must(AddToScheme(scheme))
53 58
 }

+ 3
- 0
integrations/client/clientset/versioned/scheme/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // This package contains the scheme of the automatically generated clientset.
17 20
 package scheme

+ 13
- 8
integrations/client/clientset/versioned/scheme/register.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package scheme
17 20
 
18 21
 import (
@@ -22,15 +25,15 @@ import (
22 25
 	runtime "k8s.io/apimachinery/pkg/runtime"
23 26
 	schema "k8s.io/apimachinery/pkg/runtime/schema"
24 27
 	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
28
+	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
25 29
 )
26 30
 
27 31
 var Scheme = runtime.NewScheme()
28 32
 var Codecs = serializer.NewCodecFactory(Scheme)
29 33
 var ParameterCodec = runtime.NewParameterCodec(Scheme)
30
-
31
-func init() {
32
-	v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"})
33
-	AddToScheme(Scheme)
34
+var localSchemeBuilder = runtime.SchemeBuilder{
35
+	fluxv1beta1.AddToScheme,
36
+	helmv1alpha2.AddToScheme,
34 37
 }
35 38
 
36 39
 // AddToScheme adds all types of this clientset into the given scheme. This allows composition
@@ -43,11 +46,13 @@ func init() {
43 46
 //   )
44 47
 //
45 48
 //   kclientset, _ := kubernetes.NewForConfig(c)
46
-//   aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
49
+//   _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
47 50
 //
48 51
 // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
49 52
 // correctly.
50
-func AddToScheme(scheme *runtime.Scheme) {
51
-	fluxv1beta1.AddToScheme(scheme)
52
-	helmv1alpha2.AddToScheme(scheme)
53
+var AddToScheme = localSchemeBuilder.AddToScheme
54
+
55
+func init() {
56
+	v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"})
57
+	utilruntime.Must(AddToScheme(Scheme))
53 58
 }

+ 3
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // This package has the automatically generated typed clients.
17 20
 package v1beta1

+ 3
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // Package fake has the automatically generated clients.
17 20
 package fake

+ 3
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/fake_flux.weave.works_client.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (

+ 4
- 1
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/fake/fake_helmrelease.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (
@@ -116,7 +119,7 @@ func (c *FakeHelmReleases) DeleteCollection(options *v1.DeleteOptions, listOptio
116 119
 // Patch applies the patch and returns the patched helmRelease.
117 120
 func (c *FakeHelmReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HelmRelease, err error) {
118 121
 	obj, err := c.Fake.
119
-		Invokes(testing.NewPatchSubresourceAction(helmreleasesResource, c.ns, name, types.ApplyPatchType, data, subresources...), &v1beta1.HelmRelease{})
122
+		Invokes(testing.NewPatchSubresourceAction(helmreleasesResource, c.ns, name, pt, data, subresources...), &v1beta1.HelmRelease{})
120 123
 
121 124
 	if obj == nil {
122 125
 		return nil, err

+ 3
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/flux.weave.works_client.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 import (

+ 3
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/generated_expansion.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 type HelmReleaseExpansion interface{}

+ 20
- 0
integrations/client/clientset/versioned/typed/flux.weave.works/v1beta1/helmrelease.go View File

@@ -13,9 +13,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 import (
22
+	"time"
23
+
19 24
 	v1beta1 "github.com/weaveworks/flux/integrations/apis/flux.weave.works/v1beta1"
20 25
 	scheme "github.com/weaveworks/flux/integrations/client/clientset/versioned/scheme"
21 26
 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -72,11 +77,16 @@ func (c *helmReleases) Get(name string, options v1.GetOptions) (result *v1beta1.
72 77
 
73 78
 // List takes label and field selectors, and returns the list of HelmReleases that match those selectors.
74 79
 func (c *helmReleases) List(opts v1.ListOptions) (result *v1beta1.HelmReleaseList, err error) {
80
+	var timeout time.Duration
81
+	if opts.TimeoutSeconds != nil {
82
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
83
+	}
75 84
 	result = &v1beta1.HelmReleaseList{}
76 85
 	err = c.client.Get().
77 86
 		Namespace(c.ns).
78 87
 		Resource("helmreleases").
79 88
 		VersionedParams(&opts, scheme.ParameterCodec).
89
+		Timeout(timeout).
80 90
 		Do().
81 91
 		Into(result)
82 92
 	return
@@ -84,11 +94,16 @@ func (c *helmReleases) List(opts v1.ListOptions) (result *v1beta1.HelmReleaseLis
84 94
 
85 95
 // Watch returns a watch.Interface that watches the requested helmReleases.
86 96
 func (c *helmReleases) Watch(opts v1.ListOptions) (watch.Interface, error) {
97
+	var timeout time.Duration
98
+	if opts.TimeoutSeconds != nil {
99
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
100
+	}
87 101
 	opts.Watch = true
88 102
 	return c.client.Get().
89 103
 		Namespace(c.ns).
90 104
 		Resource("helmreleases").
91 105
 		VersionedParams(&opts, scheme.ParameterCodec).
106
+		Timeout(timeout).
92 107
 		Watch()
93 108
 }
94 109
 
@@ -130,10 +145,15 @@ func (c *helmReleases) Delete(name string, options *v1.DeleteOptions) error {
130 145
 
131 146
 // DeleteCollection deletes a collection of objects.
132 147
 func (c *helmReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
148
+	var timeout time.Duration
149
+	if listOptions.TimeoutSeconds != nil {
150
+		timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second
151
+	}
133 152
 	return c.client.Delete().
134 153
 		Namespace(c.ns).
135 154
 		Resource("helmreleases").
136 155
 		VersionedParams(&listOptions, scheme.ParameterCodec).
156
+		Timeout(timeout).
137 157
 		Body(options).
138 158
 		Do().
139 159
 		Error()

+ 3
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // This package has the automatically generated typed clients.
17 20
 package v1alpha2

+ 3
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/doc.go View File

@@ -13,5 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 // Package fake has the automatically generated clients.
17 20
 package fake

+ 4
- 1
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/fake_fluxhelmrelease.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (
@@ -116,7 +119,7 @@ func (c *FakeFluxHelmReleases) DeleteCollection(options *v1.DeleteOptions, listO
116 119
 // Patch applies the patch and returns the patched fluxHelmRelease.
117 120
 func (c *FakeFluxHelmReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.FluxHelmRelease, err error) {
118 121
 	obj, err := c.Fake.
119
-		Invokes(testing.NewPatchSubresourceAction(fluxhelmreleasesResource, c.ns, name, types.ApplyPatchType, data, subresources...), &v1alpha2.FluxHelmRelease{})
122
+		Invokes(testing.NewPatchSubresourceAction(fluxhelmreleasesResource, c.ns, name, pt, data, subresources...), &v1alpha2.FluxHelmRelease{})
120 123
 
121 124
 	if obj == nil {
122 125
 		return nil, err

+ 3
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake/fake_helm.integrations.flux.weave.works_client.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package fake
17 20
 
18 21
 import (

+ 20
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go View File

@@ -13,9 +13,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 import (
22
+	"time"
23
+
19 24
 	v1alpha2 "github.com/weaveworks/flux/integrations/apis/helm.integrations.flux.weave.works/v1alpha2"
20 25
 	scheme "github.com/weaveworks/flux/integrations/client/clientset/versioned/scheme"
21 26
 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -72,11 +77,16 @@ func (c *fluxHelmReleases) Get(name string, options v1.GetOptions) (result *v1al
72 77
 
73 78
 // List takes label and field selectors, and returns the list of FluxHelmReleases that match those selectors.
74 79
 func (c *fluxHelmReleases) List(opts v1.ListOptions) (result *v1alpha2.FluxHelmReleaseList, err error) {
80
+	var timeout time.Duration
81
+	if opts.TimeoutSeconds != nil {
82
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
83
+	}
75 84
 	result = &v1alpha2.FluxHelmReleaseList{}
76 85
 	err = c.client.Get().
77 86
 		Namespace(c.ns).
78 87
 		Resource("fluxhelmreleases").
79 88
 		VersionedParams(&opts, scheme.ParameterCodec).
89
+		Timeout(timeout).
80 90
 		Do().
81 91
 		Into(result)
82 92
 	return
@@ -84,11 +94,16 @@ func (c *fluxHelmReleases) List(opts v1.ListOptions) (result *v1alpha2.FluxHelmR
84 94
 
85 95
 // Watch returns a watch.Interface that watches the requested fluxHelmReleases.
86 96
 func (c *fluxHelmReleases) Watch(opts v1.ListOptions) (watch.Interface, error) {
97
+	var timeout time.Duration
98
+	if opts.TimeoutSeconds != nil {
99
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
100
+	}
87 101
 	opts.Watch = true
88 102
 	return c.client.Get().
89 103
 		Namespace(c.ns).
90 104
 		Resource("fluxhelmreleases").
91 105
 		VersionedParams(&opts, scheme.ParameterCodec).
106
+		Timeout(timeout).
92 107
 		Watch()
93 108
 }
94 109
 
@@ -130,10 +145,15 @@ func (c *fluxHelmReleases) Delete(name string, options *v1.DeleteOptions) error
130 145
 
131 146
 // DeleteCollection deletes a collection of objects.
132 147
 func (c *fluxHelmReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
148
+	var timeout time.Duration
149
+	if listOptions.TimeoutSeconds != nil {
150
+		timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second
151
+	}
133 152
 	return c.client.Delete().
134 153
 		Namespace(c.ns).
135 154
 		Resource("fluxhelmreleases").
136 155
 		VersionedParams(&listOptions, scheme.ParameterCodec).
156
+		Timeout(timeout).
137 157
 		Body(options).
138 158
 		Do().
139 159
 		Error()

+ 3
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/generated_expansion.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 type FluxHelmReleaseExpansion interface{}

+ 3
- 0
integrations/client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/helm.integrations.flux.weave.works_client.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by client-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 import (

+ 15
- 11
integrations/client/informers/externalversions/factory.go View File

@@ -13,20 +13,24 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package externalversions
17 20
 
18 21
 import (
22
+	reflect "reflect"
23
+	sync "sync"
24
+	time "time"
25
+
19 26
 	versioned "github.com/weaveworks/flux/integrations/client/clientset/versioned"
20
-	flux_weave_works "github.com/weaveworks/flux/integrations/client/informers/externalversions/flux.weave.works"
21
-	helm_integrations_flux_weave_works "github.com/weaveworks/flux/integrations/client/informers/externalversions/helm.integrations.flux.weave.works"
27
+	fluxweaveworks "github.com/weaveworks/flux/integrations/client/informers/externalversions/flux.weave.works"
28
+	helmintegrationsfluxweaveworks "github.com/weaveworks/flux/integrations/client/informers/externalversions/helm.integrations.flux.weave.works"
22 29
 	internalinterfaces "github.com/weaveworks/flux/integrations/client/informers/externalversions/internalinterfaces"
23 30
 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24 31
 	runtime "k8s.io/apimachinery/pkg/runtime"
25 32
 	schema "k8s.io/apimachinery/pkg/runtime/schema"
26 33
 	cache "k8s.io/client-go/tools/cache"
27
-	reflect "reflect"
28
-	sync "sync"
29
-	time "time"
30 34
 )
31 35
 
32 36
 // SharedInformerOption defines the functional option type for SharedInformerFactory.
@@ -169,14 +173,14 @@ type SharedInformerFactory interface {
169 173
 	ForResource(resource schema.GroupVersionResource) (GenericInformer, error)
170 174
 	WaitForCacheSync(stopCh <-chan struct{}) map[reflect.Type]bool
171 175
 
172
-	Flux() flux_weave_works.Interface
173
-	Helm() helm_integrations_flux_weave_works.Interface
176
+	Flux() fluxweaveworks.Interface
177
+	Helm() helmintegrationsfluxweaveworks.Interface
174 178
 }
175 179
 
176
-func (f *sharedInformerFactory) Flux() flux_weave_works.Interface {
177
-	return flux_weave_works.New(f, f.namespace, f.tweakListOptions)
180
+func (f *sharedInformerFactory) Flux() fluxweaveworks.Interface {
181
+	return fluxweaveworks.New(f, f.namespace, f.tweakListOptions)
178 182
 }
179 183
 
180
-func (f *sharedInformerFactory) Helm() helm_integrations_flux_weave_works.Interface {
181
-	return helm_integrations_flux_weave_works.New(f, f.namespace, f.tweakListOptions)
184
+func (f *sharedInformerFactory) Helm() helmintegrationsfluxweaveworks.Interface {
185
+	return helmintegrationsfluxweaveworks.New(f, f.namespace, f.tweakListOptions)
182 186
 }

+ 3
- 0
integrations/client/informers/externalversions/flux.weave.works/interface.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package flux
17 20
 
18 21
 import (

+ 8
- 4
integrations/client/informers/externalversions/flux.weave.works/v1beta1/helmrelease.go View File

@@ -13,10 +13,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 import (
19
-	flux_weave_works_v1beta1 "github.com/weaveworks/flux/integrations/apis/flux.weave.works/v1beta1"
22
+	time "time"
23
+
24
+	fluxweaveworksv1beta1 "github.com/weaveworks/flux/integrations/apis/flux.weave.works/v1beta1"
20 25
 	versioned "github.com/weaveworks/flux/integrations/client/clientset/versioned"
21 26
 	internalinterfaces "github.com/weaveworks/flux/integrations/client/informers/externalversions/internalinterfaces"
22 27
 	v1beta1 "github.com/weaveworks/flux/integrations/client/listers/flux.weave.works/v1beta1"
@@ -24,7 +29,6 @@ import (
24 29
 	runtime "k8s.io/apimachinery/pkg/runtime"
25 30
 	watch "k8s.io/apimachinery/pkg/watch"
26 31
 	cache "k8s.io/client-go/tools/cache"
27
-	time "time"
28 32
 )
29 33
 
30 34
 // HelmReleaseInformer provides access to a shared informer and lister for
@@ -66,7 +70,7 @@ func NewFilteredHelmReleaseInformer(client versioned.Interface, namespace string
66 70
 				return client.FluxV1beta1().HelmReleases(namespace).Watch(options)
67 71
 			},
68 72
 		},
69
-		&flux_weave_works_v1beta1.HelmRelease{},
73
+		&fluxweaveworksv1beta1.HelmRelease{},
70 74
 		resyncPeriod,
71 75
 		indexers,
72 76
 	)
@@ -77,7 +81,7 @@ func (f *helmReleaseInformer) defaultInformer(client versioned.Interface, resync
77 81
 }
78 82
 
79 83
 func (f *helmReleaseInformer) Informer() cache.SharedIndexInformer {
80
-	return f.factory.InformerFor(&flux_weave_works_v1beta1.HelmRelease{}, f.defaultInformer)
84
+	return f.factory.InformerFor(&fluxweaveworksv1beta1.HelmRelease{}, f.defaultInformer)
81 85
 }
82 86
 
83 87
 func (f *helmReleaseInformer) Lister() v1beta1.HelmReleaseLister {

+ 3
- 0
integrations/client/informers/externalversions/flux.weave.works/v1beta1/interface.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 import (

+ 4
- 0
integrations/client/informers/externalversions/generic.go View File

@@ -13,10 +13,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package externalversions
17 20
 
18 21
 import (
19 22
 	"fmt"
23
+
20 24
 	v1beta1 "github.com/weaveworks/flux/integrations/apis/flux.weave.works/v1beta1"
21 25
 	v1alpha2 "github.com/weaveworks/flux/integrations/apis/helm.integrations.flux.weave.works/v1alpha2"
22 26
 	schema "k8s.io/apimachinery/pkg/runtime/schema"

+ 3
- 0
integrations/client/informers/externalversions/helm.integrations.flux.weave.works/interface.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package helm
17 20
 
18 21
 import (

+ 8
- 4
integrations/client/informers/externalversions/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go View File

@@ -13,10 +13,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 import (
19
-	helm_integrations_flux_weave_works_v1alpha2 "github.com/weaveworks/flux/integrations/apis/helm.integrations.flux.weave.works/v1alpha2"
22
+	time "time"
23
+
24
+	helmintegrationsfluxweaveworksv1alpha2 "github.com/weaveworks/flux/integrations/apis/helm.integrations.flux.weave.works/v1alpha2"
20 25
 	versioned "github.com/weaveworks/flux/integrations/client/clientset/versioned"
21 26
 	internalinterfaces "github.com/weaveworks/flux/integrations/client/informers/externalversions/internalinterfaces"
22 27
 	v1alpha2 "github.com/weaveworks/flux/integrations/client/listers/helm.integrations.flux.weave.works/v1alpha2"
@@ -24,7 +29,6 @@ import (
24 29
 	runtime "k8s.io/apimachinery/pkg/runtime"
25 30
 	watch "k8s.io/apimachinery/pkg/watch"
26 31
 	cache "k8s.io/client-go/tools/cache"
27
-	time "time"
28 32
 )
29 33
 
30 34
 // FluxHelmReleaseInformer provides access to a shared informer and lister for
@@ -66,7 +70,7 @@ func NewFilteredFluxHelmReleaseInformer(client versioned.Interface, namespace st
66 70
 				return client.HelmV1alpha2().FluxHelmReleases(namespace).Watch(options)
67 71
 			},
68 72
 		},
69
-		&helm_integrations_flux_weave_works_v1alpha2.FluxHelmRelease{},
73
+		&helmintegrationsfluxweaveworksv1alpha2.FluxHelmRelease{},
70 74
 		resyncPeriod,
71 75
 		indexers,
72 76
 	)
@@ -77,7 +81,7 @@ func (f *fluxHelmReleaseInformer) defaultInformer(client versioned.Interface, re
77 81
 }
78 82
 
79 83
 func (f *fluxHelmReleaseInformer) Informer() cache.SharedIndexInformer {
80
-	return f.factory.InformerFor(&helm_integrations_flux_weave_works_v1alpha2.FluxHelmRelease{}, f.defaultInformer)
84
+	return f.factory.InformerFor(&helmintegrationsfluxweaveworksv1alpha2.FluxHelmRelease{}, f.defaultInformer)
81 85
 }
82 86
 
83 87
 func (f *fluxHelmReleaseInformer) Lister() v1alpha2.FluxHelmReleaseLister {

+ 3
- 0
integrations/client/informers/externalversions/helm.integrations.flux.weave.works/v1alpha2/interface.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 import (

+ 7
- 1
integrations/client/informers/externalversions/internalinterfaces/factory_interfaces.go View File

@@ -13,16 +13,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by informer-gen. DO NOT EDIT.
18
+
16 19
 package internalinterfaces
17 20
 
18 21
 import (
22
+	time "time"
23
+
19 24
 	versioned "github.com/weaveworks/flux/integrations/client/clientset/versioned"
20 25
 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21 26
 	runtime "k8s.io/apimachinery/pkg/runtime"
22 27
 	cache "k8s.io/client-go/tools/cache"
23
-	time "time"
24 28
 )
25 29
 
30
+// NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer.
26 31
 type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer
27 32
 
28 33
 // SharedInformerFactory a small interface to allow for adding an informer without an import cycle
@@ -31,4 +36,5 @@ type SharedInformerFactory interface {
31 36
 	InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
32 37
 }
33 38
 
39
+// TweakListOptionsFunc is a function that transforms a v1.ListOptions.
34 40
 type TweakListOptionsFunc func(*v1.ListOptions)

+ 3
- 0
integrations/client/listers/flux.weave.works/v1beta1/expansion_generated.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by lister-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 // HelmReleaseListerExpansion allows custom methods to be added to

+ 3
- 0
integrations/client/listers/flux.weave.works/v1beta1/helmrelease.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by lister-gen. DO NOT EDIT.
18
+
16 19
 package v1beta1
17 20
 
18 21
 import (

+ 3
- 0
integrations/client/listers/helm.integrations.flux.weave.works/v1alpha2/expansion_generated.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by lister-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 // FluxHelmReleaseListerExpansion allows custom methods to be added to

+ 3
- 0
integrations/client/listers/helm.integrations.flux.weave.works/v1alpha2/fluxhelmrelease.go View File

@@ -13,6 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 13
 See the License for the specific language governing permissions and
14 14
 limitations under the License.
15 15
 */
16
+
17
+// Code generated by lister-gen. DO NOT EDIT.
18
+
16 19
 package v1alpha2
17 20
 
18 21
 import (

Loading…
Cancel
Save