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

sql

package
v0.190.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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) Create

func (_mock *MockAlertsInterface) Create(ctx context.Context, request sql.CreateAlertRequest) (*sql.Alert, error)

Create provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) Delete

func (_mock *MockAlertsInterface) Delete(ctx context.Context, request sql.TrashAlertRequest) error

Delete provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) DeleteById added in v0.44.0

func (_mock *MockAlertsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) EXPECT

func (*MockAlertsInterface) Get

func (_mock *MockAlertsInterface) Get(ctx context.Context, request sql.GetAlertRequest) (*sql.Alert, error)

Get provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) GetByDisplayName added in v0.44.0

func (_mock *MockAlertsInterface) GetByDisplayName(ctx context.Context, name string) (*sql.ListAlertsResponseAlert, error)

GetByDisplayName provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) GetById added in v0.44.0

func (_mock *MockAlertsInterface) GetById(ctx context.Context, id string) (*sql.Alert, error)

GetById provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) List

List provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) ListAlertsResponseAlertDisplayNameToIdMap added in v0.44.0

func (_mock *MockAlertsInterface) ListAlertsResponseAlertDisplayNameToIdMap(ctx context.Context, request sql.ListAlertsRequest) (map[string]string, error)

ListAlertsResponseAlertDisplayNameToIdMap provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) ListAll added in v0.44.0

ListAll provides a mock function for the type MockAlertsInterface

func (*MockAlertsInterface) Update

func (_mock *MockAlertsInterface) Update(ctx context.Context, request sql.UpdateAlertRequest) (*sql.Alert, error)

Update provides a mock function for the type MockAlertsInterface

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_DeleteById_Call added in v0.44.0

type MockAlertsInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockAlertsInterface_DeleteById_Call) Return added in v0.44.0

func (*MockAlertsInterface_DeleteById_Call) Run added in v0.44.0

func (*MockAlertsInterface_DeleteById_Call) RunAndReturn added in v0.44.0

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) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateAlertRequest

func (*MockAlertsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.TrashAlertRequest

func (*MockAlertsInterface_Expecter) DeleteById added in v0.44.0

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAlertsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetAlertRequest

func (*MockAlertsInterface_Expecter) GetByDisplayName added in v0.44.0

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAlertsInterface_Expecter) GetById added in v0.44.0

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAlertsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsRequest

func (*MockAlertsInterface_Expecter) ListAlertsResponseAlertDisplayNameToIdMap added in v0.44.0

func (_e *MockAlertsInterface_Expecter) ListAlertsResponseAlertDisplayNameToIdMap(ctx any, request any) *MockAlertsInterface_ListAlertsResponseAlertDisplayNameToIdMap_Call

ListAlertsResponseAlertDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsRequest

func (*MockAlertsInterface_Expecter) ListAll added in v0.44.0

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsRequest

func (*MockAlertsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateAlertRequest

type MockAlertsInterface_GetByDisplayName_Call added in v0.44.0

type MockAlertsInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockAlertsInterface_GetByDisplayName_Call) Return added in v0.44.0

func (*MockAlertsInterface_GetByDisplayName_Call) Run added in v0.44.0

func (*MockAlertsInterface_GetByDisplayName_Call) RunAndReturn added in v0.44.0

type MockAlertsInterface_GetById_Call added in v0.44.0

type MockAlertsInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockAlertsInterface_GetById_Call) Return added in v0.44.0

func (*MockAlertsInterface_GetById_Call) Run added in v0.44.0

func (*MockAlertsInterface_GetById_Call) RunAndReturn added in v0.44.0

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_ListAlertsResponseAlertDisplayNameToIdMap_Call added in v0.44.0

type MockAlertsInterface_ListAlertsResponseAlertDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockAlertsInterface_ListAlertsResponseAlertDisplayNameToIdMap_Call) Return added in v0.44.0

func (*MockAlertsInterface_ListAlertsResponseAlertDisplayNameToIdMap_Call) Run added in v0.44.0

func (*MockAlertsInterface_ListAlertsResponseAlertDisplayNameToIdMap_Call) RunAndReturn added in v0.44.0

type MockAlertsInterface_ListAll_Call added in v0.44.0

type MockAlertsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAlertsInterface_ListAll_Call) Return added in v0.44.0

func (*MockAlertsInterface_ListAll_Call) Run added in v0.44.0

func (*MockAlertsInterface_ListAll_Call) RunAndReturn added in v0.44.0

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 MockAlertsLegacyInterface added in v0.44.0

type MockAlertsLegacyInterface struct {
	mock.Mock
}

MockAlertsLegacyInterface is an autogenerated mock type for the AlertsLegacyInterface type

func NewMockAlertsLegacyInterface added in v0.44.0

func NewMockAlertsLegacyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAlertsLegacyInterface

NewMockAlertsLegacyInterface creates a new instance of MockAlertsLegacyInterface. 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 (*MockAlertsLegacyInterface) Create added in v0.44.0

func (_mock *MockAlertsLegacyInterface) Create(ctx context.Context, request sql.CreateAlert) (*sql.LegacyAlert, error)

Create provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) Delete added in v0.44.0

Delete provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) DeleteByAlertId added in v0.44.0

func (_mock *MockAlertsLegacyInterface) DeleteByAlertId(ctx context.Context, alertId string) error

DeleteByAlertId provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) EXPECT added in v0.44.0

func (*MockAlertsLegacyInterface) Get added in v0.44.0

Get provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) GetByAlertId added in v0.44.0

func (_mock *MockAlertsLegacyInterface) GetByAlertId(ctx context.Context, alertId string) (*sql.LegacyAlert, error)

GetByAlertId provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) List added in v0.44.0

List provides a mock function for the type MockAlertsLegacyInterface

func (*MockAlertsLegacyInterface) Update added in v0.44.0

func (_mock *MockAlertsLegacyInterface) Update(ctx context.Context, request sql.EditAlert) error

Update provides a mock function for the type MockAlertsLegacyInterface

type MockAlertsLegacyInterface_Create_Call added in v0.44.0

type MockAlertsLegacyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_Create_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_Create_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_Create_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_DeleteByAlertId_Call added in v0.44.0

type MockAlertsLegacyInterface_DeleteByAlertId_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_DeleteByAlertId_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_DeleteByAlertId_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_DeleteByAlertId_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_Delete_Call added in v0.44.0

type MockAlertsLegacyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_Delete_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_Delete_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_Delete_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_Expecter added in v0.44.0

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

func (*MockAlertsLegacyInterface_Expecter) Create added in v0.44.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateAlert

func (*MockAlertsLegacyInterface_Expecter) Delete added in v0.44.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteAlertsLegacyRequest

func (*MockAlertsLegacyInterface_Expecter) DeleteByAlertId added in v0.44.0

DeleteByAlertId is a helper method to define mock.On call

  • ctx context.Context
  • alertId string

func (*MockAlertsLegacyInterface_Expecter) Get added in v0.44.0

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetAlertsLegacyRequest

func (*MockAlertsLegacyInterface_Expecter) GetByAlertId added in v0.44.0

GetByAlertId is a helper method to define mock.On call

  • ctx context.Context
  • alertId string

func (*MockAlertsLegacyInterface_Expecter) List added in v0.44.0

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockAlertsLegacyInterface_Expecter) Update added in v0.44.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.EditAlert

type MockAlertsLegacyInterface_GetByAlertId_Call added in v0.44.0

type MockAlertsLegacyInterface_GetByAlertId_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_GetByAlertId_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_GetByAlertId_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_GetByAlertId_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_Get_Call added in v0.44.0

type MockAlertsLegacyInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_Get_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_Get_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_Get_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_List_Call added in v0.44.0

type MockAlertsLegacyInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_List_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_List_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_List_Call) RunAndReturn added in v0.44.0

type MockAlertsLegacyInterface_Update_Call added in v0.44.0

type MockAlertsLegacyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAlertsLegacyInterface_Update_Call) Return added in v0.44.0

func (*MockAlertsLegacyInterface_Update_Call) Run added in v0.44.0

func (*MockAlertsLegacyInterface_Update_Call) RunAndReturn added in v0.44.0

type MockAlertsV2Interface added in v0.66.0

type MockAlertsV2Interface struct {
	mock.Mock
}

MockAlertsV2Interface is an autogenerated mock type for the AlertsV2Interface type

func NewMockAlertsV2Interface added in v0.66.0

func NewMockAlertsV2Interface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAlertsV2Interface

NewMockAlertsV2Interface creates a new instance of MockAlertsV2Interface. 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 (*MockAlertsV2Interface) AlertV2DisplayNameToIdMap added in v0.67.0

func (_mock *MockAlertsV2Interface) AlertV2DisplayNameToIdMap(ctx context.Context, request sql.ListAlertsV2Request) (map[string]string, error)

AlertV2DisplayNameToIdMap provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) CreateAlert added in v0.66.0

func (_mock *MockAlertsV2Interface) CreateAlert(ctx context.Context, request sql.CreateAlertV2Request) (*sql.AlertV2, error)

CreateAlert provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) EXPECT added in v0.66.0

func (*MockAlertsV2Interface) GetAlert added in v0.66.0

func (_mock *MockAlertsV2Interface) GetAlert(ctx context.Context, request sql.GetAlertV2Request) (*sql.AlertV2, error)

GetAlert provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) GetAlertById added in v0.66.0

func (_mock *MockAlertsV2Interface) GetAlertById(ctx context.Context, id string) (*sql.AlertV2, error)

GetAlertById provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) GetByDisplayName added in v0.66.0

func (_mock *MockAlertsV2Interface) GetByDisplayName(ctx context.Context, name string) (*sql.AlertV2, error)

GetByDisplayName provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) ListAlerts added in v0.66.0

ListAlerts provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) ListAlertsAll added in v0.66.0

func (_mock *MockAlertsV2Interface) ListAlertsAll(ctx context.Context, request sql.ListAlertsV2Request) ([]sql.AlertV2, error)

ListAlertsAll provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) TrashAlert added in v0.66.0

func (_mock *MockAlertsV2Interface) TrashAlert(ctx context.Context, request sql.TrashAlertV2Request) error

TrashAlert provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) TrashAlertById added in v0.66.0

func (_mock *MockAlertsV2Interface) TrashAlertById(ctx context.Context, id string) error

TrashAlertById provides a mock function for the type MockAlertsV2Interface

func (*MockAlertsV2Interface) UpdateAlert added in v0.66.0

func (_mock *MockAlertsV2Interface) UpdateAlert(ctx context.Context, request sql.UpdateAlertV2Request) (*sql.AlertV2, error)

UpdateAlert provides a mock function for the type MockAlertsV2Interface

type MockAlertsV2Interface_AlertV2DisplayNameToIdMap_Call added in v0.67.0

type MockAlertsV2Interface_AlertV2DisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_AlertV2DisplayNameToIdMap_Call) Return added in v0.67.0

func (*MockAlertsV2Interface_AlertV2DisplayNameToIdMap_Call) Run added in v0.67.0

func (*MockAlertsV2Interface_AlertV2DisplayNameToIdMap_Call) RunAndReturn added in v0.67.0

type MockAlertsV2Interface_CreateAlert_Call added in v0.66.0

type MockAlertsV2Interface_CreateAlert_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_CreateAlert_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_CreateAlert_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_CreateAlert_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_Expecter added in v0.66.0

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

func (*MockAlertsV2Interface_Expecter) AlertV2DisplayNameToIdMap added in v0.67.0

AlertV2DisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsV2Request

func (*MockAlertsV2Interface_Expecter) CreateAlert added in v0.66.0

CreateAlert is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateAlertV2Request

func (*MockAlertsV2Interface_Expecter) GetAlert added in v0.66.0

GetAlert is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetAlertV2Request

func (*MockAlertsV2Interface_Expecter) GetAlertById added in v0.66.0

GetAlertById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAlertsV2Interface_Expecter) GetByDisplayName added in v0.66.0

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAlertsV2Interface_Expecter) ListAlerts added in v0.66.0

ListAlerts is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsV2Request

func (*MockAlertsV2Interface_Expecter) ListAlertsAll added in v0.66.0

ListAlertsAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListAlertsV2Request

func (*MockAlertsV2Interface_Expecter) TrashAlert added in v0.66.0

TrashAlert is a helper method to define mock.On call

  • ctx context.Context
  • request sql.TrashAlertV2Request

func (*MockAlertsV2Interface_Expecter) TrashAlertById added in v0.66.0

TrashAlertById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAlertsV2Interface_Expecter) UpdateAlert added in v0.66.0

UpdateAlert is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateAlertV2Request

type MockAlertsV2Interface_GetAlertById_Call added in v0.66.0

type MockAlertsV2Interface_GetAlertById_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_GetAlertById_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_GetAlertById_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_GetAlertById_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_GetAlert_Call added in v0.66.0

type MockAlertsV2Interface_GetAlert_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_GetAlert_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_GetAlert_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_GetAlert_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_GetByDisplayName_Call added in v0.66.0

type MockAlertsV2Interface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_GetByDisplayName_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_GetByDisplayName_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_GetByDisplayName_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_ListAlertsAll_Call added in v0.66.0

type MockAlertsV2Interface_ListAlertsAll_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_ListAlertsAll_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_ListAlertsAll_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_ListAlertsAll_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_ListAlerts_Call added in v0.66.0

type MockAlertsV2Interface_ListAlerts_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_ListAlerts_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_ListAlerts_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_ListAlerts_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_TrashAlertById_Call added in v0.66.0

type MockAlertsV2Interface_TrashAlertById_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_TrashAlertById_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_TrashAlertById_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_TrashAlertById_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_TrashAlert_Call added in v0.66.0

type MockAlertsV2Interface_TrashAlert_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_TrashAlert_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_TrashAlert_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_TrashAlert_Call) RunAndReturn added in v0.66.0

type MockAlertsV2Interface_UpdateAlert_Call added in v0.66.0

type MockAlertsV2Interface_UpdateAlert_Call struct {
	*mock.Call
}

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

func (*MockAlertsV2Interface_UpdateAlert_Call) Return added in v0.66.0

func (*MockAlertsV2Interface_UpdateAlert_Call) Run added in v0.66.0

func (*MockAlertsV2Interface_UpdateAlert_Call) RunAndReturn added in v0.66.0

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

func (_mock *MockDashboardWidgetsInterface) Create(ctx context.Context, request sql.CreateWidget) (*sql.Widget, error)

Create provides a mock function for the type MockDashboardWidgetsInterface

func (*MockDashboardWidgetsInterface) Delete

Delete provides a mock function for the type MockDashboardWidgetsInterface

func (*MockDashboardWidgetsInterface) DeleteById

func (_mock *MockDashboardWidgetsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function for the type MockDashboardWidgetsInterface

func (*MockDashboardWidgetsInterface) EXPECT

func (*MockDashboardWidgetsInterface) Update

Update provides a mock function for the type MockDashboardWidgetsInterface

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

func (*MockDashboardWidgetsInterface_Delete_Call) RunAndReturn

type MockDashboardWidgetsInterface_Expecter

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

func (*MockDashboardWidgetsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateWidget

func (*MockDashboardWidgetsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteDashboardWidgetRequest

func (*MockDashboardWidgetsInterface_Expecter) DeleteById

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockDashboardWidgetsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateWidgetRequest

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 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) Delete

Delete provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) DeleteByDashboardId

func (_mock *MockDashboardsInterface) DeleteByDashboardId(ctx context.Context, dashboardId string) error

DeleteByDashboardId provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) EXPECT

func (*MockDashboardsInterface) Get

Get provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) GetByDashboardId

func (_mock *MockDashboardsInterface) GetByDashboardId(ctx context.Context, dashboardId string) (*sql.Dashboard, error)

GetByDashboardId provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) List

List provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) ListAll

ListAll provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) Restore

Restore provides a mock function for the type MockDashboardsInterface

func (*MockDashboardsInterface) Update added in v0.30.0

Update provides a mock function for the type MockDashboardsInterface

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) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteDashboardRequest

func (*MockDashboardsInterface_Expecter) DeleteByDashboardId

DeleteByDashboardId is a helper method to define mock.On call

  • ctx context.Context
  • dashboardId string

func (*MockDashboardsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetDashboardRequest

func (*MockDashboardsInterface_Expecter) GetByDashboardId

GetByDashboardId is a helper method to define mock.On call

  • ctx context.Context
  • dashboardId string

func (*MockDashboardsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListDashboardsRequest

func (*MockDashboardsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListDashboardsRequest

func (*MockDashboardsInterface_Expecter) Restore

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

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DashboardEditContent

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_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_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

func (*MockDashboardsInterface_List_Call) RunAndReturn

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 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) EXPECT

func (*MockDataSourcesInterface) List

List provides a mock function for the type MockDataSourcesInterface

type MockDataSourcesInterface_Expecter

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

func (*MockDataSourcesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

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 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 for the type MockDbsqlPermissionsInterface

func (*MockDbsqlPermissionsInterface) GetByObjectTypeAndObjectId

func (_mock *MockDbsqlPermissionsInterface) GetByObjectTypeAndObjectId(ctx context.Context, objectType sql.ObjectTypePlural, objectId string) (*sql.GetResponse, error)

GetByObjectTypeAndObjectId provides a mock function for the type MockDbsqlPermissionsInterface

func (*MockDbsqlPermissionsInterface) Set

Set provides a mock function for the type MockDbsqlPermissionsInterface

func (*MockDbsqlPermissionsInterface) TransferOwnership

func (_mock *MockDbsqlPermissionsInterface) TransferOwnership(ctx context.Context, request sql.TransferOwnershipRequest) (*sql.Success, error)

TransferOwnership provides a mock function for the type MockDbsqlPermissionsInterface

type MockDbsqlPermissionsInterface_Expecter

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

func (*MockDbsqlPermissionsInterface_Expecter) Get

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 any, objectType any, objectId any) *MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call

GetByObjectTypeAndObjectId is a helper method to define mock.On call

  • ctx context.Context
  • objectType sql.ObjectTypePlural
  • objectId string

func (*MockDbsqlPermissionsInterface_Expecter) Set

Set is a helper method to define mock.On call

  • ctx context.Context
  • request sql.SetRequest

func (*MockDbsqlPermissionsInterface_Expecter) TransferOwnership

TransferOwnership is a helper method to define mock.On call

  • ctx context.Context
  • request sql.TransferOwnershipRequest

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

func (*MockDbsqlPermissionsInterface_GetByObjectTypeAndObjectId_Call) RunAndReturn

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

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

func (*MockDbsqlPermissionsInterface_TransferOwnership_Call) RunAndReturn

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 (_mock *MockQueriesInterface) Create(ctx context.Context, request sql.CreateQueryRequest) (*sql.Query, error)

Create provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) Delete

func (_mock *MockQueriesInterface) Delete(ctx context.Context, request sql.TrashQueryRequest) error

Delete provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) DeleteById added in v0.44.0

func (_mock *MockQueriesInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) EXPECT

func (*MockQueriesInterface) Get

func (_mock *MockQueriesInterface) Get(ctx context.Context, request sql.GetQueryRequest) (*sql.Query, error)

Get provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) GetByDisplayName added in v0.44.0

func (_mock *MockQueriesInterface) GetByDisplayName(ctx context.Context, name string) (*sql.ListQueryObjectsResponseQuery, error)

GetByDisplayName provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) GetById added in v0.44.0

func (_mock *MockQueriesInterface) GetById(ctx context.Context, id string) (*sql.Query, error)

GetById provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) List

List provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) ListAll

ListAll provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) ListQueryObjectsResponseQueryDisplayNameToIdMap added in v0.44.0

func (_mock *MockQueriesInterface) ListQueryObjectsResponseQueryDisplayNameToIdMap(ctx context.Context, request sql.ListQueriesRequest) (map[string]string, error)

ListQueryObjectsResponseQueryDisplayNameToIdMap provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) ListVisualizations added in v0.44.0

ListVisualizations provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) ListVisualizationsAll added in v0.44.0

func (_mock *MockQueriesInterface) ListVisualizationsAll(ctx context.Context, request sql.ListVisualizationsForQueryRequest) ([]sql.Visualization, error)

ListVisualizationsAll provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) ListVisualizationsById added in v0.44.0

func (_mock *MockQueriesInterface) ListVisualizationsById(ctx context.Context, id string) (*sql.ListVisualizationsForQueryResponse, error)

ListVisualizationsById provides a mock function for the type MockQueriesInterface

func (*MockQueriesInterface) Update

func (_mock *MockQueriesInterface) Update(ctx context.Context, request sql.UpdateQueryRequest) (*sql.Query, error)

Update provides a mock function for the type MockQueriesInterface

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_DeleteById_Call added in v0.44.0

type MockQueriesInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_DeleteById_Call) Return added in v0.44.0

func (*MockQueriesInterface_DeleteById_Call) Run added in v0.44.0

func (*MockQueriesInterface_DeleteById_Call) RunAndReturn added in v0.44.0

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

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateQueryRequest

func (*MockQueriesInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.TrashQueryRequest

func (*MockQueriesInterface_Expecter) DeleteById added in v0.44.0

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueriesInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetQueryRequest

func (*MockQueriesInterface_Expecter) GetByDisplayName added in v0.44.0

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockQueriesInterface_Expecter) GetById added in v0.44.0

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueriesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueriesRequest

func (*MockQueriesInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueriesRequest

func (*MockQueriesInterface_Expecter) ListQueryObjectsResponseQueryDisplayNameToIdMap added in v0.44.0

func (_e *MockQueriesInterface_Expecter) ListQueryObjectsResponseQueryDisplayNameToIdMap(ctx any, request any) *MockQueriesInterface_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call

ListQueryObjectsResponseQueryDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueriesRequest

func (*MockQueriesInterface_Expecter) ListVisualizations added in v0.44.0

ListVisualizations is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListVisualizationsForQueryRequest

func (*MockQueriesInterface_Expecter) ListVisualizationsAll added in v0.44.0

ListVisualizationsAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListVisualizationsForQueryRequest

func (*MockQueriesInterface_Expecter) ListVisualizationsById added in v0.44.0

ListVisualizationsById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueriesInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateQueryRequest

type MockQueriesInterface_GetByDisplayName_Call added in v0.44.0

type MockQueriesInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_GetByDisplayName_Call) Return added in v0.44.0

func (*MockQueriesInterface_GetByDisplayName_Call) Run added in v0.44.0

func (*MockQueriesInterface_GetByDisplayName_Call) RunAndReturn added in v0.44.0

type MockQueriesInterface_GetById_Call added in v0.44.0

type MockQueriesInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_GetById_Call) Return added in v0.44.0

func (*MockQueriesInterface_GetById_Call) Run added in v0.44.0

func (*MockQueriesInterface_GetById_Call) RunAndReturn added in v0.44.0

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_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_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call added in v0.44.0

type MockQueriesInterface_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call) Return added in v0.44.0

func (*MockQueriesInterface_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call) Run added in v0.44.0

func (*MockQueriesInterface_ListQueryObjectsResponseQueryDisplayNameToIdMap_Call) RunAndReturn added in v0.44.0

type MockQueriesInterface_ListVisualizationsAll_Call added in v0.44.0

type MockQueriesInterface_ListVisualizationsAll_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_ListVisualizationsAll_Call) Return added in v0.44.0

func (*MockQueriesInterface_ListVisualizationsAll_Call) Run added in v0.44.0

func (*MockQueriesInterface_ListVisualizationsAll_Call) RunAndReturn added in v0.44.0

type MockQueriesInterface_ListVisualizationsById_Call added in v0.44.0

type MockQueriesInterface_ListVisualizationsById_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_ListVisualizationsById_Call) Return added in v0.44.0

func (*MockQueriesInterface_ListVisualizationsById_Call) Run added in v0.44.0

func (*MockQueriesInterface_ListVisualizationsById_Call) RunAndReturn added in v0.44.0

type MockQueriesInterface_ListVisualizations_Call added in v0.44.0

type MockQueriesInterface_ListVisualizations_Call struct {
	*mock.Call
}

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

func (*MockQueriesInterface_ListVisualizations_Call) Return added in v0.44.0

func (*MockQueriesInterface_ListVisualizations_Call) Run added in v0.44.0

func (*MockQueriesInterface_ListVisualizations_Call) RunAndReturn added in v0.44.0

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

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 MockQueriesLegacyInterface added in v0.44.0

type MockQueriesLegacyInterface struct {
	mock.Mock
}

MockQueriesLegacyInterface is an autogenerated mock type for the QueriesLegacyInterface type

func NewMockQueriesLegacyInterface added in v0.44.0

func NewMockQueriesLegacyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueriesLegacyInterface

NewMockQueriesLegacyInterface creates a new instance of MockQueriesLegacyInterface. 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 (*MockQueriesLegacyInterface) Create added in v0.44.0

Create provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) Delete added in v0.44.0

Delete provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) DeleteByQueryId added in v0.44.0

func (_mock *MockQueriesLegacyInterface) DeleteByQueryId(ctx context.Context, queryId string) error

DeleteByQueryId provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) EXPECT added in v0.44.0

func (*MockQueriesLegacyInterface) Get added in v0.44.0

Get provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) GetByQueryId added in v0.44.0

func (_mock *MockQueriesLegacyInterface) GetByQueryId(ctx context.Context, queryId string) (*sql.LegacyQuery, error)

GetByQueryId provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) List added in v0.44.0

List provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) ListAll added in v0.44.0

ListAll provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) Restore added in v0.44.0

Restore provides a mock function for the type MockQueriesLegacyInterface

func (*MockQueriesLegacyInterface) Update added in v0.44.0

Update provides a mock function for the type MockQueriesLegacyInterface

type MockQueriesLegacyInterface_Create_Call added in v0.44.0

type MockQueriesLegacyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_Create_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_Create_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_Create_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_DeleteByQueryId_Call added in v0.44.0

type MockQueriesLegacyInterface_DeleteByQueryId_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_DeleteByQueryId_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_DeleteByQueryId_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_DeleteByQueryId_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_Delete_Call added in v0.44.0

type MockQueriesLegacyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_Delete_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_Delete_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_Delete_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_Expecter added in v0.44.0

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

func (*MockQueriesLegacyInterface_Expecter) Create added in v0.44.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.QueryPostContent

func (*MockQueriesLegacyInterface_Expecter) Delete added in v0.44.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteQueriesLegacyRequest

func (*MockQueriesLegacyInterface_Expecter) DeleteByQueryId added in v0.44.0

DeleteByQueryId is a helper method to define mock.On call

  • ctx context.Context
  • queryId string

func (*MockQueriesLegacyInterface_Expecter) Get added in v0.44.0

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetQueriesLegacyRequest

func (*MockQueriesLegacyInterface_Expecter) GetByQueryId added in v0.44.0

GetByQueryId is a helper method to define mock.On call

  • ctx context.Context
  • queryId string

func (*MockQueriesLegacyInterface_Expecter) List added in v0.44.0

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueriesLegacyRequest

func (*MockQueriesLegacyInterface_Expecter) ListAll added in v0.44.0

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueriesLegacyRequest

func (*MockQueriesLegacyInterface_Expecter) Restore added in v0.44.0

Restore is a helper method to define mock.On call

  • ctx context.Context
  • request sql.RestoreQueriesLegacyRequest

func (*MockQueriesLegacyInterface_Expecter) Update added in v0.44.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.QueryEditContent

type MockQueriesLegacyInterface_GetByQueryId_Call added in v0.44.0

type MockQueriesLegacyInterface_GetByQueryId_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_GetByQueryId_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_GetByQueryId_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_GetByQueryId_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_Get_Call added in v0.44.0

type MockQueriesLegacyInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_Get_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_Get_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_Get_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_ListAll_Call added in v0.44.0

type MockQueriesLegacyInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_ListAll_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_ListAll_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_ListAll_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_List_Call added in v0.44.0

type MockQueriesLegacyInterface_List_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_List_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_List_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_List_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_Restore_Call added in v0.44.0

type MockQueriesLegacyInterface_Restore_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_Restore_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_Restore_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_Restore_Call) RunAndReturn added in v0.44.0

type MockQueriesLegacyInterface_Update_Call added in v0.44.0

type MockQueriesLegacyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockQueriesLegacyInterface_Update_Call) Return added in v0.44.0

func (*MockQueriesLegacyInterface_Update_Call) Run added in v0.44.0

func (*MockQueriesLegacyInterface_Update_Call) RunAndReturn added in v0.44.0

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) List

List provides a mock function for the type MockQueryHistoryInterface

type MockQueryHistoryInterface_Expecter

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

func (*MockQueryHistoryInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListQueryHistoryRequest

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

func (*MockQueryHistoryInterface_List_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 for the type MockQueryVisualizationsInterface

func (*MockQueryVisualizationsInterface) Delete

Delete provides a mock function for the type MockQueryVisualizationsInterface

func (*MockQueryVisualizationsInterface) DeleteById

func (_mock *MockQueryVisualizationsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function for the type MockQueryVisualizationsInterface

func (*MockQueryVisualizationsInterface) EXPECT

func (*MockQueryVisualizationsInterface) Update

Update provides a mock function for the type MockQueryVisualizationsInterface

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

func (*MockQueryVisualizationsInterface_Create_Call) RunAndReturn

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

func (*MockQueryVisualizationsInterface_Delete_Call) RunAndReturn

type MockQueryVisualizationsInterface_Expecter

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

func (*MockQueryVisualizationsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateVisualizationRequest

func (*MockQueryVisualizationsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteVisualizationRequest

func (*MockQueryVisualizationsInterface_Expecter) DeleteById

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueryVisualizationsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateVisualizationRequest

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 MockQueryVisualizationsLegacyInterface added in v0.44.0

type MockQueryVisualizationsLegacyInterface struct {
	mock.Mock
}

MockQueryVisualizationsLegacyInterface is an autogenerated mock type for the QueryVisualizationsLegacyInterface type

func NewMockQueryVisualizationsLegacyInterface added in v0.44.0

func NewMockQueryVisualizationsLegacyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryVisualizationsLegacyInterface

NewMockQueryVisualizationsLegacyInterface creates a new instance of MockQueryVisualizationsLegacyInterface. 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 (*MockQueryVisualizationsLegacyInterface) Create added in v0.44.0

Create provides a mock function for the type MockQueryVisualizationsLegacyInterface

func (*MockQueryVisualizationsLegacyInterface) Delete added in v0.44.0

Delete provides a mock function for the type MockQueryVisualizationsLegacyInterface

func (*MockQueryVisualizationsLegacyInterface) DeleteById added in v0.44.0

DeleteById provides a mock function for the type MockQueryVisualizationsLegacyInterface

func (*MockQueryVisualizationsLegacyInterface) EXPECT added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface) Update added in v0.44.0

Update provides a mock function for the type MockQueryVisualizationsLegacyInterface

type MockQueryVisualizationsLegacyInterface_Create_Call added in v0.44.0

type MockQueryVisualizationsLegacyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockQueryVisualizationsLegacyInterface_Create_Call) Return added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Create_Call) Run added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Create_Call) RunAndReturn added in v0.44.0

type MockQueryVisualizationsLegacyInterface_DeleteById_Call added in v0.44.0

type MockQueryVisualizationsLegacyInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockQueryVisualizationsLegacyInterface_DeleteById_Call) Return added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_DeleteById_Call) Run added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_DeleteById_Call) RunAndReturn added in v0.44.0

type MockQueryVisualizationsLegacyInterface_Delete_Call added in v0.44.0

type MockQueryVisualizationsLegacyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockQueryVisualizationsLegacyInterface_Delete_Call) Return added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Delete_Call) Run added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Delete_Call) RunAndReturn added in v0.44.0

type MockQueryVisualizationsLegacyInterface_Expecter added in v0.44.0

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

func (*MockQueryVisualizationsLegacyInterface_Expecter) Create added in v0.44.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateQueryVisualizationsLegacyRequest

func (*MockQueryVisualizationsLegacyInterface_Expecter) Delete added in v0.44.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteQueryVisualizationsLegacyRequest

func (*MockQueryVisualizationsLegacyInterface_Expecter) DeleteById added in v0.44.0

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockQueryVisualizationsLegacyInterface_Expecter) Update added in v0.44.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sql.LegacyVisualization

type MockQueryVisualizationsLegacyInterface_Update_Call added in v0.44.0

type MockQueryVisualizationsLegacyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockQueryVisualizationsLegacyInterface_Update_Call) Return added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Update_Call) Run added in v0.44.0

func (*MockQueryVisualizationsLegacyInterface_Update_Call) RunAndReturn added in v0.44.0

type MockRedashConfigInterface added in v0.57.0

type MockRedashConfigInterface struct {
	mock.Mock
}

MockRedashConfigInterface is an autogenerated mock type for the RedashConfigInterface type

func NewMockRedashConfigInterface added in v0.57.0

func NewMockRedashConfigInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRedashConfigInterface

NewMockRedashConfigInterface creates a new instance of MockRedashConfigInterface. 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 (*MockRedashConfigInterface) EXPECT added in v0.57.0

func (*MockRedashConfigInterface) GetConfig added in v0.57.0

func (_mock *MockRedashConfigInterface) GetConfig(ctx context.Context) (*sql.ClientConfig, error)

GetConfig provides a mock function for the type MockRedashConfigInterface

type MockRedashConfigInterface_Expecter added in v0.57.0

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

func (*MockRedashConfigInterface_Expecter) GetConfig added in v0.57.0

GetConfig is a helper method to define mock.On call

  • ctx context.Context

type MockRedashConfigInterface_GetConfig_Call added in v0.57.0

type MockRedashConfigInterface_GetConfig_Call struct {
	*mock.Call
}

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

func (*MockRedashConfigInterface_GetConfig_Call) Return added in v0.57.0

func (*MockRedashConfigInterface_GetConfig_Call) Run added in v0.57.0

func (*MockRedashConfigInterface_GetConfig_Call) RunAndReturn added in v0.57.0

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

func (_mock *MockStatementExecutionInterface) CancelExecution(ctx context.Context, request sql.CancelExecutionRequest) error

CancelExecution provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) EXPECT

func (*MockStatementExecutionInterface) ExecuteAndWait

ExecuteAndWait provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) ExecuteStatement

ExecuteStatement provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) GetStatement

GetStatement provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) GetStatementByStatementId

func (_mock *MockStatementExecutionInterface) GetStatementByStatementId(ctx context.Context, statementId string) (*sql.StatementResponse, error)

GetStatementByStatementId provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) GetStatementResultChunkN

func (_mock *MockStatementExecutionInterface) GetStatementResultChunkN(ctx context.Context, request sql.GetStatementResultChunkNRequest) (*sql.ResultData, error)

GetStatementResultChunkN provides a mock function for the type MockStatementExecutionInterface

func (*MockStatementExecutionInterface) GetStatementResultChunkNByStatementIdAndChunkIndex

func (_mock *MockStatementExecutionInterface) GetStatementResultChunkNByStatementIdAndChunkIndex(ctx context.Context, statementId string, chunkIndex int) (*sql.ResultData, error)

GetStatementResultChunkNByStatementIdAndChunkIndex provides a mock function for the type MockStatementExecutionInterface

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

func (*MockStatementExecutionInterface_ExecuteAndWait_Call) RunAndReturn

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

func (*MockStatementExecutionInterface_ExecuteStatement_Call) RunAndReturn

type MockStatementExecutionInterface_Expecter

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

func (*MockStatementExecutionInterface_Expecter) CancelExecution

CancelExecution is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CancelExecutionRequest

func (*MockStatementExecutionInterface_Expecter) ExecuteAndWait

ExecuteAndWait is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ExecuteStatementRequest

func (*MockStatementExecutionInterface_Expecter) ExecuteStatement

ExecuteStatement is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ExecuteStatementRequest

func (*MockStatementExecutionInterface_Expecter) GetStatement

GetStatement is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetStatementRequest

func (*MockStatementExecutionInterface_Expecter) GetStatementByStatementId

GetStatementByStatementId is a helper method to define mock.On call

  • ctx context.Context
  • statementId string

func (*MockStatementExecutionInterface_Expecter) GetStatementResultChunkN

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 any, statementId any, chunkIndex any) *MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call

GetStatementResultChunkNByStatementIdAndChunkIndex is a helper method to define mock.On call

  • ctx context.Context
  • statementId string
  • chunkIndex int

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

func (*MockStatementExecutionInterface_GetStatementByStatementId_Call) RunAndReturn

type MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call

type MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call struct {
	*mock.Call
}

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

func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Return

func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) Run

func (*MockStatementExecutionInterface_GetStatementResultChunkNByStatementIdAndChunkIndex_Call) RunAndReturn

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

func (*MockStatementExecutionInterface_GetStatementResultChunkN_Call) RunAndReturn

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

func (*MockStatementExecutionInterface_GetStatement_Call) RunAndReturn

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 for the type MockWarehousesInterface

func (*MockWarehousesInterface) CreateAndWait

func (_mock *MockWarehousesInterface) CreateAndWait(ctx context.Context, createWarehouseRequest sql.CreateWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)

CreateAndWait provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) CreateDefaultWarehouseOverride added in v0.98.0

CreateDefaultWarehouseOverride provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) Delete

Delete provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) DeleteById

func (_mock *MockWarehousesInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) DeleteDefaultWarehouseOverride added in v0.98.0

func (_mock *MockWarehousesInterface) DeleteDefaultWarehouseOverride(ctx context.Context, request sql.DeleteDefaultWarehouseOverrideRequest) error

DeleteDefaultWarehouseOverride provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) EXPECT

func (*MockWarehousesInterface) Edit

func (_mock *MockWarehousesInterface) Edit(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)

Edit provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) EditAndWait

func (_mock *MockWarehousesInterface) EditAndWait(ctx context.Context, editWarehouseRequest sql.EditWarehouseRequest, options ...retries.Option[sql.GetWarehouseResponse]) (*sql.GetWarehouseResponse, error)

EditAndWait provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) EndpointInfoNameToIdMap

func (_mock *MockWarehousesInterface) EndpointInfoNameToIdMap(ctx context.Context, request sql.ListWarehousesRequest) (map[string]string, error)

EndpointInfoNameToIdMap provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) Get

Get provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetById

GetById provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetByName

func (_mock *MockWarehousesInterface) GetByName(ctx context.Context, name string) (*sql.EndpointInfo, error)

GetByName provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetDefaultWarehouseOverride added in v0.98.0

GetDefaultWarehouseOverride provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetPermissionLevels

GetPermissionLevels provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetPermissionLevelsByWarehouseId

func (_mock *MockWarehousesInterface) GetPermissionLevelsByWarehouseId(ctx context.Context, warehouseId string) (*sql.GetWarehousePermissionLevelsResponse, error)

GetPermissionLevelsByWarehouseId provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetPermissions

GetPermissions provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetPermissionsByWarehouseId

func (_mock *MockWarehousesInterface) GetPermissionsByWarehouseId(ctx context.Context, warehouseId string) (*sql.WarehousePermissions, error)

GetPermissionsByWarehouseId provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) GetWorkspaceWarehouseConfig

func (_mock *MockWarehousesInterface) GetWorkspaceWarehouseConfig(ctx context.Context) (*sql.GetWorkspaceWarehouseConfigResponse, error)

GetWorkspaceWarehouseConfig provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) List

List provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) ListAll

ListAll provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) ListDefaultWarehouseOverrides added in v0.98.0

ListDefaultWarehouseOverrides provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) ListDefaultWarehouseOverridesAll added in v0.98.0

func (_mock *MockWarehousesInterface) ListDefaultWarehouseOverridesAll(ctx context.Context, request sql.ListDefaultWarehouseOverridesRequest) ([]sql.DefaultWarehouseOverride, error)

ListDefaultWarehouseOverridesAll provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) SetPermissions

SetPermissions provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) SetWorkspaceWarehouseConfig

func (_mock *MockWarehousesInterface) SetWorkspaceWarehouseConfig(ctx context.Context, request sql.SetWorkspaceWarehouseConfigRequest) error

SetWorkspaceWarehouseConfig provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) Start

func (_mock *MockWarehousesInterface) Start(ctx context.Context, startRequest sql.StartRequest) (*sql.WaitGetWarehouseRunning[struct{}], error)

Start provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) StartAndWait

StartAndWait provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) Stop

func (_mock *MockWarehousesInterface) Stop(ctx context.Context, stopRequest sql.StopRequest) (*sql.WaitGetWarehouseStopped[struct{}], error)

Stop provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) StopAndWait

StopAndWait provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) UpdateDefaultWarehouseOverride added in v0.98.0

UpdateDefaultWarehouseOverride provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) UpdatePermissions

UpdatePermissions provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) WaitGetWarehouseRunning

func (_mock *MockWarehousesInterface) WaitGetWarehouseRunning(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)

WaitGetWarehouseRunning provides a mock function for the type MockWarehousesInterface

func (*MockWarehousesInterface) WaitGetWarehouseStopped

func (_mock *MockWarehousesInterface) WaitGetWarehouseStopped(ctx context.Context, id string, timeout time.Duration, callback func(*sql.GetWarehouseResponse)) (*sql.GetWarehouseResponse, error)

WaitGetWarehouseStopped provides a mock function for the type MockWarehousesInterface

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

func (*MockWarehousesInterface_CreateAndWait_Call) RunAndReturn

type MockWarehousesInterface_CreateDefaultWarehouseOverride_Call added in v0.98.0

type MockWarehousesInterface_CreateDefaultWarehouseOverride_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_CreateDefaultWarehouseOverride_Call) Return added in v0.98.0

func (*MockWarehousesInterface_CreateDefaultWarehouseOverride_Call) Run added in v0.98.0

func (*MockWarehousesInterface_CreateDefaultWarehouseOverride_Call) RunAndReturn added in v0.98.0

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) Return

func (*MockWarehousesInterface_Create_Call) Run

func (*MockWarehousesInterface_Create_Call) RunAndReturn

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_DeleteDefaultWarehouseOverride_Call added in v0.98.0

type MockWarehousesInterface_DeleteDefaultWarehouseOverride_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_DeleteDefaultWarehouseOverride_Call) Return added in v0.98.0

func (*MockWarehousesInterface_DeleteDefaultWarehouseOverride_Call) Run added in v0.98.0

func (*MockWarehousesInterface_DeleteDefaultWarehouseOverride_Call) RunAndReturn added in v0.98.0

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

func (*MockWarehousesInterface_EditAndWait_Call) RunAndReturn

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 (_c *MockWarehousesInterface_Edit_Call) Return(waitGetWarehouseRunning *sql.WaitGetWarehouseRunning[struct{}], err error) *MockWarehousesInterface_Edit_Call

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 any, createWarehouseRequest any) *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 any, createWarehouseRequest any, options ...any) *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) CreateDefaultWarehouseOverride added in v0.98.0

CreateDefaultWarehouseOverride is a helper method to define mock.On call

  • ctx context.Context
  • request sql.CreateDefaultWarehouseOverrideRequest

func (*MockWarehousesInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteWarehouseRequest

func (*MockWarehousesInterface_Expecter) DeleteById

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockWarehousesInterface_Expecter) DeleteDefaultWarehouseOverride added in v0.98.0

DeleteDefaultWarehouseOverride is a helper method to define mock.On call

  • ctx context.Context
  • request sql.DeleteDefaultWarehouseOverrideRequest

func (*MockWarehousesInterface_Expecter) Edit

func (_e *MockWarehousesInterface_Expecter) Edit(ctx any, editWarehouseRequest any) *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 any, editWarehouseRequest any, options ...any) *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

EndpointInfoNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListWarehousesRequest

func (*MockWarehousesInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetWarehouseRequest

func (*MockWarehousesInterface_Expecter) GetById

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockWarehousesInterface_Expecter) GetByName

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockWarehousesInterface_Expecter) GetDefaultWarehouseOverride added in v0.98.0

GetDefaultWarehouseOverride is a helper method to define mock.On call

  • ctx context.Context
  • request sql.GetDefaultWarehouseOverrideRequest

func (*MockWarehousesInterface_Expecter) GetPermissionLevels

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 any, warehouseId any) *MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call

GetPermissionLevelsByWarehouseId is a helper method to define mock.On call

  • ctx context.Context
  • warehouseId string

func (*MockWarehousesInterface_Expecter) GetPermissions

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 any, warehouseId any) *MockWarehousesInterface_GetPermissionsByWarehouseId_Call

GetPermissionsByWarehouseId is a helper method to define mock.On call

  • ctx context.Context
  • warehouseId string

func (*MockWarehousesInterface_Expecter) GetWorkspaceWarehouseConfig

GetWorkspaceWarehouseConfig is a helper method to define mock.On call

  • ctx context.Context

func (*MockWarehousesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListWarehousesRequest

func (*MockWarehousesInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListWarehousesRequest

func (*MockWarehousesInterface_Expecter) ListDefaultWarehouseOverrides added in v0.98.0

ListDefaultWarehouseOverrides is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListDefaultWarehouseOverridesRequest

func (*MockWarehousesInterface_Expecter) ListDefaultWarehouseOverridesAll added in v0.98.0

ListDefaultWarehouseOverridesAll is a helper method to define mock.On call

  • ctx context.Context
  • request sql.ListDefaultWarehouseOverridesRequest

func (*MockWarehousesInterface_Expecter) SetPermissions

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request sql.WarehousePermissionsRequest

func (*MockWarehousesInterface_Expecter) SetWorkspaceWarehouseConfig

SetWorkspaceWarehouseConfig is a helper method to define mock.On call

  • ctx context.Context
  • request sql.SetWorkspaceWarehouseConfigRequest

func (*MockWarehousesInterface_Expecter) Start

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 any, startRequest any, options ...any) *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

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 any, stopRequest any, options ...any) *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) UpdateDefaultWarehouseOverride added in v0.98.0

UpdateDefaultWarehouseOverride is a helper method to define mock.On call

  • ctx context.Context
  • request sql.UpdateDefaultWarehouseOverrideRequest

func (*MockWarehousesInterface_Expecter) UpdatePermissions

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 any, id any, timeout any, callback any) *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 any, id any, timeout any, callback any) *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)

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_GetDefaultWarehouseOverride_Call added in v0.98.0

type MockWarehousesInterface_GetDefaultWarehouseOverride_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_GetDefaultWarehouseOverride_Call) Return added in v0.98.0

func (*MockWarehousesInterface_GetDefaultWarehouseOverride_Call) Run added in v0.98.0

func (*MockWarehousesInterface_GetDefaultWarehouseOverride_Call) RunAndReturn added in v0.98.0

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) Return

func (*MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) Run

func (*MockWarehousesInterface_GetPermissionLevelsByWarehouseId_Call) RunAndReturn

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) Return

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

func (*MockWarehousesInterface_GetPermissions_Call) RunAndReturn

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) Return

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

func (*MockWarehousesInterface_Get_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_ListDefaultWarehouseOverridesAll_Call added in v0.98.0

type MockWarehousesInterface_ListDefaultWarehouseOverridesAll_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_ListDefaultWarehouseOverridesAll_Call) Return added in v0.98.0

func (*MockWarehousesInterface_ListDefaultWarehouseOverridesAll_Call) Run added in v0.98.0

func (*MockWarehousesInterface_ListDefaultWarehouseOverridesAll_Call) RunAndReturn added in v0.98.0

type MockWarehousesInterface_ListDefaultWarehouseOverrides_Call added in v0.98.0

type MockWarehousesInterface_ListDefaultWarehouseOverrides_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_ListDefaultWarehouseOverrides_Call) Return added in v0.98.0

func (*MockWarehousesInterface_ListDefaultWarehouseOverrides_Call) Run added in v0.98.0

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

func (*MockWarehousesInterface_List_Call) RunAndReturn

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

func (*MockWarehousesInterface_SetPermissions_Call) RunAndReturn

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

func (*MockWarehousesInterface_SetWorkspaceWarehouseConfig_Call) RunAndReturn

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

func (*MockWarehousesInterface_StartAndWait_Call) RunAndReturn

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 (_c *MockWarehousesInterface_Start_Call) Return(waitGetWarehouseRunning *sql.WaitGetWarehouseRunning[struct{}], err error) *MockWarehousesInterface_Start_Call

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

func (*MockWarehousesInterface_StopAndWait_Call) RunAndReturn

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 (_c *MockWarehousesInterface_Stop_Call) Return(waitGetWarehouseStopped *sql.WaitGetWarehouseStopped[struct{}], err error) *MockWarehousesInterface_Stop_Call

func (*MockWarehousesInterface_Stop_Call) Run

func (*MockWarehousesInterface_Stop_Call) RunAndReturn

type MockWarehousesInterface_UpdateDefaultWarehouseOverride_Call added in v0.98.0

type MockWarehousesInterface_UpdateDefaultWarehouseOverride_Call struct {
	*mock.Call
}

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

func (*MockWarehousesInterface_UpdateDefaultWarehouseOverride_Call) Return added in v0.98.0

func (*MockWarehousesInterface_UpdateDefaultWarehouseOverride_Call) Run added in v0.98.0

func (*MockWarehousesInterface_UpdateDefaultWarehouseOverride_Call) RunAndReturn added in v0.98.0

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

func (*MockWarehousesInterface_UpdatePermissions_Call) RunAndReturn

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

func (*MockWarehousesInterface_WaitGetWarehouseRunning_Call) RunAndReturn

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

func (*MockWarehousesInterface_WaitGetWarehouseStopped_Call) RunAndReturn

Jump to

Keyboard shortcuts

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