Documentation
¶
Overview ¶
package migrationstatus summarizes the status of projects being migrated to distributed test config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSV ¶
CSV writes a CSV containing each of migrationstatuses to out. migrationstatuses are sorted by builder and project.
func TextSummary ¶
func TextSummary( ctx context.Context, migrationStatuses []*MigrationStatus, projectsToCheck []string, ) (string, error)
TextSummary returns a string summarizing migrationStatuses. If projectsToCheck is non-empty, the summary contains whether each specific project is migrated.
Types ¶
type MigrationStatus ¶
type MigrationStatus struct { // The name of the builder that has a migration configured, usually an // orchestrator builder. BuilderName string // The name of the project. ProjectName string // The path the project is checked out to. ProjectPath string // Whether the project matches a MigrationConfig in the builder. MatchesMigrationConfig bool // Whether the project is included in the "ToT" CQ group. IncludedByToT bool // Whether the project is included by the builder's location filters. IncludedByBuilder bool }
MigrationStatus describes the distributed test planning status of a project.
Click to show internal directories.
Click to hide internal directories.