Controller interface that all block controllers must implement
| 67 | |
| 68 | // Controller interface that all block controllers must implement |
| 69 | type 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 |
| 78 | var ( |
no outgoing calls
no test coverage detected