INNER CODE UNIT · Go
main
kubernetes-sigs/gateway-api · tools/implist/main.go:72
func main() {
flag.StringVar(&ImplsDir, "d", "conformance/list/implementations", "Defines the path relative to the repo root of the list directory containing the details files for implementations")
flag.StringVar(&IntegrationsDir, "i", "conformance/list/integrations", "Defines the path relative to the repo root of the list directory containing the details files for integrations")
flag.StringVar(&ReportsDir, "r", "conformance/reports", "Defines the path relative to the repo root of the list directory containing the conformance reports")
flag.StringVar(&OutFile, "o", "site/content/en/docs/implementations/list.md", "Defines the path relative to the repo root of the output file")
flag.Parse()
log.SetOutput(os.Stdout)
implDetails, err := readDetails(ImplsDir)
if err != nil {
log.Fatalf("Couldn't read implementation details: %s", err)
}
log.Printf("Found %d implementation details entries", len(implDetails))
confReports, err := readReports(ReportsDir)
if err != nil {