aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/common/state_reporter_utils.h
blob: 5e52092b1d8b4125eef7dafb35d95d2bea5051e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "statusreport.h"
#include <vespa/vespalib/data/slime/inserter.h>

namespace proton {

/**
 * Utilities for converting state related objects to slime.
 */
struct StateReporterUtils
{
    static void convertToSlime(const StatusReport &statusReport,
                               const vespalib::slime::Inserter &inserter);
};

} // namespace proton