Documentation
      ¶
    
    
  
    
  
    Index ¶
- type MockQueryBackend
 - type MockQueryBackend_Expecter
 - type MockQueryBackend_Invoke_Call
 - func (_c *MockQueryBackend_Invoke_Call) Return(_a0 *queryv1.InvokeResponse, _a1 error) *MockQueryBackend_Invoke_Call
 - func (_c *MockQueryBackend_Invoke_Call) Run(run func(ctx context.Context, req *queryv1.InvokeRequest)) *MockQueryBackend_Invoke_Call
 - func (_c *MockQueryBackend_Invoke_Call) RunAndReturn(...) *MockQueryBackend_Invoke_Call
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQueryBackend ¶
MockQueryBackend is an autogenerated mock type for the QueryBackend type
func NewMockQueryBackend ¶
func NewMockQueryBackend(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryBackend
    NewMockQueryBackend creates a new instance of MockQueryBackend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockQueryBackend) EXPECT ¶
func (_m *MockQueryBackend) EXPECT() *MockQueryBackend_Expecter
func (*MockQueryBackend) Invoke ¶
func (_m *MockQueryBackend) Invoke(ctx context.Context, req *queryv1.InvokeRequest) (*queryv1.InvokeResponse, error)
Invoke provides a mock function with given fields: ctx, req
type MockQueryBackend_Expecter ¶
type MockQueryBackend_Expecter struct {
	// contains filtered or unexported fields
}
    func (*MockQueryBackend_Expecter) Invoke ¶
func (_e *MockQueryBackend_Expecter) Invoke(ctx interface{}, req interface{}) *MockQueryBackend_Invoke_Call
Invoke is a helper method to define mock.On call
- ctx context.Context
 - req *queryv1.InvokeRequest
 
type MockQueryBackend_Invoke_Call ¶
MockQueryBackend_Invoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invoke'
func (*MockQueryBackend_Invoke_Call) Return ¶
func (_c *MockQueryBackend_Invoke_Call) Return(_a0 *queryv1.InvokeResponse, _a1 error) *MockQueryBackend_Invoke_Call
func (*MockQueryBackend_Invoke_Call) Run ¶
func (_c *MockQueryBackend_Invoke_Call) Run(run func(ctx context.Context, req *queryv1.InvokeRequest)) *MockQueryBackend_Invoke_Call
func (*MockQueryBackend_Invoke_Call) RunAndReturn ¶
func (_c *MockQueryBackend_Invoke_Call) RunAndReturn(run func(context.Context, *queryv1.InvokeRequest) (*queryv1.InvokeResponse, error)) *MockQueryBackend_Invoke_Call
 Click to show internal directories. 
   Click to hide internal directories.