aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/state-api.h
blob: 2cb2d38182118bd07fc13fc67ddc7b38c91a1221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/net/simple_health_producer.h>
#include <vespa/vespalib/net/simple_component_config_producer.h>
#include <vespa/vespalib/metrics/simple_metrics.h>

namespace config {
namespace sentinel {

struct StateApi {
    vespalib::SimpleHealthProducer myHealth;
    vespalib::SimpleComponentConfigProducer myComponents;
};

} // namespace config::sentinel
} // namespace config