MCPcopy Create free account
hub / github.com/efficientgo/e2e / WithProfiledConfig

Function WithProfiledConfig

profiling/profiled.go:38–42  ·  view source on GitHub ↗

WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).

(config parcaconfig.ProfilingConfig)

Source from the content-addressed store, hash-verified

36
37// WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).
38func 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…