Documentation
¶
Overview ¶
Package phase defines the planning phase sequence and artifact gates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactValidation ¶
type ArtifactValidation struct {
Name string `json:"name"`
Valid bool `json:"valid"`
Message string `json:"message,omitempty"`
CheckedAt time.Time `json:"checked_at"`
}
ArtifactValidation holds the result from validating a runnable phase gate.
func ValidatePrerequisites ¶
func ValidatePrerequisites(repoRoot string, upcoming Phase) ([]ArtifactValidation, error)
ValidatePrerequisites inspects the repo and returns the list of artifact checks that gate the upcoming phase.
type Phase ¶
type Phase int
Phase represents each numbered Governator phase.
func ParsePhase ¶
ParsePhase resolves a phase enum from its string name.
Click to show internal directories.
Click to hide internal directories.