[#18] Client: Rename parameters
Signed-off-by: Pavel Gross <p.gross@yando.com>
This commit is contained in:
parent
816e1eb2f1
commit
3206abc33e
31 changed files with 200 additions and 142 deletions
|
@ -23,7 +23,7 @@ internal class ContainerServiceProvider : ContextAccessor
|
|||
containerServiceClient = service;
|
||||
}
|
||||
|
||||
internal async Task<ModelsV2.Container> GetContainerAsync(PrmGetContainer args)
|
||||
internal async Task<ModelsV2.Container> GetContainerAsync(PrmContainerGet args)
|
||||
{
|
||||
GetRequest request = GetContainerRequest(args.ContainerId.ToGrpcMessage(), args.XHeaders);
|
||||
|
||||
|
@ -34,7 +34,7 @@ internal class ContainerServiceProvider : ContextAccessor
|
|||
return response.Body.Container.ToModel();
|
||||
}
|
||||
|
||||
internal async IAsyncEnumerable<ContainerId> ListContainersAsync(PrmListContainer args)
|
||||
internal async IAsyncEnumerable<ContainerId> ListContainersAsync(PrmContainerGetAll args)
|
||||
{
|
||||
var ctx = args.Context!;
|
||||
|
||||
|
@ -59,7 +59,7 @@ internal class ContainerServiceProvider : ContextAccessor
|
|||
}
|
||||
}
|
||||
|
||||
internal async Task<ContainerId> CreateContainerAsync(PrmCreateContainer args)
|
||||
internal async Task<ContainerId> CreateContainerAsync(PrmContainerCreate args)
|
||||
{
|
||||
var ctx = args.Context!;
|
||||
var grpcContainer = args.Container.ToGrpcMessage();
|
||||
|
@ -87,7 +87,7 @@ internal class ContainerServiceProvider : ContextAccessor
|
|||
return new ContainerId(Base58.Encode(response.Body.ContainerId.Value.ToByteArray()));
|
||||
}
|
||||
|
||||
internal async Task DeleteContainerAsync(PrmDeleteContainer args)
|
||||
internal async Task DeleteContainerAsync(PrmContainerDelete args)
|
||||
{
|
||||
var ctx = args.Context!;
|
||||
var request = new DeleteRequest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue