Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type MockInstance ¶
MockInstance is an autogenerated mock type for the Instance type
func NewMockInstance ¶
func NewMockInstance(t NewMockInstanceT) *MockInstance
NewMockInstance creates a new instance of MockInstance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockInstance) GetName ¶
func (_m *MockInstance) GetName() string
GetName provides a mock function with given fields:
func (*MockInstance) GetQueryResults ¶
func (_m *MockInstance) GetQueryResults(ctx context.Context, query string) ([]map[string]interface{}, []string, error)
GetQueryResults provides a mock function with given fields: ctx, query
type NewMockInstanceT ¶
Click to show internal directories.
Click to hide internal directories.