MCPcopy Create free account
hub / github.com/Huawei/containerops / SetRunDaemonMiddlewares

Function SetRunDaemonMiddlewares

pilotage/middleware/middleware.go:34–57  ·  view source on GitHub ↗

SetRunDaemonMiddlewares is setting function when the pilotage run a HTTP daemon with flow file. 1. The mode doesn't export log to file or database, it prints logs in Terminal. 2. The mode doesn't have database support, the flow definition from file. 3. The mode

(m *macaron.Macaron, cfgFile, flowFile string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runDaemonFlowFunction · 0.92

Calls 2

ParseFlowFromFileMethod · 0.80
LocalRunMethod · 0.80

Tested by

no test coverage detected