Update k8s dependencies (#308)

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2022-10-19 10:37:40 +02:00 committed by GitHub
parent 6d5cb6b581
commit 37a9dbfad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 284 additions and 772 deletions

View file

@ -50,7 +50,7 @@ func newStubReaderClient(t *testing.T, objects []runtime.Object, getErr, listErr
}
}
func (c *stubReaderClient) Get(_ context.Context, key client.ObjectKey, out client.Object) error {
func (c *stubReaderClient) Get(_ context.Context, key client.ObjectKey, out client.Object, opts ...client.GetOption) error {
gvks, _, err := c.scheme.ObjectKinds(out)
if err != nil {
panic(err)
@ -132,8 +132,8 @@ type stubReadWriterClient struct {
client.Client
}
func (c *stubReadWriterClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object) error {
return c.stubReaderClient.Get(ctx, key, obj)
func (c *stubReadWriterClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error {
return c.stubReaderClient.Get(ctx, key, obj, opts...)
}
func (c *stubReadWriterClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error {