newton-core 0.7.5

newton protocol core sdk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Policy persisted immutable data backend abstraction.
//!
//! Provides trait and implementations for storing/retrieving immutable policy
//! artifacts (WASM, Rego) + manifests. S3 for prod, local filesystem for dev, with an
//! optional local disk tier in front of either for task-path reads.

pub mod backend;
pub mod config;
pub mod local_cache;
pub mod resolver;

#[cfg(feature = "persisted-immutable-data-s3")]
pub use backend::S3Backend;
pub use backend::{LocalBackend, UserStorageBackend};
pub use config::{LocalCacheConfig, ObjectStorage, StorageBackendConfig, StorageConfig};
pub use local_cache::LocalObjectCache;
pub use resolver::PersistedImmutableDataResolver;