atlas_cli/storage/config.rs
1#[derive(Debug, Clone)]
2pub enum StorageType {
3 Rekor,
4 Database,
5 LocalFs,
6}
7#[derive(Debug, Clone)]
8pub struct StorageConfig {
9 pub rekor_url: String,
10 pub enable_verification: bool,
11 pub filesystem_path: Option<String>,
12}
13
14impl Default for StorageConfig {
15 fn default() -> Self {
16 Self {
17 rekor_url: "https://rekor.sigstore.dev".to_string(),
18 enable_verification: true,
19 filesystem_path: None,
20 }
21 }
22}