repositories

package
v0.0.0-...-fc1e0a8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRepository

type TestRepository interface {
	rsdb.Repository
	GetByIdAndWebServiceId(conn rsdb.Connection, endpoint *models.Test) error
	GetList(conn rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)
}

func NewTestRepository

func NewTestRepository() TestRepository

type TestRepositoryImpl

type TestRepositoryImpl struct {
	rsdb.Repository
}

func (TestRepositoryImpl) CreateTable

func (repository TestRepositoryImpl) CreateTable(transaction rsdb.Connection) error

func (*TestRepositoryImpl) GetById

func (repository *TestRepositoryImpl) GetById(conn rsdb.Connection, test rsmodels.ValidatedObject) error

func (*TestRepositoryImpl) GetByIdAndWebServiceId

func (repository *TestRepositoryImpl) GetByIdAndWebServiceId(conn rsdb.Connection, endpoint *models.Test) error

func (*TestRepositoryImpl) GetList

func (repository *TestRepositoryImpl) GetList(conn rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)

type TestResultRepository

type TestResultRepository interface {
	rsdb.Repository
	GetResultListByTest(conn rsdb.Connection, test *models.Test, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)
	GetResultListByWebService(conn rsdb.Connection, webService *models.WebService, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)
}

func NewTestResultRepository

func NewTestResultRepository() TestResultRepository

type TestResultRepositoryImp

type TestResultRepositoryImp struct {
	rsdb.Repository
}

func (*TestResultRepositoryImp) CreateTable

func (repository *TestResultRepositoryImp) CreateTable(conn rsdb.Connection) error

func (*TestResultRepositoryImp) GetResultListByTest

func (repository *TestResultRepositoryImp) GetResultListByTest(
	conn rsdb.Connection, test *models.Test, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)

func (*TestResultRepositoryImp) GetResultListByWebService

func (repository *TestResultRepositoryImp) GetResultListByWebService(
	conn rsdb.Connection, webService *models.WebService, request models.TestResultListRequest) (*rsmodels.PaginatedList, error)

type WebServiceRepository

type WebServiceRepository interface {
	rsdb.Repository
	GetAllWebServicesWithTests(conn rsdb.Connection) ([]models.WebService, error)
}

func NewWebServiceRepository

func NewWebServiceRepository() WebServiceRepository

type WebServiceRepositoryImpl

type WebServiceRepositoryImpl struct {
	rsdb.Repository
}

func (WebServiceRepositoryImpl) CreateTable

func (repository WebServiceRepositoryImpl) CreateTable(transaction rsdb.Connection) error

func (*WebServiceRepositoryImpl) GetAllWebServicesWithTests

func (repository *WebServiceRepositoryImpl) GetAllWebServicesWithTests(conn rsdb.Connection) ([]models.WebService, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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