MCPcopy
hub / github.com/baetyl/baetyl / engineImpl

Struct engineImpl

engine/engine.go:52–69  ·  view source on GitHub ↗

pipes: remote debugging of the routing table between the router and the channel. key={ns}_{name}_{container}

Source from the content-addressed store, hash-verified

50
51// pipes: remote debugging of the routing table between the router and the channel. key={ns}_{name}_{container}
52type engineImpl struct {
53 mode string
54 hostHostPath string
55 objectHostPath string
56 cfg config.Config
57 syn sync.Sync
58 ami ami.AMI
59 nod node.Node
60 sto *bh.Store
61 log *log.Logger
62 sec security.Security
63 pb plugin.Pubsub
64 agentClient agent.AgentClient
65 downsideChan <-chan interface{}
66 downsideProcess pubsub.Processor
67 chains gosync.Map
68 tomb v2utils.Tomb
69}
70
71func NewEngine(cfg config.Config, sto *bh.Store, nod node.Node, syn sync.Sync, agentClient agent.AgentClient) (Engine, error) {
72 mode := context.RunMode()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected