Help us shape the future of Go! Take the 2026 Go Developer Survey

sql

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAlertsInterface

type MockAlertsInterface struct {
	mock.Mock
}

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

func (_m *MockAlertsInterface) AlertNameToIdMap(ctx context.Context) (map[string]string, error)

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

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 (*MockAlertsInterface) Get

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

func (_m *MockAlertsInterface) GetByName(ctx context.Context, name string) (*sql.Alert, error)

GetByName provides a mock function with given fields: ctx, name

func (*MockAlertsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAlertsInterface) List

func (_m *MockAlertsInterface) List(ctx context.Context) ([]sql.Alert, error)

List provides a mock function with given fields: ctx

func (*MockAlertsInterface) Update

func (_m *MockAlertsInterface) Update(ctx context.Context, request sql.EditAlert) error

Update provides a mock function with given fields: ctx, request

func (*MockAlertsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAlertsInterface_AlertNameToIdMap_Call

type MockAlertsInterface_AlertNameToIdMap_Call struct {
	*mock.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 (*MockAlertsInterface_AlertNameToIdMap_Call) Run

func (*MockAlertsInterface_AlertNameToIdMap_Call) RunAndReturn

type MockAlertsInterface_Create_Call

type MockAlertsInterface_Create_Call struct {
	*mock.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 (*MockAlertsInterface_Create_Call) Run

func (*MockAlertsInterface_Create_Call) RunAndReturn

type MockAlertsInterface_DeleteByAlertId_Call

type MockAlertsInterface_DeleteByAlertId_Call struct {
	*mock.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 (*MockAlertsInterface_DeleteByAlertId_Call) Run

func (*MockAlertsInterface_DeleteByAlertId_Call) RunAndReturn

type MockAlertsInterface_Delete_Call

type MockAlertsInterface_Delete_Call struct {
	*mock.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 (*MockAlertsInterface_Delete_Call) Run

func (*MockAlertsInterface_Delete_Call) RunAndReturn

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

Impl is a helper method to define mock.On call

func (*MockAlertsInterface_Expecter) List

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

type MockAlertsInterface_GetByAlertId_Call struct {
	*mock.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 (*MockAlertsInterface_GetByAlertId_Call) Run

func (*MockAlertsInterface_GetByAlertId_Call) RunAndReturn

type MockAlertsInterface_GetByName_Call

type MockAlertsInterface_GetByName_Call struct {
	*mock.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 (*MockAlertsInterface_GetByName_Call) Run

func (*MockAlertsInterface_GetByName_Call) RunAndReturn

type MockAlertsInterface_Get_Call

type MockAlertsInterface_Get_Call struct {
	*mock.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 (*MockAlertsInterface_Get_Call) Run

func (*MockAlertsInterface_Get_Call) RunAndReturn

type MockAlertsInterface_Impl_Call

type MockAlertsInterface_Impl_Call struct {
	*mock.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 (*MockAlertsInterface_Impl_Call) Run

func (*MockAlertsInterface_Impl_Call) RunAndReturn

type MockAlertsInterface_List_Call

type MockAlertsInterface_List_Call struct {
	*mock.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 (*MockAlertsInterface_List_Call) Run

func (*MockAlertsInterface_List_Call) RunAndReturn

type MockAlertsInterface_Update_Call

type MockAlertsInterface_Update_Call struct {
	*mock.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 (*MockAlertsInterface_Update_Call) Run

func (*MockAlertsInterface_Update_Call) RunAndReturn

type MockAlertsInterface_WithImpl_Call

type MockAlertsInterface_WithImpl_Call struct {
	*mock.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 (*MockAlertsInterface_WithImpl_Call) Run

func (*MockAlertsInterface_WithImpl_Call) RunAndReturn

type MockDashboardWidgetsInterface

type MockDashboardWidgetsInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockDashboardWidgetsInterface) Delete

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 (*MockDashboardWidgetsInterface) Impl

Impl provides a mock function with given fields:

func (*MockDashboardWidgetsInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockDashboardWidgetsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockDashboardWidgetsInterface_Create_Call

type MockDashboardWidgetsInterface_Create_Call struct {
	*mock.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 (*MockDashboardWidgetsInterface_Create_Call) Run

func (*MockDashboardWidgetsInterface_Create_Call) RunAndReturn

type MockDashboardWidgetsInterface_DeleteById_Call

type MockDashboardWidgetsInterface_DeleteById_Call struct {
	*mock.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 (*MockDashboardWidgetsInterface_DeleteById_Call) Run

func (*MockDashboardWidgetsInterface_DeleteById_Call) RunAndReturn

type MockDashboardWidgetsInterface_Delete_Call

type MockDashboardWidgetsInterface_Delete_Call struct {
	*mock.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 (*MockDashboardWidgetsInterface_Delete_Call) Run

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

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

WithImpl is a helper method to define mock.On call

  • impl sql.DashboardWidgetsService

type MockDashboardWidgetsInterface_Impl_Call

type MockDashboardWidgetsInterface_Impl_Call struct {
	*mock.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 (*MockDashboardWidgetsInterface_Impl_Call) Run

func (*MockDashboardWidgetsInterface_Impl_Call) RunAndReturn

type MockDashboardWidgetsInterface_Update_Call

type MockDashboardWidgetsInterface_Update_Call struct {
	*mock.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 (*MockDashboardWidgetsInterface_Update_Call) Run

func (*MockDashboardWidgetsInterface_Update_Call) RunAndReturn

type MockDashboardWidgetsInterface_WithImpl_Call

type MockDashboardWidgetsInterface_WithImpl_Call struct {
	*mock.Call
}

MockDashboardWidgetsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'

func (*MockDashboardWidgetsInterface_WithImpl_Call) Return

func (*MockDashboardWidgetsInterface_WithImpl_Call) Run

type MockDashboardsInterface

type MockDashboardsInterface struct {
	mock.Mock
}

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

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

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 (*MockDashboardsInterface) Get

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

Impl provides a mock function with given fields:

func (*MockDashboardsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockDashboardsInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockDashboardsInterface) Restore

Restore provides a mock function with given fields: ctx, request

func (*MockDashboardsInterface) Update added in v0.30.0

Update provides a mock function with given fields: ctx, request

func (*MockDashboardsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockDashboardsInterface_Create_Call

type MockDashboardsInterface_Create_Call struct {
	*mock.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 (*MockDashboardsInterface_Create_Call) Run

func (*MockDashboardsInterface_Create_Call) RunAndReturn

type MockDashboardsInterface_DashboardNameToIdMap_Call

type MockDashboardsInterface_DashboardNameToIdMap_Call struct {
	*mock.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 (*MockDashboardsInterface_DashboardNameToIdMap_Call) Run

func (*MockDashboardsInterface_DashboardNameToIdMap_Call) RunAndReturn

type MockDashboardsInterface_DeleteByDashboardId_Call

type MockDashboardsInterface_DeleteByDashboardId_Call struct {
	*mock.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 (*MockDashboardsInterface_DeleteByDashboardId_Call) Run

func (*MockDashboardsInterface_DeleteByDashboardId_Call) RunAndReturn

type MockDashboardsInterface_Delete_Call

type MockDashboardsInterface_Delete_Call struct {
	*mock.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 (*MockDashboardsInterface_Delete_Call) Run

func (*MockDashboardsInterface_Delete_Call) RunAndReturn

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

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

WithImpl is a helper method to define mock.On call

  • impl sql.DashboardsService

type MockDashboardsInterface_GetByDashboardId_Call

type MockDashboardsInterface_GetByDashboardId_Call struct {
	*mock.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 (*MockDashboardsInterface_GetByDashboardId_Call) Run

func (*MockDashboardsInterface_GetByDashboardId_Call) RunAndReturn

type MockDashboardsInterface_GetByName_Call

type MockDashboardsInterface_GetByName_Call struct {
	*mock.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 (*MockDashboardsInterface_GetByName_Call) Run

func (*MockDashboardsInterface_GetByName_Call) RunAndReturn

type MockDashboardsInterface_Get_Call

type MockDashboardsInterface_Get_Call struct {
	*mock.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 (*MockDashboardsInterface_Get_Call) Run

func (*MockDashboardsInterface_Get_Call) RunAndReturn

type MockDashboardsInterface_Impl_Call

type MockDashboardsInterface_Impl_Call struct {
	*mock.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 (*MockDashboardsInterface_Impl_Call) Run

func (*MockDashboardsInterface_Impl_Call) RunAndReturn

type MockDashboardsInterface_ListAll_Call

type MockDashboardsInterface_ListAll_Call struct {
	*mock.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 (*MockDashboardsInterface_ListAll_Call) Run

func (*MockDashboardsInterface_ListAll_Call) RunAndReturn

type MockDashboardsInterface_List_Call

type MockDashboardsInterface_List_Call struct {
	*mock.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 (*MockDashboardsInterface_List_Call) Run

type MockDashboardsInterface_Restore_Call

type MockDashboardsInterface_Restore_Call struct {
	*mock.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 (*MockDashboardsInterface_Restore_Call) Run

func (*MockDashboardsInterface_Restore_Call) RunAndReturn

type MockDashboardsInterface_Update_Call added in v0.30.0

type MockDashboardsInterface_Update_Call struct {
	*mock.Call
}

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 (*MockDashboardsInterface_Update_Call) Run added in v0.30.0

func (*MockDashboardsInterface_Update_Call) RunAndReturn added in v0.30.0

type MockDashboardsInterface_WithImpl_Call

type MockDashboardsInterface_WithImpl_Call struct {
	*mock.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 (*MockDashboardsInterface_WithImpl_Call) Run

func (*MockDashboardsInterface_WithImpl_Call) RunAndReturn

type MockDataSourcesInterface

type MockDataSourcesInterface struct {
	mock.Mock
}

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 (*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

Impl provides a mock function with given fields:

func (*MockDataSourcesInterface) List

List provides a mock function with given fields: ctx

func (*MockDataSourcesInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockDataSourcesInterface_DataSourceNameToIdMap_Call

type MockDataSourcesInterface_DataSourceNameToIdMap_Call struct {
	*mock.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 (*MockDataSourcesInterface_DataSourceNameToIdMap_Call) Run

func (*MockDataSourcesInterface_DataSourceNameToIdMap_Call) RunAndReturn

type MockDataSourcesInterface_Expecter

type MockDataSourcesInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockDataSourcesInterface_Expecter) DataSourceNameToIdMap

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

Impl is a helper method to define mock.On call

func (*MockDataSourcesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockDataSourcesInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl sql.DataSourcesService

type MockDataSourcesInterface_GetByName_Call

type MockDataSourcesInterface_GetByName_Call struct {
	*mock.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 (*MockDataSourcesInterface_GetByName_Call) Run

func (*MockDataSourcesInterface_GetByName_Call) RunAndReturn

type MockDataSourcesInterface_Impl_Call

type MockDataSourcesInterface_Impl_Call struct {
	*mock.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 (*MockDataSourcesInterface_Impl_Call) Run

func (*MockDataSourcesInterface_Impl_Call) RunAndReturn

type MockDataSourcesInterface_List_Call

type MockDataSourcesInterface_List_Call struct {
	*mock.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 (*MockDataSourcesInterface_List_Call) Run

func (*MockDataSourcesInterface_List_Call) RunAndReturn

type MockDataSourcesInterface_WithImpl_Call

type MockDataSourcesInterface_WithImpl_Call struct {
	*mock.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 (*MockDataSourcesInterface_WithImpl_Call) Run

func (*MockDataSourcesInterface_WithImpl_Call) RunAndReturn

type MockDbsqlPermissionsInterface

type MockDbsqlPermissionsInterface struct {
	mock.Mock
}

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 (*MockDbsqlPermissionsInterface) Get

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

Impl provides a mock function with given fields:

func (*MockDbsqlPermissionsInterface) Set

Set provides a mock function with given fields: ctx, request

func (*MockDbsqlPermissionsInterface) TransferOwnership

TransferOwnership provides a mock function with given fields: ctx, request

func (*MockDbsqlPermissionsInterface) WithImpl

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

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

WithImpl is a helper method to define mock.On call

  • impl sql.DbsqlPermissionsService

type MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call

type MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call struct {
	*mock.Call
}

MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByObjectTypeAndObjectId'

func (*MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Return

func (*MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) Run

type MockDbsqlPermissionsInterface_Get_Call

type MockDbsqlPermissionsInterface_Get_Call struct {
	*mock.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 (*MockDbsqlPermissionsInterface_Get_Call) Run

type MockDbsqlPermissionsInterface_Impl_Call

type MockDbsqlPermissionsInterface_Impl_Call struct {
	*mock.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 (*MockDbsqlPermissionsInterface_Impl_Call) Run

func (*MockDbsqlPermissionsInterface_Impl_Call) RunAndReturn

type MockDbsqlPermissionsInterface_Set_Call

type MockDbsqlPermissionsInterface_Set_Call struct {
	*mock.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 (*MockDbsqlPermissionsInterface_Set_Call) Run

func (*MockDbsqlPermissionsInterface_Set_Call) RunAndReturn

type MockDbsqlPermissionsInterface_TransferOwnership_Call

type MockDbsqlPermissionsInterface_TransferOwnership_Call struct {
	*mock.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 (*MockDbsqlPermissionsInterface_TransferOwnership_Call) Run

type MockDbsqlPermissionsInterface_WithImpl_Call

type MockDbsqlPermissionsInterface_WithImpl_Call struct {
	*mock.Call
}

MockDbsqlPermissionsInterface_WithImpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithImpl'

func (*MockDbsqlPermissionsInterface_WithImpl_Call) Return

func (*MockDbsqlPermissionsInterface_WithImpl_Call) Run

type MockQueriesInterface

type MockQueriesInterface struct {
	mock.Mock
}

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

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 (*MockQueriesInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockQueriesInterface) GetByName

func (_m *MockQueriesInterface) GetByName(ctx context.Context, name string) (*sql.Query, error)

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

Impl provides a mock function with given fields:

func (*MockQueriesInterface) List

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

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

WithImpl provides a mock function with given fields: impl

type MockQueriesInterface_Create_Call

type MockQueriesInterface_Create_Call struct {
	*mock.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 (*MockQueriesInterface_Create_Call) Run

func (*MockQueriesInterface_Create_Call) RunAndReturn

type MockQueriesInterface_DeleteByQueryId_Call

type MockQueriesInterface_DeleteByQueryId_Call struct {
	*mock.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 (*MockQueriesInterface_DeleteByQueryId_Call) Run

func (*MockQueriesInterface_DeleteByQueryId_Call) RunAndReturn

type MockQueriesInterface_Delete_Call

type MockQueriesInterface_Delete_Call struct {
	*mock.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 (*MockQueriesInterface_Delete_Call) Run

func (*MockQueriesInterface_Delete_Call) RunAndReturn

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

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

type MockQueriesInterface_GetByName_Call struct {
	*mock.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 (*MockQueriesInterface_GetByName_Call) Run

func (*MockQueriesInterface_GetByName_Call) RunAndReturn

type MockQueriesInterface_GetByQueryId_Call

type MockQueriesInterface_GetByQueryId_Call struct {
	*mock.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 (*MockQueriesInterface_GetByQueryId_Call) Run

func (*MockQueriesInterface_GetByQueryId_Call) RunAndReturn

type MockQueriesInterface_Get_Call

type MockQueriesInterface_Get_Call struct {
	*mock.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 (*MockQueriesInterface_Get_Call) Run

func (*MockQueriesInterface_Get_Call) RunAndReturn

type MockQueriesInterface_Impl_Call

type MockQueriesInterface_Impl_Call struct {
	*mock.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 (*MockQueriesInterface_Impl_Call) Run

func (*MockQueriesInterface_Impl_Call) RunAndReturn

type MockQueriesInterface_ListAll_Call

type MockQueriesInterface_ListAll_Call struct {
	*mock.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 (*MockQueriesInterface_ListAll_Call) Run

func (*MockQueriesInterface_ListAll_Call) RunAndReturn

type MockQueriesInterface_List_Call

type MockQueriesInterface_List_Call struct {
	*mock.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 (*MockQueriesInterface_List_Call) Run

func (*MockQueriesInterface_List_Call) RunAndReturn

type MockQueriesInterface_QueryNameToIdMap_Call

type MockQueriesInterface_QueryNameToIdMap_Call struct {
	*mock.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 (*MockQueriesInterface_QueryNameToIdMap_Call) Run

func (*MockQueriesInterface_QueryNameToIdMap_Call) RunAndReturn

type MockQueriesInterface_Restore_Call

type MockQueriesInterface_Restore_Call struct {
	*mock.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 (*MockQueriesInterface_Restore_Call) Run

func (*MockQueriesInterface_Restore_Call) RunAndReturn

type MockQueriesInterface_Update_Call

type MockQueriesInterface_Update_Call struct {
	*mock.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 (*MockQueriesInterface_Update_Call) Run

func (*MockQueriesInterface_Update_Call) RunAndReturn

type MockQueriesInterface_WithImpl_Call

type MockQueriesInterface_WithImpl_Call struct {
	*mock.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 (*MockQueriesInterface_WithImpl_Call) Run

func (*MockQueriesInterface_WithImpl_Call) RunAndReturn

type MockQueryHistoryInterface

type MockQueryHistoryInterface struct {
	mock.Mock
}

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 (*MockQueryHistoryInterface) Impl

Impl provides a mock function with given fields:

func (*MockQueryHistoryInterface) List

List provides a mock function with given fields: ctx, request

func (*MockQueryHistoryInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockQueryHistoryInterface) WithImpl

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

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

WithImpl is a helper method to define mock.On call

  • impl sql.QueryHistoryService

type MockQueryHistoryInterface_Impl_Call

type MockQueryHistoryInterface_Impl_Call struct {
	*mock.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 (*MockQueryHistoryInterface_Impl_Call) Run

func (*MockQueryHistoryInterface_Impl_Call) RunAndReturn

type MockQueryHistoryInterface_ListAll_Call

type MockQueryHistoryInterface_ListAll_Call struct {
	*mock.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 (*MockQueryHistoryInterface_ListAll_Call) Run

func (*MockQueryHistoryInterface_ListAll_Call) RunAndReturn

type MockQueryHistoryInterface_List_Call

type MockQueryHistoryInterface_List_Call struct {
	*mock.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 (*MockQueryHistoryInterface_List_Call) Run

type MockQueryHistoryInterface_WithImpl_Call

type MockQueryHistoryInterface_WithImpl_Call struct {
	*mock.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 (*MockQueryHistoryInterface_WithImpl_Call) Run

func (*MockQueryHistoryInterface_WithImpl_Call) RunAndReturn

type MockQueryVisualizationsInterface

type MockQueryVisualizationsInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockQueryVisualizationsInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockQueryVisualizationsInterface) DeleteById

DeleteById provides a mock function with given fields: ctx, id

func (*MockQueryVisualizationsInterface) EXPECT

func (*MockQueryVisualizationsInterface) Impl

Impl provides a mock function with given fields:

func (*MockQueryVisualizationsInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockQueryVisualizationsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockQueryVisualizationsInterface_Create_Call

type MockQueryVisualizationsInterface_Create_Call struct {
	*mock.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 (*MockQueryVisualizationsInterface_Create_Call) Run

type MockQueryVisualizationsInterface_DeleteById_Call

type MockQueryVisualizationsInterface_DeleteById_Call struct {
	*mock.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 (*MockQueryVisualizationsInterface_DeleteById_Call) Run

func (*MockQueryVisualizationsInterface_DeleteById_Call) RunAndReturn

type MockQueryVisualizationsInterface_Delete_Call

type MockQueryVisualizationsInterface_Delete_Call struct {
	*mock.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 (*MockQueryVisualizationsInterface_Delete_Call) Run

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

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueryVisualizationsInterface_Expecter) Impl

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

WithImpl is a helper method to define mock.On call

  • impl sql.QueryVisualizationsService

type MockQueryVisualizationsInterface_Impl_Call

type MockQueryVisualizationsInterface_Impl_Call struct {
	*mock.Call
}

MockQueryVisualizationsInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'

func (*MockQueryVisualizationsInterface_Impl_Call) Return

func (*MockQueryVisualizationsInterface_Impl_Call) Run

func (*MockQueryVisualizationsInterface_Impl_Call) RunAndReturn

type MockQueryVisualizationsInterface_Update_Call

type MockQueryVisualizationsInterface_Update_Call struct {
	*mock.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 (*MockQueryVisualizationsInterface_Update_Call) Run

func (*MockQueryVisualizationsInterface_Update_Call) RunAndReturn

type MockQueryVisualizationsInterface_WithImpl_Call

type MockQueryVisualizationsInterface_WithImpl_Call struct {
	*mock.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

type MockStatementExecutionInterface

type MockStatementExecutionInterface struct {
	mock.Mock
}

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

CancelExecution provides a mock function with given fields: ctx, request

func (*MockStatementExecutionInterface) EXPECT

func (*MockStatementExecutionInterface) ExecuteAndWait

ExecuteAndWait provides a mock function with given fields: ctx, request

func (*MockStatementExecutionInterface) ExecuteStatement

ExecuteStatement provides a mock function with given fields: ctx, request

func (*MockStatementExecutionInterface) GetStatement

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

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

Impl provides a mock function with given fields:

func (*MockStatementExecutionInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockStatementExecutionInterface_CancelExecution_Call

type MockStatementExecutionInterface_CancelExecution_Call struct {
	*mock.Call
}

MockStatementExecutionInterface_CancelExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelExecution'

func (*MockStatementExecutionInterface_CancelExecution_Call) Return

func (*MockStatementExecutionInterface_CancelExecution_Call) Run

func (*MockStatementExecutionInterface_CancelExecution_Call) RunAndReturn

type MockStatementExecutionInterface_ExecuteAndWait_Call

type MockStatementExecutionInterface_ExecuteAndWait_Call struct {
	*mock.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 (*MockStatementExecutionInterface_ExecuteAndWait_Call) Run

type MockStatementExecutionInterface_ExecuteStatement_Call

type MockStatementExecutionInterface_ExecuteStatement_Call struct {
	*mock.Call
}

MockStatementExecutionInterface_ExecuteStatement_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteStatement'

func (*MockStatementExecutionInterface_ExecuteStatement_Call) Return

func (*MockStatementExecutionInterface_ExecuteStatement_Call) Run

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

Impl is a helper method to define mock.On call

func (*MockStatementExecutionInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl sql.StatementExecutionService

type MockStatementExecutionInterface_GetStatementByStatementId_Call

type MockStatementExecutionInterface_GetStatementByStatementId_Call struct {
	*mock.Call
}

MockStatementExecutionInterface_GetStatementByStatementId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatementByStatementId'

func (*MockStatementExecutionInterface_GetStatementByStatementId_Call) Return

func (*MockStatementExecutionInterface_GetStatementByStatementId_Call) Run

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

type MockStatementExecutionInterface_GetStatementResultChunkN_Call

type MockStatementExecutionInterface_GetStatementResultChunkN_Call struct {
	*mock.Call
}

MockStatementExecutionInterface_GetStatementResultChunkN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatementResultChunkN'

func (*MockStatementExecutionInterface_GetStatementResultChunkN_Call) Return

func (*MockStatementExecutionInterface_GetStatementResultChunkN_Call) Run

type MockStatementExecutionInterface_GetStatement_Call

type MockStatementExecutionInterface_GetStatement_Call struct {
	*mock.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 (*MockStatementExecutionInterface_GetStatement_Call) Run

type MockStatementExecutionInterface_Impl_Call

type MockStatementExecutionInterface_Impl_Call struct {
	*mock.Call
}

MockStatementExecutionInterface_Impl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Impl'

func (*MockStatementExecutionInterface_Impl_Call) Return

func (*MockStatementExecutionInterface_Impl_Call) Run

func (*MockStatementExecutionInterface_Impl_Call) RunAndReturn

type MockStatementExecutionInterface_WithImpl_Call

type MockStatementExecutionInterface_WithImpl_Call struct {
	*mock.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

type MockWarehousesInterface

type MockWarehousesInterface struct {
	mock.Mock
}

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

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

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 (*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

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

Get provides a mock function with given fields: ctx, request

func (*MockWarehousesInterface) GetById

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

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

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

Impl provides a mock function with given fields:

func (*MockWarehousesInterface) List

List provides a mock function with given fields: ctx, request

func (*MockWarehousesInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockWarehousesInterface) SetPermissions

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

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

StopAndWait provides a mock function with given fields: ctx, stopRequest, options

func (*MockWarehousesInterface) UpdatePermissions

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

WithImpl provides a mock function with given fields: impl

type MockWarehousesInterface_CreateAndWait_Call

type MockWarehousesInterface_CreateAndWait_Call struct {
	*mock.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 (*MockWarehousesInterface_CreateAndWait_Call) Run

type MockWarehousesInterface_Create_Call

type MockWarehousesInterface_Create_Call struct {
	*mock.Call
}

MockWarehousesInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MockWarehousesInterface_Create_Call) Run

type MockWarehousesInterface_DeleteById_Call

type MockWarehousesInterface_DeleteById_Call struct {
	*mock.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 (*MockWarehousesInterface_DeleteById_Call) Run

func (*MockWarehousesInterface_DeleteById_Call) RunAndReturn

type MockWarehousesInterface_Delete_Call

type MockWarehousesInterface_Delete_Call struct {
	*mock.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 (*MockWarehousesInterface_Delete_Call) Run

func (*MockWarehousesInterface_Delete_Call) RunAndReturn

type MockWarehousesInterface_EditAndWait_Call

type MockWarehousesInterface_EditAndWait_Call struct {
	*mock.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 (*MockWarehousesInterface_EditAndWait_Call) Run

type MockWarehousesInterface_Edit_Call

type MockWarehousesInterface_Edit_Call struct {
	*mock.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 (*MockWarehousesInterface_Edit_Call) Run

func (*MockWarehousesInterface_Edit_Call) RunAndReturn

type MockWarehousesInterface_EndpointInfoNameToIdMap_Call

type MockWarehousesInterface_EndpointInfoNameToIdMap_Call struct {
	*mock.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 (*MockWarehousesInterface_EndpointInfoNameToIdMap_Call) Run

func (*MockWarehousesInterface_EndpointInfoNameToIdMap_Call) RunAndReturn

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

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

WithImpl is a helper method to define mock.On call

  • impl sql.WarehousesService

type MockWarehousesInterface_GetById_Call

type MockWarehousesInterface_GetById_Call struct {
	*mock.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 (*MockWarehousesInterface_GetById_Call) Run

func (*MockWarehousesInterface_GetById_Call) RunAndReturn

type MockWarehousesInterface_GetByName_Call

type MockWarehousesInterface_GetByName_Call struct {
	*mock.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 (*MockWarehousesInterface_GetByName_Call) Run

func (*MockWarehousesInterface_GetByName_Call) RunAndReturn

type MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call

type MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call struct {
	*mock.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

type MockWarehousesInterface_GetPermissionLevels_Call

type MockWarehousesInterface_GetPermissionLevels_Call struct {
	*mock.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

type MockWarehousesInterface_GetPermissionsByWarehouseId_Call

type MockWarehousesInterface_GetPermissionsByWarehouseId_Call struct {
	*mock.Call
}

MockWarehousesInterface_GetPermissionsByWarehouseId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissionsByWarehouseId'

func (*MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Return

func (*MockWarehousesInterface_GetPermissionsByWarehouseId_Call) Run

func (*MockWarehousesInterface_GetPermissionsByWarehouseId_Call) RunAndReturn

type MockWarehousesInterface_GetPermissions_Call

type MockWarehousesInterface_GetPermissions_Call struct {
	*mock.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 (*MockWarehousesInterface_GetPermissions_Call) Run

type MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call

type MockWarehousesInterface_GetWorkspaceWarehouseConfig_Call struct {
	*mock.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

type MockWarehousesInterface_Get_Call

type MockWarehousesInterface_Get_Call struct {
	*mock.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 (*MockWarehousesInterface_Get_Call) Run

type MockWarehousesInterface_Impl_Call

type MockWarehousesInterface_Impl_Call struct {
	*mock.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 (*MockWarehousesInterface_Impl_Call) Run

func (*MockWarehousesInterface_Impl_Call) RunAndReturn

type MockWarehousesInterface_ListAll_Call

type MockWarehousesInterface_ListAll_Call struct {
	*mock.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 (*MockWarehousesInterface_ListAll_Call) Run

func (*MockWarehousesInterface_ListAll_Call) RunAndReturn

type MockWarehousesInterface_List_Call

type MockWarehousesInterface_List_Call struct {
	*mock.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 (*MockWarehousesInterface_List_Call) Run

type MockWarehousesInterface_SetPermissions_Call

type MockWarehousesInterface_SetPermissions_Call struct {
	*mock.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 (*MockWarehousesInterface_SetPermissions_Call) Run

type MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call

type MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call struct {
	*mock.Call
}

MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWorkspaceWarehouseConfig'

func (*MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Return

func (*MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) Run

type MockWarehousesInterface_StartAndWait_Call

type MockWarehousesInterface_StartAndWait_Call struct {
	*mock.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 (*MockWarehousesInterface_StartAndWait_Call) Run

type MockWarehousesInterface_Start_Call

type MockWarehousesInterface_Start_Call struct {
	*mock.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 (*MockWarehousesInterface_Start_Call) Run

func (*MockWarehousesInterface_Start_Call) RunAndReturn

type MockWarehousesInterface_StopAndWait_Call

type MockWarehousesInterface_StopAndWait_Call struct {
	*mock.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 (*MockWarehousesInterface_StopAndWait_Call) Run

type MockWarehousesInterface_Stop_Call

type MockWarehousesInterface_Stop_Call struct {
	*mock.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 (*MockWarehousesInterface_Stop_Call) Run

func (*MockWarehousesInterface_Stop_Call) RunAndReturn

type MockWarehousesInterface_UpdatePermissions_Call

type MockWarehousesInterface_UpdatePermissions_Call struct {
	*mock.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 (*MockWarehousesInterface_UpdatePermissions_Call) Run

type MockWarehousesInterface_WaitGetWarehouseRunning_Call

type MockWarehousesInterface_WaitGetWarehouseRunning_Call struct {
	*mock.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 (*MockWarehousesInterface_WaitGetWarehouseRunning_Call) Run

type MockWarehousesInterface_WaitGetWarehouseStopped_Call

type MockWarehousesInterface_WaitGetWarehouseStopped_Call struct {
	*mock.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 (*MockWarehousesInterface_WaitGetWarehouseStopped_Call) Run

type MockWarehousesInterface_WithImpl_Call

type MockWarehousesInterface_WithImpl_Call struct {
	*mock.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 (*MockWarehousesInterface_WithImpl_Call) Run

func (*MockWarehousesInterface_WithImpl_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL