blob: 4e81d291ce6204e045ad3326b1a25b8cfeecbdf2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include "public.h"
#include <yt/yt/client/api/client.h>
#include <yt/yt_proto/yt/client/chunk_client/proto/chunk_spec.pb.h>
#include <yt/yt/client/node_tracker_client/node_directory.h>
#include <yt/yt/core/yson/public.h>
namespace NYT::NApi {
////////////////////////////////////////////////////////////////////////////////
struct TSkynetSharePartsLocations
: public TRefCounted
{
NNodeTrackerClient::TNodeDirectoryPtr NodeDirectory = New<NNodeTrackerClient::TNodeDirectory>();
std::vector<NChunkClient::NProto::TChunkSpec> ChunkSpecs;
};
DEFINE_REFCOUNTED_TYPE(TSkynetSharePartsLocations)
void Serialize(
const TSkynetSharePartsLocations& skynetPartsLocations,
NYson::IYsonConsumer* consumer);
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NApi
|