INNER CODE UNIT · Go
func
kubernetes-sigs/gateway-api · tools/implist/main.go:300
func (t *TemplateOutput) LinkDetails(fullName, trafficType string) ImplLinkDetails {
switch strings.ToLower(trafficType) {
case "gateway":
if _, ok := t.GatewayConformantImpls[fullName]; ok {
return ImplLinkDetails{
Color: "green",
Result: "Conformant",
}
}
if _, ok := t.GatewayPartialImpls[fullName]; ok {
return ImplLinkDetails{
Color: "orange",
Result: "Partially Conformant",
}
}
case "mesh":
if _, ok := t.MeshConformantImpls[fullName]; ok {