mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
Handle shutdown correctly
This commit is contained in:
parent
41e578e199
commit
f9da7ebe43
7 changed files with 69 additions and 10 deletions
12
proto/controller.proto
Normal file
12
proto/controller.proto
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
syntax = "proto3";
|
||||
package plugin;
|
||||
option go_package = "./plugin";
|
||||
|
||||
message Empty {
|
||||
}
|
||||
|
||||
// The GRPCController is responsible for telling the plugin server to shutdown.
|
||||
service GRPCController {
|
||||
rpc Shutdown(Empty) returns (Empty);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue