pub struct ReloaderConfig {
pub name: String,
pub reloader_type: String,
pub repository: String,
pub edit_mode: bool,
pub mirror: Option<MirrorConfig>,
pub skaffold: Option<SkaffoldConfig>,
}Fields§
§name: String§reloader_type: String§repository: String§edit_mode: bool§mirror: Option<MirrorConfig>§skaffold: Option<SkaffoldConfig>Implementations§
Source§impl ReloaderConfig
impl ReloaderConfig
Sourcepub fn pretty_resource_name(&self) -> String
pub fn pretty_resource_name(&self) -> String
Returns a user-friendly resource name for the reloader:
- mirrord reloaders: namespace/kubernetes_type/name/container (omitting empty parts).
- skaffold reloaders: namespace.
- invalid reloaders: empty string.
Trait Implementations§
Source§impl Clone for ReloaderConfig
impl Clone for ReloaderConfig
Source§fn clone(&self) -> ReloaderConfig
fn clone(&self) -> ReloaderConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReloaderConfig
impl Debug for ReloaderConfig
Source§impl Default for ReloaderConfig
impl Default for ReloaderConfig
Source§fn default() -> ReloaderConfig
fn default() -> ReloaderConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReloaderConfigwhere
ReloaderConfig: Default,
impl<'de> Deserialize<'de> for ReloaderConfigwhere
ReloaderConfig: Default,
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 ReloaderConfig
impl RefUnwindSafe for ReloaderConfig
impl Send for ReloaderConfig
impl Sync for ReloaderConfig
impl Unpin for ReloaderConfig
impl UnsafeUnpin for ReloaderConfig
impl UnwindSafe for ReloaderConfig
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