Documentation ¶
Index ¶
- type SimRepo
- func (_m *SimRepo) Add(sims []db.Sim) error
- func (_m *SimRepo) Delete(id []uint64) error
- func (_m *SimRepo) Get(isPhysicalSim bool, simType db.SimType) (*db.Sim, error)
- func (_m *SimRepo) GetByIccid(iccid string) (*db.Sim, error)
- func (_m *SimRepo) GetSims(simType db.SimType) ([]db.Sim, error)
- func (_m *SimRepo) GetSimsByType(simType db.SimType) ([]db.Sim, error)
- func (_m *SimRepo) UpdateStatus(iccid string, isAllocated bool, IsFailed bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimRepo ¶
SimRepo is an autogenerated mock type for the SimRepo type
func NewSimRepo ¶
NewSimRepo creates a new instance of SimRepo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SimRepo) GetByIccid ¶
GetByIccid provides a mock function with given fields: iccid
func (*SimRepo) GetSimsByType ¶
GetSimsByType provides a mock function with given fields: simType
Click to show internal directories.
Click to hide internal directories.