INNER CODE UNIT · Go

func

kubernetes-sigs/gateway-api · tools/implist/main.go:255

func (c ConformanceMap) UpdateConformanceDetails(cd ConformanceDetails, implKey string) {
	existing, ok := c[implKey]
	if !ok {
		c[implKey] = cd
		return
	}
	if semver.Compare(cd.Version, existing.Version) > 0 {
		// cd is newer, so update
		c[implKey] = cd
	}
}

// ConformantImpls maps the full name of the implementation to any errors in
// its best report. Used for generating the list of various classes of implementation.
type ConformantImpls map[string]string

type TemplateOutput struct {
	GatewayConformantImpls ConformantImpls

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…