WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).
(config parcaconfig.ProfilingConfig)
| 36 | |
| 37 | // WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply). |
| 38 | func WithProfiledConfig(config parcaconfig.ProfilingConfig) ProfiledOption { |
| 39 | return func(o *rOpt) { |
| 40 | o.config = &config |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // WithProfiledScheme allows adding customized scheme. "http" or "https" values allowed. "http" by default. |
| 45 | // If "https" is specified, insecure TLS will be performed. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…