Documentation ¶
Index ¶
- type MockAlertsInterface
- func (_m *MockAlertsInterface) AlertNameToIdMap(ctx context.Context) (map[string]string, error)
- func (_m *MockAlertsInterface) Create(ctx context.Context, request sql.CreateAlert) (*sql.Alert, error)
- func (_m *MockAlertsInterface) Delete(ctx context.Context, request sql.DeleteAlertRequest) error
- func (_m *MockAlertsInterface) DeleteByAlertId(ctx context.Context, alertId string) error
- func (_m *MockAlertsInterface) EXPECT() *MockAlertsInterface_Expecter
- func (_m *MockAlertsInterface) Get(ctx context.Context, request sql.GetAlertRequest) (*sql.Alert, error)
- func (_m *MockAlertsInterface) GetByAlertId(ctx context.Context, alertId string) (*sql.Alert, error)
- func (_m *MockAlertsInterface) GetByName(ctx context.Context, name string) (*sql.Alert, error)
- func (_m *MockAlertsInterface) Impl() sql.AlertsService
- func (_m *MockAlertsInterface) List(ctx context.Context) ([]sql.Alert, error)
- func (_m *MockAlertsInterface) Update(ctx context.Context, request sql.EditAlert) error
- func (_m *MockAlertsInterface) WithImpl(impl sql.AlertsService) sql.AlertsInterface
- type MockAlertsInterface_AlertNameToIdMap_Call
- func (_c *MockAlertsInterface_AlertNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAlertsInterface_AlertNameToIdMap_Call
- func (_c *MockAlertsInterface_AlertNameToIdMap_Call) Run(run func(ctx context.Context)) *MockAlertsInterface_AlertNameToIdMap_Call
- func (_c *MockAlertsInterface_AlertNameToIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockAlertsInterface_AlertNameToIdMap_Call
- type MockAlertsInterface_Create_Call
- func (_c *MockAlertsInterface_Create_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_Create_Call
- func (_c *MockAlertsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateAlert)) *MockAlertsInterface_Create_Call
- func (_c *MockAlertsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateAlert) (*sql.Alert, error)) *MockAlertsInterface_Create_Call
- type MockAlertsInterface_DeleteByAlertId_Call
- func (_c *MockAlertsInterface_DeleteByAlertId_Call) Return(_a0 error) *MockAlertsInterface_DeleteByAlertId_Call
- func (_c *MockAlertsInterface_DeleteByAlertId_Call) Run(run func(ctx context.Context, alertId string)) *MockAlertsInterface_DeleteByAlertId_Call
- func (_c *MockAlertsInterface_DeleteByAlertId_Call) RunAndReturn(run func(context.Context, string) error) *MockAlertsInterface_DeleteByAlertId_Call
- type MockAlertsInterface_Delete_Call
- func (_c *MockAlertsInterface_Delete_Call) Return(_a0 error) *MockAlertsInterface_Delete_Call
- func (_c *MockAlertsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteAlertRequest)) *MockAlertsInterface_Delete_Call
- func (_c *MockAlertsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteAlertRequest) error) *MockAlertsInterface_Delete_Call
- type MockAlertsInterface_Expecter
- func (_e *MockAlertsInterface_Expecter) AlertNameToIdMap(ctx interface{}) *MockAlertsInterface_AlertNameToIdMap_Call
- func (_e *MockAlertsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAlertsInterface_Create_Call
- func (_e *MockAlertsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAlertsInterface_Delete_Call
- func (_e *MockAlertsInterface_Expecter) DeleteByAlertId(ctx interface{}, alertId interface{}) *MockAlertsInterface_DeleteByAlertId_Call
- func (_e *MockAlertsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAlertsInterface_Get_Call
- func (_e *MockAlertsInterface_Expecter) GetByAlertId(ctx interface{}, alertId interface{}) *MockAlertsInterface_GetByAlertId_Call
- func (_e *MockAlertsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockAlertsInterface_GetByName_Call
- func (_e *MockAlertsInterface_Expecter) Impl() *MockAlertsInterface_Impl_Call
- func (_e *MockAlertsInterface_Expecter) List(ctx interface{}) *MockAlertsInterface_List_Call
- func (_e *MockAlertsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAlertsInterface_Update_Call
- func (_e *MockAlertsInterface_Expecter) WithImpl(impl interface{}) *MockAlertsInterface_WithImpl_Call
- type MockAlertsInterface_GetByAlertId_Call
- func (_c *MockAlertsInterface_GetByAlertId_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_GetByAlertId_Call
- func (_c *MockAlertsInterface_GetByAlertId_Call) Run(run func(ctx context.Context, alertId string)) *MockAlertsInterface_GetByAlertId_Call
- func (_c *MockAlertsInterface_GetByAlertId_Call) RunAndReturn(run func(context.Context, string) (*sql.Alert, error)) *MockAlertsInterface_GetByAlertId_Call
- type MockAlertsInterface_GetByName_Call
- func (_c *MockAlertsInterface_GetByName_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_GetByName_Call
- func (_c *MockAlertsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockAlertsInterface_GetByName_Call
- func (_c *MockAlertsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Alert, error)) *MockAlertsInterface_GetByName_Call
- type MockAlertsInterface_Get_Call
- func (_c *MockAlertsInterface_Get_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_Get_Call
- func (_c *MockAlertsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetAlertRequest)) *MockAlertsInterface_Get_Call
- func (_c *MockAlertsInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetAlertRequest) (*sql.Alert, error)) *MockAlertsInterface_Get_Call
- type MockAlertsInterface_Impl_Call
- func (_c *MockAlertsInterface_Impl_Call) Return(_a0 sql.AlertsService) *MockAlertsInterface_Impl_Call
- func (_c *MockAlertsInterface_Impl_Call) Run(run func()) *MockAlertsInterface_Impl_Call
- func (_c *MockAlertsInterface_Impl_Call) RunAndReturn(run func() sql.AlertsService) *MockAlertsInterface_Impl_Call
- type MockAlertsInterface_List_Call
- func (_c *MockAlertsInterface_List_Call) Return(_a0 []sql.Alert, _a1 error) *MockAlertsInterface_List_Call
- func (_c *MockAlertsInterface_List_Call) Run(run func(ctx context.Context)) *MockAlertsInterface_List_Call
- func (_c *MockAlertsInterface_List_Call) RunAndReturn(run func(context.Context) ([]sql.Alert, error)) *MockAlertsInterface_List_Call
- type MockAlertsInterface_Update_Call
- func (_c *MockAlertsInterface_Update_Call) Return(_a0 error) *MockAlertsInterface_Update_Call
- func (_c *MockAlertsInterface_Update_Call) Run(run func(ctx context.Context, request sql.EditAlert)) *MockAlertsInterface_Update_Call
- func (_c *MockAlertsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.EditAlert) error) *MockAlertsInterface_Update_Call
- type MockAlertsInterface_WithImpl_Call
- func (_c *MockAlertsInterface_WithImpl_Call) Return(_a0 sql.AlertsInterface) *MockAlertsInterface_WithImpl_Call
- func (_c *MockAlertsInterface_WithImpl_Call) Run(run func(impl sql.AlertsService)) *MockAlertsInterface_WithImpl_Call
- func (_c *MockAlertsInterface_WithImpl_Call) RunAndReturn(run func(sql.AlertsService) sql.AlertsInterface) *MockAlertsInterface_WithImpl_Call
- type MockDashboardWidgetsInterface
- func (_m *MockDashboardWidgetsInterface) Create(ctx context.Context, request sql.CreateWidget) (*sql.Widget, error)
- func (_m *MockDashboardWidgetsInterface) Delete(ctx context.Context, request sql.DeleteDashboardWidgetRequest) error
- func (_m *MockDashboardWidgetsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockDashboardWidgetsInterface) EXPECT() *MockDashboardWidgetsInterface_Expecter
- func (_m *MockDashboardWidgetsInterface) Impl() sql.DashboardWidgetsService
- func (_m *MockDashboardWidgetsInterface) Update(ctx context.Context, request sql.CreateWidget) (*sql.Widget, error)
- func (_m *MockDashboardWidgetsInterface) WithImpl(impl sql.DashboardWidgetsService) sql.DashboardWidgetsInterface
- type MockDashboardWidgetsInterface_Create_Call
- func (_c *MockDashboardWidgetsInterface_Create_Call) Return(_a0 *sql.Widget, _a1 error) *MockDashboardWidgetsInterface_Create_Call
- func (_c *MockDashboardWidgetsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateWidget)) *MockDashboardWidgetsInterface_Create_Call
- func (_c *MockDashboardWidgetsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateWidget) (*sql.Widget, error)) *MockDashboardWidgetsInterface_Create_Call
- type MockDashboardWidgetsInterface_DeleteById_Call
- func (_c *MockDashboardWidgetsInterface_DeleteById_Call) Return(_a0 error) *MockDashboardWidgetsInterface_DeleteById_Call
- func (_c *MockDashboardWidgetsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockDashboardWidgetsInterface_DeleteById_Call
- func (_c *MockDashboardWidgetsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockDashboardWidgetsInterface_DeleteById_Call
- type MockDashboardWidgetsInterface_Delete_Call
- func (_c *MockDashboardWidgetsInterface_Delete_Call) Return(_a0 error) *MockDashboardWidgetsInterface_Delete_Call
- func (_c *MockDashboardWidgetsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteDashboardWidgetRequest)) *MockDashboardWidgetsInterface_Delete_Call
- func (_c *MockDashboardWidgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteDashboardWidgetRequest) error) *MockDashboardWidgetsInterface_Delete_Call
- type MockDashboardWidgetsInterface_Expecter
- func (_e *MockDashboardWidgetsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Create_Call
- func (_e *MockDashboardWidgetsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Delete_Call
- func (_e *MockDashboardWidgetsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockDashboardWidgetsInterface_DeleteById_Call
- func (_e *MockDashboardWidgetsInterface_Expecter) Impl() *MockDashboardWidgetsInterface_Impl_Call
- func (_e *MockDashboardWidgetsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Update_Call
- func (_e *MockDashboardWidgetsInterface_Expecter) WithImpl(impl interface{}) *MockDashboardWidgetsInterface_WithImpl_Call
- type MockDashboardWidgetsInterface_Impl_Call
- func (_c *MockDashboardWidgetsInterface_Impl_Call) Return(_a0 sql.DashboardWidgetsService) *MockDashboardWidgetsInterface_Impl_Call
- func (_c *MockDashboardWidgetsInterface_Impl_Call) Run(run func()) *MockDashboardWidgetsInterface_Impl_Call
- func (_c *MockDashboardWidgetsInterface_Impl_Call) RunAndReturn(run func() sql.DashboardWidgetsService) *MockDashboardWidgetsInterface_Impl_Call
- type MockDashboardWidgetsInterface_Update_Call
- func (_c *MockDashboardWidgetsInterface_Update_Call) Return(_a0 *sql.Widget, _a1 error) *MockDashboardWidgetsInterface_Update_Call
- func (_c *MockDashboardWidgetsInterface_Update_Call) Run(run func(ctx context.Context, request sql.CreateWidget)) *MockDashboardWidgetsInterface_Update_Call
- func (_c *MockDashboardWidgetsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.CreateWidget) (*sql.Widget, error)) *MockDashboardWidgetsInterface_Update_Call
- type MockDashboardWidgetsInterface_WithImpl_Call
- func (_c *MockDashboardWidgetsInterface_WithImpl_Call) Return(_a0 sql.DashboardWidgetsInterface) *MockDashboardWidgetsInterface_WithImpl_Call
- func (_c *MockDashboardWidgetsInterface_WithImpl_Call) Run(run func(impl sql.DashboardWidgetsService)) *MockDashboardWidgetsInterface_WithImpl_Call
- func (_c *MockDashboardWidgetsInterface_WithImpl_Call) RunAndReturn(run func(sql.DashboardWidgetsService) sql.DashboardWidgetsInterface) *MockDashboardWidgetsInterface_WithImpl_Call
- type MockDashboardsInterface
- func (_m *MockDashboardsInterface) Create(ctx context.Context, request sql.DashboardPostContent) (*sql.Dashboard, error)
- func (_m *MockDashboardsInterface) DashboardNameToIdMap(ctx context.Context, request sql.ListDashboardsRequest) (map[string]string, error)
- func (_m *MockDashboardsInterface) Delete(ctx context.Context, request sql.DeleteDashboardRequest) error
- func (_m *MockDashboardsInterface) DeleteByDashboardId(ctx context.Context, dashboardId string) error
- func (_m *MockDashboardsInterface) EXPECT() *MockDashboardsInterface_Expecter
- func (_m *MockDashboardsInterface) Get(ctx context.Context, request sql.GetDashboardRequest) (*sql.Dashboard, error)
- func (_m *MockDashboardsInterface) GetByDashboardId(ctx context.Context, dashboardId string) (*sql.Dashboard, error)
- func (_m *MockDashboardsInterface) GetByName(ctx context.Context, name string) (*sql.Dashboard, error)
- func (_m *MockDashboardsInterface) Impl() sql.DashboardsService
- func (_m *MockDashboardsInterface) List(ctx context.Context, request sql.ListDashboardsRequest) listing.Iterator[sql.Dashboard]
- func (_m *MockDashboardsInterface) ListAll(ctx context.Context, request sql.ListDashboardsRequest) ([]sql.Dashboard, error)
- func (_m *MockDashboardsInterface) Restore(ctx context.Context, request sql.RestoreDashboardRequest) error
- func (_m *MockDashboardsInterface) Update(ctx context.Context, request sql.DashboardEditContent) (*sql.Dashboard, error)
- func (_m *MockDashboardsInterface) WithImpl(impl sql.DashboardsService) sql.DashboardsInterface
- type MockDashboardsInterface_Create_Call
- func (_c *MockDashboardsInterface_Create_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Create_Call
- func (_c *MockDashboardsInterface_Create_Call) Run(run func(ctx context.Context, request sql.DashboardPostContent)) *MockDashboardsInterface_Create_Call
- func (_c *MockDashboardsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.DashboardPostContent) (*sql.Dashboard, error)) *MockDashboardsInterface_Create_Call
- type MockDashboardsInterface_DashboardNameToIdMap_Call
- func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockDashboardsInterface_DashboardNameToIdMap_Call
- func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_DashboardNameToIdMap_Call
- func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) RunAndReturn(...) *MockDashboardsInterface_DashboardNameToIdMap_Call
- type MockDashboardsInterface_DeleteByDashboardId_Call
- func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) Return(_a0 error) *MockDashboardsInterface_DeleteByDashboardId_Call
- func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) Run(run func(ctx context.Context, dashboardId string)) *MockDashboardsInterface_DeleteByDashboardId_Call
- func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) RunAndReturn(run func(context.Context, string) error) *MockDashboardsInterface_DeleteByDashboardId_Call
- type MockDashboardsInterface_Delete_Call
- func (_c *MockDashboardsInterface_Delete_Call) Return(_a0 error) *MockDashboardsInterface_Delete_Call
- func (_c *MockDashboardsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteDashboardRequest)) *MockDashboardsInterface_Delete_Call
- func (_c *MockDashboardsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteDashboardRequest) error) *MockDashboardsInterface_Delete_Call
- type MockDashboardsInterface_Expecter
- func (_e *MockDashboardsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockDashboardsInterface_Create_Call
- func (_e *MockDashboardsInterface_Expecter) DashboardNameToIdMap(ctx interface{}, request interface{}) *MockDashboardsInterface_DashboardNameToIdMap_Call
- func (_e *MockDashboardsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockDashboardsInterface_Delete_Call
- func (_e *MockDashboardsInterface_Expecter) DeleteByDashboardId(ctx interface{}, dashboardId interface{}) *MockDashboardsInterface_DeleteByDashboardId_Call
- func (_e *MockDashboardsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockDashboardsInterface_Get_Call
- func (_e *MockDashboardsInterface_Expecter) GetByDashboardId(ctx interface{}, dashboardId interface{}) *MockDashboardsInterface_GetByDashboardId_Call
- func (_e *MockDashboardsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockDashboardsInterface_GetByName_Call
- func (_e *MockDashboardsInterface_Expecter) Impl() *MockDashboardsInterface_Impl_Call
- func (_e *MockDashboardsInterface_Expecter) List(ctx interface{}, request interface{}) *MockDashboardsInterface_List_Call
- func (_e *MockDashboardsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockDashboardsInterface_ListAll_Call
- func (_e *MockDashboardsInterface_Expecter) Restore(ctx interface{}, request interface{}) *MockDashboardsInterface_Restore_Call
- func (_e *MockDashboardsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockDashboardsInterface_Update_Call
- func (_e *MockDashboardsInterface_Expecter) WithImpl(impl interface{}) *MockDashboardsInterface_WithImpl_Call
- type MockDashboardsInterface_GetByDashboardId_Call
- func (_c *MockDashboardsInterface_GetByDashboardId_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_GetByDashboardId_Call
- func (_c *MockDashboardsInterface_GetByDashboardId_Call) Run(run func(ctx context.Context, dashboardId string)) *MockDashboardsInterface_GetByDashboardId_Call
- func (_c *MockDashboardsInterface_GetByDashboardId_Call) RunAndReturn(run func(context.Context, string) (*sql.Dashboard, error)) *MockDashboardsInterface_GetByDashboardId_Call
- type MockDashboardsInterface_GetByName_Call
- func (_c *MockDashboardsInterface_GetByName_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_GetByName_Call
- func (_c *MockDashboardsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockDashboardsInterface_GetByName_Call
- func (_c *MockDashboardsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Dashboard, error)) *MockDashboardsInterface_GetByName_Call
- type MockDashboardsInterface_Get_Call
- func (_c *MockDashboardsInterface_Get_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Get_Call
- func (_c *MockDashboardsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetDashboardRequest)) *MockDashboardsInterface_Get_Call
- func (_c *MockDashboardsInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetDashboardRequest) (*sql.Dashboard, error)) *MockDashboardsInterface_Get_Call
- type MockDashboardsInterface_Impl_Call
- func (_c *MockDashboardsInterface_Impl_Call) Return(_a0 sql.DashboardsService) *MockDashboardsInterface_Impl_Call
- func (_c *MockDashboardsInterface_Impl_Call) Run(run func()) *MockDashboardsInterface_Impl_Call
- func (_c *MockDashboardsInterface_Impl_Call) RunAndReturn(run func() sql.DashboardsService) *MockDashboardsInterface_Impl_Call
- type MockDashboardsInterface_ListAll_Call
- func (_c *MockDashboardsInterface_ListAll_Call) Return(_a0 []sql.Dashboard, _a1 error) *MockDashboardsInterface_ListAll_Call
- func (_c *MockDashboardsInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_ListAll_Call
- func (_c *MockDashboardsInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListDashboardsRequest) ([]sql.Dashboard, error)) *MockDashboardsInterface_ListAll_Call
- type MockDashboardsInterface_List_Call
- func (_c *MockDashboardsInterface_List_Call) Return(_a0 listing.Iterator[sql.Dashboard]) *MockDashboardsInterface_List_Call
- func (_c *MockDashboardsInterface_List_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_List_Call
- func (_c *MockDashboardsInterface_List_Call) RunAndReturn(...) *MockDashboardsInterface_List_Call
- type MockDashboardsInterface_Restore_Call
- func (_c *MockDashboardsInterface_Restore_Call) Return(_a0 error) *MockDashboardsInterface_Restore_Call
- func (_c *MockDashboardsInterface_Restore_Call) Run(run func(ctx context.Context, request sql.RestoreDashboardRequest)) *MockDashboardsInterface_Restore_Call
- func (_c *MockDashboardsInterface_Restore_Call) RunAndReturn(run func(context.Context, sql.RestoreDashboardRequest) error) *MockDashboardsInterface_Restore_Call
- type MockDashboardsInterface_Update_Call
- func (_c *MockDashboardsInterface_Update_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Update_Call
- func (_c *MockDashboardsInterface_Update_Call) Run(run func(ctx context.Context, request sql.DashboardEditContent)) *MockDashboardsInterface_Update_Call
- func (_c *MockDashboardsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.DashboardEditContent) (*sql.Dashboard, error)) *MockDashboardsInterface_Update_Call
- type MockDashboardsInterface_WithImpl_Call
- func (_c *MockDashboardsInterface_WithImpl_Call) Return(_a0 sql.DashboardsInterface) *MockDashboardsInterface_WithImpl_Call
- func (_c *MockDashboardsInterface_WithImpl_Call) Run(run func(impl sql.DashboardsService)) *MockDashboardsInterface_WithImpl_Call
- func (_c *MockDashboardsInterface_WithImpl_Call) RunAndReturn(run func(sql.DashboardsService) sql.DashboardsInterface) *MockDashboardsInterface_WithImpl_Call
- type MockDataSourcesInterface
- func (_m *MockDataSourcesInterface) DataSourceNameToIdMap(ctx context.Context) (map[string]string, error)
- func (_m *MockDataSourcesInterface) EXPECT() *MockDataSourcesInterface_Expecter
- func (_m *MockDataSourcesInterface) GetByName(ctx context.Context, name string) (*sql.DataSource, error)
- func (_m *MockDataSourcesInterface) Impl() sql.DataSourcesService
- func (_m *MockDataSourcesInterface) List(ctx context.Context) ([]sql.DataSource, error)
- func (_m *MockDataSourcesInterface) WithImpl(impl sql.DataSourcesService) sql.DataSourcesInterface
- type MockDataSourcesInterface_DataSourceNameToIdMap_Call
- func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
- func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) Run(run func(ctx context.Context)) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
- func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
- type MockDataSourcesInterface_Expecter
- func (_e *MockDataSourcesInterface_Expecter) DataSourceNameToIdMap(ctx interface{}) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
- func (_e *MockDataSourcesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockDataSourcesInterface_GetByName_Call
- func (_e *MockDataSourcesInterface_Expecter) Impl() *MockDataSourcesInterface_Impl_Call
- func (_e *MockDataSourcesInterface_Expecter) List(ctx interface{}) *MockDataSourcesInterface_List_Call
- func (_e *MockDataSourcesInterface_Expecter) WithImpl(impl interface{}) *MockDataSourcesInterface_WithImpl_Call
- type MockDataSourcesInterface_GetByName_Call
- func (_c *MockDataSourcesInterface_GetByName_Call) Return(_a0 *sql.DataSource, _a1 error) *MockDataSourcesInterface_GetByName_Call
- func (_c *MockDataSourcesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockDataSourcesInterface_GetByName_Call
- func (_c *MockDataSourcesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.DataSource, error)) *MockDataSourcesInterface_GetByName_Call
- type MockDataSourcesInterface_Impl_Call
- func (_c *MockDataSourcesInterface_Impl_Call) Return(_a0 sql.DataSourcesService) *MockDataSourcesInterface_Impl_Call
- func (_c *MockDataSourcesInterface_Impl_Call) Run(run func()) *MockDataSourcesInterface_Impl_Call
- func (_c *MockDataSourcesInterface_Impl_Call) RunAndReturn(run func() sql.DataSourcesService) *MockDataSourcesInterface_Impl_Call
- type MockDataSourcesInterface_List_Call
- func (_c *MockDataSourcesInterface_List_Call) Return(_a0 []sql.DataSource, _a1 error) *MockDataSourcesInterface_List_Call
- func (_c *MockDataSourcesInterface_List_Call) Run(run func(ctx context.Context)) *MockDataSourcesInterface_List_Call
- func (_c *MockDataSourcesInterface_List_Call) RunAndReturn(run func(context.Context) ([]sql.DataSource, error)) *MockDataSourcesInterface_List_Call
- type MockDataSourcesInterface_WithImpl_Call
- func (_c *MockDataSourcesInterface_WithImpl_Call) Return(_a0 sql.DataSourcesInterface) *MockDataSourcesInterface_WithImpl_Call
- func (_c *MockDataSourcesInterface_WithImpl_Call) Run(run func(impl sql.DataSourcesService)) *MockDataSourcesInterface_WithImpl_Call
- func (_c *MockDataSourcesInterface_WithImpl_Call) RunAndReturn(run func(sql.DataSourcesService) sql.DataSourcesInterface) *MockDataSourcesInterface_WithImpl_Call
- type MockDbsqlPermissionsInterface
- func (_m *MockDbsqlPermissionsInterface) EXPECT() *MockDbsqlPermissionsInterface_Expecter
- func (_m *MockDbsqlPermissionsInterface) Get(ctx context.Context, request sql.GetDbsqlPermissionRequest) (*sql.GetResponse, error)
- func (_m *MockDbsqlPermissionsInterface) GetByObjectTypeAndObjectId(ctx context.Context, objectType sql.ObjectTypePlural, objectId string) (*sql.GetResponse, error)
- func (_m *MockDbsqlPermissionsInterface) Impl() sql.DbsqlPermissionsService
- func (_m *MockDbsqlPermissionsInterface) Set(ctx context.Context, request sql.SetRequest) (*sql.SetResponse, error)
- func (_m *MockDbsqlPermissionsInterface) TransferOwnership(ctx context.Context, request sql.TransferOwnershipRequest) (*sql.Success, error)
- func (_m *MockDbsqlPermissionsInterface) WithImpl(impl sql.DbsqlPermissionsService) sql.DbsqlPermissionsInterface
- type MockDbsqlPermissionsInterface_Expecter
- func (_e *MockDbsqlPermissionsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_Get_Call
- func (_e *MockDbsqlPermissionsInterface_Expecter) GetByObjectTypeAndObjectId(ctx interface{}, objectType interface{}, objectId interface{}) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
- func (_e *MockDbsqlPermissionsInterface_Expecter) Impl() *MockDbsqlPermissionsInterface_Impl_Call
- func (_e *MockDbsqlPermissionsInterface_Expecter) Set(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_Set_Call
- func (_e *MockDbsqlPermissionsInterface_Expecter) TransferOwnership(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_TransferOwnership_Call
- func (_e *MockDbsqlPermissionsInterface_Expecter) WithImpl(impl interface{}) *MockDbsqlPermissionsInterface_WithImpl_Call
- type MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
- func (_c *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Return(_a0 *sql.GetResponse, _a1 error) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
- func (_c *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Run(...) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
- func (_c *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) RunAndReturn(...) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
- type MockDbsqlPermissionsInterface_Get_Call
- func (_c *MockDbsqlPermissionsInterface_Get_Call) Return(_a0 *sql.GetResponse, _a1 error) *MockDbsqlPermissionsInterface_Get_Call
- func (_c *MockDbsqlPermissionsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetDbsqlPermissionRequest)) *MockDbsqlPermissionsInterface_Get_Call
- func (_c *MockDbsqlPermissionsInterface_Get_Call) RunAndReturn(...) *MockDbsqlPermissionsInterface_Get_Call
- type MockDbsqlPermissionsInterface_Impl_Call
- func (_c *MockDbsqlPermissionsInterface_Impl_Call) Return(_a0 sql.DbsqlPermissionsService) *MockDbsqlPermissionsInterface_Impl_Call
- func (_c *MockDbsqlPermissionsInterface_Impl_Call) Run(run func()) *MockDbsqlPermissionsInterface_Impl_Call
- func (_c *MockDbsqlPermissionsInterface_Impl_Call) RunAndReturn(run func() sql.DbsqlPermissionsService) *MockDbsqlPermissionsInterface_Impl_Call
- type MockDbsqlPermissionsInterface_Set_Call
- func (_c *MockDbsqlPermissionsInterface_Set_Call) Return(_a0 *sql.SetResponse, _a1 error) *MockDbsqlPermissionsInterface_Set_Call
- func (_c *MockDbsqlPermissionsInterface_Set_Call) Run(run func(ctx context.Context, request sql.SetRequest)) *MockDbsqlPermissionsInterface_Set_Call
- func (_c *MockDbsqlPermissionsInterface_Set_Call) RunAndReturn(run func(context.Context, sql.SetRequest) (*sql.SetResponse, error)) *MockDbsqlPermissionsInterface_Set_Call
- type MockDbsqlPermissionsInterface_TransferOwnership_Call
- func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) Return(_a0 *sql.Success, _a1 error) *MockDbsqlPermissionsInterface_TransferOwnership_Call
- func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) Run(run func(ctx context.Context, request sql.TransferOwnershipRequest)) *MockDbsqlPermissionsInterface_TransferOwnership_Call
- func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) RunAndReturn(run func(context.Context, sql.TransferOwnershipRequest) (*sql.Success, error)) *MockDbsqlPermissionsInterface_TransferOwnership_Call
- type MockDbsqlPermissionsInterface_WithImpl_Call
- func (_c *MockDbsqlPermissionsInterface_WithImpl_Call) Return(_a0 sql.DbsqlPermissionsInterface) *MockDbsqlPermissionsInterface_WithImpl_Call
- func (_c *MockDbsqlPermissionsInterface_WithImpl_Call) Run(run func(impl sql.DbsqlPermissionsService)) *MockDbsqlPermissionsInterface_WithImpl_Call
- func (_c *MockDbsqlPermissionsInterface_WithImpl_Call) RunAndReturn(run func(sql.DbsqlPermissionsService) sql.DbsqlPermissionsInterface) *MockDbsqlPermissionsInterface_WithImpl_Call
- type MockQueriesInterface
- func (_m *MockQueriesInterface) Create(ctx context.Context, request sql.QueryPostContent) (*sql.Query, error)
- func (_m *MockQueriesInterface) Delete(ctx context.Context, request sql.DeleteQueryRequest) error
- func (_m *MockQueriesInterface) DeleteByQueryId(ctx context.Context, queryId string) error
- func (_m *MockQueriesInterface) EXPECT() *MockQueriesInterface_Expecter
- func (_m *MockQueriesInterface) Get(ctx context.Context, request sql.GetQueryRequest) (*sql.Query, error)
- func (_m *MockQueriesInterface) GetByName(ctx context.Context, name string) (*sql.Query, error)
- func (_m *MockQueriesInterface) GetByQueryId(ctx context.Context, queryId string) (*sql.Query, error)
- func (_m *MockQueriesInterface) Impl() sql.QueriesService
- func (_m *MockQueriesInterface) List(ctx context.Context, request sql.ListQueriesRequest) listing.Iterator[sql.Query]
- func (_m *MockQueriesInterface) ListAll(ctx context.Context, request sql.ListQueriesRequest) ([]sql.Query, error)
- func (_m *MockQueriesInterface) QueryNameToIdMap(ctx context.Context, request sql.ListQueriesRequest) (map[string]string, error)
- func (_m *MockQueriesInterface) Restore(ctx context.Context, request sql.RestoreQueryRequest) error
- func (_m *MockQueriesInterface) Update(ctx context.Context, request sql.QueryEditContent) (*sql.Query, error)
- func (_m *MockQueriesInterface) WithImpl(impl sql.QueriesService) sql.QueriesInterface
- type MockQueriesInterface_Create_Call
- func (_c *MockQueriesInterface_Create_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Create_Call
- func (_c *MockQueriesInterface_Create_Call) Run(run func(ctx context.Context, request sql.QueryPostContent)) *MockQueriesInterface_Create_Call
- func (_c *MockQueriesInterface_Create_Call) RunAndReturn(run func(context.Context, sql.QueryPostContent) (*sql.Query, error)) *MockQueriesInterface_Create_Call
- type MockQueriesInterface_DeleteByQueryId_Call
- func (_c *MockQueriesInterface_DeleteByQueryId_Call) Return(_a0 error) *MockQueriesInterface_DeleteByQueryId_Call
- func (_c *MockQueriesInterface_DeleteByQueryId_Call) Run(run func(ctx context.Context, queryId string)) *MockQueriesInterface_DeleteByQueryId_Call
- func (_c *MockQueriesInterface_DeleteByQueryId_Call) RunAndReturn(run func(context.Context, string) error) *MockQueriesInterface_DeleteByQueryId_Call
- type MockQueriesInterface_Delete_Call
- func (_c *MockQueriesInterface_Delete_Call) Return(_a0 error) *MockQueriesInterface_Delete_Call
- func (_c *MockQueriesInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteQueryRequest)) *MockQueriesInterface_Delete_Call
- func (_c *MockQueriesInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteQueryRequest) error) *MockQueriesInterface_Delete_Call
- type MockQueriesInterface_Expecter
- func (_e *MockQueriesInterface_Expecter) Create(ctx interface{}, request interface{}) *MockQueriesInterface_Create_Call
- func (_e *MockQueriesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockQueriesInterface_Delete_Call
- func (_e *MockQueriesInterface_Expecter) DeleteByQueryId(ctx interface{}, queryId interface{}) *MockQueriesInterface_DeleteByQueryId_Call
- func (_e *MockQueriesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockQueriesInterface_Get_Call
- func (_e *MockQueriesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockQueriesInterface_GetByName_Call
- func (_e *MockQueriesInterface_Expecter) GetByQueryId(ctx interface{}, queryId interface{}) *MockQueriesInterface_GetByQueryId_Call
- func (_e *MockQueriesInterface_Expecter) Impl() *MockQueriesInterface_Impl_Call
- func (_e *MockQueriesInterface_Expecter) List(ctx interface{}, request interface{}) *MockQueriesInterface_List_Call
- func (_e *MockQueriesInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockQueriesInterface_ListAll_Call
- func (_e *MockQueriesInterface_Expecter) QueryNameToIdMap(ctx interface{}, request interface{}) *MockQueriesInterface_QueryNameToIdMap_Call
- func (_e *MockQueriesInterface_Expecter) Restore(ctx interface{}, request interface{}) *MockQueriesInterface_Restore_Call
- func (_e *MockQueriesInterface_Expecter) Update(ctx interface{}, request interface{}) *MockQueriesInterface_Update_Call
- func (_e *MockQueriesInterface_Expecter) WithImpl(impl interface{}) *MockQueriesInterface_WithImpl_Call
- type MockQueriesInterface_GetByName_Call
- func (_c *MockQueriesInterface_GetByName_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_GetByName_Call
- func (_c *MockQueriesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockQueriesInterface_GetByName_Call
- func (_c *MockQueriesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Query, error)) *MockQueriesInterface_GetByName_Call
- type MockQueriesInterface_GetByQueryId_Call
- func (_c *MockQueriesInterface_GetByQueryId_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_GetByQueryId_Call
- func (_c *MockQueriesInterface_GetByQueryId_Call) Run(run func(ctx context.Context, queryId string)) *MockQueriesInterface_GetByQueryId_Call
- func (_c *MockQueriesInterface_GetByQueryId_Call) RunAndReturn(run func(context.Context, string) (*sql.Query, error)) *MockQueriesInterface_GetByQueryId_Call
- type MockQueriesInterface_Get_Call
- func (_c *MockQueriesInterface_Get_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Get_Call
- func (_c *MockQueriesInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetQueryRequest)) *MockQueriesInterface_Get_Call
- func (_c *MockQueriesInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetQueryRequest) (*sql.Query, error)) *MockQueriesInterface_Get_Call
- type MockQueriesInterface_Impl_Call
- func (_c *MockQueriesInterface_Impl_Call) Return(_a0 sql.QueriesService) *MockQueriesInterface_Impl_Call
- func (_c *MockQueriesInterface_Impl_Call) Run(run func()) *MockQueriesInterface_Impl_Call
- func (_c *MockQueriesInterface_Impl_Call) RunAndReturn(run func() sql.QueriesService) *MockQueriesInterface_Impl_Call
- type MockQueriesInterface_ListAll_Call
- func (_c *MockQueriesInterface_ListAll_Call) Return(_a0 []sql.Query, _a1 error) *MockQueriesInterface_ListAll_Call
- func (_c *MockQueriesInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_ListAll_Call
- func (_c *MockQueriesInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) ([]sql.Query, error)) *MockQueriesInterface_ListAll_Call
- type MockQueriesInterface_List_Call
- func (_c *MockQueriesInterface_List_Call) Return(_a0 listing.Iterator[sql.Query]) *MockQueriesInterface_List_Call
- func (_c *MockQueriesInterface_List_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_List_Call
- func (_c *MockQueriesInterface_List_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) listing.Iterator[sql.Query]) *MockQueriesInterface_List_Call
- type MockQueriesInterface_QueryNameToIdMap_Call
- func (_c *MockQueriesInterface_QueryNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockQueriesInterface_QueryNameToIdMap_Call
- func (_c *MockQueriesInterface_QueryNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_QueryNameToIdMap_Call
- func (_c *MockQueriesInterface_QueryNameToIdMap_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) (map[string]string, error)) *MockQueriesInterface_QueryNameToIdMap_Call
- type MockQueriesInterface_Restore_Call
- func (_c *MockQueriesInterface_Restore_Call) Return(_a0 error) *MockQueriesInterface_Restore_Call
- func (_c *MockQueriesInterface_Restore_Call) Run(run func(ctx context.Context, request sql.RestoreQueryRequest)) *MockQueriesInterface_Restore_Call
- func (_c *MockQueriesInterface_Restore_Call) RunAndReturn(run func(context.Context, sql.RestoreQueryRequest) error) *MockQueriesInterface_Restore_Call
- type MockQueriesInterface_Update_Call
- func (_c *MockQueriesInterface_Update_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Update_Call
- func (_c *MockQueriesInterface_Update_Call) Run(run func(ctx context.Context, request sql.QueryEditContent)) *MockQueriesInterface_Update_Call
- func (_c *MockQueriesInterface_Update_Call) RunAndReturn(run func(context.Context, sql.QueryEditContent) (*sql.Query, error)) *MockQueriesInterface_Update_Call
- type MockQueriesInterface_WithImpl_Call
- func (_c *MockQueriesInterface_WithImpl_Call) Return(_a0 sql.QueriesInterface) *MockQueriesInterface_WithImpl_Call
- func (_c *MockQueriesInterface_WithImpl_Call) Run(run func(impl sql.QueriesService)) *MockQueriesInterface_WithImpl_Call
- func (_c *MockQueriesInterface_WithImpl_Call) RunAndReturn(run func(sql.QueriesService) sql.QueriesInterface) *MockQueriesInterface_WithImpl_Call
- type MockQueryHistoryInterface
- func (_m *MockQueryHistoryInterface) EXPECT() *MockQueryHistoryInterface_Expecter
- func (_m *MockQueryHistoryInterface) Impl() sql.QueryHistoryService
- func (_m *MockQueryHistoryInterface) List(ctx context.Context, request sql.ListQueryHistoryRequest) listing.Iterator[sql.QueryInfo]
- func (_m *MockQueryHistoryInterface) ListAll(ctx context.Context, request sql.ListQueryHistoryRequest) ([]sql.QueryInfo, error)
- func (_m *MockQueryHistoryInterface) WithImpl(impl sql.QueryHistoryService) sql.QueryHistoryInterface
- type MockQueryHistoryInterface_Expecter
- func (_e *MockQueryHistoryInterface_Expecter) Impl() *MockQueryHistoryInterface_Impl_Call
- func (_e *MockQueryHistoryInterface_Expecter) List(ctx interface{}, request interface{}) *MockQueryHistoryInterface_List_Call
- func (_e *MockQueryHistoryInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockQueryHistoryInterface_ListAll_Call
- func (_e *MockQueryHistoryInterface_Expecter) WithImpl(impl interface{}) *MockQueryHistoryInterface_WithImpl_Call
- type MockQueryHistoryInterface_Impl_Call
- func (_c *MockQueryHistoryInterface_Impl_Call) Return(_a0 sql.QueryHistoryService) *MockQueryHistoryInterface_Impl_Call
- func (_c *MockQueryHistoryInterface_Impl_Call) Run(run func()) *MockQueryHistoryInterface_Impl_Call
- func (_c *MockQueryHistoryInterface_Impl_Call) RunAndReturn(run func() sql.QueryHistoryService) *MockQueryHistoryInterface_Impl_Call
- type MockQueryHistoryInterface_ListAll_Call
- func (_c *MockQueryHistoryInterface_ListAll_Call) Return(_a0 []sql.QueryInfo, _a1 error) *MockQueryHistoryInterface_ListAll_Call
- func (_c *MockQueryHistoryInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListQueryHistoryRequest)) *MockQueryHistoryInterface_ListAll_Call
- func (_c *MockQueryHistoryInterface_ListAll_Call) RunAndReturn(...) *MockQueryHistoryInterface_ListAll_Call
- type MockQueryHistoryInterface_List_Call
- func (_c *MockQueryHistoryInterface_List_Call) Return(_a0 listing.Iterator[sql.QueryInfo]) *MockQueryHistoryInterface_List_Call
- func (_c *MockQueryHistoryInterface_List_Call) Run(run func(ctx context.Context, request sql.ListQueryHistoryRequest)) *MockQueryHistoryInterface_List_Call
- func (_c *MockQueryHistoryInterface_List_Call) RunAndReturn(...) *MockQueryHistoryInterface_List_Call
- type MockQueryHistoryInterface_WithImpl_Call
- func (_c *MockQueryHistoryInterface_WithImpl_Call) Return(_a0 sql.QueryHistoryInterface) *MockQueryHistoryInterface_WithImpl_Call
- func (_c *MockQueryHistoryInterface_WithImpl_Call) Run(run func(impl sql.QueryHistoryService)) *MockQueryHistoryInterface_WithImpl_Call
- func (_c *MockQueryHistoryInterface_WithImpl_Call) RunAndReturn(run func(sql.QueryHistoryService) sql.QueryHistoryInterface) *MockQueryHistoryInterface_WithImpl_Call
- type MockQueryVisualizationsInterface
- func (_m *MockQueryVisualizationsInterface) Create(ctx context.Context, request sql.CreateQueryVisualizationRequest) (*sql.Visualization, error)
- func (_m *MockQueryVisualizationsInterface) Delete(ctx context.Context, request sql.DeleteQueryVisualizationRequest) error
- func (_m *MockQueryVisualizationsInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockQueryVisualizationsInterface) EXPECT() *MockQueryVisualizationsInterface_Expecter
- func (_m *MockQueryVisualizationsInterface) Impl() sql.QueryVisualizationsService
- func (_m *MockQueryVisualizationsInterface) Update(ctx context.Context, request sql.Visualization) (*sql.Visualization, error)
- func (_m *MockQueryVisualizationsInterface) WithImpl(impl sql.QueryVisualizationsService) sql.QueryVisualizationsInterface
- type MockQueryVisualizationsInterface_Create_Call
- func (_c *MockQueryVisualizationsInterface_Create_Call) Return(_a0 *sql.Visualization, _a1 error) *MockQueryVisualizationsInterface_Create_Call
- func (_c *MockQueryVisualizationsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateQueryVisualizationRequest)) *MockQueryVisualizationsInterface_Create_Call
- func (_c *MockQueryVisualizationsInterface_Create_Call) RunAndReturn(...) *MockQueryVisualizationsInterface_Create_Call
- type MockQueryVisualizationsInterface_DeleteById_Call
- func (_c *MockQueryVisualizationsInterface_DeleteById_Call) Return(_a0 error) *MockQueryVisualizationsInterface_DeleteById_Call
- func (_c *MockQueryVisualizationsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockQueryVisualizationsInterface_DeleteById_Call
- func (_c *MockQueryVisualizationsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockQueryVisualizationsInterface_DeleteById_Call
- type MockQueryVisualizationsInterface_Delete_Call
- func (_c *MockQueryVisualizationsInterface_Delete_Call) Return(_a0 error) *MockQueryVisualizationsInterface_Delete_Call
- func (_c *MockQueryVisualizationsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteQueryVisualizationRequest)) *MockQueryVisualizationsInterface_Delete_Call
- func (_c *MockQueryVisualizationsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteQueryVisualizationRequest) error) *MockQueryVisualizationsInterface_Delete_Call
- type MockQueryVisualizationsInterface_Expecter
- func (_e *MockQueryVisualizationsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Create_Call
- func (_e *MockQueryVisualizationsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Delete_Call
- func (_e *MockQueryVisualizationsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockQueryVisualizationsInterface_DeleteById_Call
- func (_e *MockQueryVisualizationsInterface_Expecter) Impl() *MockQueryVisualizationsInterface_Impl_Call
- func (_e *MockQueryVisualizationsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Update_Call
- func (_e *MockQueryVisualizationsInterface_Expecter) WithImpl(impl interface{}) *MockQueryVisualizationsInterface_WithImpl_Call
- type MockQueryVisualizationsInterface_Impl_Call
- func (_c *MockQueryVisualizationsInterface_Impl_Call) Return(_a0 sql.QueryVisualizationsService) *MockQueryVisualizationsInterface_Impl_Call
- func (_c *MockQueryVisualizationsInterface_Impl_Call) Run(run func()) *MockQueryVisualizationsInterface_Impl_Call
- func (_c *MockQueryVisualizationsInterface_Impl_Call) RunAndReturn(run func() sql.QueryVisualizationsService) *MockQueryVisualizationsInterface_Impl_Call
- type MockQueryVisualizationsInterface_Update_Call
- func (_c *MockQueryVisualizationsInterface_Update_Call) Return(_a0 *sql.Visualization, _a1 error) *MockQueryVisualizationsInterface_Update_Call
- func (_c *MockQueryVisualizationsInterface_Update_Call) Run(run func(ctx context.Context, request sql.Visualization)) *MockQueryVisualizationsInterface_Update_Call
- func (_c *MockQueryVisualizationsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.Visualization) (*sql.Visualization, error)) *MockQueryVisualizationsInterface_Update_Call
- type MockQueryVisualizationsInterface_WithImpl_Call
- func (_c *MockQueryVisualizationsInterface_WithImpl_Call) Return(_a0 sql.QueryVisualizationsInterface) *MockQueryVisualizationsInterface_WithImpl_Call
- func (_c *MockQueryVisualizationsInterface_WithImpl_Call) Run(run func(impl sql.QueryVisualizationsService)) *MockQueryVisualizationsInterface_WithImpl_Call
- func (_c *MockQueryVisualizationsInterface_WithImpl_Call) RunAndReturn(run func(sql.QueryVisualizationsService) sql.QueryVisualizationsInterface) *MockQueryVisualizationsInterface_WithImpl_Call
- type MockStatementExecutionInterface
- func (_m *MockStatementExecutionInterface) CancelExecution(ctx context.Context, request sql.CancelExecutionRequest) error
- func (_m *MockStatementExecutionInterface) EXPECT() *MockStatementExecutionInterface_Expecter
- func (_m *MockStatementExecutionInterface) ExecuteAndWait(ctx context.Context, request sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)
- func (_m *MockStatementExecutionInterface) ExecuteStatement(ctx context.Context, request sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)
- func (_m *MockStatementExecutionInterface) GetStatement(ctx context.Context, request sql.GetStatementRequest) (*sql.GetStatementResponse, error)
- func (_m *MockStatementExecutionInterface) GetStatementByStatementId(ctx context.Context, statementId string) (*sql.GetStatementResponse, error)
- func (_m *MockStatementExecutionInterface) GetStatementResultChunkN(ctx context.Context, request sql.GetStatementResultChunkNRequest) (*sql.ResultData, error)
- func (_m *MockStatementExecutionInterface) GetStatementResultChunkNByStatementIdAndChunkIndex(ctx context.Context, statementId string, chunkIndex int) (*sql.ResultData, error)
- func (_m *MockStatementExecutionInterface) Impl() sql.StatementExecutionService
- func (_m *MockStatementExecutionInterface) WithImpl(impl sql.StatementExecutionService) sql.StatementExecutionInterface
- type MockStatementExecutionInterface_CancelExecution_Call
- func (_c *MockStatementExecutionInterface_CancelExecution_Call) Return(_a0 error) *MockStatementExecutionInterface_CancelExecution_Call
- func (_c *MockStatementExecutionInterface_CancelExecution_Call) Run(run func(ctx context.Context, request sql.CancelExecutionRequest)) *MockStatementExecutionInterface_CancelExecution_Call
- func (_c *MockStatementExecutionInterface_CancelExecution_Call) RunAndReturn(run func(context.Context, sql.CancelExecutionRequest) error) *MockStatementExecutionInterface_CancelExecution_Call
- type MockStatementExecutionInterface_ExecuteAndWait_Call
- func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) Return(_a0 *sql.ExecuteStatementResponse, _a1 error) *MockStatementExecutionInterface_ExecuteAndWait_Call
- func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) Run(run func(ctx context.Context, request sql.ExecuteStatementRequest)) *MockStatementExecutionInterface_ExecuteAndWait_Call
- func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) RunAndReturn(...) *MockStatementExecutionInterface_ExecuteAndWait_Call
- type MockStatementExecutionInterface_ExecuteStatement_Call
- func (_c *MockStatementExecutionInterface_ExecuteStatement_Call) Return(_a0 *sql.ExecuteStatementResponse, _a1 error) *MockStatementExecutionInterface_ExecuteStatement_Call
- func (_c *MockStatementExecutionInterface_ExecuteStatement_Call) Run(run func(ctx context.Context, request sql.ExecuteStatementRequest)) *MockStatementExecutionInterface_ExecuteStatement_Call
- func (_c *MockStatementExecutionInterface_ExecuteStatement_Call) RunAndReturn(...) *MockStatementExecutionInterface_ExecuteStatement_Call
- type MockStatementExecutionInterface_Expecter
- func (_e *MockStatementExecutionInterface_Expecter) CancelExecution(ctx interface{}, request interface{}) *MockStatementExecutionInterface_CancelExecution_Call
- func (_e *MockStatementExecutionInterface_Expecter) ExecuteAndWait(ctx interface{}, request interface{}) *MockStatementExecutionInterface_ExecuteAndWait_Call
- func (_e *MockStatementExecutionInterface_Expecter) ExecuteStatement(ctx interface{}, request interface{}) *MockStatementExecutionInterface_ExecuteStatement_Call
- func (_e *MockStatementExecutionInterface_Expecter) GetStatement(ctx interface{}, request interface{}) *MockStatementExecutionInterface_GetStatement_Call
- func (_e *MockStatementExecutionInterface_Expecter) GetStatementByStatementId(ctx interface{}, statementId interface{}) *MockStatementExecutionInterface_GetStatementByStatementId_Call
- func (_e *MockStatementExecutionInterface_Expecter) GetStatementResultChunkN(ctx interface{}, request interface{}) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
- func (_e *MockStatementExecutionInterface_Expecter) GetStatementResultChunkNByStatementIdAndChunkIndex(ctx interface{}, statementId interface{}, chunkIndex interface{}) ...
- func (_e *MockStatementExecutionInterface_Expecter) Impl() *MockStatementExecutionInterface_Impl_Call
- func (_e *MockStatementExecutionInterface_Expecter) WithImpl(impl interface{}) *MockStatementExecutionInterface_WithImpl_Call
- type MockStatementExecutionInterface_GetStatementByStatementId_Call
- func (_c *MockStatementExecutionInterface_GetStatementByStatementId_Call) Return(_a0 *sql.GetStatementResponse, _a1 error) *MockStatementExecutionInterface_GetStatementByStatementId_Call
- func (_c *MockStatementExecutionInterface_GetStatementByStatementId_Call) Run(run func(ctx context.Context, statementId string)) *MockStatementExecutionInterface_GetStatementByStatementId_Call
- func (_c *MockStatementExecutionInterface_GetStatementByStatementId_Call) RunAndReturn(run func(context.Context, string) (*sql.GetStatementResponse, error)) *MockStatementExecutionInterface_GetStatementByStatementId_Call
- type MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Return(_a0 *sql.ResultData, _a1 error) ...
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Run(run func(ctx context.Context, statementId string, chunkIndex int)) ...
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) RunAndReturn(run func(context.Context, string, int) (*sql.ResultData, error)) ...
- type MockStatementExecutionInterface_GetStatementResultChunkN_Call
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkN_Call) Return(_a0 *sql.ResultData, _a1 error) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkN_Call) Run(run func(ctx context.Context, request sql.GetStatementResultChunkNRequest)) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
- func (_c *MockStatementExecutionInterface_GetStatementResultChunkN_Call) RunAndReturn(...) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
- type MockStatementExecutionInterface_GetStatement_Call
- func (_c *MockStatementExecutionInterface_GetStatement_Call) Return(_a0 *sql.GetStatementResponse, _a1 error) *MockStatementExecutionInterface_GetStatement_Call
- func (_c *MockStatementExecutionInterface_GetStatement_Call) Run(run func(ctx context.Context, request sql.GetStatementRequest)) *MockStatementExecutionInterface_GetStatement_Call
- func (_c *MockStatementExecutionInterface_GetStatement_Call) RunAndReturn(...) *MockStatementExecutionInterface_GetStatement_Call
- type MockStatementExecutionInterface_Impl_Call
- func (_c *MockStatementExecutionInterface_Impl_Call) Return(_a0 sql.StatementExecutionService) *MockStatementExecutionInterface_Impl_Call
- func (_c *MockStatementExecutionInterface_Impl_Call) Run(run func()) *MockStatementExecutionInterface_Impl_Call
- func (_c *MockStatementExecutionInterface_Impl_Call) RunAndReturn(run func() sql.StatementExecutionService) *MockStatementExecutionInterface_Impl_Call
- type MockStatementExecutionInterface_WithImpl_Call
- func (_c *MockStatementExecutionInterface_WithImpl_Call) Return(_a0 sql.StatementExecutionInterface) *MockStatementExecutionInterface_WithImpl_Call
- func (_c *MockStatementExecutionInterface_WithImpl_Call) Run(run func(impl sql.StatementExecutionService)) *MockStatementExecutionInterface_WithImpl_Call
- func (_c *MockStatementExecutionInterface_WithImpl_Call) RunAndReturn(run func(sql.StatementExecutionService) sql.StatementExecutionInterface) *MockStatementExecutionInterface_WithImpl_Call
- type MockWarehousesInterface
- func (_m *MockWarehousesInterface) Create(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest) (*sql.WaitGetWarehouseRunning[sql.CreateWarehouseResponse], error)
- func (_m *MockWarehousesInterface) CreateAndWait(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) Delete(ctx context.Context, request sql.DeleteWarehouseRequest) error
- func (_m *MockWarehousesInterface) DeleteById(ctx context.Context, id string) error
- func (_m *MockWarehousesInterface) EXPECT() *MockWarehousesInterface_Expecter
- func (_m *MockWarehousesInterface) Edit(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)
- func (_m *MockWarehousesInterface) EditAndWait(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) EndpointInfoNameToIdMap(ctx context.Context, request sql.ListWarehousesRequest) (map[string]string, error)
- func (_m *MockWarehousesInterface) Get(ctx context.Context, request sql.GetWarehouseRequest) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) GetById(ctx context.Context, id string) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) GetByName(ctx context.Context, name string) (*sql.EndpointInfo, error)
- func (_m *MockWarehousesInterface) GetPermissionLevels(ctx context.Context, request sql.GetWarehousePermissionLevelsRequest) (*sql.GetWarehousePermissionLevelsResponse, error)
- func (_m *MockWarehousesInterface) GetPermissionLevelsByWarehouseId(ctx context.Context, warehouseId string) (*sql.GetWarehousePermissionLevelsResponse, error)
- func (_m *MockWarehousesInterface) GetPermissions(ctx context.Context, request sql.GetWarehousePermissionsRequest) (*sql.WarehousePermissions, error)
- func (_m *MockWarehousesInterface) GetPermissionsByWarehouseId(ctx context.Context, warehouseId string) (*sql.WarehousePermissions, error)
- func (_m *MockWarehousesInterface) GetWorkspaceWarehouseConfig(ctx context.Context) (*sql.GetWorkspaceWarehouseConfigResponse, error)
- func (_m *MockWarehousesInterface) Impl() sql.WarehousesService
- func (_m *MockWarehousesInterface) List(ctx context.Context, request sql.ListWarehousesRequest) listing.Iterator[sql.EndpointInfo]
- func (_m *MockWarehousesInterface) ListAll(ctx context.Context, request sql.ListWarehousesRequest) ([]sql.EndpointInfo, error)
- func (_m *MockWarehousesInterface) SetPermissions(ctx context.Context, request sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)
- func (_m *MockWarehousesInterface) SetWorkspaceWarehouseConfig(ctx context.Context, request sql.SetWorkspaceWarehouseConfigRequest) error
- func (_m *MockWarehousesInterface) Start(ctx context.Context, startRequest sql.StartRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)
- func (_m *MockWarehousesInterface) StartAndWait(ctx context.Context, startRequest sql.StartRequest, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) Stop(ctx context.Context, stopRequest sql.StopRequest) (*sql.WaitGetWarehouseStopped[struct{}], error)
- func (_m *MockWarehousesInterface) StopAndWait(ctx context.Context, stopRequest sql.StopRequest, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) UpdatePermissions(ctx context.Context, request sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)
- func (_m *MockWarehousesInterface) WaitGetWarehouseRunning(ctx context.Context, id string, timeout time.Duration, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) WaitGetWarehouseStopped(ctx context.Context, id string, timeout time.Duration, ...) (*sql.GetWarehouseResponse, error)
- func (_m *MockWarehousesInterface) WithImpl(impl sql.WarehousesService) sql.WarehousesInterface
- type MockWarehousesInterface_CreateAndWait_Call
- func (_c *MockWarehousesInterface_CreateAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_CreateAndWait_Call
- func (_c *MockWarehousesInterface_CreateAndWait_Call) Run(...) *MockWarehousesInterface_CreateAndWait_Call
- func (_c *MockWarehousesInterface_CreateAndWait_Call) RunAndReturn(...) *MockWarehousesInterface_CreateAndWait_Call
- type MockWarehousesInterface_Create_Call
- func (_c *MockWarehousesInterface_Create_Call) Return(_a0 *sql.WaitGetWarehouseRunning[sql.CreateWarehouseResponse], _a1 error) *MockWarehousesInterface_Create_Call
- func (_c *MockWarehousesInterface_Create_Call) Run(...) *MockWarehousesInterface_Create_Call
- func (_c *MockWarehousesInterface_Create_Call) RunAndReturn(...) *MockWarehousesInterface_Create_Call
- type MockWarehousesInterface_DeleteById_Call
- func (_c *MockWarehousesInterface_DeleteById_Call) Return(_a0 error) *MockWarehousesInterface_DeleteById_Call
- func (_c *MockWarehousesInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockWarehousesInterface_DeleteById_Call
- func (_c *MockWarehousesInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockWarehousesInterface_DeleteById_Call
- type MockWarehousesInterface_Delete_Call
- func (_c *MockWarehousesInterface_Delete_Call) Return(_a0 error) *MockWarehousesInterface_Delete_Call
- func (_c *MockWarehousesInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteWarehouseRequest)) *MockWarehousesInterface_Delete_Call
- func (_c *MockWarehousesInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteWarehouseRequest) error) *MockWarehousesInterface_Delete_Call
- type MockWarehousesInterface_EditAndWait_Call
- func (_c *MockWarehousesInterface_EditAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_EditAndWait_Call
- func (_c *MockWarehousesInterface_EditAndWait_Call) Run(...) *MockWarehousesInterface_EditAndWait_Call
- func (_c *MockWarehousesInterface_EditAndWait_Call) RunAndReturn(...) *MockWarehousesInterface_EditAndWait_Call
- type MockWarehousesInterface_Edit_Call
- func (_c *MockWarehousesInterface_Edit_Call) Return(_a0 *sql.WaitGetWarehouseRunning[struct{}], _a1 error) *MockWarehousesInterface_Edit_Call
- func (_c *MockWarehousesInterface_Edit_Call) Run(run func(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest)) *MockWarehousesInterface_Edit_Call
- func (_c *MockWarehousesInterface_Edit_Call) RunAndReturn(...) *MockWarehousesInterface_Edit_Call
- type MockWarehousesInterface_EndpointInfoNameToIdMap_Call
- func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
- func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
- func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) RunAndReturn(...) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
- type MockWarehousesInterface_Expecter
- func (_e *MockWarehousesInterface_Expecter) Create(ctx interface{}, createWarehouseRequest interface{}) *MockWarehousesInterface_Create_Call
- func (_e *MockWarehousesInterface_Expecter) CreateAndWait(ctx interface{}, createWarehouseRequest interface{}, options ...interface{}) *MockWarehousesInterface_CreateAndWait_Call
- func (_e *MockWarehousesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWarehousesInterface_Delete_Call
- func (_e *MockWarehousesInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockWarehousesInterface_DeleteById_Call
- func (_e *MockWarehousesInterface_Expecter) Edit(ctx interface{}, editWarehouseRequest interface{}) *MockWarehousesInterface_Edit_Call
- func (_e *MockWarehousesInterface_Expecter) EditAndWait(ctx interface{}, editWarehouseRequest interface{}, options ...interface{}) *MockWarehousesInterface_EditAndWait_Call
- func (_e *MockWarehousesInterface_Expecter) EndpointInfoNameToIdMap(ctx interface{}, request interface{}) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
- func (_e *MockWarehousesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWarehousesInterface_Get_Call
- func (_e *MockWarehousesInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockWarehousesInterface_GetById_Call
- func (_e *MockWarehousesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockWarehousesInterface_GetByName_Call
- func (_e *MockWarehousesInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockWarehousesInterface_GetPermissionLevels_Call
- func (_e *MockWarehousesInterface_Expecter) GetPermissionLevelsByWarehouseId(ctx interface{}, warehouseId interface{}) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
- func (_e *MockWarehousesInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_GetPermissions_Call
- func (_e *MockWarehousesInterface_Expecter) GetPermissionsByWarehouseId(ctx interface{}, warehouseId interface{}) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
- func (_e *MockWarehousesInterface_Expecter) GetWorkspaceWarehouseConfig(ctx interface{}) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
- func (_e *MockWarehousesInterface_Expecter) Impl() *MockWarehousesInterface_Impl_Call
- func (_e *MockWarehousesInterface_Expecter) List(ctx interface{}, request interface{}) *MockWarehousesInterface_List_Call
- func (_e *MockWarehousesInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockWarehousesInterface_ListAll_Call
- func (_e *MockWarehousesInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_SetPermissions_Call
- func (_e *MockWarehousesInterface_Expecter) SetWorkspaceWarehouseConfig(ctx interface{}, request interface{}) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
- func (_e *MockWarehousesInterface_Expecter) Start(ctx interface{}, startRequest interface{}) *MockWarehousesInterface_Start_Call
- func (_e *MockWarehousesInterface_Expecter) StartAndWait(ctx interface{}, startRequest interface{}, options ...interface{}) *MockWarehousesInterface_StartAndWait_Call
- func (_e *MockWarehousesInterface_Expecter) Stop(ctx interface{}, stopRequest interface{}) *MockWarehousesInterface_Stop_Call
- func (_e *MockWarehousesInterface_Expecter) StopAndWait(ctx interface{}, stopRequest interface{}, options ...interface{}) *MockWarehousesInterface_StopAndWait_Call
- func (_e *MockWarehousesInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_UpdatePermissions_Call
- func (_e *MockWarehousesInterface_Expecter) WaitGetWarehouseRunning(ctx interface{}, id interface{}, timeout interface{}, callback interface{}) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
- func (_e *MockWarehousesInterface_Expecter) WaitGetWarehouseStopped(ctx interface{}, id interface{}, timeout interface{}, callback interface{}) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
- func (_e *MockWarehousesInterface_Expecter) WithImpl(impl interface{}) *MockWarehousesInterface_WithImpl_Call
- type MockWarehousesInterface_GetById_Call
- func (_c *MockWarehousesInterface_GetById_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_GetById_Call
- func (_c *MockWarehousesInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockWarehousesInterface_GetById_Call
- func (_c *MockWarehousesInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_GetById_Call
- type MockWarehousesInterface_GetByName_Call
- func (_c *MockWarehousesInterface_GetByName_Call) Return(_a0 *sql.EndpointInfo, _a1 error) *MockWarehousesInterface_GetByName_Call
- func (_c *MockWarehousesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockWarehousesInterface_GetByName_Call
- func (_c *MockWarehousesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.EndpointInfo, error)) *MockWarehousesInterface_GetByName_Call
- type MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) Return(_a0 *sql.GetWarehousePermissionLevelsResponse, _a1 error) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) Run(run func(ctx context.Context, warehouseId string)) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) RunAndReturn(...) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
- type MockWarehousesInterface_GetPermissionLevels_Call
- func (_c *MockWarehousesInterface_GetPermissionLevels_Call) Return(_a0 *sql.GetWarehousePermissionLevelsResponse, _a1 error) *MockWarehousesInterface_GetPermissionLevels_Call
- func (_c *MockWarehousesInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request sql.GetWarehousePermissionLevelsRequest)) *MockWarehousesInterface_GetPermissionLevels_Call
- func (_c *MockWarehousesInterface_GetPermissionLevels_Call) RunAndReturn(...) *MockWarehousesInterface_GetPermissionLevels_Call
- type MockWarehousesInterface_GetPermissionsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Run(run func(ctx context.Context, warehouseId string)) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
- func (_c *MockWarehousesInterface_GetPermissionsByWarehouseId_Call) RunAndReturn(run func(context.Context, string) (*sql.WarehousePermissions, error)) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
- type MockWarehousesInterface_GetPermissions_Call
- func (_c *MockWarehousesInterface_GetPermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_GetPermissions_Call
- func (_c *MockWarehousesInterface_GetPermissions_Call) Run(run func(ctx context.Context, request sql.GetWarehousePermissionsRequest)) *MockWarehousesInterface_GetPermissions_Call
- func (_c *MockWarehousesInterface_GetPermissions_Call) RunAndReturn(...) *MockWarehousesInterface_GetPermissions_Call
- type MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) Return(_a0 *sql.GetWorkspaceWarehouseConfigResponse, _a1 error) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) Run(run func(ctx context.Context)) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) RunAndReturn(run func(context.Context) (*sql.GetWorkspaceWarehouseConfigResponse, error)) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
- type MockWarehousesInterface_Get_Call
- func (_c *MockWarehousesInterface_Get_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_Get_Call
- func (_c *MockWarehousesInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetWarehouseRequest)) *MockWarehousesInterface_Get_Call
- func (_c *MockWarehousesInterface_Get_Call) RunAndReturn(...) *MockWarehousesInterface_Get_Call
- type MockWarehousesInterface_Impl_Call
- func (_c *MockWarehousesInterface_Impl_Call) Return(_a0 sql.WarehousesService) *MockWarehousesInterface_Impl_Call
- func (_c *MockWarehousesInterface_Impl_Call) Run(run func()) *MockWarehousesInterface_Impl_Call
- func (_c *MockWarehousesInterface_Impl_Call) RunAndReturn(run func() sql.WarehousesService) *MockWarehousesInterface_Impl_Call
- type MockWarehousesInterface_ListAll_Call
- func (_c *MockWarehousesInterface_ListAll_Call) Return(_a0 []sql.EndpointInfo, _a1 error) *MockWarehousesInterface_ListAll_Call
- func (_c *MockWarehousesInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_ListAll_Call
- func (_c *MockWarehousesInterface_ListAll_Call) RunAndReturn(...) *MockWarehousesInterface_ListAll_Call
- type MockWarehousesInterface_List_Call
- func (_c *MockWarehousesInterface_List_Call) Return(_a0 listing.Iterator[sql.EndpointInfo]) *MockWarehousesInterface_List_Call
- func (_c *MockWarehousesInterface_List_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_List_Call
- func (_c *MockWarehousesInterface_List_Call) RunAndReturn(...) *MockWarehousesInterface_List_Call
- type MockWarehousesInterface_SetPermissions_Call
- func (_c *MockWarehousesInterface_SetPermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_SetPermissions_Call
- func (_c *MockWarehousesInterface_SetPermissions_Call) Run(run func(ctx context.Context, request sql.WarehousePermissionsRequest)) *MockWarehousesInterface_SetPermissions_Call
- func (_c *MockWarehousesInterface_SetPermissions_Call) RunAndReturn(...) *MockWarehousesInterface_SetPermissions_Call
- type MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Return(_a0 error) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Run(run func(ctx context.Context, request sql.SetWorkspaceWarehouseConfigRequest)) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
- func (_c *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) RunAndReturn(run func(context.Context, sql.SetWorkspaceWarehouseConfigRequest) error) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
- type MockWarehousesInterface_StartAndWait_Call
- func (_c *MockWarehousesInterface_StartAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_StartAndWait_Call
- func (_c *MockWarehousesInterface_StartAndWait_Call) Run(run func(ctx context.Context, startRequest sql.StartRequest, ...)) *MockWarehousesInterface_StartAndWait_Call
- func (_c *MockWarehousesInterface_StartAndWait_Call) RunAndReturn(...) *MockWarehousesInterface_StartAndWait_Call
- type MockWarehousesInterface_Start_Call
- func (_c *MockWarehousesInterface_Start_Call) Return(_a0 *sql.WaitGetWarehouseRunning[struct{}], _a1 error) *MockWarehousesInterface_Start_Call
- func (_c *MockWarehousesInterface_Start_Call) Run(run func(ctx context.Context, startRequest sql.StartRequest)) *MockWarehousesInterface_Start_Call
- func (_c *MockWarehousesInterface_Start_Call) RunAndReturn(...) *MockWarehousesInterface_Start_Call
- type MockWarehousesInterface_StopAndWait_Call
- func (_c *MockWarehousesInterface_StopAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_StopAndWait_Call
- func (_c *MockWarehousesInterface_StopAndWait_Call) Run(run func(ctx context.Context, stopRequest sql.StopRequest, ...)) *MockWarehousesInterface_StopAndWait_Call
- func (_c *MockWarehousesInterface_StopAndWait_Call) RunAndReturn(...) *MockWarehousesInterface_StopAndWait_Call
- type MockWarehousesInterface_Stop_Call
- func (_c *MockWarehousesInterface_Stop_Call) Return(_a0 *sql.WaitGetWarehouseStopped[struct{}], _a1 error) *MockWarehousesInterface_Stop_Call
- func (_c *MockWarehousesInterface_Stop_Call) Run(run func(ctx context.Context, stopRequest sql.StopRequest)) *MockWarehousesInterface_Stop_Call
- func (_c *MockWarehousesInterface_Stop_Call) RunAndReturn(...) *MockWarehousesInterface_Stop_Call
- type MockWarehousesInterface_UpdatePermissions_Call
- func (_c *MockWarehousesInterface_UpdatePermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_UpdatePermissions_Call
- func (_c *MockWarehousesInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request sql.WarehousePermissionsRequest)) *MockWarehousesInterface_UpdatePermissions_Call
- func (_c *MockWarehousesInterface_UpdatePermissions_Call) RunAndReturn(...) *MockWarehousesInterface_UpdatePermissions_Call
- type MockWarehousesInterface_WaitGetWarehouseRunning_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) Run(run func(ctx context.Context, id string, timeout time.Duration, ...)) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) RunAndReturn(...) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
- type MockWarehousesInterface_WaitGetWarehouseStopped_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) Run(run func(ctx context.Context, id string, timeout time.Duration, ...)) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
- func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) RunAndReturn(...) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
- type MockWarehousesInterface_WithImpl_Call
- func (_c *MockWarehousesInterface_WithImpl_Call) Return(_a0 sql.WarehousesInterface) *MockWarehousesInterface_WithImpl_Call
- func (_c *MockWarehousesInterface_WithImpl_Call) Run(run func(impl sql.WarehousesService)) *MockWarehousesInterface_WithImpl_Call
- func (_c *MockWarehousesInterface_WithImpl_Call) RunAndReturn(run func(sql.WarehousesService) sql.WarehousesInterface) *MockWarehousesInterface_WithImpl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAlertsInterface ¶
MockAlertsInterface is an autogenerated mock type for the AlertsInterface type
func NewMockAlertsInterface ¶
func NewMockAlertsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockAlertsInterface
NewMockAlertsInterface creates a new instance of MockAlertsInterface. 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 (*MockAlertsInterface) AlertNameToIdMap ¶
AlertNameToIdMap provides a mock function with given fields: ctx
func (*MockAlertsInterface) Create ¶
func (_m *MockAlertsInterface) Create(ctx context.Context, request sql.CreateAlert) (*sql.Alert, error)
Create provides a mock function with given fields: ctx, request
func (*MockAlertsInterface) Delete ¶
func (_m *MockAlertsInterface) Delete(ctx context.Context, request sql.DeleteAlertRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockAlertsInterface) DeleteByAlertId ¶
func (_m *MockAlertsInterface) DeleteByAlertId(ctx context.Context, alertId string) error
DeleteByAlertId provides a mock function with given fields: ctx, alertId
func (*MockAlertsInterface) EXPECT ¶
func (_m *MockAlertsInterface) EXPECT() *MockAlertsInterface_Expecter
func (*MockAlertsInterface) Get ¶
func (_m *MockAlertsInterface) Get(ctx context.Context, request sql.GetAlertRequest) (*sql.Alert, error)
Get provides a mock function with given fields: ctx, request
func (*MockAlertsInterface) GetByAlertId ¶
func (_m *MockAlertsInterface) GetByAlertId(ctx context.Context, alertId string) (*sql.Alert, error)
GetByAlertId provides a mock function with given fields: ctx, alertId
func (*MockAlertsInterface) GetByName ¶
GetByName provides a mock function with given fields: ctx, name
func (*MockAlertsInterface) Impl ¶
func (_m *MockAlertsInterface) Impl() sql.AlertsService
Impl provides a mock function with given fields:
func (*MockAlertsInterface) Update ¶
Update provides a mock function with given fields: ctx, request
func (*MockAlertsInterface) WithImpl ¶
func (_m *MockAlertsInterface) WithImpl(impl sql.AlertsService) sql.AlertsInterface
WithImpl provides a mock function with given fields: impl
type MockAlertsInterface_AlertNameToIdMap_Call ¶
MockAlertsInterface_AlertNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlertNameToIdMap'
func (*MockAlertsInterface_AlertNameToIdMap_Call) Return ¶
func (_c *MockAlertsInterface_AlertNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockAlertsInterface_AlertNameToIdMap_Call
func (*MockAlertsInterface_AlertNameToIdMap_Call) Run ¶
func (_c *MockAlertsInterface_AlertNameToIdMap_Call) Run(run func(ctx context.Context)) *MockAlertsInterface_AlertNameToIdMap_Call
func (*MockAlertsInterface_AlertNameToIdMap_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_AlertNameToIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockAlertsInterface_AlertNameToIdMap_Call
type MockAlertsInterface_Create_Call ¶
MockAlertsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockAlertsInterface_Create_Call) Return ¶
func (_c *MockAlertsInterface_Create_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_Create_Call
func (*MockAlertsInterface_Create_Call) Run ¶
func (_c *MockAlertsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateAlert)) *MockAlertsInterface_Create_Call
func (*MockAlertsInterface_Create_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateAlert) (*sql.Alert, error)) *MockAlertsInterface_Create_Call
type MockAlertsInterface_DeleteByAlertId_Call ¶
MockAlertsInterface_DeleteByAlertId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByAlertId'
func (*MockAlertsInterface_DeleteByAlertId_Call) Return ¶
func (_c *MockAlertsInterface_DeleteByAlertId_Call) Return(_a0 error) *MockAlertsInterface_DeleteByAlertId_Call
func (*MockAlertsInterface_DeleteByAlertId_Call) Run ¶
func (_c *MockAlertsInterface_DeleteByAlertId_Call) Run(run func(ctx context.Context, alertId string)) *MockAlertsInterface_DeleteByAlertId_Call
func (*MockAlertsInterface_DeleteByAlertId_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_DeleteByAlertId_Call) RunAndReturn(run func(context.Context, string) error) *MockAlertsInterface_DeleteByAlertId_Call
type MockAlertsInterface_Delete_Call ¶
MockAlertsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockAlertsInterface_Delete_Call) Return ¶
func (_c *MockAlertsInterface_Delete_Call) Return(_a0 error) *MockAlertsInterface_Delete_Call
func (*MockAlertsInterface_Delete_Call) Run ¶
func (_c *MockAlertsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteAlertRequest)) *MockAlertsInterface_Delete_Call
func (*MockAlertsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteAlertRequest) error) *MockAlertsInterface_Delete_Call
type MockAlertsInterface_Expecter ¶
type MockAlertsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAlertsInterface_Expecter) AlertNameToIdMap ¶
func (_e *MockAlertsInterface_Expecter) AlertNameToIdMap(ctx interface{}) *MockAlertsInterface_AlertNameToIdMap_Call
AlertNameToIdMap is a helper method to define mock.On call
- ctx context.Context
func (*MockAlertsInterface_Expecter) Create ¶
func (_e *MockAlertsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAlertsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request sql.CreateAlert
func (*MockAlertsInterface_Expecter) Delete ¶
func (_e *MockAlertsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAlertsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteAlertRequest
func (*MockAlertsInterface_Expecter) DeleteByAlertId ¶
func (_e *MockAlertsInterface_Expecter) DeleteByAlertId(ctx interface{}, alertId interface{}) *MockAlertsInterface_DeleteByAlertId_Call
DeleteByAlertId is a helper method to define mock.On call
- ctx context.Context
- alertId string
func (*MockAlertsInterface_Expecter) Get ¶
func (_e *MockAlertsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAlertsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request sql.GetAlertRequest
func (*MockAlertsInterface_Expecter) GetByAlertId ¶
func (_e *MockAlertsInterface_Expecter) GetByAlertId(ctx interface{}, alertId interface{}) *MockAlertsInterface_GetByAlertId_Call
GetByAlertId is a helper method to define mock.On call
- ctx context.Context
- alertId string
func (*MockAlertsInterface_Expecter) GetByName ¶
func (_e *MockAlertsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockAlertsInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAlertsInterface_Expecter) Impl ¶
func (_e *MockAlertsInterface_Expecter) Impl() *MockAlertsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockAlertsInterface_Expecter) List ¶
func (_e *MockAlertsInterface_Expecter) List(ctx interface{}) *MockAlertsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
func (*MockAlertsInterface_Expecter) Update ¶
func (_e *MockAlertsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAlertsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request sql.EditAlert
func (*MockAlertsInterface_Expecter) WithImpl ¶
func (_e *MockAlertsInterface_Expecter) WithImpl(impl interface{}) *MockAlertsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.AlertsService
type MockAlertsInterface_GetByAlertId_Call ¶
MockAlertsInterface_GetByAlertId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByAlertId'
func (*MockAlertsInterface_GetByAlertId_Call) Return ¶
func (_c *MockAlertsInterface_GetByAlertId_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_GetByAlertId_Call
func (*MockAlertsInterface_GetByAlertId_Call) Run ¶
func (_c *MockAlertsInterface_GetByAlertId_Call) Run(run func(ctx context.Context, alertId string)) *MockAlertsInterface_GetByAlertId_Call
func (*MockAlertsInterface_GetByAlertId_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_GetByAlertId_Call) RunAndReturn(run func(context.Context, string) (*sql.Alert, error)) *MockAlertsInterface_GetByAlertId_Call
type MockAlertsInterface_GetByName_Call ¶
MockAlertsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockAlertsInterface_GetByName_Call) Return ¶
func (_c *MockAlertsInterface_GetByName_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_GetByName_Call
func (*MockAlertsInterface_GetByName_Call) Run ¶
func (_c *MockAlertsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockAlertsInterface_GetByName_Call
func (*MockAlertsInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Alert, error)) *MockAlertsInterface_GetByName_Call
type MockAlertsInterface_Get_Call ¶
MockAlertsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockAlertsInterface_Get_Call) Return ¶
func (_c *MockAlertsInterface_Get_Call) Return(_a0 *sql.Alert, _a1 error) *MockAlertsInterface_Get_Call
func (*MockAlertsInterface_Get_Call) Run ¶
func (_c *MockAlertsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetAlertRequest)) *MockAlertsInterface_Get_Call
func (*MockAlertsInterface_Get_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetAlertRequest) (*sql.Alert, error)) *MockAlertsInterface_Get_Call
type MockAlertsInterface_Impl_Call ¶
MockAlertsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockAlertsInterface_Impl_Call) Return ¶
func (_c *MockAlertsInterface_Impl_Call) Return(_a0 sql.AlertsService) *MockAlertsInterface_Impl_Call
func (*MockAlertsInterface_Impl_Call) Run ¶
func (_c *MockAlertsInterface_Impl_Call) Run(run func()) *MockAlertsInterface_Impl_Call
func (*MockAlertsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_Impl_Call) RunAndReturn(run func() sql.AlertsService) *MockAlertsInterface_Impl_Call
type MockAlertsInterface_List_Call ¶
MockAlertsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockAlertsInterface_List_Call) Return ¶
func (_c *MockAlertsInterface_List_Call) Return(_a0 []sql.Alert, _a1 error) *MockAlertsInterface_List_Call
func (*MockAlertsInterface_List_Call) Run ¶
func (_c *MockAlertsInterface_List_Call) Run(run func(ctx context.Context)) *MockAlertsInterface_List_Call
func (*MockAlertsInterface_List_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_List_Call) RunAndReturn(run func(context.Context) ([]sql.Alert, error)) *MockAlertsInterface_List_Call
type MockAlertsInterface_Update_Call ¶
MockAlertsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockAlertsInterface_Update_Call) Return ¶
func (_c *MockAlertsInterface_Update_Call) Return(_a0 error) *MockAlertsInterface_Update_Call
func (*MockAlertsInterface_Update_Call) Run ¶
func (_c *MockAlertsInterface_Update_Call) Run(run func(ctx context.Context, request sql.EditAlert)) *MockAlertsInterface_Update_Call
func (*MockAlertsInterface_Update_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.EditAlert) error) *MockAlertsInterface_Update_Call
type MockAlertsInterface_WithImpl_Call ¶
MockAlertsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockAlertsInterface_WithImpl_Call) Return ¶
func (_c *MockAlertsInterface_WithImpl_Call) Return(_a0 sql.AlertsInterface) *MockAlertsInterface_WithImpl_Call
func (*MockAlertsInterface_WithImpl_Call) Run ¶
func (_c *MockAlertsInterface_WithImpl_Call) Run(run func(impl sql.AlertsService)) *MockAlertsInterface_WithImpl_Call
func (*MockAlertsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockAlertsInterface_WithImpl_Call) RunAndReturn(run func(sql.AlertsService) sql.AlertsInterface) *MockAlertsInterface_WithImpl_Call
type MockDashboardWidgetsInterface ¶
MockDashboardWidgetsInterface is an autogenerated mock type for the DashboardWidgetsInterface type
func NewMockDashboardWidgetsInterface ¶
func NewMockDashboardWidgetsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockDashboardWidgetsInterface
NewMockDashboardWidgetsInterface creates a new instance of MockDashboardWidgetsInterface. 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 (*MockDashboardWidgetsInterface) Create ¶
func (_m *MockDashboardWidgetsInterface) Create(ctx context.Context, request sql.CreateWidget) (*sql.Widget, error)
Create provides a mock function with given fields: ctx, request
func (*MockDashboardWidgetsInterface) Delete ¶
func (_m *MockDashboardWidgetsInterface) Delete(ctx context.Context, request sql.DeleteDashboardWidgetRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockDashboardWidgetsInterface) DeleteById ¶
func (_m *MockDashboardWidgetsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockDashboardWidgetsInterface) EXPECT ¶
func (_m *MockDashboardWidgetsInterface) EXPECT() *MockDashboardWidgetsInterface_Expecter
func (*MockDashboardWidgetsInterface) Impl ¶
func (_m *MockDashboardWidgetsInterface) Impl() sql.DashboardWidgetsService
Impl provides a mock function with given fields:
func (*MockDashboardWidgetsInterface) Update ¶
func (_m *MockDashboardWidgetsInterface) Update(ctx context.Context, request sql.CreateWidget) (*sql.Widget, error)
Update provides a mock function with given fields: ctx, request
func (*MockDashboardWidgetsInterface) WithImpl ¶
func (_m *MockDashboardWidgetsInterface) WithImpl(impl sql.DashboardWidgetsService) sql.DashboardWidgetsInterface
WithImpl provides a mock function with given fields: impl
type MockDashboardWidgetsInterface_Create_Call ¶
MockDashboardWidgetsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockDashboardWidgetsInterface_Create_Call) Return ¶
func (_c *MockDashboardWidgetsInterface_Create_Call) Return(_a0 *sql.Widget, _a1 error) *MockDashboardWidgetsInterface_Create_Call
func (*MockDashboardWidgetsInterface_Create_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateWidget)) *MockDashboardWidgetsInterface_Create_Call
func (*MockDashboardWidgetsInterface_Create_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateWidget) (*sql.Widget, error)) *MockDashboardWidgetsInterface_Create_Call
type MockDashboardWidgetsInterface_DeleteById_Call ¶
MockDashboardWidgetsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockDashboardWidgetsInterface_DeleteById_Call) Return ¶
func (_c *MockDashboardWidgetsInterface_DeleteById_Call) Return(_a0 error) *MockDashboardWidgetsInterface_DeleteById_Call
func (*MockDashboardWidgetsInterface_DeleteById_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockDashboardWidgetsInterface_DeleteById_Call
func (*MockDashboardWidgetsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockDashboardWidgetsInterface_DeleteById_Call
type MockDashboardWidgetsInterface_Delete_Call ¶
MockDashboardWidgetsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockDashboardWidgetsInterface_Delete_Call) Return ¶
func (_c *MockDashboardWidgetsInterface_Delete_Call) Return(_a0 error) *MockDashboardWidgetsInterface_Delete_Call
func (*MockDashboardWidgetsInterface_Delete_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteDashboardWidgetRequest)) *MockDashboardWidgetsInterface_Delete_Call
func (*MockDashboardWidgetsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteDashboardWidgetRequest) error) *MockDashboardWidgetsInterface_Delete_Call
type MockDashboardWidgetsInterface_Expecter ¶
type MockDashboardWidgetsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDashboardWidgetsInterface_Expecter) Create ¶
func (_e *MockDashboardWidgetsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request sql.CreateWidget
func (*MockDashboardWidgetsInterface_Expecter) Delete ¶
func (_e *MockDashboardWidgetsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteDashboardWidgetRequest
func (*MockDashboardWidgetsInterface_Expecter) DeleteById ¶
func (_e *MockDashboardWidgetsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockDashboardWidgetsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockDashboardWidgetsInterface_Expecter) Impl ¶
func (_e *MockDashboardWidgetsInterface_Expecter) Impl() *MockDashboardWidgetsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockDashboardWidgetsInterface_Expecter) Update ¶
func (_e *MockDashboardWidgetsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockDashboardWidgetsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request sql.CreateWidget
func (*MockDashboardWidgetsInterface_Expecter) WithImpl ¶
func (_e *MockDashboardWidgetsInterface_Expecter) WithImpl(impl interface{}) *MockDashboardWidgetsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.DashboardWidgetsService
type MockDashboardWidgetsInterface_Impl_Call ¶
MockDashboardWidgetsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockDashboardWidgetsInterface_Impl_Call) Return ¶
func (_c *MockDashboardWidgetsInterface_Impl_Call) Return(_a0 sql.DashboardWidgetsService) *MockDashboardWidgetsInterface_Impl_Call
func (*MockDashboardWidgetsInterface_Impl_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_Impl_Call) Run(run func()) *MockDashboardWidgetsInterface_Impl_Call
func (*MockDashboardWidgetsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_Impl_Call) RunAndReturn(run func() sql.DashboardWidgetsService) *MockDashboardWidgetsInterface_Impl_Call
type MockDashboardWidgetsInterface_Update_Call ¶
MockDashboardWidgetsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockDashboardWidgetsInterface_Update_Call) Return ¶
func (_c *MockDashboardWidgetsInterface_Update_Call) Return(_a0 *sql.Widget, _a1 error) *MockDashboardWidgetsInterface_Update_Call
func (*MockDashboardWidgetsInterface_Update_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_Update_Call) Run(run func(ctx context.Context, request sql.CreateWidget)) *MockDashboardWidgetsInterface_Update_Call
func (*MockDashboardWidgetsInterface_Update_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.CreateWidget) (*sql.Widget, error)) *MockDashboardWidgetsInterface_Update_Call
type MockDashboardWidgetsInterface_WithImpl_Call ¶
MockDashboardWidgetsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockDashboardWidgetsInterface_WithImpl_Call) Run ¶
func (_c *MockDashboardWidgetsInterface_WithImpl_Call) Run(run func(impl sql.DashboardWidgetsService)) *MockDashboardWidgetsInterface_WithImpl_Call
func (*MockDashboardWidgetsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockDashboardWidgetsInterface_WithImpl_Call) RunAndReturn(run func(sql.DashboardWidgetsService) sql.DashboardWidgetsInterface) *MockDashboardWidgetsInterface_WithImpl_Call
type MockDashboardsInterface ¶
MockDashboardsInterface is an autogenerated mock type for the DashboardsInterface type
func NewMockDashboardsInterface ¶
func NewMockDashboardsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockDashboardsInterface
NewMockDashboardsInterface creates a new instance of MockDashboardsInterface. 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 (*MockDashboardsInterface) Create ¶
func (_m *MockDashboardsInterface) Create(ctx context.Context, request sql.DashboardPostContent) (*sql.Dashboard, error)
Create provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) DashboardNameToIdMap ¶
func (_m *MockDashboardsInterface) DashboardNameToIdMap(ctx context.Context, request sql.ListDashboardsRequest) (map[string]string, error)
DashboardNameToIdMap provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) Delete ¶
func (_m *MockDashboardsInterface) Delete(ctx context.Context, request sql.DeleteDashboardRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) DeleteByDashboardId ¶
func (_m *MockDashboardsInterface) DeleteByDashboardId(ctx context.Context, dashboardId string) error
DeleteByDashboardId provides a mock function with given fields: ctx, dashboardId
func (*MockDashboardsInterface) EXPECT ¶
func (_m *MockDashboardsInterface) EXPECT() *MockDashboardsInterface_Expecter
func (*MockDashboardsInterface) Get ¶
func (_m *MockDashboardsInterface) Get(ctx context.Context, request sql.GetDashboardRequest) (*sql.Dashboard, error)
Get provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) GetByDashboardId ¶
func (_m *MockDashboardsInterface) GetByDashboardId(ctx context.Context, dashboardId string) (*sql.Dashboard, error)
GetByDashboardId provides a mock function with given fields: ctx, dashboardId
func (*MockDashboardsInterface) GetByName ¶
func (_m *MockDashboardsInterface) GetByName(ctx context.Context, name string) (*sql.Dashboard, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockDashboardsInterface) Impl ¶
func (_m *MockDashboardsInterface) Impl() sql.DashboardsService
Impl provides a mock function with given fields:
func (*MockDashboardsInterface) List ¶
func (_m *MockDashboardsInterface) List(ctx context.Context, request sql.ListDashboardsRequest) listing.Iterator[sql.Dashboard]
List provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) ListAll ¶
func (_m *MockDashboardsInterface) ListAll(ctx context.Context, request sql.ListDashboardsRequest) ([]sql.Dashboard, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) Restore ¶
func (_m *MockDashboardsInterface) Restore(ctx context.Context, request sql.RestoreDashboardRequest) error
Restore provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) Update ¶ added in v0.30.0
func (_m *MockDashboardsInterface) Update(ctx context.Context, request sql.DashboardEditContent) (*sql.Dashboard, error)
Update provides a mock function with given fields: ctx, request
func (*MockDashboardsInterface) WithImpl ¶
func (_m *MockDashboardsInterface) WithImpl(impl sql.DashboardsService) sql.DashboardsInterface
WithImpl provides a mock function with given fields: impl
type MockDashboardsInterface_Create_Call ¶
MockDashboardsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockDashboardsInterface_Create_Call) Return ¶
func (_c *MockDashboardsInterface_Create_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Create_Call
func (*MockDashboardsInterface_Create_Call) Run ¶
func (_c *MockDashboardsInterface_Create_Call) Run(run func(ctx context.Context, request sql.DashboardPostContent)) *MockDashboardsInterface_Create_Call
func (*MockDashboardsInterface_Create_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.DashboardPostContent) (*sql.Dashboard, error)) *MockDashboardsInterface_Create_Call
type MockDashboardsInterface_DashboardNameToIdMap_Call ¶
MockDashboardsInterface_DashboardNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DashboardNameToIdMap'
func (*MockDashboardsInterface_DashboardNameToIdMap_Call) Return ¶
func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockDashboardsInterface_DashboardNameToIdMap_Call
func (*MockDashboardsInterface_DashboardNameToIdMap_Call) Run ¶
func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_DashboardNameToIdMap_Call
func (*MockDashboardsInterface_DashboardNameToIdMap_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_DashboardNameToIdMap_Call) RunAndReturn(run func(context.Context, sql.ListDashboardsRequest) (map[string]string, error)) *MockDashboardsInterface_DashboardNameToIdMap_Call
type MockDashboardsInterface_DeleteByDashboardId_Call ¶
MockDashboardsInterface_DeleteByDashboardId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByDashboardId'
func (*MockDashboardsInterface_DeleteByDashboardId_Call) Return ¶
func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) Return(_a0 error) *MockDashboardsInterface_DeleteByDashboardId_Call
func (*MockDashboardsInterface_DeleteByDashboardId_Call) Run ¶
func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) Run(run func(ctx context.Context, dashboardId string)) *MockDashboardsInterface_DeleteByDashboardId_Call
func (*MockDashboardsInterface_DeleteByDashboardId_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_DeleteByDashboardId_Call) RunAndReturn(run func(context.Context, string) error) *MockDashboardsInterface_DeleteByDashboardId_Call
type MockDashboardsInterface_Delete_Call ¶
MockDashboardsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockDashboardsInterface_Delete_Call) Return ¶
func (_c *MockDashboardsInterface_Delete_Call) Return(_a0 error) *MockDashboardsInterface_Delete_Call
func (*MockDashboardsInterface_Delete_Call) Run ¶
func (_c *MockDashboardsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteDashboardRequest)) *MockDashboardsInterface_Delete_Call
func (*MockDashboardsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteDashboardRequest) error) *MockDashboardsInterface_Delete_Call
type MockDashboardsInterface_Expecter ¶
type MockDashboardsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDashboardsInterface_Expecter) Create ¶
func (_e *MockDashboardsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockDashboardsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request sql.DashboardPostContent
func (*MockDashboardsInterface_Expecter) DashboardNameToIdMap ¶
func (_e *MockDashboardsInterface_Expecter) DashboardNameToIdMap(ctx interface{}, request interface{}) *MockDashboardsInterface_DashboardNameToIdMap_Call
DashboardNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request sql.ListDashboardsRequest
func (*MockDashboardsInterface_Expecter) Delete ¶
func (_e *MockDashboardsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockDashboardsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteDashboardRequest
func (*MockDashboardsInterface_Expecter) DeleteByDashboardId ¶
func (_e *MockDashboardsInterface_Expecter) DeleteByDashboardId(ctx interface{}, dashboardId interface{}) *MockDashboardsInterface_DeleteByDashboardId_Call
DeleteByDashboardId is a helper method to define mock.On call
- ctx context.Context
- dashboardId string
func (*MockDashboardsInterface_Expecter) Get ¶
func (_e *MockDashboardsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockDashboardsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request sql.GetDashboardRequest
func (*MockDashboardsInterface_Expecter) GetByDashboardId ¶
func (_e *MockDashboardsInterface_Expecter) GetByDashboardId(ctx interface{}, dashboardId interface{}) *MockDashboardsInterface_GetByDashboardId_Call
GetByDashboardId is a helper method to define mock.On call
- ctx context.Context
- dashboardId string
func (*MockDashboardsInterface_Expecter) GetByName ¶
func (_e *MockDashboardsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockDashboardsInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockDashboardsInterface_Expecter) Impl ¶
func (_e *MockDashboardsInterface_Expecter) Impl() *MockDashboardsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockDashboardsInterface_Expecter) List ¶
func (_e *MockDashboardsInterface_Expecter) List(ctx interface{}, request interface{}) *MockDashboardsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request sql.ListDashboardsRequest
func (*MockDashboardsInterface_Expecter) ListAll ¶
func (_e *MockDashboardsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockDashboardsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request sql.ListDashboardsRequest
func (*MockDashboardsInterface_Expecter) Restore ¶
func (_e *MockDashboardsInterface_Expecter) Restore(ctx interface{}, request interface{}) *MockDashboardsInterface_Restore_Call
Restore is a helper method to define mock.On call
- ctx context.Context
- request sql.RestoreDashboardRequest
func (*MockDashboardsInterface_Expecter) Update ¶ added in v0.30.0
func (_e *MockDashboardsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockDashboardsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request sql.DashboardEditContent
func (*MockDashboardsInterface_Expecter) WithImpl ¶
func (_e *MockDashboardsInterface_Expecter) WithImpl(impl interface{}) *MockDashboardsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.DashboardsService
type MockDashboardsInterface_GetByDashboardId_Call ¶
MockDashboardsInterface_GetByDashboardId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByDashboardId'
func (*MockDashboardsInterface_GetByDashboardId_Call) Return ¶
func (_c *MockDashboardsInterface_GetByDashboardId_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_GetByDashboardId_Call
func (*MockDashboardsInterface_GetByDashboardId_Call) Run ¶
func (_c *MockDashboardsInterface_GetByDashboardId_Call) Run(run func(ctx context.Context, dashboardId string)) *MockDashboardsInterface_GetByDashboardId_Call
func (*MockDashboardsInterface_GetByDashboardId_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_GetByDashboardId_Call) RunAndReturn(run func(context.Context, string) (*sql.Dashboard, error)) *MockDashboardsInterface_GetByDashboardId_Call
type MockDashboardsInterface_GetByName_Call ¶
MockDashboardsInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockDashboardsInterface_GetByName_Call) Return ¶
func (_c *MockDashboardsInterface_GetByName_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_GetByName_Call
func (*MockDashboardsInterface_GetByName_Call) Run ¶
func (_c *MockDashboardsInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockDashboardsInterface_GetByName_Call
func (*MockDashboardsInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Dashboard, error)) *MockDashboardsInterface_GetByName_Call
type MockDashboardsInterface_Get_Call ¶
MockDashboardsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockDashboardsInterface_Get_Call) Return ¶
func (_c *MockDashboardsInterface_Get_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Get_Call
func (*MockDashboardsInterface_Get_Call) Run ¶
func (_c *MockDashboardsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetDashboardRequest)) *MockDashboardsInterface_Get_Call
func (*MockDashboardsInterface_Get_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetDashboardRequest) (*sql.Dashboard, error)) *MockDashboardsInterface_Get_Call
type MockDashboardsInterface_Impl_Call ¶
MockDashboardsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockDashboardsInterface_Impl_Call) Return ¶
func (_c *MockDashboardsInterface_Impl_Call) Return(_a0 sql.DashboardsService) *MockDashboardsInterface_Impl_Call
func (*MockDashboardsInterface_Impl_Call) Run ¶
func (_c *MockDashboardsInterface_Impl_Call) Run(run func()) *MockDashboardsInterface_Impl_Call
func (*MockDashboardsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_Impl_Call) RunAndReturn(run func() sql.DashboardsService) *MockDashboardsInterface_Impl_Call
type MockDashboardsInterface_ListAll_Call ¶
MockDashboardsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockDashboardsInterface_ListAll_Call) Return ¶
func (_c *MockDashboardsInterface_ListAll_Call) Return(_a0 []sql.Dashboard, _a1 error) *MockDashboardsInterface_ListAll_Call
func (*MockDashboardsInterface_ListAll_Call) Run ¶
func (_c *MockDashboardsInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_ListAll_Call
func (*MockDashboardsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListDashboardsRequest) ([]sql.Dashboard, error)) *MockDashboardsInterface_ListAll_Call
type MockDashboardsInterface_List_Call ¶
MockDashboardsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockDashboardsInterface_List_Call) Return ¶
func (_c *MockDashboardsInterface_List_Call) Return(_a0 listing.Iterator[sql.Dashboard]) *MockDashboardsInterface_List_Call
func (*MockDashboardsInterface_List_Call) Run ¶
func (_c *MockDashboardsInterface_List_Call) Run(run func(ctx context.Context, request sql.ListDashboardsRequest)) *MockDashboardsInterface_List_Call
func (*MockDashboardsInterface_List_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_List_Call) RunAndReturn(run func(context.Context, sql.ListDashboardsRequest) listing.Iterator[sql.Dashboard]) *MockDashboardsInterface_List_Call
type MockDashboardsInterface_Restore_Call ¶
MockDashboardsInterface_Restore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restore'
func (*MockDashboardsInterface_Restore_Call) Return ¶
func (_c *MockDashboardsInterface_Restore_Call) Return(_a0 error) *MockDashboardsInterface_Restore_Call
func (*MockDashboardsInterface_Restore_Call) Run ¶
func (_c *MockDashboardsInterface_Restore_Call) Run(run func(ctx context.Context, request sql.RestoreDashboardRequest)) *MockDashboardsInterface_Restore_Call
func (*MockDashboardsInterface_Restore_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_Restore_Call) RunAndReturn(run func(context.Context, sql.RestoreDashboardRequest) error) *MockDashboardsInterface_Restore_Call
type MockDashboardsInterface_Update_Call ¶ added in v0.30.0
MockDashboardsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockDashboardsInterface_Update_Call) Return ¶ added in v0.30.0
func (_c *MockDashboardsInterface_Update_Call) Return(_a0 *sql.Dashboard, _a1 error) *MockDashboardsInterface_Update_Call
func (*MockDashboardsInterface_Update_Call) Run ¶ added in v0.30.0
func (_c *MockDashboardsInterface_Update_Call) Run(run func(ctx context.Context, request sql.DashboardEditContent)) *MockDashboardsInterface_Update_Call
func (*MockDashboardsInterface_Update_Call) RunAndReturn ¶ added in v0.30.0
func (_c *MockDashboardsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.DashboardEditContent) (*sql.Dashboard, error)) *MockDashboardsInterface_Update_Call
type MockDashboardsInterface_WithImpl_Call ¶
MockDashboardsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockDashboardsInterface_WithImpl_Call) Return ¶
func (_c *MockDashboardsInterface_WithImpl_Call) Return(_a0 sql.DashboardsInterface) *MockDashboardsInterface_WithImpl_Call
func (*MockDashboardsInterface_WithImpl_Call) Run ¶
func (_c *MockDashboardsInterface_WithImpl_Call) Run(run func(impl sql.DashboardsService)) *MockDashboardsInterface_WithImpl_Call
func (*MockDashboardsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockDashboardsInterface_WithImpl_Call) RunAndReturn(run func(sql.DashboardsService) sql.DashboardsInterface) *MockDashboardsInterface_WithImpl_Call
type MockDataSourcesInterface ¶
MockDataSourcesInterface is an autogenerated mock type for the DataSourcesInterface type
func NewMockDataSourcesInterface ¶
func NewMockDataSourcesInterface(t interface { mock.TestingT Cleanup(func()) }) *MockDataSourcesInterface
NewMockDataSourcesInterface creates a new instance of MockDataSourcesInterface. 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 (*MockDataSourcesInterface) DataSourceNameToIdMap ¶
func (_m *MockDataSourcesInterface) DataSourceNameToIdMap(ctx context.Context) (map[string]string, error)
DataSourceNameToIdMap provides a mock function with given fields: ctx
func (*MockDataSourcesInterface) EXPECT ¶
func (_m *MockDataSourcesInterface) EXPECT() *MockDataSourcesInterface_Expecter
func (*MockDataSourcesInterface) GetByName ¶
func (_m *MockDataSourcesInterface) GetByName(ctx context.Context, name string) (*sql.DataSource, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockDataSourcesInterface) Impl ¶
func (_m *MockDataSourcesInterface) Impl() sql.DataSourcesService
Impl provides a mock function with given fields:
func (*MockDataSourcesInterface) List ¶
func (_m *MockDataSourcesInterface) List(ctx context.Context) ([]sql.DataSource, error)
List provides a mock function with given fields: ctx
func (*MockDataSourcesInterface) WithImpl ¶
func (_m *MockDataSourcesInterface) WithImpl(impl sql.DataSourcesService) sql.DataSourcesInterface
WithImpl provides a mock function with given fields: impl
type MockDataSourcesInterface_DataSourceNameToIdMap_Call ¶
MockDataSourcesInterface_DataSourceNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DataSourceNameToIdMap'
func (*MockDataSourcesInterface_DataSourceNameToIdMap_Call) Return ¶
func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
func (*MockDataSourcesInterface_DataSourceNameToIdMap_Call) Run ¶
func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) Run(run func(ctx context.Context)) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
func (*MockDataSourcesInterface_DataSourceNameToIdMap_Call) RunAndReturn ¶
func (_c *MockDataSourcesInterface_DataSourceNameToIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
type MockDataSourcesInterface_Expecter ¶
type MockDataSourcesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDataSourcesInterface_Expecter) DataSourceNameToIdMap ¶
func (_e *MockDataSourcesInterface_Expecter) DataSourceNameToIdMap(ctx interface{}) *MockDataSourcesInterface_DataSourceNameToIdMap_Call
DataSourceNameToIdMap is a helper method to define mock.On call
- ctx context.Context
func (*MockDataSourcesInterface_Expecter) GetByName ¶
func (_e *MockDataSourcesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockDataSourcesInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockDataSourcesInterface_Expecter) Impl ¶
func (_e *MockDataSourcesInterface_Expecter) Impl() *MockDataSourcesInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockDataSourcesInterface_Expecter) List ¶
func (_e *MockDataSourcesInterface_Expecter) List(ctx interface{}) *MockDataSourcesInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
func (*MockDataSourcesInterface_Expecter) WithImpl ¶
func (_e *MockDataSourcesInterface_Expecter) WithImpl(impl interface{}) *MockDataSourcesInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.DataSourcesService
type MockDataSourcesInterface_GetByName_Call ¶
MockDataSourcesInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockDataSourcesInterface_GetByName_Call) Return ¶
func (_c *MockDataSourcesInterface_GetByName_Call) Return(_a0 *sql.DataSource, _a1 error) *MockDataSourcesInterface_GetByName_Call
func (*MockDataSourcesInterface_GetByName_Call) Run ¶
func (_c *MockDataSourcesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockDataSourcesInterface_GetByName_Call
func (*MockDataSourcesInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockDataSourcesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.DataSource, error)) *MockDataSourcesInterface_GetByName_Call
type MockDataSourcesInterface_Impl_Call ¶
MockDataSourcesInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockDataSourcesInterface_Impl_Call) Return ¶
func (_c *MockDataSourcesInterface_Impl_Call) Return(_a0 sql.DataSourcesService) *MockDataSourcesInterface_Impl_Call
func (*MockDataSourcesInterface_Impl_Call) Run ¶
func (_c *MockDataSourcesInterface_Impl_Call) Run(run func()) *MockDataSourcesInterface_Impl_Call
func (*MockDataSourcesInterface_Impl_Call) RunAndReturn ¶
func (_c *MockDataSourcesInterface_Impl_Call) RunAndReturn(run func() sql.DataSourcesService) *MockDataSourcesInterface_Impl_Call
type MockDataSourcesInterface_List_Call ¶
MockDataSourcesInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockDataSourcesInterface_List_Call) Return ¶
func (_c *MockDataSourcesInterface_List_Call) Return(_a0 []sql.DataSource, _a1 error) *MockDataSourcesInterface_List_Call
func (*MockDataSourcesInterface_List_Call) Run ¶
func (_c *MockDataSourcesInterface_List_Call) Run(run func(ctx context.Context)) *MockDataSourcesInterface_List_Call
func (*MockDataSourcesInterface_List_Call) RunAndReturn ¶
func (_c *MockDataSourcesInterface_List_Call) RunAndReturn(run func(context.Context) ([]sql.DataSource, error)) *MockDataSourcesInterface_List_Call
type MockDataSourcesInterface_WithImpl_Call ¶
MockDataSourcesInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockDataSourcesInterface_WithImpl_Call) Return ¶
func (_c *MockDataSourcesInterface_WithImpl_Call) Return(_a0 sql.DataSourcesInterface) *MockDataSourcesInterface_WithImpl_Call
func (*MockDataSourcesInterface_WithImpl_Call) Run ¶
func (_c *MockDataSourcesInterface_WithImpl_Call) Run(run func(impl sql.DataSourcesService)) *MockDataSourcesInterface_WithImpl_Call
func (*MockDataSourcesInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockDataSourcesInterface_WithImpl_Call) RunAndReturn(run func(sql.DataSourcesService) sql.DataSourcesInterface) *MockDataSourcesInterface_WithImpl_Call
type MockDbsqlPermissionsInterface ¶
MockDbsqlPermissionsInterface is an autogenerated mock type for the DbsqlPermissionsInterface type
func NewMockDbsqlPermissionsInterface ¶
func NewMockDbsqlPermissionsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockDbsqlPermissionsInterface
NewMockDbsqlPermissionsInterface creates a new instance of MockDbsqlPermissionsInterface. 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 (*MockDbsqlPermissionsInterface) EXPECT ¶
func (_m *MockDbsqlPermissionsInterface) EXPECT() *MockDbsqlPermissionsInterface_Expecter
func (*MockDbsqlPermissionsInterface) Get ¶
func (_m *MockDbsqlPermissionsInterface) Get(ctx context.Context, request sql.GetDbsqlPermissionRequest) (*sql.GetResponse, error)
Get provides a mock function with given fields: ctx, request
func (*MockDbsqlPermissionsInterface) GetByObjectTypeAndObjectId ¶
func (_m *MockDbsqlPermissionsInterface) GetByObjectTypeAndObjectId(ctx context.Context, objectType sql.ObjectTypePlural, objectId string) (*sql.GetResponse, error)
GetByObjectTypeAndObjectId provides a mock function with given fields: ctx, objectType, objectId
func (*MockDbsqlPermissionsInterface) Impl ¶
func (_m *MockDbsqlPermissionsInterface) Impl() sql.DbsqlPermissionsService
Impl provides a mock function with given fields:
func (*MockDbsqlPermissionsInterface) Set ¶
func (_m *MockDbsqlPermissionsInterface) Set(ctx context.Context, request sql.SetRequest) (*sql.SetResponse, error)
Set provides a mock function with given fields: ctx, request
func (*MockDbsqlPermissionsInterface) TransferOwnership ¶
func (_m *MockDbsqlPermissionsInterface) TransferOwnership(ctx context.Context, request sql.TransferOwnershipRequest) (*sql.Success, error)
TransferOwnership provides a mock function with given fields: ctx, request
func (*MockDbsqlPermissionsInterface) WithImpl ¶
func (_m *MockDbsqlPermissionsInterface) WithImpl(impl sql.DbsqlPermissionsService) sql.DbsqlPermissionsInterface
WithImpl provides a mock function with given fields: impl
type MockDbsqlPermissionsInterface_Expecter ¶
type MockDbsqlPermissionsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDbsqlPermissionsInterface_Expecter) Get ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request sql.GetDbsqlPermissionRequest
func (*MockDbsqlPermissionsInterface_Expecter) GetByObjectTypeAndObjectId ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) GetByObjectTypeAndObjectId(ctx interface{}, objectType interface{}, objectId interface{}) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
GetByObjectTypeAndObjectId is a helper method to define mock.On call
- ctx context.Context
- objectType sql.ObjectTypePlural
- objectId string
func (*MockDbsqlPermissionsInterface_Expecter) Impl ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) Impl() *MockDbsqlPermissionsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockDbsqlPermissionsInterface_Expecter) Set ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) Set(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_Set_Call
Set is a helper method to define mock.On call
- ctx context.Context
- request sql.SetRequest
func (*MockDbsqlPermissionsInterface_Expecter) TransferOwnership ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) TransferOwnership(ctx interface{}, request interface{}) *MockDbsqlPermissionsInterface_TransferOwnership_Call
TransferOwnership is a helper method to define mock.On call
- ctx context.Context
- request sql.TransferOwnershipRequest
func (*MockDbsqlPermissionsInterface_Expecter) WithImpl ¶
func (_e *MockDbsqlPermissionsInterface_Expecter) WithImpl(impl interface{}) *MockDbsqlPermissionsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.DbsqlPermissionsService
type MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call ¶
MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByObjectTypeAndObjectId'
func (*MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Run(run func(ctx context.Context, objectType sql.ObjectTypePlural, objectId string)) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
func (*MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) RunAndReturn(run func(context.Context, sql.ObjectTypePlural, string) (*sql.GetResponse, error)) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call
type MockDbsqlPermissionsInterface_Get_Call ¶
MockDbsqlPermissionsInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockDbsqlPermissionsInterface_Get_Call) Return ¶
func (_c *MockDbsqlPermissionsInterface_Get_Call) Return(_a0 *sql.GetResponse, _a1 error) *MockDbsqlPermissionsInterface_Get_Call
func (*MockDbsqlPermissionsInterface_Get_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetDbsqlPermissionRequest)) *MockDbsqlPermissionsInterface_Get_Call
func (*MockDbsqlPermissionsInterface_Get_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetDbsqlPermissionRequest) (*sql.GetResponse, error)) *MockDbsqlPermissionsInterface_Get_Call
type MockDbsqlPermissionsInterface_Impl_Call ¶
MockDbsqlPermissionsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockDbsqlPermissionsInterface_Impl_Call) Return ¶
func (_c *MockDbsqlPermissionsInterface_Impl_Call) Return(_a0 sql.DbsqlPermissionsService) *MockDbsqlPermissionsInterface_Impl_Call
func (*MockDbsqlPermissionsInterface_Impl_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_Impl_Call) Run(run func()) *MockDbsqlPermissionsInterface_Impl_Call
func (*MockDbsqlPermissionsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_Impl_Call) RunAndReturn(run func() sql.DbsqlPermissionsService) *MockDbsqlPermissionsInterface_Impl_Call
type MockDbsqlPermissionsInterface_Set_Call ¶
MockDbsqlPermissionsInterface_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*MockDbsqlPermissionsInterface_Set_Call) Return ¶
func (_c *MockDbsqlPermissionsInterface_Set_Call) Return(_a0 *sql.SetResponse, _a1 error) *MockDbsqlPermissionsInterface_Set_Call
func (*MockDbsqlPermissionsInterface_Set_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_Set_Call) Run(run func(ctx context.Context, request sql.SetRequest)) *MockDbsqlPermissionsInterface_Set_Call
func (*MockDbsqlPermissionsInterface_Set_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_Set_Call) RunAndReturn(run func(context.Context, sql.SetRequest) (*sql.SetResponse, error)) *MockDbsqlPermissionsInterface_Set_Call
type MockDbsqlPermissionsInterface_TransferOwnership_Call ¶
MockDbsqlPermissionsInterface_TransferOwnership_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferOwnership'
func (*MockDbsqlPermissionsInterface_TransferOwnership_Call) Return ¶
func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) Return(_a0 *sql.Success, _a1 error) *MockDbsqlPermissionsInterface_TransferOwnership_Call
func (*MockDbsqlPermissionsInterface_TransferOwnership_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) Run(run func(ctx context.Context, request sql.TransferOwnershipRequest)) *MockDbsqlPermissionsInterface_TransferOwnership_Call
func (*MockDbsqlPermissionsInterface_TransferOwnership_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_TransferOwnership_Call) RunAndReturn(run func(context.Context, sql.TransferOwnershipRequest) (*sql.Success, error)) *MockDbsqlPermissionsInterface_TransferOwnership_Call
type MockDbsqlPermissionsInterface_WithImpl_Call ¶
MockDbsqlPermissionsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockDbsqlPermissionsInterface_WithImpl_Call) Run ¶
func (_c *MockDbsqlPermissionsInterface_WithImpl_Call) Run(run func(impl sql.DbsqlPermissionsService)) *MockDbsqlPermissionsInterface_WithImpl_Call
func (*MockDbsqlPermissionsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockDbsqlPermissionsInterface_WithImpl_Call) RunAndReturn(run func(sql.DbsqlPermissionsService) sql.DbsqlPermissionsInterface) *MockDbsqlPermissionsInterface_WithImpl_Call
type MockQueriesInterface ¶
MockQueriesInterface is an autogenerated mock type for the QueriesInterface type
func NewMockQueriesInterface ¶
func NewMockQueriesInterface(t interface { mock.TestingT Cleanup(func()) }) *MockQueriesInterface
NewMockQueriesInterface creates a new instance of MockQueriesInterface. 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 (*MockQueriesInterface) Create ¶
func (_m *MockQueriesInterface) Create(ctx context.Context, request sql.QueryPostContent) (*sql.Query, error)
Create provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) Delete ¶
func (_m *MockQueriesInterface) Delete(ctx context.Context, request sql.DeleteQueryRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) DeleteByQueryId ¶
func (_m *MockQueriesInterface) DeleteByQueryId(ctx context.Context, queryId string) error
DeleteByQueryId provides a mock function with given fields: ctx, queryId
func (*MockQueriesInterface) EXPECT ¶
func (_m *MockQueriesInterface) EXPECT() *MockQueriesInterface_Expecter
func (*MockQueriesInterface) Get ¶
func (_m *MockQueriesInterface) Get(ctx context.Context, request sql.GetQueryRequest) (*sql.Query, error)
Get provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) GetByName ¶
GetByName provides a mock function with given fields: ctx, name
func (*MockQueriesInterface) GetByQueryId ¶
func (_m *MockQueriesInterface) GetByQueryId(ctx context.Context, queryId string) (*sql.Query, error)
GetByQueryId provides a mock function with given fields: ctx, queryId
func (*MockQueriesInterface) Impl ¶
func (_m *MockQueriesInterface) Impl() sql.QueriesService
Impl provides a mock function with given fields:
func (*MockQueriesInterface) List ¶
func (_m *MockQueriesInterface) List(ctx context.Context, request sql.ListQueriesRequest) listing.Iterator[sql.Query]
List provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) ListAll ¶
func (_m *MockQueriesInterface) ListAll(ctx context.Context, request sql.ListQueriesRequest) ([]sql.Query, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) QueryNameToIdMap ¶
func (_m *MockQueriesInterface) QueryNameToIdMap(ctx context.Context, request sql.ListQueriesRequest) (map[string]string, error)
QueryNameToIdMap provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) Restore ¶
func (_m *MockQueriesInterface) Restore(ctx context.Context, request sql.RestoreQueryRequest) error
Restore provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) Update ¶
func (_m *MockQueriesInterface) Update(ctx context.Context, request sql.QueryEditContent) (*sql.Query, error)
Update provides a mock function with given fields: ctx, request
func (*MockQueriesInterface) WithImpl ¶
func (_m *MockQueriesInterface) WithImpl(impl sql.QueriesService) sql.QueriesInterface
WithImpl provides a mock function with given fields: impl
type MockQueriesInterface_Create_Call ¶
MockQueriesInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockQueriesInterface_Create_Call) Return ¶
func (_c *MockQueriesInterface_Create_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Create_Call
func (*MockQueriesInterface_Create_Call) Run ¶
func (_c *MockQueriesInterface_Create_Call) Run(run func(ctx context.Context, request sql.QueryPostContent)) *MockQueriesInterface_Create_Call
func (*MockQueriesInterface_Create_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Create_Call) RunAndReturn(run func(context.Context, sql.QueryPostContent) (*sql.Query, error)) *MockQueriesInterface_Create_Call
type MockQueriesInterface_DeleteByQueryId_Call ¶
MockQueriesInterface_DeleteByQueryId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByQueryId'
func (*MockQueriesInterface_DeleteByQueryId_Call) Return ¶
func (_c *MockQueriesInterface_DeleteByQueryId_Call) Return(_a0 error) *MockQueriesInterface_DeleteByQueryId_Call
func (*MockQueriesInterface_DeleteByQueryId_Call) Run ¶
func (_c *MockQueriesInterface_DeleteByQueryId_Call) Run(run func(ctx context.Context, queryId string)) *MockQueriesInterface_DeleteByQueryId_Call
func (*MockQueriesInterface_DeleteByQueryId_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_DeleteByQueryId_Call) RunAndReturn(run func(context.Context, string) error) *MockQueriesInterface_DeleteByQueryId_Call
type MockQueriesInterface_Delete_Call ¶
MockQueriesInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockQueriesInterface_Delete_Call) Return ¶
func (_c *MockQueriesInterface_Delete_Call) Return(_a0 error) *MockQueriesInterface_Delete_Call
func (*MockQueriesInterface_Delete_Call) Run ¶
func (_c *MockQueriesInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteQueryRequest)) *MockQueriesInterface_Delete_Call
func (*MockQueriesInterface_Delete_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteQueryRequest) error) *MockQueriesInterface_Delete_Call
type MockQueriesInterface_Expecter ¶
type MockQueriesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockQueriesInterface_Expecter) Create ¶
func (_e *MockQueriesInterface_Expecter) Create(ctx interface{}, request interface{}) *MockQueriesInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request sql.QueryPostContent
func (*MockQueriesInterface_Expecter) Delete ¶
func (_e *MockQueriesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockQueriesInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteQueryRequest
func (*MockQueriesInterface_Expecter) DeleteByQueryId ¶
func (_e *MockQueriesInterface_Expecter) DeleteByQueryId(ctx interface{}, queryId interface{}) *MockQueriesInterface_DeleteByQueryId_Call
DeleteByQueryId is a helper method to define mock.On call
- ctx context.Context
- queryId string
func (*MockQueriesInterface_Expecter) Get ¶
func (_e *MockQueriesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockQueriesInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request sql.GetQueryRequest
func (*MockQueriesInterface_Expecter) GetByName ¶
func (_e *MockQueriesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockQueriesInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockQueriesInterface_Expecter) GetByQueryId ¶
func (_e *MockQueriesInterface_Expecter) GetByQueryId(ctx interface{}, queryId interface{}) *MockQueriesInterface_GetByQueryId_Call
GetByQueryId is a helper method to define mock.On call
- ctx context.Context
- queryId string
func (*MockQueriesInterface_Expecter) Impl ¶
func (_e *MockQueriesInterface_Expecter) Impl() *MockQueriesInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockQueriesInterface_Expecter) List ¶
func (_e *MockQueriesInterface_Expecter) List(ctx interface{}, request interface{}) *MockQueriesInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request sql.ListQueriesRequest
func (*MockQueriesInterface_Expecter) ListAll ¶
func (_e *MockQueriesInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockQueriesInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request sql.ListQueriesRequest
func (*MockQueriesInterface_Expecter) QueryNameToIdMap ¶
func (_e *MockQueriesInterface_Expecter) QueryNameToIdMap(ctx interface{}, request interface{}) *MockQueriesInterface_QueryNameToIdMap_Call
QueryNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request sql.ListQueriesRequest
func (*MockQueriesInterface_Expecter) Restore ¶
func (_e *MockQueriesInterface_Expecter) Restore(ctx interface{}, request interface{}) *MockQueriesInterface_Restore_Call
Restore is a helper method to define mock.On call
- ctx context.Context
- request sql.RestoreQueryRequest
func (*MockQueriesInterface_Expecter) Update ¶
func (_e *MockQueriesInterface_Expecter) Update(ctx interface{}, request interface{}) *MockQueriesInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request sql.QueryEditContent
func (*MockQueriesInterface_Expecter) WithImpl ¶
func (_e *MockQueriesInterface_Expecter) WithImpl(impl interface{}) *MockQueriesInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.QueriesService
type MockQueriesInterface_GetByName_Call ¶
MockQueriesInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockQueriesInterface_GetByName_Call) Return ¶
func (_c *MockQueriesInterface_GetByName_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_GetByName_Call
func (*MockQueriesInterface_GetByName_Call) Run ¶
func (_c *MockQueriesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockQueriesInterface_GetByName_Call
func (*MockQueriesInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.Query, error)) *MockQueriesInterface_GetByName_Call
type MockQueriesInterface_GetByQueryId_Call ¶
MockQueriesInterface_GetByQueryId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByQueryId'
func (*MockQueriesInterface_GetByQueryId_Call) Return ¶
func (_c *MockQueriesInterface_GetByQueryId_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_GetByQueryId_Call
func (*MockQueriesInterface_GetByQueryId_Call) Run ¶
func (_c *MockQueriesInterface_GetByQueryId_Call) Run(run func(ctx context.Context, queryId string)) *MockQueriesInterface_GetByQueryId_Call
func (*MockQueriesInterface_GetByQueryId_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_GetByQueryId_Call) RunAndReturn(run func(context.Context, string) (*sql.Query, error)) *MockQueriesInterface_GetByQueryId_Call
type MockQueriesInterface_Get_Call ¶
MockQueriesInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockQueriesInterface_Get_Call) Return ¶
func (_c *MockQueriesInterface_Get_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Get_Call
func (*MockQueriesInterface_Get_Call) Run ¶
func (_c *MockQueriesInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetQueryRequest)) *MockQueriesInterface_Get_Call
func (*MockQueriesInterface_Get_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetQueryRequest) (*sql.Query, error)) *MockQueriesInterface_Get_Call
type MockQueriesInterface_Impl_Call ¶
MockQueriesInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockQueriesInterface_Impl_Call) Return ¶
func (_c *MockQueriesInterface_Impl_Call) Return(_a0 sql.QueriesService) *MockQueriesInterface_Impl_Call
func (*MockQueriesInterface_Impl_Call) Run ¶
func (_c *MockQueriesInterface_Impl_Call) Run(run func()) *MockQueriesInterface_Impl_Call
func (*MockQueriesInterface_Impl_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Impl_Call) RunAndReturn(run func() sql.QueriesService) *MockQueriesInterface_Impl_Call
type MockQueriesInterface_ListAll_Call ¶
MockQueriesInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockQueriesInterface_ListAll_Call) Return ¶
func (_c *MockQueriesInterface_ListAll_Call) Return(_a0 []sql.Query, _a1 error) *MockQueriesInterface_ListAll_Call
func (*MockQueriesInterface_ListAll_Call) Run ¶
func (_c *MockQueriesInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_ListAll_Call
func (*MockQueriesInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) ([]sql.Query, error)) *MockQueriesInterface_ListAll_Call
type MockQueriesInterface_List_Call ¶
MockQueriesInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockQueriesInterface_List_Call) Return ¶
func (_c *MockQueriesInterface_List_Call) Return(_a0 listing.Iterator[sql.Query]) *MockQueriesInterface_List_Call
func (*MockQueriesInterface_List_Call) Run ¶
func (_c *MockQueriesInterface_List_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_List_Call
func (*MockQueriesInterface_List_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_List_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) listing.Iterator[sql.Query]) *MockQueriesInterface_List_Call
type MockQueriesInterface_QueryNameToIdMap_Call ¶
MockQueriesInterface_QueryNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryNameToIdMap'
func (*MockQueriesInterface_QueryNameToIdMap_Call) Return ¶
func (_c *MockQueriesInterface_QueryNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockQueriesInterface_QueryNameToIdMap_Call
func (*MockQueriesInterface_QueryNameToIdMap_Call) Run ¶
func (_c *MockQueriesInterface_QueryNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListQueriesRequest)) *MockQueriesInterface_QueryNameToIdMap_Call
func (*MockQueriesInterface_QueryNameToIdMap_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_QueryNameToIdMap_Call) RunAndReturn(run func(context.Context, sql.ListQueriesRequest) (map[string]string, error)) *MockQueriesInterface_QueryNameToIdMap_Call
type MockQueriesInterface_Restore_Call ¶
MockQueriesInterface_Restore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restore'
func (*MockQueriesInterface_Restore_Call) Return ¶
func (_c *MockQueriesInterface_Restore_Call) Return(_a0 error) *MockQueriesInterface_Restore_Call
func (*MockQueriesInterface_Restore_Call) Run ¶
func (_c *MockQueriesInterface_Restore_Call) Run(run func(ctx context.Context, request sql.RestoreQueryRequest)) *MockQueriesInterface_Restore_Call
func (*MockQueriesInterface_Restore_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Restore_Call) RunAndReturn(run func(context.Context, sql.RestoreQueryRequest) error) *MockQueriesInterface_Restore_Call
type MockQueriesInterface_Update_Call ¶
MockQueriesInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockQueriesInterface_Update_Call) Return ¶
func (_c *MockQueriesInterface_Update_Call) Return(_a0 *sql.Query, _a1 error) *MockQueriesInterface_Update_Call
func (*MockQueriesInterface_Update_Call) Run ¶
func (_c *MockQueriesInterface_Update_Call) Run(run func(ctx context.Context, request sql.QueryEditContent)) *MockQueriesInterface_Update_Call
func (*MockQueriesInterface_Update_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_Update_Call) RunAndReturn(run func(context.Context, sql.QueryEditContent) (*sql.Query, error)) *MockQueriesInterface_Update_Call
type MockQueriesInterface_WithImpl_Call ¶
MockQueriesInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockQueriesInterface_WithImpl_Call) Return ¶
func (_c *MockQueriesInterface_WithImpl_Call) Return(_a0 sql.QueriesInterface) *MockQueriesInterface_WithImpl_Call
func (*MockQueriesInterface_WithImpl_Call) Run ¶
func (_c *MockQueriesInterface_WithImpl_Call) Run(run func(impl sql.QueriesService)) *MockQueriesInterface_WithImpl_Call
func (*MockQueriesInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockQueriesInterface_WithImpl_Call) RunAndReturn(run func(sql.QueriesService) sql.QueriesInterface) *MockQueriesInterface_WithImpl_Call
type MockQueryHistoryInterface ¶
MockQueryHistoryInterface is an autogenerated mock type for the QueryHistoryInterface type
func NewMockQueryHistoryInterface ¶
func NewMockQueryHistoryInterface(t interface { mock.TestingT Cleanup(func()) }) *MockQueryHistoryInterface
NewMockQueryHistoryInterface creates a new instance of MockQueryHistoryInterface. 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 (*MockQueryHistoryInterface) EXPECT ¶
func (_m *MockQueryHistoryInterface) EXPECT() *MockQueryHistoryInterface_Expecter
func (*MockQueryHistoryInterface) Impl ¶
func (_m *MockQueryHistoryInterface) Impl() sql.QueryHistoryService
Impl provides a mock function with given fields:
func (*MockQueryHistoryInterface) List ¶
func (_m *MockQueryHistoryInterface) List(ctx context.Context, request sql.ListQueryHistoryRequest) listing.Iterator[sql.QueryInfo]
List provides a mock function with given fields: ctx, request
func (*MockQueryHistoryInterface) ListAll ¶
func (_m *MockQueryHistoryInterface) ListAll(ctx context.Context, request sql.ListQueryHistoryRequest) ([]sql.QueryInfo, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockQueryHistoryInterface) WithImpl ¶
func (_m *MockQueryHistoryInterface) WithImpl(impl sql.QueryHistoryService) sql.QueryHistoryInterface
WithImpl provides a mock function with given fields: impl
type MockQueryHistoryInterface_Expecter ¶
type MockQueryHistoryInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockQueryHistoryInterface_Expecter) Impl ¶
func (_e *MockQueryHistoryInterface_Expecter) Impl() *MockQueryHistoryInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockQueryHistoryInterface_Expecter) List ¶
func (_e *MockQueryHistoryInterface_Expecter) List(ctx interface{}, request interface{}) *MockQueryHistoryInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request sql.ListQueryHistoryRequest
func (*MockQueryHistoryInterface_Expecter) ListAll ¶
func (_e *MockQueryHistoryInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockQueryHistoryInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request sql.ListQueryHistoryRequest
func (*MockQueryHistoryInterface_Expecter) WithImpl ¶
func (_e *MockQueryHistoryInterface_Expecter) WithImpl(impl interface{}) *MockQueryHistoryInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.QueryHistoryService
type MockQueryHistoryInterface_Impl_Call ¶
MockQueryHistoryInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockQueryHistoryInterface_Impl_Call) Return ¶
func (_c *MockQueryHistoryInterface_Impl_Call) Return(_a0 sql.QueryHistoryService) *MockQueryHistoryInterface_Impl_Call
func (*MockQueryHistoryInterface_Impl_Call) Run ¶
func (_c *MockQueryHistoryInterface_Impl_Call) Run(run func()) *MockQueryHistoryInterface_Impl_Call
func (*MockQueryHistoryInterface_Impl_Call) RunAndReturn ¶
func (_c *MockQueryHistoryInterface_Impl_Call) RunAndReturn(run func() sql.QueryHistoryService) *MockQueryHistoryInterface_Impl_Call
type MockQueryHistoryInterface_ListAll_Call ¶
MockQueryHistoryInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockQueryHistoryInterface_ListAll_Call) Return ¶
func (_c *MockQueryHistoryInterface_ListAll_Call) Return(_a0 []sql.QueryInfo, _a1 error) *MockQueryHistoryInterface_ListAll_Call
func (*MockQueryHistoryInterface_ListAll_Call) Run ¶
func (_c *MockQueryHistoryInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListQueryHistoryRequest)) *MockQueryHistoryInterface_ListAll_Call
func (*MockQueryHistoryInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockQueryHistoryInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListQueryHistoryRequest) ([]sql.QueryInfo, error)) *MockQueryHistoryInterface_ListAll_Call
type MockQueryHistoryInterface_List_Call ¶
MockQueryHistoryInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockQueryHistoryInterface_List_Call) Return ¶
func (_c *MockQueryHistoryInterface_List_Call) Return(_a0 listing.Iterator[sql.QueryInfo]) *MockQueryHistoryInterface_List_Call
func (*MockQueryHistoryInterface_List_Call) Run ¶
func (_c *MockQueryHistoryInterface_List_Call) Run(run func(ctx context.Context, request sql.ListQueryHistoryRequest)) *MockQueryHistoryInterface_List_Call
func (*MockQueryHistoryInterface_List_Call) RunAndReturn ¶
func (_c *MockQueryHistoryInterface_List_Call) RunAndReturn(run func(context.Context, sql.ListQueryHistoryRequest) listing.Iterator[sql.QueryInfo]) *MockQueryHistoryInterface_List_Call
type MockQueryHistoryInterface_WithImpl_Call ¶
MockQueryHistoryInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockQueryHistoryInterface_WithImpl_Call) Return ¶
func (_c *MockQueryHistoryInterface_WithImpl_Call) Return(_a0 sql.QueryHistoryInterface) *MockQueryHistoryInterface_WithImpl_Call
func (*MockQueryHistoryInterface_WithImpl_Call) Run ¶
func (_c *MockQueryHistoryInterface_WithImpl_Call) Run(run func(impl sql.QueryHistoryService)) *MockQueryHistoryInterface_WithImpl_Call
func (*MockQueryHistoryInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockQueryHistoryInterface_WithImpl_Call) RunAndReturn(run func(sql.QueryHistoryService) sql.QueryHistoryInterface) *MockQueryHistoryInterface_WithImpl_Call
type MockQueryVisualizationsInterface ¶
MockQueryVisualizationsInterface is an autogenerated mock type for the QueryVisualizationsInterface type
func NewMockQueryVisualizationsInterface ¶
func NewMockQueryVisualizationsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockQueryVisualizationsInterface
NewMockQueryVisualizationsInterface creates a new instance of MockQueryVisualizationsInterface. 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 (*MockQueryVisualizationsInterface) Create ¶
func (_m *MockQueryVisualizationsInterface) Create(ctx context.Context, request sql.CreateQueryVisualizationRequest) (*sql.Visualization, error)
Create provides a mock function with given fields: ctx, request
func (*MockQueryVisualizationsInterface) Delete ¶
func (_m *MockQueryVisualizationsInterface) Delete(ctx context.Context, request sql.DeleteQueryVisualizationRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockQueryVisualizationsInterface) DeleteById ¶
func (_m *MockQueryVisualizationsInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockQueryVisualizationsInterface) EXPECT ¶
func (_m *MockQueryVisualizationsInterface) EXPECT() *MockQueryVisualizationsInterface_Expecter
func (*MockQueryVisualizationsInterface) Impl ¶
func (_m *MockQueryVisualizationsInterface) Impl() sql.QueryVisualizationsService
Impl provides a mock function with given fields:
func (*MockQueryVisualizationsInterface) Update ¶
func (_m *MockQueryVisualizationsInterface) Update(ctx context.Context, request sql.Visualization) (*sql.Visualization, error)
Update provides a mock function with given fields: ctx, request
func (*MockQueryVisualizationsInterface) WithImpl ¶
func (_m *MockQueryVisualizationsInterface) WithImpl(impl sql.QueryVisualizationsService) sql.QueryVisualizationsInterface
WithImpl provides a mock function with given fields: impl
type MockQueryVisualizationsInterface_Create_Call ¶
MockQueryVisualizationsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockQueryVisualizationsInterface_Create_Call) Return ¶
func (_c *MockQueryVisualizationsInterface_Create_Call) Return(_a0 *sql.Visualization, _a1 error) *MockQueryVisualizationsInterface_Create_Call
func (*MockQueryVisualizationsInterface_Create_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_Create_Call) Run(run func(ctx context.Context, request sql.CreateQueryVisualizationRequest)) *MockQueryVisualizationsInterface_Create_Call
func (*MockQueryVisualizationsInterface_Create_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateQueryVisualizationRequest) (*sql.Visualization, error)) *MockQueryVisualizationsInterface_Create_Call
type MockQueryVisualizationsInterface_DeleteById_Call ¶
MockQueryVisualizationsInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockQueryVisualizationsInterface_DeleteById_Call) Return ¶
func (_c *MockQueryVisualizationsInterface_DeleteById_Call) Return(_a0 error) *MockQueryVisualizationsInterface_DeleteById_Call
func (*MockQueryVisualizationsInterface_DeleteById_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockQueryVisualizationsInterface_DeleteById_Call
func (*MockQueryVisualizationsInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockQueryVisualizationsInterface_DeleteById_Call
type MockQueryVisualizationsInterface_Delete_Call ¶
MockQueryVisualizationsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockQueryVisualizationsInterface_Delete_Call) Return ¶
func (_c *MockQueryVisualizationsInterface_Delete_Call) Return(_a0 error) *MockQueryVisualizationsInterface_Delete_Call
func (*MockQueryVisualizationsInterface_Delete_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteQueryVisualizationRequest)) *MockQueryVisualizationsInterface_Delete_Call
func (*MockQueryVisualizationsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteQueryVisualizationRequest) error) *MockQueryVisualizationsInterface_Delete_Call
type MockQueryVisualizationsInterface_Expecter ¶
type MockQueryVisualizationsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockQueryVisualizationsInterface_Expecter) Create ¶
func (_e *MockQueryVisualizationsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request sql.CreateQueryVisualizationRequest
func (*MockQueryVisualizationsInterface_Expecter) Delete ¶
func (_e *MockQueryVisualizationsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteQueryVisualizationRequest
func (*MockQueryVisualizationsInterface_Expecter) DeleteById ¶
func (_e *MockQueryVisualizationsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockQueryVisualizationsInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockQueryVisualizationsInterface_Expecter) Impl ¶
func (_e *MockQueryVisualizationsInterface_Expecter) Impl() *MockQueryVisualizationsInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockQueryVisualizationsInterface_Expecter) Update ¶
func (_e *MockQueryVisualizationsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockQueryVisualizationsInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request sql.Visualization
func (*MockQueryVisualizationsInterface_Expecter) WithImpl ¶
func (_e *MockQueryVisualizationsInterface_Expecter) WithImpl(impl interface{}) *MockQueryVisualizationsInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.QueryVisualizationsService
type MockQueryVisualizationsInterface_Impl_Call ¶
MockQueryVisualizationsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockQueryVisualizationsInterface_Impl_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_Impl_Call) Run(run func()) *MockQueryVisualizationsInterface_Impl_Call
func (*MockQueryVisualizationsInterface_Impl_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_Impl_Call) RunAndReturn(run func() sql.QueryVisualizationsService) *MockQueryVisualizationsInterface_Impl_Call
type MockQueryVisualizationsInterface_Update_Call ¶
MockQueryVisualizationsInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockQueryVisualizationsInterface_Update_Call) Return ¶
func (_c *MockQueryVisualizationsInterface_Update_Call) Return(_a0 *sql.Visualization, _a1 error) *MockQueryVisualizationsInterface_Update_Call
func (*MockQueryVisualizationsInterface_Update_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_Update_Call) Run(run func(ctx context.Context, request sql.Visualization)) *MockQueryVisualizationsInterface_Update_Call
func (*MockQueryVisualizationsInterface_Update_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_Update_Call) RunAndReturn(run func(context.Context, sql.Visualization) (*sql.Visualization, error)) *MockQueryVisualizationsInterface_Update_Call
type MockQueryVisualizationsInterface_WithImpl_Call ¶
MockQueryVisualizationsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockQueryVisualizationsInterface_WithImpl_Call) Run ¶
func (_c *MockQueryVisualizationsInterface_WithImpl_Call) Run(run func(impl sql.QueryVisualizationsService)) *MockQueryVisualizationsInterface_WithImpl_Call
func (*MockQueryVisualizationsInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockQueryVisualizationsInterface_WithImpl_Call) RunAndReturn(run func(sql.QueryVisualizationsService) sql.QueryVisualizationsInterface) *MockQueryVisualizationsInterface_WithImpl_Call
type MockStatementExecutionInterface ¶
MockStatementExecutionInterface is an autogenerated mock type for the StatementExecutionInterface type
func NewMockStatementExecutionInterface ¶
func NewMockStatementExecutionInterface(t interface { mock.TestingT Cleanup(func()) }) *MockStatementExecutionInterface
NewMockStatementExecutionInterface creates a new instance of MockStatementExecutionInterface. 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 (*MockStatementExecutionInterface) CancelExecution ¶
func (_m *MockStatementExecutionInterface) CancelExecution(ctx context.Context, request sql.CancelExecutionRequest) error
CancelExecution provides a mock function with given fields: ctx, request
func (*MockStatementExecutionInterface) EXPECT ¶
func (_m *MockStatementExecutionInterface) EXPECT() *MockStatementExecutionInterface_Expecter
func (*MockStatementExecutionInterface) ExecuteAndWait ¶
func (_m *MockStatementExecutionInterface) ExecuteAndWait(ctx context.Context, request sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)
ExecuteAndWait provides a mock function with given fields: ctx, request
func (*MockStatementExecutionInterface) ExecuteStatement ¶
func (_m *MockStatementExecutionInterface) ExecuteStatement(ctx context.Context, request sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)
ExecuteStatement provides a mock function with given fields: ctx, request
func (*MockStatementExecutionInterface) GetStatement ¶
func (_m *MockStatementExecutionInterface) GetStatement(ctx context.Context, request sql.GetStatementRequest) (*sql.GetStatementResponse, error)
GetStatement provides a mock function with given fields: ctx, request
func (*MockStatementExecutionInterface) GetStatementByStatementId ¶
func (_m *MockStatementExecutionInterface) GetStatementByStatementId(ctx context.Context, statementId string) (*sql.GetStatementResponse, error)
GetStatementByStatementId provides a mock function with given fields: ctx, statementId
func (*MockStatementExecutionInterface) GetStatementResultChunkN ¶
func (_m *MockStatementExecutionInterface) GetStatementResultChunkN(ctx context.Context, request sql.GetStatementResultChunkNRequest) (*sql.ResultData, error)
GetStatementResultChunkN provides a mock function with given fields: ctx, request
func (*MockStatementExecutionInterface) GetStatementResultChunkNByStatementIdAndChunkIndex ¶
func (_m *MockStatementExecutionInterface) GetStatementResultChunkNByStatementIdAndChunkIndex(ctx context.Context, statementId string, chunkIndex int) (*sql.ResultData, error)
GetStatementResultChunkNByStatementIdAndChunkIndex provides a mock function with given fields: ctx, statementId, chunkIndex
func (*MockStatementExecutionInterface) Impl ¶
func (_m *MockStatementExecutionInterface) Impl() sql.StatementExecutionService
Impl provides a mock function with given fields:
func (*MockStatementExecutionInterface) WithImpl ¶
func (_m *MockStatementExecutionInterface) WithImpl(impl sql.StatementExecutionService) sql.StatementExecutionInterface
WithImpl provides a mock function with given fields: impl
type MockStatementExecutionInterface_CancelExecution_Call ¶
MockStatementExecutionInterface_CancelExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelExecution'
func (*MockStatementExecutionInterface_CancelExecution_Call) Run ¶
func (_c *MockStatementExecutionInterface_CancelExecution_Call) Run(run func(ctx context.Context, request sql.CancelExecutionRequest)) *MockStatementExecutionInterface_CancelExecution_Call
func (*MockStatementExecutionInterface_CancelExecution_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_CancelExecution_Call) RunAndReturn(run func(context.Context, sql.CancelExecutionRequest) error) *MockStatementExecutionInterface_CancelExecution_Call
type MockStatementExecutionInterface_ExecuteAndWait_Call ¶
MockStatementExecutionInterface_ExecuteAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteAndWait'
func (*MockStatementExecutionInterface_ExecuteAndWait_Call) Return ¶
func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) Return(_a0 *sql.ExecuteStatementResponse, _a1 error) *MockStatementExecutionInterface_ExecuteAndWait_Call
func (*MockStatementExecutionInterface_ExecuteAndWait_Call) Run ¶
func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) Run(run func(ctx context.Context, request sql.ExecuteStatementRequest)) *MockStatementExecutionInterface_ExecuteAndWait_Call
func (*MockStatementExecutionInterface_ExecuteAndWait_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_ExecuteAndWait_Call) RunAndReturn(run func(context.Context, sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)) *MockStatementExecutionInterface_ExecuteAndWait_Call
type MockStatementExecutionInterface_ExecuteStatement_Call ¶
MockStatementExecutionInterface_ExecuteStatement_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteStatement'
func (*MockStatementExecutionInterface_ExecuteStatement_Call) Run ¶
func (_c *MockStatementExecutionInterface_ExecuteStatement_Call) Run(run func(ctx context.Context, request sql.ExecuteStatementRequest)) *MockStatementExecutionInterface_ExecuteStatement_Call
func (*MockStatementExecutionInterface_ExecuteStatement_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_ExecuteStatement_Call) RunAndReturn(run func(context.Context, sql.ExecuteStatementRequest) (*sql.ExecuteStatementResponse, error)) *MockStatementExecutionInterface_ExecuteStatement_Call
type MockStatementExecutionInterface_Expecter ¶
type MockStatementExecutionInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStatementExecutionInterface_Expecter) CancelExecution ¶
func (_e *MockStatementExecutionInterface_Expecter) CancelExecution(ctx interface{}, request interface{}) *MockStatementExecutionInterface_CancelExecution_Call
CancelExecution is a helper method to define mock.On call
- ctx context.Context
- request sql.CancelExecutionRequest
func (*MockStatementExecutionInterface_Expecter) ExecuteAndWait ¶
func (_e *MockStatementExecutionInterface_Expecter) ExecuteAndWait(ctx interface{}, request interface{}) *MockStatementExecutionInterface_ExecuteAndWait_Call
ExecuteAndWait is a helper method to define mock.On call
- ctx context.Context
- request sql.ExecuteStatementRequest
func (*MockStatementExecutionInterface_Expecter) ExecuteStatement ¶
func (_e *MockStatementExecutionInterface_Expecter) ExecuteStatement(ctx interface{}, request interface{}) *MockStatementExecutionInterface_ExecuteStatement_Call
ExecuteStatement is a helper method to define mock.On call
- ctx context.Context
- request sql.ExecuteStatementRequest
func (*MockStatementExecutionInterface_Expecter) GetStatement ¶
func (_e *MockStatementExecutionInterface_Expecter) GetStatement(ctx interface{}, request interface{}) *MockStatementExecutionInterface_GetStatement_Call
GetStatement is a helper method to define mock.On call
- ctx context.Context
- request sql.GetStatementRequest
func (*MockStatementExecutionInterface_Expecter) GetStatementByStatementId ¶
func (_e *MockStatementExecutionInterface_Expecter) GetStatementByStatementId(ctx interface{}, statementId interface{}) *MockStatementExecutionInterface_GetStatementByStatementId_Call
GetStatementByStatementId is a helper method to define mock.On call
- ctx context.Context
- statementId string
func (*MockStatementExecutionInterface_Expecter) GetStatementResultChunkN ¶
func (_e *MockStatementExecutionInterface_Expecter) GetStatementResultChunkN(ctx interface{}, request interface{}) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
GetStatementResultChunkN is a helper method to define mock.On call
- ctx context.Context
- request sql.GetStatementResultChunkNRequest
func (*MockStatementExecutionInterface_Expecter) GetStatementResultChunkNByStatementIdAndChunkIndex ¶
func (_e *MockStatementExecutionInterface_Expecter) GetStatementResultChunkNByStatementIdAndChunkIndex(ctx interface{}, statementId interface{}, chunkIndex interface{}) *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call
GetStatementResultChunkNByStatementIdAndChunkIndex is a helper method to define mock.On call
- ctx context.Context
- statementId string
- chunkIndex int
func (*MockStatementExecutionInterface_Expecter) Impl ¶
func (_e *MockStatementExecutionInterface_Expecter) Impl() *MockStatementExecutionInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockStatementExecutionInterface_Expecter) WithImpl ¶
func (_e *MockStatementExecutionInterface_Expecter) WithImpl(impl interface{}) *MockStatementExecutionInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.StatementExecutionService
type MockStatementExecutionInterface_GetStatementByStatementId_Call ¶
MockStatementExecutionInterface_GetStatementByStatementId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatementByStatementId'
func (*MockStatementExecutionInterface_GetStatementByStatementId_Call) Run ¶
func (_c *MockStatementExecutionInterface_GetStatementByStatementId_Call) Run(run func(ctx context.Context, statementId string)) *MockStatementExecutionInterface_GetStatementByStatementId_Call
func (*MockStatementExecutionInterface_GetStatementByStatementId_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_GetStatementByStatementId_Call) RunAndReturn(run func(context.Context, string) (*sql.GetStatementResponse, error)) *MockStatementExecutionInterface_GetStatementByStatementId_Call
type MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call ¶
type MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call struct {
*mock.Call
}
MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatementResultChunkNByStatementIdAndChunkIndex'
func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Return ¶
func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Run ¶
func (_c *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Run(run func(ctx context.Context, statementId string, chunkIndex int)) *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call
func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) RunAndReturn ¶
type MockStatementExecutionInterface_GetStatementResultChunkN_Call ¶
MockStatementExecutionInterface_GetStatementResultChunkN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatementResultChunkN'
func (*MockStatementExecutionInterface_GetStatementResultChunkN_Call) Run ¶
func (_c *MockStatementExecutionInterface_GetStatementResultChunkN_Call) Run(run func(ctx context.Context, request sql.GetStatementResultChunkNRequest)) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
func (*MockStatementExecutionInterface_GetStatementResultChunkN_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_GetStatementResultChunkN_Call) RunAndReturn(run func(context.Context, sql.GetStatementResultChunkNRequest) (*sql.ResultData, error)) *MockStatementExecutionInterface_GetStatementResultChunkN_Call
type MockStatementExecutionInterface_GetStatement_Call ¶
MockStatementExecutionInterface_GetStatement_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatement'
func (*MockStatementExecutionInterface_GetStatement_Call) Return ¶
func (_c *MockStatementExecutionInterface_GetStatement_Call) Return(_a0 *sql.GetStatementResponse, _a1 error) *MockStatementExecutionInterface_GetStatement_Call
func (*MockStatementExecutionInterface_GetStatement_Call) Run ¶
func (_c *MockStatementExecutionInterface_GetStatement_Call) Run(run func(ctx context.Context, request sql.GetStatementRequest)) *MockStatementExecutionInterface_GetStatement_Call
func (*MockStatementExecutionInterface_GetStatement_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_GetStatement_Call) RunAndReturn(run func(context.Context, sql.GetStatementRequest) (*sql.GetStatementResponse, error)) *MockStatementExecutionInterface_GetStatement_Call
type MockStatementExecutionInterface_Impl_Call ¶
MockStatementExecutionInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockStatementExecutionInterface_Impl_Call) Run ¶
func (_c *MockStatementExecutionInterface_Impl_Call) Run(run func()) *MockStatementExecutionInterface_Impl_Call
func (*MockStatementExecutionInterface_Impl_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_Impl_Call) RunAndReturn(run func() sql.StatementExecutionService) *MockStatementExecutionInterface_Impl_Call
type MockStatementExecutionInterface_WithImpl_Call ¶
MockStatementExecutionInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockStatementExecutionInterface_WithImpl_Call) Run ¶
func (_c *MockStatementExecutionInterface_WithImpl_Call) Run(run func(impl sql.StatementExecutionService)) *MockStatementExecutionInterface_WithImpl_Call
func (*MockStatementExecutionInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockStatementExecutionInterface_WithImpl_Call) RunAndReturn(run func(sql.StatementExecutionService) sql.StatementExecutionInterface) *MockStatementExecutionInterface_WithImpl_Call
type MockWarehousesInterface ¶
MockWarehousesInterface is an autogenerated mock type for the WarehousesInterface type
func NewMockWarehousesInterface ¶
func NewMockWarehousesInterface(t interface { mock.TestingT Cleanup(func()) }) *MockWarehousesInterface
NewMockWarehousesInterface creates a new instance of MockWarehousesInterface. 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 (*MockWarehousesInterface) Create ¶
func (_m *MockWarehousesInterface) Create(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest) (*sql.WaitGetWarehouseRunning[sql.CreateWarehouseResponse], error)
Create provides a mock function with given fields: ctx, createWarehouseRequest
func (*MockWarehousesInterface) CreateAndWait ¶
func (_m *MockWarehousesInterface) CreateAndWait(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)
CreateAndWait provides a mock function with given fields: ctx, createWarehouseRequest, options
func (*MockWarehousesInterface) Delete ¶
func (_m *MockWarehousesInterface) Delete(ctx context.Context, request sql.DeleteWarehouseRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) DeleteById ¶
func (_m *MockWarehousesInterface) DeleteById(ctx context.Context, id string) error
DeleteById provides a mock function with given fields: ctx, id
func (*MockWarehousesInterface) EXPECT ¶
func (_m *MockWarehousesInterface) EXPECT() *MockWarehousesInterface_Expecter
func (*MockWarehousesInterface) Edit ¶
func (_m *MockWarehousesInterface) Edit(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)
Edit provides a mock function with given fields: ctx, editWarehouseRequest
func (*MockWarehousesInterface) EditAndWait ¶
func (_m *MockWarehousesInterface) EditAndWait(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)
EditAndWait provides a mock function with given fields: ctx, editWarehouseRequest, options
func (*MockWarehousesInterface) EndpointInfoNameToIdMap ¶
func (_m *MockWarehousesInterface) EndpointInfoNameToIdMap(ctx context.Context, request sql.ListWarehousesRequest) (map[string]string, error)
EndpointInfoNameToIdMap provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) Get ¶
func (_m *MockWarehousesInterface) Get(ctx context.Context, request sql.GetWarehouseRequest) (*sql.GetWarehouseResponse, error)
Get provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) GetById ¶
func (_m *MockWarehousesInterface) GetById(ctx context.Context, id string) (*sql.GetWarehouseResponse, error)
GetById provides a mock function with given fields: ctx, id
func (*MockWarehousesInterface) GetByName ¶
func (_m *MockWarehousesInterface) GetByName(ctx context.Context, name string) (*sql.EndpointInfo, error)
GetByName provides a mock function with given fields: ctx, name
func (*MockWarehousesInterface) GetPermissionLevels ¶
func (_m *MockWarehousesInterface) GetPermissionLevels(ctx context.Context, request sql.GetWarehousePermissionLevelsRequest) (*sql.GetWarehousePermissionLevelsResponse, error)
GetPermissionLevels provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) GetPermissionLevelsByWarehouseId ¶
func (_m *MockWarehousesInterface) GetPermissionLevelsByWarehouseId(ctx context.Context, warehouseId string) (*sql.GetWarehousePermissionLevelsResponse, error)
GetPermissionLevelsByWarehouseId provides a mock function with given fields: ctx, warehouseId
func (*MockWarehousesInterface) GetPermissions ¶
func (_m *MockWarehousesInterface) GetPermissions(ctx context.Context, request sql.GetWarehousePermissionsRequest) (*sql.WarehousePermissions, error)
GetPermissions provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) GetPermissionsByWarehouseId ¶
func (_m *MockWarehousesInterface) GetPermissionsByWarehouseId(ctx context.Context, warehouseId string) (*sql.WarehousePermissions, error)
GetPermissionsByWarehouseId provides a mock function with given fields: ctx, warehouseId
func (*MockWarehousesInterface) GetWorkspaceWarehouseConfig ¶
func (_m *MockWarehousesInterface) GetWorkspaceWarehouseConfig(ctx context.Context) (*sql.GetWorkspaceWarehouseConfigResponse, error)
GetWorkspaceWarehouseConfig provides a mock function with given fields: ctx
func (*MockWarehousesInterface) Impl ¶
func (_m *MockWarehousesInterface) Impl() sql.WarehousesService
Impl provides a mock function with given fields:
func (*MockWarehousesInterface) List ¶
func (_m *MockWarehousesInterface) List(ctx context.Context, request sql.ListWarehousesRequest) listing.Iterator[sql.EndpointInfo]
List provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) ListAll ¶
func (_m *MockWarehousesInterface) ListAll(ctx context.Context, request sql.ListWarehousesRequest) ([]sql.EndpointInfo, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) SetPermissions ¶
func (_m *MockWarehousesInterface) SetPermissions(ctx context.Context, request sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)
SetPermissions provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) SetWorkspaceWarehouseConfig ¶
func (_m *MockWarehousesInterface) SetWorkspaceWarehouseConfig(ctx context.Context, request sql.SetWorkspaceWarehouseConfigRequest) error
SetWorkspaceWarehouseConfig provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) Start ¶
func (_m *MockWarehousesInterface) Start(ctx context.Context, startRequest sql.StartRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)
Start provides a mock function with given fields: ctx, startRequest
func (*MockWarehousesInterface) StartAndWait ¶
func (_m *MockWarehousesInterface) StartAndWait(ctx context.Context, startRequest sql.StartRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)
StartAndWait provides a mock function with given fields: ctx, startRequest, options
func (*MockWarehousesInterface) Stop ¶
func (_m *MockWarehousesInterface) Stop(ctx context.Context, stopRequest sql.StopRequest) (*sql.WaitGetWarehouseStopped[struct{}], error)
Stop provides a mock function with given fields: ctx, stopRequest
func (*MockWarehousesInterface) StopAndWait ¶
func (_m *MockWarehousesInterface) StopAndWait(ctx context.Context, stopRequest sql.StopRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)
StopAndWait provides a mock function with given fields: ctx, stopRequest, options
func (*MockWarehousesInterface) UpdatePermissions ¶
func (_m *MockWarehousesInterface) UpdatePermissions(ctx context.Context, request sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)
UpdatePermissions provides a mock function with given fields: ctx, request
func (*MockWarehousesInterface) WaitGetWarehouseRunning ¶
func (_m *MockWarehousesInterface) WaitGetWarehouseRunning(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)
WaitGetWarehouseRunning provides a mock function with given fields: ctx, id, timeout, callback
func (*MockWarehousesInterface) WaitGetWarehouseStopped ¶
func (_m *MockWarehousesInterface) WaitGetWarehouseStopped(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)
WaitGetWarehouseStopped provides a mock function with given fields: ctx, id, timeout, callback
func (*MockWarehousesInterface) WithImpl ¶
func (_m *MockWarehousesInterface) WithImpl(impl sql.WarehousesService) sql.WarehousesInterface
WithImpl provides a mock function with given fields: impl
type MockWarehousesInterface_CreateAndWait_Call ¶
MockWarehousesInterface_CreateAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAndWait'
func (*MockWarehousesInterface_CreateAndWait_Call) Return ¶
func (_c *MockWarehousesInterface_CreateAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_CreateAndWait_Call
func (*MockWarehousesInterface_CreateAndWait_Call) Run ¶
func (_c *MockWarehousesInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse])) *MockWarehousesInterface_CreateAndWait_Call
func (*MockWarehousesInterface_CreateAndWait_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_CreateAndWait_Call) RunAndReturn(run func(context.Context, sql.CreateWarehouseRequest, ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_CreateAndWait_Call
type MockWarehousesInterface_Create_Call ¶
MockWarehousesInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockWarehousesInterface_Create_Call) Return ¶
func (_c *MockWarehousesInterface_Create_Call) Return(_a0 *sql.WaitGetWarehouseRunning[sql.CreateWarehouseResponse], _a1 error) *MockWarehousesInterface_Create_Call
func (*MockWarehousesInterface_Create_Call) Run ¶
func (_c *MockWarehousesInterface_Create_Call) Run(run func(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest)) *MockWarehousesInterface_Create_Call
func (*MockWarehousesInterface_Create_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Create_Call) RunAndReturn(run func(context.Context, sql.CreateWarehouseRequest) (*sql.WaitGetWarehouseRunning[sql.CreateWarehouseResponse], error)) *MockWarehousesInterface_Create_Call
type MockWarehousesInterface_DeleteById_Call ¶
MockWarehousesInterface_DeleteById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteById'
func (*MockWarehousesInterface_DeleteById_Call) Return ¶
func (_c *MockWarehousesInterface_DeleteById_Call) Return(_a0 error) *MockWarehousesInterface_DeleteById_Call
func (*MockWarehousesInterface_DeleteById_Call) Run ¶
func (_c *MockWarehousesInterface_DeleteById_Call) Run(run func(ctx context.Context, id string)) *MockWarehousesInterface_DeleteById_Call
func (*MockWarehousesInterface_DeleteById_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_DeleteById_Call) RunAndReturn(run func(context.Context, string) error) *MockWarehousesInterface_DeleteById_Call
type MockWarehousesInterface_Delete_Call ¶
MockWarehousesInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockWarehousesInterface_Delete_Call) Return ¶
func (_c *MockWarehousesInterface_Delete_Call) Return(_a0 error) *MockWarehousesInterface_Delete_Call
func (*MockWarehousesInterface_Delete_Call) Run ¶
func (_c *MockWarehousesInterface_Delete_Call) Run(run func(ctx context.Context, request sql.DeleteWarehouseRequest)) *MockWarehousesInterface_Delete_Call
func (*MockWarehousesInterface_Delete_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Delete_Call) RunAndReturn(run func(context.Context, sql.DeleteWarehouseRequest) error) *MockWarehousesInterface_Delete_Call
type MockWarehousesInterface_EditAndWait_Call ¶
MockWarehousesInterface_EditAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EditAndWait'
func (*MockWarehousesInterface_EditAndWait_Call) Return ¶
func (_c *MockWarehousesInterface_EditAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_EditAndWait_Call
func (*MockWarehousesInterface_EditAndWait_Call) Run ¶
func (_c *MockWarehousesInterface_EditAndWait_Call) Run(run func(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse])) *MockWarehousesInterface_EditAndWait_Call
func (*MockWarehousesInterface_EditAndWait_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_EditAndWait_Call) RunAndReturn(run func(context.Context, sql.EditWarehouseRequest, ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_EditAndWait_Call
type MockWarehousesInterface_Edit_Call ¶
MockWarehousesInterface_Edit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Edit'
func (*MockWarehousesInterface_Edit_Call) Return ¶
func (_c *MockWarehousesInterface_Edit_Call) Return(_a0 *sql.WaitGetWarehouseRunning[struct{}], _a1 error) *MockWarehousesInterface_Edit_Call
func (*MockWarehousesInterface_Edit_Call) Run ¶
func (_c *MockWarehousesInterface_Edit_Call) Run(run func(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest)) *MockWarehousesInterface_Edit_Call
func (*MockWarehousesInterface_Edit_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Edit_Call) RunAndReturn(run func(context.Context, sql.EditWarehouseRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)) *MockWarehousesInterface_Edit_Call
type MockWarehousesInterface_EndpointInfoNameToIdMap_Call ¶
MockWarehousesInterface_EndpointInfoNameToIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EndpointInfoNameToIdMap'
func (*MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Return ¶
func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
func (*MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Run ¶
func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
func (*MockWarehousesInterface_EndpointInfoNameToIdMap_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_EndpointInfoNameToIdMap_Call) RunAndReturn(run func(context.Context, sql.ListWarehousesRequest) (map[string]string, error)) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
type MockWarehousesInterface_Expecter ¶
type MockWarehousesInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWarehousesInterface_Expecter) Create ¶
func (_e *MockWarehousesInterface_Expecter) Create(ctx interface{}, createWarehouseRequest interface{}) *MockWarehousesInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- createWarehouseRequest sql.CreateWarehouseRequest
func (*MockWarehousesInterface_Expecter) CreateAndWait ¶
func (_e *MockWarehousesInterface_Expecter) CreateAndWait(ctx interface{}, createWarehouseRequest interface{}, options ...interface{}) *MockWarehousesInterface_CreateAndWait_Call
CreateAndWait is a helper method to define mock.On call
- ctx context.Context
- createWarehouseRequest sql.CreateWarehouseRequest
- options ...retries.Option[sql.GetWarehouseResponse]
func (*MockWarehousesInterface_Expecter) Delete ¶
func (_e *MockWarehousesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWarehousesInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request sql.DeleteWarehouseRequest
func (*MockWarehousesInterface_Expecter) DeleteById ¶
func (_e *MockWarehousesInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockWarehousesInterface_DeleteById_Call
DeleteById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockWarehousesInterface_Expecter) Edit ¶
func (_e *MockWarehousesInterface_Expecter) Edit(ctx interface{}, editWarehouseRequest interface{}) *MockWarehousesInterface_Edit_Call
Edit is a helper method to define mock.On call
- ctx context.Context
- editWarehouseRequest sql.EditWarehouseRequest
func (*MockWarehousesInterface_Expecter) EditAndWait ¶
func (_e *MockWarehousesInterface_Expecter) EditAndWait(ctx interface{}, editWarehouseRequest interface{}, options ...interface{}) *MockWarehousesInterface_EditAndWait_Call
EditAndWait is a helper method to define mock.On call
- ctx context.Context
- editWarehouseRequest sql.EditWarehouseRequest
- options ...retries.Option[sql.GetWarehouseResponse]
func (*MockWarehousesInterface_Expecter) EndpointInfoNameToIdMap ¶
func (_e *MockWarehousesInterface_Expecter) EndpointInfoNameToIdMap(ctx interface{}, request interface{}) *MockWarehousesInterface_EndpointInfoNameToIdMap_Call
EndpointInfoNameToIdMap is a helper method to define mock.On call
- ctx context.Context
- request sql.ListWarehousesRequest
func (*MockWarehousesInterface_Expecter) Get ¶
func (_e *MockWarehousesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWarehousesInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request sql.GetWarehouseRequest
func (*MockWarehousesInterface_Expecter) GetById ¶
func (_e *MockWarehousesInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockWarehousesInterface_GetById_Call
GetById is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockWarehousesInterface_Expecter) GetByName ¶
func (_e *MockWarehousesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockWarehousesInterface_GetByName_Call
GetByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockWarehousesInterface_Expecter) GetPermissionLevels ¶
func (_e *MockWarehousesInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockWarehousesInterface_GetPermissionLevels_Call
GetPermissionLevels is a helper method to define mock.On call
- ctx context.Context
- request sql.GetWarehousePermissionLevelsRequest
func (*MockWarehousesInterface_Expecter) GetPermissionLevelsByWarehouseId ¶
func (_e *MockWarehousesInterface_Expecter) GetPermissionLevelsByWarehouseId(ctx interface{}, warehouseId interface{}) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
GetPermissionLevelsByWarehouseId is a helper method to define mock.On call
- ctx context.Context
- warehouseId string
func (*MockWarehousesInterface_Expecter) GetPermissions ¶
func (_e *MockWarehousesInterface_Expecter) GetPermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- ctx context.Context
- request sql.GetWarehousePermissionsRequest
func (*MockWarehousesInterface_Expecter) GetPermissionsByWarehouseId ¶
func (_e *MockWarehousesInterface_Expecter) GetPermissionsByWarehouseId(ctx interface{}, warehouseId interface{}) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
GetPermissionsByWarehouseId is a helper method to define mock.On call
- ctx context.Context
- warehouseId string
func (*MockWarehousesInterface_Expecter) GetWorkspaceWarehouseConfig ¶
func (_e *MockWarehousesInterface_Expecter) GetWorkspaceWarehouseConfig(ctx interface{}) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
GetWorkspaceWarehouseConfig is a helper method to define mock.On call
- ctx context.Context
func (*MockWarehousesInterface_Expecter) Impl ¶
func (_e *MockWarehousesInterface_Expecter) Impl() *MockWarehousesInterface_Impl_Call
Impl is a helper method to define mock.On call
func (*MockWarehousesInterface_Expecter) List ¶
func (_e *MockWarehousesInterface_Expecter) List(ctx interface{}, request interface{}) *MockWarehousesInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request sql.ListWarehousesRequest
func (*MockWarehousesInterface_Expecter) ListAll ¶
func (_e *MockWarehousesInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockWarehousesInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request sql.ListWarehousesRequest
func (*MockWarehousesInterface_Expecter) SetPermissions ¶
func (_e *MockWarehousesInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_SetPermissions_Call
SetPermissions is a helper method to define mock.On call
- ctx context.Context
- request sql.WarehousePermissionsRequest
func (*MockWarehousesInterface_Expecter) SetWorkspaceWarehouseConfig ¶
func (_e *MockWarehousesInterface_Expecter) SetWorkspaceWarehouseConfig(ctx interface{}, request interface{}) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
SetWorkspaceWarehouseConfig is a helper method to define mock.On call
- ctx context.Context
- request sql.SetWorkspaceWarehouseConfigRequest
func (*MockWarehousesInterface_Expecter) Start ¶
func (_e *MockWarehousesInterface_Expecter) Start(ctx interface{}, startRequest interface{}) *MockWarehousesInterface_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
- startRequest sql.StartRequest
func (*MockWarehousesInterface_Expecter) StartAndWait ¶
func (_e *MockWarehousesInterface_Expecter) StartAndWait(ctx interface{}, startRequest interface{}, options ...interface{}) *MockWarehousesInterface_StartAndWait_Call
StartAndWait is a helper method to define mock.On call
- ctx context.Context
- startRequest sql.StartRequest
- options ...retries.Option[sql.GetWarehouseResponse]
func (*MockWarehousesInterface_Expecter) Stop ¶
func (_e *MockWarehousesInterface_Expecter) Stop(ctx interface{}, stopRequest interface{}) *MockWarehousesInterface_Stop_Call
Stop is a helper method to define mock.On call
- ctx context.Context
- stopRequest sql.StopRequest
func (*MockWarehousesInterface_Expecter) StopAndWait ¶
func (_e *MockWarehousesInterface_Expecter) StopAndWait(ctx interface{}, stopRequest interface{}, options ...interface{}) *MockWarehousesInterface_StopAndWait_Call
StopAndWait is a helper method to define mock.On call
- ctx context.Context
- stopRequest sql.StopRequest
- options ...retries.Option[sql.GetWarehouseResponse]
func (*MockWarehousesInterface_Expecter) UpdatePermissions ¶
func (_e *MockWarehousesInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockWarehousesInterface_UpdatePermissions_Call
UpdatePermissions is a helper method to define mock.On call
- ctx context.Context
- request sql.WarehousePermissionsRequest
func (*MockWarehousesInterface_Expecter) WaitGetWarehouseRunning ¶
func (_e *MockWarehousesInterface_Expecter) WaitGetWarehouseRunning(ctx interface{}, id interface{}, timeout interface{}, callback interface{}) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
WaitGetWarehouseRunning is a helper method to define mock.On call
- ctx context.Context
- id string
- timeout time.Duration
- callback func(*sql.GetWarehouseResponse)
func (*MockWarehousesInterface_Expecter) WaitGetWarehouseStopped ¶
func (_e *MockWarehousesInterface_Expecter) WaitGetWarehouseStopped(ctx interface{}, id interface{}, timeout interface{}, callback interface{}) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
WaitGetWarehouseStopped is a helper method to define mock.On call
- ctx context.Context
- id string
- timeout time.Duration
- callback func(*sql.GetWarehouseResponse)
func (*MockWarehousesInterface_Expecter) WithImpl ¶
func (_e *MockWarehousesInterface_Expecter) WithImpl(impl interface{}) *MockWarehousesInterface_WithImpl_Call
WithImpl is a helper method to define mock.On call
- impl sql.WarehousesService
type MockWarehousesInterface_GetById_Call ¶
MockWarehousesInterface_GetById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetById'
func (*MockWarehousesInterface_GetById_Call) Return ¶
func (_c *MockWarehousesInterface_GetById_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_GetById_Call
func (*MockWarehousesInterface_GetById_Call) Run ¶
func (_c *MockWarehousesInterface_GetById_Call) Run(run func(ctx context.Context, id string)) *MockWarehousesInterface_GetById_Call
func (*MockWarehousesInterface_GetById_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetById_Call) RunAndReturn(run func(context.Context, string) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_GetById_Call
type MockWarehousesInterface_GetByName_Call ¶
MockWarehousesInterface_GetByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByName'
func (*MockWarehousesInterface_GetByName_Call) Return ¶
func (_c *MockWarehousesInterface_GetByName_Call) Return(_a0 *sql.EndpointInfo, _a1 error) *MockWarehousesInterface_GetByName_Call
func (*MockWarehousesInterface_GetByName_Call) Run ¶
func (_c *MockWarehousesInterface_GetByName_Call) Run(run func(ctx context.Context, name string)) *MockWarehousesInterface_GetByName_Call
func (*MockWarehousesInterface_GetByName_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetByName_Call) RunAndReturn(run func(context.Context, string) (*sql.EndpointInfo, error)) *MockWarehousesInterface_GetByName_Call
type MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call ¶
MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevelsByWarehouseId'
func (*MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) Run ¶
func (_c *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) Run(run func(ctx context.Context, warehouseId string)) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
func (*MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) RunAndReturn(run func(context.Context, string) (*sql.GetWarehousePermissionLevelsResponse, error)) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call
type MockWarehousesInterface_GetPermissionLevels_Call ¶
MockWarehousesInterface_GetPermissionLevels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionLevels'
func (*MockWarehousesInterface_GetPermissionLevels_Call) Run ¶
func (_c *MockWarehousesInterface_GetPermissionLevels_Call) Run(run func(ctx context.Context, request sql.GetWarehousePermissionLevelsRequest)) *MockWarehousesInterface_GetPermissionLevels_Call
func (*MockWarehousesInterface_GetPermissionLevels_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetPermissionLevels_Call) RunAndReturn(run func(context.Context, sql.GetWarehousePermissionLevelsRequest) (*sql.GetWarehousePermissionLevelsResponse, error)) *MockWarehousesInterface_GetPermissionLevels_Call
type MockWarehousesInterface_GetPermissionsByWarehouseId_Call ¶
MockWarehousesInterface_GetPermissionsByWarehouseId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByWarehouseId'
func (*MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Run ¶
func (_c *MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Run(run func(ctx context.Context, warehouseId string)) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
func (*MockWarehousesInterface_GetPermissionsByWarehouseId_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetPermissionsByWarehouseId_Call) RunAndReturn(run func(context.Context, string) (*sql.WarehousePermissions, error)) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call
type MockWarehousesInterface_GetPermissions_Call ¶
MockWarehousesInterface_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*MockWarehousesInterface_GetPermissions_Call) Return ¶
func (_c *MockWarehousesInterface_GetPermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_GetPermissions_Call
func (*MockWarehousesInterface_GetPermissions_Call) Run ¶
func (_c *MockWarehousesInterface_GetPermissions_Call) Run(run func(ctx context.Context, request sql.GetWarehousePermissionsRequest)) *MockWarehousesInterface_GetPermissions_Call
func (*MockWarehousesInterface_GetPermissions_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetPermissions_Call) RunAndReturn(run func(context.Context, sql.GetWarehousePermissionsRequest) (*sql.WarehousePermissions, error)) *MockWarehousesInterface_GetPermissions_Call
type MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call ¶
MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkspaceWarehouseConfig'
func (*MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) Run ¶
func (_c *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) Run(run func(ctx context.Context)) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
func (*MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call) RunAndReturn(run func(context.Context) (*sql.GetWorkspaceWarehouseConfigResponse, error)) *MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call
type MockWarehousesInterface_Get_Call ¶
MockWarehousesInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockWarehousesInterface_Get_Call) Return ¶
func (_c *MockWarehousesInterface_Get_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_Get_Call
func (*MockWarehousesInterface_Get_Call) Run ¶
func (_c *MockWarehousesInterface_Get_Call) Run(run func(ctx context.Context, request sql.GetWarehouseRequest)) *MockWarehousesInterface_Get_Call
func (*MockWarehousesInterface_Get_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Get_Call) RunAndReturn(run func(context.Context, sql.GetWarehouseRequest) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_Get_Call
type MockWarehousesInterface_Impl_Call ¶
MockWarehousesInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'
func (*MockWarehousesInterface_Impl_Call) Return ¶
func (_c *MockWarehousesInterface_Impl_Call) Return(_a0 sql.WarehousesService) *MockWarehousesInterface_Impl_Call
func (*MockWarehousesInterface_Impl_Call) Run ¶
func (_c *MockWarehousesInterface_Impl_Call) Run(run func()) *MockWarehousesInterface_Impl_Call
func (*MockWarehousesInterface_Impl_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Impl_Call) RunAndReturn(run func() sql.WarehousesService) *MockWarehousesInterface_Impl_Call
type MockWarehousesInterface_ListAll_Call ¶
MockWarehousesInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockWarehousesInterface_ListAll_Call) Return ¶
func (_c *MockWarehousesInterface_ListAll_Call) Return(_a0 []sql.EndpointInfo, _a1 error) *MockWarehousesInterface_ListAll_Call
func (*MockWarehousesInterface_ListAll_Call) Run ¶
func (_c *MockWarehousesInterface_ListAll_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_ListAll_Call
func (*MockWarehousesInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_ListAll_Call) RunAndReturn(run func(context.Context, sql.ListWarehousesRequest) ([]sql.EndpointInfo, error)) *MockWarehousesInterface_ListAll_Call
type MockWarehousesInterface_List_Call ¶
MockWarehousesInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockWarehousesInterface_List_Call) Return ¶
func (_c *MockWarehousesInterface_List_Call) Return(_a0 listing.Iterator[sql.EndpointInfo]) *MockWarehousesInterface_List_Call
func (*MockWarehousesInterface_List_Call) Run ¶
func (_c *MockWarehousesInterface_List_Call) Run(run func(ctx context.Context, request sql.ListWarehousesRequest)) *MockWarehousesInterface_List_Call
func (*MockWarehousesInterface_List_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_List_Call) RunAndReturn(run func(context.Context, sql.ListWarehousesRequest) listing.Iterator[sql.EndpointInfo]) *MockWarehousesInterface_List_Call
type MockWarehousesInterface_SetPermissions_Call ¶
MockWarehousesInterface_SetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPermissions'
func (*MockWarehousesInterface_SetPermissions_Call) Return ¶
func (_c *MockWarehousesInterface_SetPermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_SetPermissions_Call
func (*MockWarehousesInterface_SetPermissions_Call) Run ¶
func (_c *MockWarehousesInterface_SetPermissions_Call) Run(run func(ctx context.Context, request sql.WarehousePermissionsRequest)) *MockWarehousesInterface_SetPermissions_Call
func (*MockWarehousesInterface_SetPermissions_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_SetPermissions_Call) RunAndReturn(run func(context.Context, sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)) *MockWarehousesInterface_SetPermissions_Call
type MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call ¶
MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWorkspaceWarehouseConfig'
func (*MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Run ¶
func (_c *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Run(run func(ctx context.Context, request sql.SetWorkspaceWarehouseConfigRequest)) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
func (*MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) RunAndReturn(run func(context.Context, sql.SetWorkspaceWarehouseConfigRequest) error) *MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call
type MockWarehousesInterface_StartAndWait_Call ¶
MockWarehousesInterface_StartAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAndWait'
func (*MockWarehousesInterface_StartAndWait_Call) Return ¶
func (_c *MockWarehousesInterface_StartAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_StartAndWait_Call
func (*MockWarehousesInterface_StartAndWait_Call) Run ¶
func (_c *MockWarehousesInterface_StartAndWait_Call) Run(run func(ctx context.Context, startRequest sql.StartRequest, options ...retries.Option[sql.GetWarehouseResponse])) *MockWarehousesInterface_StartAndWait_Call
func (*MockWarehousesInterface_StartAndWait_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_StartAndWait_Call) RunAndReturn(run func(context.Context, sql.StartRequest, ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_StartAndWait_Call
type MockWarehousesInterface_Start_Call ¶
MockWarehousesInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockWarehousesInterface_Start_Call) Return ¶
func (_c *MockWarehousesInterface_Start_Call) Return(_a0 *sql.WaitGetWarehouseRunning[struct{}], _a1 error) *MockWarehousesInterface_Start_Call
func (*MockWarehousesInterface_Start_Call) Run ¶
func (_c *MockWarehousesInterface_Start_Call) Run(run func(ctx context.Context, startRequest sql.StartRequest)) *MockWarehousesInterface_Start_Call
func (*MockWarehousesInterface_Start_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Start_Call) RunAndReturn(run func(context.Context, sql.StartRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)) *MockWarehousesInterface_Start_Call
type MockWarehousesInterface_StopAndWait_Call ¶
MockWarehousesInterface_StopAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAndWait'
func (*MockWarehousesInterface_StopAndWait_Call) Return ¶
func (_c *MockWarehousesInterface_StopAndWait_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_StopAndWait_Call
func (*MockWarehousesInterface_StopAndWait_Call) Run ¶
func (_c *MockWarehousesInterface_StopAndWait_Call) Run(run func(ctx context.Context, stopRequest sql.StopRequest, options ...retries.Option[sql.GetWarehouseResponse])) *MockWarehousesInterface_StopAndWait_Call
func (*MockWarehousesInterface_StopAndWait_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_StopAndWait_Call) RunAndReturn(run func(context.Context, sql.StopRequest, ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_StopAndWait_Call
type MockWarehousesInterface_Stop_Call ¶
MockWarehousesInterface_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockWarehousesInterface_Stop_Call) Return ¶
func (_c *MockWarehousesInterface_Stop_Call) Return(_a0 *sql.WaitGetWarehouseStopped[struct{}], _a1 error) *MockWarehousesInterface_Stop_Call
func (*MockWarehousesInterface_Stop_Call) Run ¶
func (_c *MockWarehousesInterface_Stop_Call) Run(run func(ctx context.Context, stopRequest sql.StopRequest)) *MockWarehousesInterface_Stop_Call
func (*MockWarehousesInterface_Stop_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_Stop_Call) RunAndReturn(run func(context.Context, sql.StopRequest) (*sql.WaitGetWarehouseStopped[struct{}], error)) *MockWarehousesInterface_Stop_Call
type MockWarehousesInterface_UpdatePermissions_Call ¶
MockWarehousesInterface_UpdatePermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermissions'
func (*MockWarehousesInterface_UpdatePermissions_Call) Return ¶
func (_c *MockWarehousesInterface_UpdatePermissions_Call) Return(_a0 *sql.WarehousePermissions, _a1 error) *MockWarehousesInterface_UpdatePermissions_Call
func (*MockWarehousesInterface_UpdatePermissions_Call) Run ¶
func (_c *MockWarehousesInterface_UpdatePermissions_Call) Run(run func(ctx context.Context, request sql.WarehousePermissionsRequest)) *MockWarehousesInterface_UpdatePermissions_Call
func (*MockWarehousesInterface_UpdatePermissions_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_UpdatePermissions_Call) RunAndReturn(run func(context.Context, sql.WarehousePermissionsRequest) (*sql.WarehousePermissions, error)) *MockWarehousesInterface_UpdatePermissions_Call
type MockWarehousesInterface_WaitGetWarehouseRunning_Call ¶
MockWarehousesInterface_WaitGetWarehouseRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetWarehouseRunning'
func (*MockWarehousesInterface_WaitGetWarehouseRunning_Call) Return ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
func (*MockWarehousesInterface_WaitGetWarehouseRunning_Call) Run ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) Run(run func(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse))) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
func (*MockWarehousesInterface_WaitGetWarehouseRunning_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseRunning_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_WaitGetWarehouseRunning_Call
type MockWarehousesInterface_WaitGetWarehouseStopped_Call ¶
MockWarehousesInterface_WaitGetWarehouseStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitGetWarehouseStopped'
func (*MockWarehousesInterface_WaitGetWarehouseStopped_Call) Return ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) Return(_a0 *sql.GetWarehouseResponse, _a1 error) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
func (*MockWarehousesInterface_WaitGetWarehouseStopped_Call) Run ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) Run(run func(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse))) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
func (*MockWarehousesInterface_WaitGetWarehouseStopped_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_WaitGetWarehouseStopped_Call) RunAndReturn(run func(context.Context, string, time.Duration, func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)) *MockWarehousesInterface_WaitGetWarehouseStopped_Call
type MockWarehousesInterface_WithImpl_Call ¶
MockWarehousesInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'
func (*MockWarehousesInterface_WithImpl_Call) Return ¶
func (_c *MockWarehousesInterface_WithImpl_Call) Return(_a0 sql.WarehousesInterface) *MockWarehousesInterface_WithImpl_Call
func (*MockWarehousesInterface_WithImpl_Call) Run ¶
func (_c *MockWarehousesInterface_WithImpl_Call) Run(run func(impl sql.WarehousesService)) *MockWarehousesInterface_WithImpl_Call
func (*MockWarehousesInterface_WithImpl_Call) RunAndReturn ¶
func (_c *MockWarehousesInterface_WithImpl_Call) RunAndReturn(run func(sql.WarehousesService) sql.WarehousesInterface) *MockWarehousesInterface_WithImpl_Call
Source Files ¶
- mock_alerts_interface.go
- mock_dashboard_widgets_interface.go
- mock_dashboards_interface.go
- mock_data_sources_interface.go
- mock_dbsql_permissions_interface.go
- mock_queries_interface.go
- mock_query_history_interface.go
- mock_query_visualizations_interface.go
- mock_statement_execution_interface.go
- mock_warehouses_interface.go