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

Function SetRuntime

common/runtime/runtime.go:57–59  ·  view source on GitHub ↗

SetRuntime sets internal global Runtime

(runtime Runtime)

Source from the content-addressed store, hash-verified

55
56// SetRuntime sets internal global Runtime
57func SetRuntime(runtime Runtime) {
58 r = runtime
59}
60
61// GetRuntime returns the main Runtime
62func GetRuntime() Runtime {

Callers 15

configDbMoveOneFunction · 0.92
initViperRuntimeFunction · 0.92
ctl.goFile · 0.92
SkipTestControllerFunction · 0.92
TestMainFunction · 0.92
SkipTestControllerFunction · 0.92
RunGenericTestsFunction · 0.92
RunTestsFunction · 0.92
TestGetServiceInfoFunction · 0.92
DSNtoContextDAOFunction · 0.92
MockServicesToContextDAOFunction · 0.92
TestManagerStorageFunction · 0.92

Calls

no outgoing calls

Tested by 9

SkipTestControllerFunction · 0.74
TestMainFunction · 0.74
SkipTestControllerFunction · 0.74
TestGetServiceInfoFunction · 0.74
TestManagerStorageFunction · 0.74
TestRegistryXDSFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…