pub struct Mirror {
pub enabled: bool,
pub memory: ByteSize,
pub cpus: u32,
pub ttl: Duration,
}Expand description
The Docker Hub pull-through mirror shared by all runners.
Fields§
§enabled: boolWhether runners pull through the mirror.
memory: ByteSizeThe mirror container’s memory limit.
cpus: u32The mirror container’s CPUs.
ttl: DurationHow long content not pulled again is kept.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mirror
impl<'de> Deserialize<'de> for Mirror
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 Mirror
impl RefUnwindSafe for Mirror
impl Send for Mirror
impl Sync for Mirror
impl Unpin for Mirror
impl UnsafeUnpin for Mirror
impl UnwindSafe for Mirror
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