Skip to main content

sk_core/
lib.rs

1#![cfg_attr(coverage, feature(coverage_attribute))]
2pub mod config;
3pub mod constants;
4pub mod errors;
5pub mod events;
6pub mod external_storage;
7pub mod hooks;
8pub mod jsonutils;
9pub mod k8s;
10pub mod logging;
11pub mod macros;
12pub mod time;
13
14pub mod prelude {
15    pub use k8s_openapi::api::core::v1 as corev1;
16    pub use k8s_openapi::apimachinery::pkg::apis::meta::v1 as metav1;
17    pub use kube::api::{
18        DynamicObject,
19        TypeMeta,
20    };
21    pub use kube::{
22        CustomResourceExt,
23        ResourceExt,
24    };
25    pub use sk_api::v1::{
26        Simulation,
27        SimulationRoot,
28    };
29
30    pub use crate::config::{
31        TracerConfig,
32        TrackedObjectConfig,
33    };
34    pub use crate::constants::*;
35    pub use crate::errors::EmptyResult;
36    pub use crate::events::SkEventRecorder;
37    pub use crate::k8s::{
38        KubeResourceExt,
39        OpenApiResourceExt,
40    };
41}