Documentation ¶
Index ¶
- type SchedulerKeeper
- func (_m *SchedulerKeeper) AddNewJob(ctx types.Context, job *schedulertypes.Job) (types.AccAddress, error)
- func (_m *SchedulerKeeper) GetAccount(ctx types.Context, addr types.AccAddress) authtypes.AccountI
- func (_m *SchedulerKeeper) GetJob(ctx types.Context, jobID string) (*schedulertypes.Job, error)
- func (_m *SchedulerKeeper) Logger(ctx types.Context) log.Logger
- func (_m *SchedulerKeeper) PreJobExecution(ctx types.Context, job *schedulertypes.Job) error
- func (_m *SchedulerKeeper) ScheduleNow(ctx types.Context, jobID string, in []byte, senderAddress types.AccAddress, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerKeeper ¶
SchedulerKeeper is an autogenerated mock type for the SchedulerKeeper type
func NewSchedulerKeeper ¶
func NewSchedulerKeeper(t mockConstructorTestingTNewSchedulerKeeper) *SchedulerKeeper
NewSchedulerKeeper creates a new instance of SchedulerKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SchedulerKeeper) AddNewJob ¶
func (_m *SchedulerKeeper) AddNewJob(ctx types.Context, job *schedulertypes.Job) (types.AccAddress, error)
AddNewJob provides a mock function with given fields: ctx, job
func (*SchedulerKeeper) GetAccount ¶
func (_m *SchedulerKeeper) GetAccount(ctx types.Context, addr types.AccAddress) authtypes.AccountI
GetAccount provides a mock function with given fields: ctx, addr
func (*SchedulerKeeper) GetJob ¶
func (_m *SchedulerKeeper) GetJob(ctx types.Context, jobID string) (*schedulertypes.Job, error)
GetJob provides a mock function with given fields: ctx, jobID
func (*SchedulerKeeper) Logger ¶
func (_m *SchedulerKeeper) Logger(ctx types.Context) log.Logger
Logger provides a mock function with given fields: ctx
func (*SchedulerKeeper) PreJobExecution ¶
func (_m *SchedulerKeeper) PreJobExecution(ctx types.Context, job *schedulertypes.Job) error
PreJobExecution provides a mock function with given fields: ctx, job
func (*SchedulerKeeper) ScheduleNow ¶
func (_m *SchedulerKeeper) ScheduleNow(ctx types.Context, jobID string, in []byte, senderAddress types.AccAddress, contractAddress types.AccAddress) error
ScheduleNow provides a mock function with given fields: ctx, jobID, in, senderAddress, contractAddress