Documentation ¶
Index ¶
- type ExternalLinkIdentifierMappingRepository
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllActive() ([]externalLink.ExternalLinkIdentifierMapping, error)
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByClusterId(clusterId int) ([]externalLink.ExternalLinkIdentifierMapping, error)
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByExternalLinkId(linkId int) ([]*externalLink.ExternalLinkIdentifierMapping, error)
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByLinkIdentifier(identifier *externalLink.LinkIdentifier, clusterId int) ([]externalLink.ExternalLinkIdentifierMappingData, error)
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveLinkIdentifierData() ([]externalLink.ExternalLinkIdentifierMappingData, error)
- func (_m *ExternalLinkIdentifierMappingRepository) FindAllByExternalLinkId(linkId int) ([]*externalLink.ExternalLinkIdentifierMapping, error)
- func (_m *ExternalLinkIdentifierMappingRepository) Save(externalLinksClusters *externalLink.ExternalLinkIdentifierMapping, tx *pg.Tx) error
- func (_m *ExternalLinkIdentifierMappingRepository) Update(link *externalLink.ExternalLinkIdentifierMapping, tx *pg.Tx) error
- func (_m *ExternalLinkIdentifierMappingRepository) UpdateAllActiveToInActive(Id int, tx *pg.Tx) error
- type ExternalLinkMonitoringToolRepository
- type ExternalLinkRepository
- func (_m *ExternalLinkRepository) FindAllActive() ([]externalLink.ExternalLink, error)
- func (_m *ExternalLinkRepository) FindAllClusterLinks() ([]externalLink.ExternalLink, error)
- func (_m *ExternalLinkRepository) FindAllFilterOutByIds(ids []int) ([]externalLink.ExternalLink, error)
- func (_m *ExternalLinkRepository) FindOne(id int) (externalLink.ExternalLink, error)
- func (_m *ExternalLinkRepository) GetConnection() *pg.DB
- func (_m *ExternalLinkRepository) Save(externalLinks *externalLink.ExternalLink, tx *pg.Tx) error
- func (_m *ExternalLinkRepository) Update(link *externalLink.ExternalLink, tx *pg.Tx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalLinkIdentifierMappingRepository ¶
ExternalLinkIdentifierMappingRepository is an autogenerated mock type for the ExternalLinkIdentifierMappingRepository type
func NewExternalLinkIdentifierMappingRepository ¶
func NewExternalLinkIdentifierMappingRepository(t mockConstructorTestingTNewExternalLinkIdentifierMappingRepository) *ExternalLinkIdentifierMappingRepository
NewExternalLinkIdentifierMappingRepository creates a new instance of ExternalLinkIdentifierMappingRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExternalLinkIdentifierMappingRepository) FindAllActive ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllActive() ([]externalLink.ExternalLinkIdentifierMapping, error)
FindAllActive provides a mock function with given fields:
func (*ExternalLinkIdentifierMappingRepository) FindAllActiveByClusterId ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByClusterId(clusterId int) ([]externalLink.ExternalLinkIdentifierMapping, error)
FindAllActiveByClusterId provides a mock function with given fields: clusterId
func (*ExternalLinkIdentifierMappingRepository) FindAllActiveByExternalLinkId ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByExternalLinkId(linkId int) ([]*externalLink.ExternalLinkIdentifierMapping, error)
FindAllActiveByExternalLinkId provides a mock function with given fields: linkId
func (*ExternalLinkIdentifierMappingRepository) FindAllActiveByLinkIdentifier ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveByLinkIdentifier(identifier *externalLink.LinkIdentifier, clusterId int) ([]externalLink.ExternalLinkIdentifierMappingData, error)
FindAllActiveByLinkIdentifier provides a mock function with given fields: identifier, clusterId
func (*ExternalLinkIdentifierMappingRepository) FindAllActiveLinkIdentifierData ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllActiveLinkIdentifierData() ([]externalLink.ExternalLinkIdentifierMappingData, error)
FindAllActiveLinkIdentifierData provides a mock function with given fields:
func (*ExternalLinkIdentifierMappingRepository) FindAllByExternalLinkId ¶
func (_m *ExternalLinkIdentifierMappingRepository) FindAllByExternalLinkId(linkId int) ([]*externalLink.ExternalLinkIdentifierMapping, error)
FindAllByExternalLinkId provides a mock function with given fields: linkId
func (*ExternalLinkIdentifierMappingRepository) Save ¶
func (_m *ExternalLinkIdentifierMappingRepository) Save(externalLinksClusters *externalLink.ExternalLinkIdentifierMapping, tx *pg.Tx) error
Save provides a mock function with given fields: externalLinksClusters, tx
func (*ExternalLinkIdentifierMappingRepository) Update ¶
func (_m *ExternalLinkIdentifierMappingRepository) Update(link *externalLink.ExternalLinkIdentifierMapping, tx *pg.Tx) error
Update provides a mock function with given fields: link, tx
func (*ExternalLinkIdentifierMappingRepository) UpdateAllActiveToInActive ¶
func (_m *ExternalLinkIdentifierMappingRepository) UpdateAllActiveToInActive(Id int, tx *pg.Tx) error
UpdateAllActiveToInActive provides a mock function with given fields: Id, tx
type ExternalLinkMonitoringToolRepository ¶
ExternalLinkMonitoringToolRepository is an autogenerated mock type for the ExternalLinkMonitoringToolRepository type
func NewExternalLinkMonitoringToolRepository ¶
func NewExternalLinkMonitoringToolRepository(t mockConstructorTestingTNewExternalLinkMonitoringToolRepository) *ExternalLinkMonitoringToolRepository
NewExternalLinkMonitoringToolRepository creates a new instance of ExternalLinkMonitoringToolRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExternalLinkMonitoringToolRepository) FindAllActive ¶
func (_m *ExternalLinkMonitoringToolRepository) FindAllActive() ([]externalLink.ExternalLinkMonitoringTool, error)
FindAllActive provides a mock function with given fields:
type ExternalLinkRepository ¶
ExternalLinkRepository is an autogenerated mock type for the ExternalLinkRepository type
func NewExternalLinkRepository ¶
func NewExternalLinkRepository(t mockConstructorTestingTNewExternalLinkRepository) *ExternalLinkRepository
NewExternalLinkRepository creates a new instance of ExternalLinkRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExternalLinkRepository) FindAllActive ¶
func (_m *ExternalLinkRepository) FindAllActive() ([]externalLink.ExternalLink, error)
FindAllActive provides a mock function with given fields:
func (*ExternalLinkRepository) FindAllClusterLinks ¶
func (_m *ExternalLinkRepository) FindAllClusterLinks() ([]externalLink.ExternalLink, error)
FindAllClusterLinks provides a mock function with given fields:
func (*ExternalLinkRepository) FindAllFilterOutByIds ¶
func (_m *ExternalLinkRepository) FindAllFilterOutByIds(ids []int) ([]externalLink.ExternalLink, error)
FindAllFilterOutByIds provides a mock function with given fields: ids
func (*ExternalLinkRepository) FindOne ¶
func (_m *ExternalLinkRepository) FindOne(id int) (externalLink.ExternalLink, error)
FindOne provides a mock function with given fields: id
func (*ExternalLinkRepository) GetConnection ¶
func (_m *ExternalLinkRepository) GetConnection() *pg.DB
GetConnection provides a mock function with given fields:
func (*ExternalLinkRepository) Save ¶
func (_m *ExternalLinkRepository) Save(externalLinks *externalLink.ExternalLink, tx *pg.Tx) error
Save provides a mock function with given fields: externalLinks, tx
func (*ExternalLinkRepository) Update ¶
func (_m *ExternalLinkRepository) Update(link *externalLink.ExternalLink, tx *pg.Tx) error
Update provides a mock function with given fields: link, tx