vector_config/component/
mod.rs1mod description;
2mod generate;
3mod marker;
4
5pub use self::{
6 description::{ComponentDescription, ExampleError},
7 generate::GenerateConfig,
8 marker::{
9 ApiComponent, ComponentMarker, EnrichmentTableComponent, GlobalOptionComponent,
10 ProviderComponent, SecretsComponent, SinkComponent, SourceComponent, TransformComponent,
11 },
12};
13
14pub type ApiDescription = ComponentDescription<ApiComponent>;
17pub type SourceDescription = ComponentDescription<SourceComponent>;
18pub type TransformDescription = ComponentDescription<TransformComponent>;
19pub type SecretsDescription = ComponentDescription<SecretsComponent>;
20pub type SinkDescription = ComponentDescription<SinkComponent>;
21pub type EnrichmentTableDescription = ComponentDescription<EnrichmentTableComponent>;
22pub type ProviderDescription = ComponentDescription<ProviderComponent>;
23pub type GlobalOptionDescription = ComponentDescription<GlobalOptionComponent>;
24
25inventory::collect!(ApiDescription);
26inventory::collect!(SourceDescription);
27inventory::collect!(TransformDescription);
28inventory::collect!(SecretsDescription);
29inventory::collect!(SinkDescription);
30inventory::collect!(EnrichmentTableDescription);
31inventory::collect!(ProviderDescription);
32inventory::collect!(GlobalOptionDescription);