webhook.WithExponentialBackoff returns an error, and the priority is: - A: if the last invocation of the webhook function returned an error that error should be returned, otherwise - B: the error associated with the context if it has been canceled or it has expired, or the ErrWaitTimeout returned by the wait package once all retries have been exhausted. caller should check the error returned by webhook.WithExponentialBackoff to handle both A and B. Currently, we only handle A. Kubernetes-commit: ae2b353fbf519b29d168c534f88c373fd67a1c31 |
||
|---|---|---|
| .. | ||
| authentication.go | ||
| authentication_test.go | ||
| certs_test.go | ||
| client.go | ||
| error.go | ||
| gencerts.sh | ||
| serviceresolver.go | ||
| serviceresolver_test.go | ||
| validation.go | ||
| webhook.go | ||
| webhook_test.go | ||