Struct wasmcloud_host::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) -> OciFetcher
fn from(_: &RegistryConfig) -> OciFetcher
Converts to this type from the input type.
source§impl From<RegistryConfig> for OciFetcher
impl From<RegistryConfig> for OciFetcher
source§fn from(_: RegistryConfig) -> OciFetcher
fn from(_: RegistryConfig) -> OciFetcher
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read moresource§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request