pub struct Setup {
pub names: Names,
pub identity: HostIdentity,
pub memory_max: Option<u64>,
pub cpus: Option<u64>,
pub store: Store,
pub announced: Announced,
pub paused: Vec<String>,
pub paths: Paths,
pub build_cache: Option<BuildCache>,
}Expand description
Where the engine runs, besides its config and its GitHub and Docker clients.
Fields§
§names: NamesThe names of what runnerd creates in Docker.
identity: HostIdentityThis machine, which names its runners, so a restarted daemon recognizes them.
memory_max: Option<u64>The slice’s MemoryMax.
cpus: Option<u64>The CPUs the slice may use, in millicores (config::slice_cpus); None admits no runner by CPU.
store: StoreThe job history.
announced: AnnouncedThe profiles and repositories as the last run announced them (Store::announced), so the first publish
announces only the difference, including what the config no longer has.
paused: Vec<String>The repositories recorded paused (Store::paused_repositories): they stay paused from the first tick.
paths: PathsWhere the cgroup and proc file systems are.
build_cache: Option<BuildCache>The shared build cache, unless the daemon could not open it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Setup
impl RefUnwindSafe for Setup
impl Send for Setup
impl Sync for Setup
impl Unpin for Setup
impl UnsafeUnpin for Setup
impl UnwindSafe for Setup
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