code: func WithRetryOpts(value retry.Opts) coptions.Opt {
  	return func(p coptions.Params) {
  		logger.Debug("Checking retryOptsSetter")
  		if setter, ok := p.(retryOptsSetter); ok {
  			setter.SetSelectionRetryOpts(value)
  		}
  	}
  }
docs: // WithRetryOpts sets retry options for retries on transient errors
  // from the Discovery Server