mocks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 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 AppStatusRepository

type AppStatusRepository struct {
	mock.Mock
}

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

func (_m *AppStatusRepository) Delete(tx *pg.Tx, appId int, envId int) error

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

Jump to

Keyboard shortcuts

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