func()

in pkg/mock/controller-runtime/client/mock.go [73:81]


func (c *Client) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error {
	called := c.Called(obj, opts)
	parent, ok := called.Get(0).(client.Client)
	if ok {
		return parent.Update(ctx, obj, opts...)
	}

	return called.Error(0)
}