pub struct Host {
pub slice: String,
pub isolation: Isolation,
pub allow_unsafe: bool,
pub poll_interval: Duration,
}Expand description
[host]: where runner containers run and how they are isolated.
Fields§
§slice: StringThe systemd slice every runner container is placed in; its MemoryMax is the budget.
isolation: IsolationHow runner containers are kept from the host.
allow_unsafe: boolMust be set for isolation = "unsafe-dind", so a copied config cannot turn it on silently.
poll_interval: DurationHow often GitHub is asked for queued jobs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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 Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnsafeUnpin for Host
impl UnwindSafe for Host
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