Documentation ¶
Index ¶
- type TestRepository
- func (_m *TestRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *TestRepository) CreateTable(tx rsdb.Connection) error
- func (_m *TestRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *TestRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *TestRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *TestRepository) GetByIdAndWebServiceId(conn rsdb.Connection, endpoint *models.Test) error
- func (_m *TestRepository) GetList(conn rsdb.Connection, items *[]*models.TestListItem, filter rsdb.ListFilter, ...) (int, error)
- func (_m *TestRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, ...) (int, error)
- func (_m *TestRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, ...) error
- func (_m *TestRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- type TestResultRepository
- func (_m *TestResultRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *TestResultRepository) CreateTable(tx rsdb.Connection) error
- func (_m *TestResultRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *TestResultRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *TestResultRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *TestResultRepository) GetResultList(conn rsdb.Connection, test *models.Test, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)
- func (_m *TestResultRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, ...) (int, error)
- func (_m *TestResultRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, ...) error
- func (_m *TestResultRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- type WebServiceRepository
- func (_m *WebServiceRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *WebServiceRepository) CreateTable(tx rsdb.Connection) error
- func (_m *WebServiceRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *WebServiceRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
- func (_m *WebServiceRepository) GetAllWebServicesWithTests(conn rsdb.Connection) ([]models.WebService, error)
- func (_m *WebServiceRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
- func (_m *WebServiceRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, ...) (int, error)
- func (_m *WebServiceRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, ...) error
- func (_m *WebServiceRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestRepository ¶
TestRepository is an autogenerated mock type for the TestRepository type
func (*TestRepository) Create ¶
func (_m *TestRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Create provides a mock function with given fields: tx, src
func (*TestRepository) CreateTable ¶
func (_m *TestRepository) CreateTable(tx rsdb.Connection) error
CreateTable provides a mock function with given fields: tx
func (*TestRepository) DeleteById ¶
func (_m *TestRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
DeleteById provides a mock function with given fields: tx, id
func (*TestRepository) FirstOrCreate ¶
func (_m *TestRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
FirstOrCreate provides a mock function with given fields: tx, src
func (*TestRepository) GetById ¶
func (_m *TestRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
GetById provides a mock function with given fields: tx, id
func (*TestRepository) GetByIdAndWebServiceId ¶
func (_m *TestRepository) GetByIdAndWebServiceId(conn rsdb.Connection, endpoint *models.Test) error
GetByIdAndWebServiceId provides a mock function with given fields: conn, endpoint
func (*TestRepository) GetList ¶
func (_m *TestRepository) GetList(conn rsdb.Connection, items *[]*models.TestListItem, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)
GetList provides a mock function with given fields: conn, items, filter, orders
func (*TestRepository) List ¶
func (_m *TestRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)
List provides a mock function with given fields: tx, items, filter, orders
func (*TestRepository) Patch ¶
func (_m *TestRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, data rsmodels.ValidatedObject) error
Patch provides a mock function with given fields: tx, src, data
func (*TestRepository) Save ¶
func (_m *TestRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Save provides a mock function with given fields: tx, src
type TestResultRepository ¶
TestResultRepository is an autogenerated mock type for the TestResultRepository type
func (*TestResultRepository) Create ¶
func (_m *TestResultRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Create provides a mock function with given fields: tx, src
func (*TestResultRepository) CreateTable ¶
func (_m *TestResultRepository) CreateTable(tx rsdb.Connection) error
CreateTable provides a mock function with given fields: tx
func (*TestResultRepository) DeleteById ¶
func (_m *TestResultRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
DeleteById provides a mock function with given fields: tx, id
func (*TestResultRepository) FirstOrCreate ¶
func (_m *TestResultRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
FirstOrCreate provides a mock function with given fields: tx, src
func (*TestResultRepository) GetById ¶
func (_m *TestResultRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
GetById provides a mock function with given fields: tx, id
func (*TestResultRepository) GetResultList ¶
func (_m *TestResultRepository) GetResultList(conn rsdb.Connection, test *models.Test, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)
GetResultList provides a mock function with given fields: conn, test, request
func (*TestResultRepository) List ¶
func (_m *TestResultRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)
List provides a mock function with given fields: tx, items, filter, orders
func (*TestResultRepository) Patch ¶
func (_m *TestResultRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, data rsmodels.ValidatedObject) error
Patch provides a mock function with given fields: tx, src, data
func (*TestResultRepository) Save ¶
func (_m *TestResultRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Save provides a mock function with given fields: tx, src
type WebServiceRepository ¶
WebServiceRepository is an autogenerated mock type for the WebServiceRepository type
func (*WebServiceRepository) Create ¶
func (_m *WebServiceRepository) Create(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Create provides a mock function with given fields: tx, src
func (*WebServiceRepository) CreateTable ¶
func (_m *WebServiceRepository) CreateTable(tx rsdb.Connection) error
CreateTable provides a mock function with given fields: tx
func (*WebServiceRepository) DeleteById ¶
func (_m *WebServiceRepository) DeleteById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
DeleteById provides a mock function with given fields: tx, id
func (*WebServiceRepository) FirstOrCreate ¶
func (_m *WebServiceRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error
FirstOrCreate provides a mock function with given fields: tx, src
func (*WebServiceRepository) GetAllWebServicesWithTests ¶
func (_m *WebServiceRepository) GetAllWebServicesWithTests(conn rsdb.Connection) ([]models.WebService, error)
GetAllWebServicesWithTests provides a mock function with given fields: conn
func (*WebServiceRepository) GetById ¶
func (_m *WebServiceRepository) GetById(tx rsdb.Connection, id rsmodels.ValidatedObject) error
GetById provides a mock function with given fields: tx, id
func (*WebServiceRepository) List ¶
func (_m *WebServiceRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)
List provides a mock function with given fields: tx, items, filter, orders
func (*WebServiceRepository) Patch ¶
func (_m *WebServiceRepository) Patch(tx rsdb.Connection, src rsmodels.ValidatedObject, data rsmodels.ValidatedObject) error
Patch provides a mock function with given fields: tx, src, data
func (*WebServiceRepository) Save ¶
func (_m *WebServiceRepository) Save(tx rsdb.Connection, src rsmodels.ValidatedObject) error
Save provides a mock function with given fields: tx, src