MCPcopy
hub / github.com/wavetermdev/waveterm / Controller

Interface Controller

pkg/blockcontroller/blockcontroller.go:69–75  ·  view source on GitHub ↗

Controller interface that all block controllers must implement

Source from the content-addressed store, hash-verified

67
68// Controller interface that all block controllers must implement
69type Controller interface {
70 Start(ctx context.Context, blockMeta waveobj.MetaMapType, rtOpts *waveobj.RuntimeOpts, force bool) error
71 Stop(graceful bool, newStatus string, destroy bool)
72 GetRuntimeStatus() *BlockControllerRuntimeStatus // does not return nil
73 GetConnName() string
74 SendInput(input *BlockInputUnion) error
75}
76
77// Registry for all controllers
78var (

Callers 17

ResyncControllerFunction · 0.95
runBuilderAppMethod · 0.65
runTsunamiAppBinaryFunction · 0.65
registerControllerFunction · 0.95
StopBuilderCommandMethod · 0.65
keepAliveMonitorMethod · 0.65
initFunction · 0.65
DeleteControllerFunction · 0.65
ShutdownFunction · 0.65
runBuilderAppMethod · 0.65
writerLoopFunction · 0.65
ResyncControllerFunction · 0.95

Implementers 3

ShellControllerpkg/blockcontroller/shellcontroller.go
TsunamiControllerpkg/blockcontroller/tsunamicontroller.
DurableShellControllerpkg/blockcontroller/durableshellcontro

Calls

no outgoing calls

Tested by

no test coverage detected