[#156] session: Add ContainerServiceContext to SessionToken.Body oneof

Extend `session.SessionToken.Body.context` oneof with `container` field of
type `ContainerServiceContext`. This field is going to be used for RPCs of
`container.ContainerService`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-24 14:14:22 +03:00 committed by Stanislav Bogatyrev
parent dbd5ed1978
commit 77c4b55100

View file

@ -102,6 +102,9 @@ message SessionToken {
oneof context {
// ObjectService session context
ObjectSessionContext object = 5 [json_name = "object"];
// ContainerService session context
ContainerSessionContext container = 6 [json_name = "container"];
}
}
// Session Token contains the proof of trust between peers to be attached in