Enum Relay Atif Storage Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub enum RelayAtifStorageConfig {
Http {
endpoint: String,
headers: BTreeMap<String, String>,
header_env: BTreeMap<String, String>,
timeout_millis: u64,
extensions: BTreeMap<String, Value>,
},
S3 {
bucket: String,
key_prefix: Option<String>,
access_key_id: Option<String>,
secret_access_key_var: Option<String>,
session_token_var: Option<String>,
region: Option<String>,
endpoint_url: Option<String>,
allow_http: Option<bool>,
extensions: BTreeMap<String, Value>,
},
}
Relay ATIF remote storage configuration.
Variants
Http
Http
Upload ATIF artifacts to HTTP storage.
Fields
endpoint: String
HTTP storage endpoint.
headers: BTreeMap<String, String>
Static HTTP headers.
header_env: BTreeMap<String, String>
Environment-variable-backed HTTP headers.
timeout_millis: u64
Request timeout in milliseconds.
extensions: BTreeMap<String, Value>
Additive HTTP storage fields.
S3
S3
Upload ATIF artifacts to S3-compatible storage.
Fields
bucket: String
S3 bucket name.
key_prefix: Option<String>
Optional S3 object key prefix.
access_key_id: Option<String>
AWS access key id.
secret_access_key_var: Option<String>
Environment variable containing the AWS secret access key.
session_token_var: Option<String>
Environment variable containing the AWS session token.
region: Option<String>
AWS region.
endpoint_url: Option<String>
S3-compatible endpoint URL.
allow_http: Option<bool>
Allow HTTP endpoints for S3-compatible storage.
extensions: BTreeMap<String, Value>
Additive S3 storage fields.
Trait Implementations
impl Clone for RelayAtifStorageConfig
impl Clone for RelayAtifStorageConfig
clone
fn clone(&self) -> RelayAtifStorageConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RelayAtifStorageConfig
impl Debug for RelayAtifStorageConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for RelayAtifStorageConfig
impl<'de> Deserialize<'de> for RelayAtifStorageConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for RelayAtifStorageConfig
impl JsonSchema for RelayAtifStorageConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for RelayAtifStorageConfig
impl PartialEq for RelayAtifStorageConfig
eq
fn eq(&self, other: &RelayAtifStorageConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for RelayAtifStorageConfig
impl Serialize for RelayAtifStorageConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for RelayAtifStorageConfig
impl StructuralPartialEq for RelayAtifStorageConfig