Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleTaskResult ¶
type Service ¶
type Service struct { Scheduler TaskScheduler StateRepository state.Repository FactoryID factory.Identifier }
func (Service) Schedule ¶
func (s Service) Schedule(ctx context.Context, commands []command.ScheduleTaskCommand) ([]ScheduleTaskResult, error)
type TaskScheduler ¶
type TaskSchedulerDefault ¶
type TaskSchedulerDefault struct { AgentRegistry agent.Registry QueueService queue.Queue StateRepository state.Repository }
func (TaskSchedulerDefault) Schedule ¶
func (s TaskSchedulerDefault) Schedule(ctx context.Context, tasks []boltzmann.Task) ([]ScheduleTaskResult, error)
Click to show internal directories.
Click to hide internal directories.