Documentation ¶
Index ¶
- type AppStatusRepository
- func (_m *AppStatusRepository) Create(container appStatus.AppStatusContainer) error
- func (_m *AppStatusRepository) Delete(tx *pg.Tx, appId int, envId int) error
- func (_m *AppStatusRepository) DeleteWithAppId(tx *pg.Tx, appId int) error
- func (_m *AppStatusRepository) DeleteWithEnvId(tx *pg.Tx, envId int) error
- func (_m *AppStatusRepository) Get(appId int, envId int) (appStatus.AppStatusContainer, error)
- func (_m *AppStatusRepository) GetConnection() *pg.DB
- func (_m *AppStatusRepository) Update(container appStatus.AppStatusContainer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatusRepository ¶
AppStatusRepository is an autogenerated mock type for the AppStatusRepository type
func NewAppStatusRepository ¶
func NewAppStatusRepository(t mockConstructorTestingTNewAppStatusRepository) *AppStatusRepository
NewAppStatusRepository creates a new instance of AppStatusRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppStatusRepository) Create ¶
func (_m *AppStatusRepository) Create(container appStatus.AppStatusContainer) error
Create provides a mock function with given fields: container
func (*AppStatusRepository) Delete ¶
Delete provides a mock function with given fields: tx, appId, envId
func (*AppStatusRepository) DeleteWithAppId ¶
func (_m *AppStatusRepository) DeleteWithAppId(tx *pg.Tx, appId int) error
DeleteWithAppId provides a mock function with given fields: tx, appId
func (*AppStatusRepository) DeleteWithEnvId ¶
func (_m *AppStatusRepository) DeleteWithEnvId(tx *pg.Tx, envId int) error
DeleteWithEnvId provides a mock function with given fields: tx, envId
func (*AppStatusRepository) Get ¶
func (_m *AppStatusRepository) Get(appId int, envId int) (appStatus.AppStatusContainer, error)
Get provides a mock function with given fields: appId, envId
func (*AppStatusRepository) GetConnection ¶
func (_m *AppStatusRepository) GetConnection() *pg.DB
GetConnection provides a mock function with given fields:
func (*AppStatusRepository) Update ¶
func (_m *AppStatusRepository) Update(container appStatus.AppStatusContainer) error
Update provides a mock function with given fields: container