mocks

package
v0.6.10-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalLinkIdentifierMappingRepository

type ExternalLinkIdentifierMappingRepository struct {
	mock.Mock
}

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

FindAllActive provides a mock function with given fields:

func (*ExternalLinkIdentifierMappingRepository) FindAllActiveByClusterId

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

FindAllActiveByLinkIdentifier provides a mock function with given fields: identifier, clusterId

func (*ExternalLinkIdentifierMappingRepository) FindAllActiveLinkIdentifierData

FindAllActiveLinkIdentifierData provides a mock function with given fields:

func (*ExternalLinkIdentifierMappingRepository) FindAllByExternalLinkId

FindAllByExternalLinkId provides a mock function with given fields: linkId

func (*ExternalLinkIdentifierMappingRepository) Save

Save provides a mock function with given fields: externalLinksClusters, tx

func (*ExternalLinkIdentifierMappingRepository) Update

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

type ExternalLinkMonitoringToolRepository struct {
	mock.Mock
}

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

FindAllActive provides a mock function with given fields:

type ExternalLinkRepository

type ExternalLinkRepository struct {
	mock.Mock
}

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

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

Jump to

Keyboard shortcuts

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