Documentation ¶
Overview ¶
Package state defines the model for a Run state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunState ¶
type RunState struct { Run run.Run // SubmissionScheduled is true if a submission will be attempted after state // transition completes. SubmissionScheduled bool // contains filtered or unexported fields }
RunState represents the current state of a Run.
func (*RunState) CheckTree ¶
CheckTree returns whether Tree is open for this Run.
Returns true if no Tree or Options.SkipTreeChecks is configured for this Run. Updates the latest result to `run.Submission`.
func (*RunState) LoadConfigGroup ¶
LoadConfigGroup loads the ConfigGroup used by this Run.
Result is cached inside the state.
func (*RunState) ShallowCopy ¶
ShallowCopy returns a shallow copy of run state
Click to show internal directories.
Click to hide internal directories.