Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
Id string
PlanName string
Arg string
State string
Final bool
Error bool
StartedAt int64
CompletedAt int64
Logs []JobLogEntry
}
A Job holds the runtime state of a specific job.
type JobLogEntry ¶
type Plan ¶
type Plan struct {
Name string
InitialState string
M map[string]StateMachineOutput
}
A Plan is a declarative definition of a finite state machine, expressed in terms of the possible state transitions. There is only one final state and it's represented by the empty string.
type StateMachineOutput ¶
Click to show internal directories.
Click to hide internal directories.