- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateInterceptionMode (0.28 sec)
-
pkg/kube/inject/validate.go
if _, err := parsePorts(ports); err != nil { return fmt.Errorf("%s invalid: %v", parameterName, err) } return nil } // validateInterceptionMode validates the interceptionMode annotation func validateInterceptionMode(mode string) error { switch mode { case meshconfig.ProxyConfig_REDIRECT.String(): case meshconfig.ProxyConfig_TPROXY.String():
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 5.9K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
key string defaultVal string validator annotationValidationFunc } func alwaysValidFunc(value string) error { return nil } // validateInterceptionMode validates the interceptionMode annotation func validateInterceptionMode(mode string) error { switch mode { case redirectModeREDIRECT: case redirectModeTPROXY: default: return fmt.Errorf("interceptionMode invalid: %v", mode) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0)