Documentation ¶
Index ¶
- type SchedulableEntityRepoInterface
- func (_m *SchedulableEntityRepoInterface) Activate(ctx context.Context, input models.SchedulableEntity) error
- func (_m *SchedulableEntityRepoInterface) Create(ctx context.Context, input models.SchedulableEntity) error
- func (_m *SchedulableEntityRepoInterface) Deactivate(ctx context.Context, ID models.SchedulableEntityKey) error
- func (_m *SchedulableEntityRepoInterface) Get(ctx context.Context, ID models.SchedulableEntityKey) (models.SchedulableEntity, error)
- func (_m *SchedulableEntityRepoInterface) GetAll(ctx context.Context) ([]models.SchedulableEntity, error)
- func (_m *SchedulableEntityRepoInterface) OnActivate(ctx context.Context, input models.SchedulableEntity) *SchedulableEntityRepoInterface_Activate
- func (_m *SchedulableEntityRepoInterface) OnActivateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Activate
- func (_m *SchedulableEntityRepoInterface) OnCreate(ctx context.Context, input models.SchedulableEntity) *SchedulableEntityRepoInterface_Create
- func (_m *SchedulableEntityRepoInterface) OnCreateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Create
- func (_m *SchedulableEntityRepoInterface) OnDeactivate(ctx context.Context, ID models.SchedulableEntityKey) *SchedulableEntityRepoInterface_Deactivate
- func (_m *SchedulableEntityRepoInterface) OnDeactivateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Deactivate
- func (_m *SchedulableEntityRepoInterface) OnGet(ctx context.Context, ID models.SchedulableEntityKey) *SchedulableEntityRepoInterface_Get
- func (_m *SchedulableEntityRepoInterface) OnGetAll(ctx context.Context) *SchedulableEntityRepoInterface_GetAll
- func (_m *SchedulableEntityRepoInterface) OnGetAllMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_GetAll
- func (_m *SchedulableEntityRepoInterface) OnGetMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Get
- type SchedulableEntityRepoInterface_Activate
- type SchedulableEntityRepoInterface_Create
- type SchedulableEntityRepoInterface_Deactivate
- type SchedulableEntityRepoInterface_Get
- type SchedulableEntityRepoInterface_GetAll
- type ScheduleEntitiesSnapShotRepoInterface
- func (_m *ScheduleEntitiesSnapShotRepoInterface) OnRead(ctx context.Context) *ScheduleEntitiesSnapShotRepoInterface_Read
- func (_m *ScheduleEntitiesSnapShotRepoInterface) OnReadMatch(matchers ...interface{}) *ScheduleEntitiesSnapShotRepoInterface_Read
- func (_m *ScheduleEntitiesSnapShotRepoInterface) OnWrite(ctx context.Context, input models.ScheduleEntitiesSnapshot) *ScheduleEntitiesSnapShotRepoInterface_Write
- func (_m *ScheduleEntitiesSnapShotRepoInterface) OnWriteMatch(matchers ...interface{}) *ScheduleEntitiesSnapShotRepoInterface_Write
- func (_m *ScheduleEntitiesSnapShotRepoInterface) Read(ctx context.Context) (models.ScheduleEntitiesSnapshot, error)
- func (_m *ScheduleEntitiesSnapShotRepoInterface) Write(ctx context.Context, input models.ScheduleEntitiesSnapshot) error
- type ScheduleEntitiesSnapShotRepoInterface_Read
- type ScheduleEntitiesSnapShotRepoInterface_Write
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulableEntityRepoInterface ¶
SchedulableEntityRepoInterface is an autogenerated mock type for the SchedulableEntityRepoInterface type
func (*SchedulableEntityRepoInterface) Activate ¶
func (_m *SchedulableEntityRepoInterface) Activate(ctx context.Context, input models.SchedulableEntity) error
Activate provides a mock function with given fields: ctx, input
func (*SchedulableEntityRepoInterface) Create ¶
func (_m *SchedulableEntityRepoInterface) Create(ctx context.Context, input models.SchedulableEntity) error
Create provides a mock function with given fields: ctx, input
func (*SchedulableEntityRepoInterface) Deactivate ¶
func (_m *SchedulableEntityRepoInterface) Deactivate(ctx context.Context, ID models.SchedulableEntityKey) error
Deactivate provides a mock function with given fields: ctx, ID
func (*SchedulableEntityRepoInterface) Get ¶
func (_m *SchedulableEntityRepoInterface) Get(ctx context.Context, ID models.SchedulableEntityKey) (models.SchedulableEntity, error)
Get provides a mock function with given fields: ctx, ID
func (*SchedulableEntityRepoInterface) GetAll ¶
func (_m *SchedulableEntityRepoInterface) GetAll(ctx context.Context) ([]models.SchedulableEntity, error)
GetAll provides a mock function with given fields: ctx
func (*SchedulableEntityRepoInterface) OnActivate ¶
func (_m *SchedulableEntityRepoInterface) OnActivate(ctx context.Context, input models.SchedulableEntity) *SchedulableEntityRepoInterface_Activate
func (*SchedulableEntityRepoInterface) OnActivateMatch ¶
func (_m *SchedulableEntityRepoInterface) OnActivateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Activate
func (*SchedulableEntityRepoInterface) OnCreate ¶
func (_m *SchedulableEntityRepoInterface) OnCreate(ctx context.Context, input models.SchedulableEntity) *SchedulableEntityRepoInterface_Create
func (*SchedulableEntityRepoInterface) OnCreateMatch ¶
func (_m *SchedulableEntityRepoInterface) OnCreateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Create
func (*SchedulableEntityRepoInterface) OnDeactivate ¶
func (_m *SchedulableEntityRepoInterface) OnDeactivate(ctx context.Context, ID models.SchedulableEntityKey) *SchedulableEntityRepoInterface_Deactivate
func (*SchedulableEntityRepoInterface) OnDeactivateMatch ¶
func (_m *SchedulableEntityRepoInterface) OnDeactivateMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Deactivate
func (*SchedulableEntityRepoInterface) OnGet ¶
func (_m *SchedulableEntityRepoInterface) OnGet(ctx context.Context, ID models.SchedulableEntityKey) *SchedulableEntityRepoInterface_Get
func (*SchedulableEntityRepoInterface) OnGetAll ¶
func (_m *SchedulableEntityRepoInterface) OnGetAll(ctx context.Context) *SchedulableEntityRepoInterface_GetAll
func (*SchedulableEntityRepoInterface) OnGetAllMatch ¶
func (_m *SchedulableEntityRepoInterface) OnGetAllMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_GetAll
func (*SchedulableEntityRepoInterface) OnGetMatch ¶
func (_m *SchedulableEntityRepoInterface) OnGetMatch(matchers ...interface{}) *SchedulableEntityRepoInterface_Get
type SchedulableEntityRepoInterface_Activate ¶
func (SchedulableEntityRepoInterface_Activate) Return ¶
func (_m SchedulableEntityRepoInterface_Activate) Return(_a0 error) *SchedulableEntityRepoInterface_Activate
type SchedulableEntityRepoInterface_Create ¶
func (SchedulableEntityRepoInterface_Create) Return ¶
func (_m SchedulableEntityRepoInterface_Create) Return(_a0 error) *SchedulableEntityRepoInterface_Create
type SchedulableEntityRepoInterface_Deactivate ¶
func (SchedulableEntityRepoInterface_Deactivate) Return ¶
func (_m SchedulableEntityRepoInterface_Deactivate) Return(_a0 error) *SchedulableEntityRepoInterface_Deactivate
type SchedulableEntityRepoInterface_Get ¶
func (SchedulableEntityRepoInterface_Get) Return ¶
func (_m SchedulableEntityRepoInterface_Get) Return(_a0 models.SchedulableEntity, _a1 error) *SchedulableEntityRepoInterface_Get
type SchedulableEntityRepoInterface_GetAll ¶
func (SchedulableEntityRepoInterface_GetAll) Return ¶
func (_m SchedulableEntityRepoInterface_GetAll) Return(_a0 []models.SchedulableEntity, _a1 error) *SchedulableEntityRepoInterface_GetAll
type ScheduleEntitiesSnapShotRepoInterface ¶
ScheduleEntitiesSnapShotRepoInterface is an autogenerated mock type for the ScheduleEntitiesSnapShotRepoInterface type
func (*ScheduleEntitiesSnapShotRepoInterface) OnRead ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) OnRead(ctx context.Context) *ScheduleEntitiesSnapShotRepoInterface_Read
func (*ScheduleEntitiesSnapShotRepoInterface) OnReadMatch ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) OnReadMatch(matchers ...interface{}) *ScheduleEntitiesSnapShotRepoInterface_Read
func (*ScheduleEntitiesSnapShotRepoInterface) OnWrite ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) OnWrite(ctx context.Context, input models.ScheduleEntitiesSnapshot) *ScheduleEntitiesSnapShotRepoInterface_Write
func (*ScheduleEntitiesSnapShotRepoInterface) OnWriteMatch ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) OnWriteMatch(matchers ...interface{}) *ScheduleEntitiesSnapShotRepoInterface_Write
func (*ScheduleEntitiesSnapShotRepoInterface) Read ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) Read(ctx context.Context) (models.ScheduleEntitiesSnapshot, error)
Read provides a mock function with given fields: ctx
func (*ScheduleEntitiesSnapShotRepoInterface) Write ¶
func (_m *ScheduleEntitiesSnapShotRepoInterface) Write(ctx context.Context, input models.ScheduleEntitiesSnapshot) error
Write provides a mock function with given fields: ctx, input
type ScheduleEntitiesSnapShotRepoInterface_Read ¶
func (ScheduleEntitiesSnapShotRepoInterface_Read) Return ¶
func (_m ScheduleEntitiesSnapShotRepoInterface_Read) Return(_a0 models.ScheduleEntitiesSnapshot, _a1 error) *ScheduleEntitiesSnapShotRepoInterface_Read
type ScheduleEntitiesSnapShotRepoInterface_Write ¶
func (ScheduleEntitiesSnapShotRepoInterface_Write) Return ¶
func (_m ScheduleEntitiesSnapShotRepoInterface_Write) Return(_a0 error) *ScheduleEntitiesSnapShotRepoInterface_Write