From 964a3478991d29760c0f6fd0fe06d8b00d508902 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Mon, 27 Jan 2020 18:12:12 -0800 Subject: [PATCH] regenerate clients Kubernetes-commit: 59e757afef07beb17e26c02eade097d031cb49c7 --- .../typed/samplecontroller/v1alpha1/foo.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/foo.go b/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/foo.go index 46738c05..4e83be66 100644 --- a/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/foo.go +++ b/pkg/generated/clientset/versioned/typed/samplecontroller/v1alpha1/foo.go @@ -19,6 +19,7 @@ limitations under the License. package v1alpha1 import ( + "context" "time" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -71,7 +72,7 @@ func (c *foos) Get(name string, options v1.GetOptions) (result *v1alpha1.Foo, er Resource("foos"). Name(name). VersionedParams(&options, scheme.ParameterCodec). - Do(). + Do(context.TODO()). Into(result) return } @@ -88,7 +89,7 @@ func (c *foos) List(opts v1.ListOptions) (result *v1alpha1.FooList, err error) { Resource("foos"). VersionedParams(&opts, scheme.ParameterCodec). Timeout(timeout). - Do(). + Do(context.TODO()). Into(result) return } @@ -105,7 +106,7 @@ func (c *foos) Watch(opts v1.ListOptions) (watch.Interface, error) { Resource("foos"). VersionedParams(&opts, scheme.ParameterCodec). Timeout(timeout). - Watch() + Watch(context.TODO()) } // Create takes the representation of a foo and creates it. Returns the server's representation of the foo, and an error, if there is any. @@ -115,7 +116,7 @@ func (c *foos) Create(foo *v1alpha1.Foo) (result *v1alpha1.Foo, err error) { Namespace(c.ns). Resource("foos"). Body(foo). - Do(). + Do(context.TODO()). Into(result) return } @@ -128,7 +129,7 @@ func (c *foos) Update(foo *v1alpha1.Foo) (result *v1alpha1.Foo, err error) { Resource("foos"). Name(foo.Name). Body(foo). - Do(). + Do(context.TODO()). Into(result) return } @@ -144,7 +145,7 @@ func (c *foos) UpdateStatus(foo *v1alpha1.Foo) (result *v1alpha1.Foo, err error) Name(foo.Name). SubResource("status"). Body(foo). - Do(). + Do(context.TODO()). Into(result) return } @@ -156,7 +157,7 @@ func (c *foos) Delete(name string, options *v1.DeleteOptions) error { Resource("foos"). Name(name). Body(options). - Do(). + Do(context.TODO()). Error() } @@ -172,7 +173,7 @@ func (c *foos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOp VersionedParams(&listOptions, scheme.ParameterCodec). Timeout(timeout). Body(options). - Do(). + Do(context.TODO()). Error() } @@ -185,7 +186,7 @@ func (c *foos) Patch(name string, pt types.PatchType, data []byte, subresources SubResource(subresources...). Name(name). Body(data). - Do(). + Do(context.TODO()). Into(result) return }