forked from TrueCloudLab/frostfs-api
[#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:
parent
dbd5ed1978
commit
77c4b55100
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ message SessionToken {
|
||||||
oneof context {
|
oneof context {
|
||||||
// ObjectService session context
|
// ObjectService session context
|
||||||
ObjectSessionContext object = 5 [json_name = "object"];
|
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
|
// Session Token contains the proof of trust between peers to be attached in
|
||||||
|
|
Loading…
Reference in a new issue