aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/state-api.h
blob: 94c62209bec0af3b5cc33d77d822acf99cd8ef19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 Yahoo Holdings. 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