MCPcopy
hub / github.com/baetyl/baetyl / Engine

Interface Engine

engine/engine.go:43–49  ·  view source on GitHub ↗

go:generate mockgen -destination=../mock/engine.go -package=mock -source=engine.go Engine

Source from the content-addressed store, hash-verified

41//go:generate mockgen -destination=../mock/engine.go -package=mock -source=engine.go Engine
42
43type Engine interface {
44 Start()
45 ReportAndDesire() error
46 GetServiceLog(ctx *routing.Context) error
47 Collect(ns string, isSys bool, desire specv1.Desire) specv1.Report
48 Close()
49}
50
51// pipes: remote debugging of the routing table between the router and the channel. key={ns}_{name}_{container}
52type engineImpl struct {

Callers 13

StartMethod · 0.65
TestHandlerDownsideFunction · 0.65
TestHandlerDownsideRPCFunction · 0.65
TestHandlerDownsideAgentFunction · 0.65
TestHandlerDownsideMqttFunction · 0.65
CloseMethod · 0.65
CloseMethod · 0.65
TestHandlerDownsideFunction · 0.65
TestHandlerDownsideMqttFunction · 0.65
viewLogsMethod · 0.65
connectMethod · 0.65

Implementers 3

engineImplengine/engine.go
MockEnginemock/engine.go

Calls

no outgoing calls

Tested by

no test coverage detected