Struct wasmcloud_core::registry::RegistryConfig
source · #[non_exhaustive]pub struct RegistryConfig { /* private fields */ }
Expand description
Credentials for a registry containing wasmCloud artifacts
Implementations§
source§impl RegistryConfig
impl RegistryConfig
pub fn builder() -> RegistryConfigBuilder
pub fn reg_type(&self) -> &RegistryType
pub fn auth(&self) -> &RegistryAuth
pub fn set_auth(&mut self, value: RegistryAuth)
pub fn allow_latest(&self) -> bool
pub fn set_allow_latest(&mut self, value: bool)
pub fn allow_insecure(&self) -> bool
pub fn set_allow_insecure(&mut self, value: bool)
pub fn additional_ca_paths(&self) -> &Vec<PathBuf>
pub fn set_additional_ca_paths(&mut self, value: Vec<PathBuf>)
Trait Implementations§
source§impl Debug for RegistryConfig
impl Debug for RegistryConfig
source§impl Default for RegistryConfig
impl Default for RegistryConfig
source§fn default() -> RegistryConfig
fn default() -> RegistryConfig
Returns the “default value” for a type. Read more
source§impl From<&RegistryConfig> for OciFetcher
impl From<&RegistryConfig> for OciFetcher
source§fn from(_: &RegistryConfig) -> Self
fn from(_: &RegistryConfig) -> Self
Converts to this type from the input type.
source§impl From<RegistryConfig> for OciFetcher
impl From<RegistryConfig> for OciFetcher
source§fn from(_: RegistryConfig) -> Self
fn from(_: RegistryConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegistryConfig
impl RefUnwindSafe for RegistryConfig
impl Send for RegistryConfig
impl Sync for RegistryConfig
impl Unpin for RegistryConfig
impl UnwindSafe for RegistryConfig
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