pub struct RegistryEntry {
pub url: String,
pub api_key: Option<String>,
pub api_key_command: Option<String>,
pub insecure_skip_tls_verify: bool,
}Available on crate feature
config-file only.Expand description
One artifact store: where it is and how to prove you may write to it.
Fields§
§url: String§api_key: Option<String>ART_API_KEY, presented as Authorization: Bearer. Stored in the clear
in a 0600 file, exactly as a context’s password is; api_key_command
is here for anyone who would rather it live in a keychain.
api_key_command: Option<String>A shell command whose stdout is the key. Takes precedence over a stored
api_key; run via sh -c on every request that needs one.
insecure_skip_tls_verify: boolTrait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§impl Debug for RegistryEntry
impl Debug for RegistryEntry
Source§impl Default for RegistryEntry
impl Default for RegistryEntry
Source§impl<'de> Deserialize<'de> for RegistryEntry
impl<'de> Deserialize<'de> for RegistryEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more