Skip to main content

plugins/
lib.rs

1// Copyright 2023 Greptime Team
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15mod cli;
16pub mod datanode;
17pub mod flownode;
18pub mod frontend;
19mod meta_srv;
20pub mod options;
21pub mod standalone;
22
23pub use cli::SubCommand;
24pub use datanode::{
25    setup_datanode_plugins_post_build, setup_datanode_plugins_pre_build, start_datanode_plugins,
26};
27pub use flownode::{
28    setup_flownode_plugins_post_build, setup_flownode_plugins_pre_build, start_flownode_plugins,
29};
30pub use frontend::{
31    setup_frontend_plugins_post_build, setup_frontend_plugins_pre_build, start_frontend_plugins,
32};
33pub use meta_srv::{
34    setup_metasrv_plugins_post_build, setup_metasrv_plugins_pre_build, start_metasrv_plugins,
35};
36pub use options::PluginOptions;
37pub use standalone::setup_standalone_plugins;