func()

in pkg/mock/controller-runtime/client/mock.go [63:71]


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

	return called.Error(0)
}