- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for annotationRegistry (0.07 sec)
-
cni/pkg/plugin/sidecar_redirect.go
if _, ok := annotationRegistry[name]; !ok { return false, "", fmt.Errorf("no registered annotation with name=%s", name) } // use annotation value if present if val, found := annotations[annotationRegistry[name].key]; found { if err := annotationRegistry[name].validator(val); err != nil { return true, annotationRegistry[name].defaultVal, err } return true, val, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0)