MCPcopy Create free account
hub / github.com/pydio/cells / WithRestrictToProcess

Function WithRestrictToProcess

common/client/options.go:85–89  ·  view source on GitHub ↗

WithRestrictToProcess is mainly for testing purpose, forbidding connection to other processes

()

Source from the content-addressed store, hash-verified

83
84// WithRestrictToProcess is mainly for testing purpose, forbidding connection to other processes
85func WithRestrictToProcess() BalancerOption {
86 return func(o *BalancerOptions) {
87 o.Filters = append(o.Filters, TargetPIDMatches)
88 }
89}
90
91// WithPriorityToProcess is mainly for testing purpopse, to prioritize connections to current process.
92func WithPriorityToProcess() BalancerOption {

Callers 1

LBOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…