github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/pluginmanager_service/grpc/proto/plugin_manager.proto (about) 1 syntax = "proto3"; 2 3 option go_package = ".;proto"; 4 5 package proto; 6 7 // Interface exported by the server. 8 service PluginManager { 9 rpc Get(GetRequest) returns (GetResponse) {} 10 rpc RefreshConnections(RefreshConnectionsRequest) returns (RefreshConnectionsResponse) {} 11 rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) {} 12 } 13 14 message GetRequest { 15 repeated string connections = 1; 16 } 17 18 message GetResponse { 19 map<string, ReattachConfig> reattach_map = 1; 20 map<string, string> failure_map = 2; 21 } 22 message RefreshConnectionsRequest { 23 } 24 25 message RefreshConnectionsResponse { 26 } 27 28 message ShutdownRequest {} 29 30 message ShutdownResponse {} 31 32 message ReattachConfig { 33 string protocol = 1; 34 int64 protocol_version = 2; 35 NetAddr addr = 3; 36 int64 pid = 4; 37 SupportedOperations supported_operations = 5; 38 repeated string connections = 6; 39 string plugin = 7; 40 } 41 42 // NOTE: this must be consistent with GetSupportedOperationsResponse in steampipe-plugin-sdk/grpc/proto/plugin.proto 43 message SupportedOperations { 44 bool query_cache = 1; 45 bool multiple_connections = 2; 46 bool message_stream = 3; 47 bool set_cache_options = 4; 48 bool rate_limiters = 5; 49 } 50 51 message NetAddr { 52 string Network = 1; // name of the network (for example, "tcp", "udp") 53 string Address = 2; // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80") 54 }