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>,
pub unsynced: PathBuf,
pub durability: Durability,
}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.
unsynced: PathBufWhere the engine keeps whether what runners wrote without syncing may be lost to a host crash (ADR 0141), such
as unsynced beside the job history.
durability: DurabilityWrites what the kernel holds in memory to disk, before the engine says nothing is owed, and tells whether a
past boot ended in an orderly shutdown: sync(2) and the systemd journal.