@@ -27,6 +27,7 @@ import (
27
27
autoscalingv1 "k8s.io/client-go/kubernetes/typed/autoscaling/v1"
28
28
autoscalingv2alpha1 "k8s.io/client-go/kubernetes/typed/autoscaling/v2alpha1"
29
29
batchv1 "k8s.io/client-go/kubernetes/typed/batch/v1"
30
+ batchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1"
30
31
batchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1"
31
32
certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1"
32
33
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
@@ -62,6 +63,7 @@ type Interface interface {
62
63
BatchV1 () batchv1.BatchV1Interface
63
64
// Deprecated: please explicitly pick a version if possible.
64
65
Batch () batchv1.BatchV1Interface
66
+ BatchV1beta1 () batchv1beta1.BatchV1beta1Interface
65
67
BatchV2alpha1 () batchv2alpha1.BatchV2alpha1Interface
66
68
CertificatesV1beta1 () certificatesv1beta1.CertificatesV1beta1Interface
67
69
// Deprecated: please explicitly pick a version if possible.
@@ -94,6 +96,7 @@ type Clientset struct {
94
96
* autoscalingv1.AutoscalingV1Client
95
97
* autoscalingv2alpha1.AutoscalingV2alpha1Client
96
98
* batchv1.BatchV1Client
99
+ * batchv1beta1.BatchV1beta1Client
97
100
* batchv2alpha1.BatchV2alpha1Client
98
101
* certificatesv1beta1.CertificatesV1beta1Client
99
102
* extensionsv1beta1.ExtensionsV1beta1Client
@@ -229,6 +232,14 @@ func (c *Clientset) Batch() batchv1.BatchV1Interface {
229
232
return c .BatchV1Client
230
233
}
231
234
235
+ // BatchV1beta1 retrieves the BatchV1beta1Client
236
+ func (c * Clientset ) BatchV1beta1 () batchv1beta1.BatchV1beta1Interface {
237
+ if c == nil {
238
+ return nil
239
+ }
240
+ return c .BatchV1beta1Client
241
+ }
242
+
232
243
// BatchV2alpha1 retrieves the BatchV2alpha1Client
233
244
func (c * Clientset ) BatchV2alpha1 () batchv2alpha1.BatchV2alpha1Interface {
234
245
if c == nil {
@@ -382,6 +393,10 @@ func NewForConfig(c *rest.Config) (*Clientset, error) {
382
393
if err != nil {
383
394
return nil , err
384
395
}
396
+ cs .BatchV1beta1Client , err = batchv1beta1 .NewForConfig (& configShallowCopy )
397
+ if err != nil {
398
+ return nil , err
399
+ }
385
400
cs .BatchV2alpha1Client , err = batchv2alpha1 .NewForConfig (& configShallowCopy )
386
401
if err != nil {
387
402
return nil , err
@@ -432,6 +447,7 @@ func NewForConfigOrDie(c *rest.Config) *Clientset {
432
447
cs .AutoscalingV1Client = autoscalingv1 .NewForConfigOrDie (c )
433
448
cs .AutoscalingV2alpha1Client = autoscalingv2alpha1 .NewForConfigOrDie (c )
434
449
cs .BatchV1Client = batchv1 .NewForConfigOrDie (c )
450
+ cs .BatchV1beta1Client = batchv1beta1 .NewForConfigOrDie (c )
435
451
cs .BatchV2alpha1Client = batchv2alpha1 .NewForConfigOrDie (c )
436
452
cs .CertificatesV1beta1Client = certificatesv1beta1 .NewForConfigOrDie (c )
437
453
cs .ExtensionsV1beta1Client = extensionsv1beta1 .NewForConfigOrDie (c )
@@ -456,6 +472,7 @@ func New(c rest.Interface) *Clientset {
456
472
cs .AutoscalingV1Client = autoscalingv1 .New (c )
457
473
cs .AutoscalingV2alpha1Client = autoscalingv2alpha1 .New (c )
458
474
cs .BatchV1Client = batchv1 .New (c )
475
+ cs .BatchV1beta1Client = batchv1beta1 .New (c )
459
476
cs .BatchV2alpha1Client = batchv2alpha1 .New (c )
460
477
cs .CertificatesV1beta1Client = certificatesv1beta1 .New (c )
461
478
cs .ExtensionsV1beta1Client = extensionsv1beta1 .New (c )
0 commit comments