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

#pragma once

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

namespace config::sentinel {

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

}