greentic_interfaces_host/
lib.rs1#![deny(unsafe_code)]
2#![warn(missing_docs, clippy::unwrap_used, clippy::expect_used)]
3#[cfg(target_arch = "wasm32")]
6compile_error!("greentic-interfaces-host is intended for native host targets.");
7
8pub use greentic_interfaces::{bindings, mappers, validate};
9
10pub mod component {
12 pub mod v0_4 {
14 pub use greentic_interfaces::component_v0_4::*;
15 }
16 pub mod describe_v1 {
18 pub use greentic_interfaces::component_describe_v1::*;
19 }
20 pub mod lifecycle_v1 {
22 pub use greentic_interfaces::component_lifecycle_v1::*;
23 }
24}
25
26pub mod host_import {
28 pub mod v0_2 {
30 pub use greentic_interfaces::host_import_v0_2::*;
31 }
32 pub mod v0_4 {
34 pub use greentic_interfaces::host_import_v0_4::*;
35 }
36 pub mod v0_6 {
38 pub use greentic_interfaces::host_import_v0_6::*;
39 }
40 pub mod runner_host_v1 {
42 pub use greentic_interfaces::runner_host_v1::*;
43 }
44}
45
46pub mod pack_exports {
48 pub mod v0_2 {
50 pub use greentic_interfaces::pack_export_v0_2::*;
51 }
52 pub mod v0_4 {
54 pub use greentic_interfaces::pack_export_v0_4::*;
55 }
56}
57
58pub mod types {
60 pub mod events_v1 {
62 pub use greentic_interfaces::events_v1::*;
63 }
64 pub mod types_core_v0_2 {
66 pub use greentic_interfaces::types_core_v0_2::*;
67 }
68 pub mod types_core_v0_4 {
70 pub use greentic_interfaces::types_core_v0_4::*;
71 }
72}
73
74pub mod secrets {
76 pub mod store_v1 {
78 pub use greentic_interfaces::secrets_store_v1::*;
79 }
80 pub mod secrets_v0_1 {
82 pub use greentic_interfaces::secrets_v0_1::*;
83 }
84}
85
86pub mod state {
88 pub use greentic_interfaces::state_store_v1::*;
89}
90
91pub mod messaging_session {
93 pub use greentic_interfaces::messaging_session_v1::*;
94}
95
96pub mod events_broker {
98 pub use greentic_interfaces::events_broker_v1::*;
99}
100
101pub mod events_source {
103 pub use greentic_interfaces::events_source_v1::*;
104}
105
106pub mod events_sink {
108 pub use greentic_interfaces::events_sink_v1::*;
109}
110
111pub mod events_bridge {
113 pub use greentic_interfaces::bindings::greentic_events_bridge_1_0_0_event_to_message_bridge::exports::greentic::events_bridge::bridge_api as event_to_message_bridge;
114 pub use greentic_interfaces::bindings::greentic_events_bridge_1_0_0_message_to_event_bridge::exports::greentic::events_bridge::bridge_api as message_to_event_bridge;
115}
116
117pub mod http_client {
119 pub use greentic_interfaces::http_client_v1::*;
120}
121
122pub mod telemetry {
124 pub use greentic_interfaces::telemetry_logger_v1::*;
125}
126
127pub mod oauth_broker {
129 pub use greentic_interfaces::oauth_broker_v1::*;
130}
131
132pub mod supply_chain {
134 pub mod source {
136 pub use greentic_interfaces::bindings::greentic_source_1_0_0_source_sync::exports::greentic::source::source_api::*;
137 }
138 pub mod build {
140 pub use greentic_interfaces::bindings::greentic_build_1_0_0_builder::exports::greentic::build::builder_api::*;
141 }
142 pub mod scan {
144 pub use greentic_interfaces::bindings::greentic_scan_1_0_0_scanner::exports::greentic::scan::scanner_api::*;
145 }
146 pub mod signing {
148 pub use greentic_interfaces::bindings::greentic_signing_1_0_0_signer::exports::greentic::signing::signer_api::*;
149 }
150 pub mod attestation {
152 pub use greentic_interfaces::bindings::greentic_attestation_1_0_0_attester::exports::greentic::attestation::attester_api::*;
153 }
154 pub mod policy {
156 pub use greentic_interfaces::bindings::greentic_policy_1_0_0_policy_evaluator::exports::greentic::policy::policy_api::*;
157 }
158 pub mod metadata {
160 pub use greentic_interfaces::bindings::greentic_metadata_1_0_0_metadata_store::exports::greentic::metadata::metadata_api::*;
161 }
162 pub mod oci {
164 pub use greentic_interfaces::bindings::greentic_oci_1_0_0_oci_distribution::exports::greentic::oci::oci_api::*;
165 }
166}
167
168pub mod distribution {
170 pub mod v1 {
172 pub use greentic_interfaces::bindings::greentic_distribution_1_0_0_distribution::exports::greentic::distribution::distribution_api::*;
173 }
174}
175
176pub mod messaging {
178 pub use super::messaging_session::*;
179}
180
181pub mod http {
183 pub use super::http_client::*;
184}
185
186pub mod oauth {
188 pub use super::oauth_broker::*;
189}