Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultMigrator ¶
func NewDefaultMigrator(cfg *config.Config, jobService application.JobService, appClients *clients.ClientList) *migrator
NewDefaultMigrator creates a new default migrator with the provided job service and clients
Types ¶
type StateTransitionRule ¶ added in v0.22.0
type StateTransitionRule struct {
// TaskTargetState is the state all tasks must reach
TaskTargetState domain.State
// JobTargetState is the state the job should transition to
JobTargetState domain.State
// Description explains the rule
Description string
}
StateTransitionRule defines when a job should transition based on task states
Source Files
¶
Click to show internal directories.
Click to hide internal directories.