Add capabilities and worker_metadata in env reload response.

This commit is contained in:
Shyju Krishnankutty 2022-12-21 09:22:07 -08:00
Родитель e861ab8f08
Коммит 97c9457d59
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -240,6 +240,13 @@ message FunctionEnvironmentReloadRequest {
message FunctionEnvironmentReloadResponse {
// Status of the response
StatusResult result = 3;
// After specialization, worker sends capabilities & metadata.
// A map of worker supported features/capabilities
map<string, string> capabilities = 2;
// Worker metadata captured for telemetry purposes
WorkerMetadata worker_metadata = 1;
}
// Tell the out-of-proc worker to close any shared memory maps it allocated for given invocation