pub struct GitConfig {
pub base: String,
pub branch: String,
pub isolate: bool,
pub checkpoint_remote: Option<String>,
pub checkpoint_secs: u64,
pub git_timeout_ms: u64,
pub measure_every_ms: u64,
pub require_shared_root: bool,
}Expand description
git provider configuration; every field has a default. The fields in the operation
section are an Operation’s to set (workspace.settings); the Station’s placement reads them
to build each Mission’s SafeHouseSpec and its checkpoints. The others are the Station’s.
Fields§
§base: StringThe revision each Mission starts from.
branch: StringThe name each Mission’s branch gets; {id}, {slug} and {operation} are filled in.
isolate: boolGive each Mission its own copy. Off, Missions work in the source itself.
checkpoint_remote: Option<String>The git remote, by name or address, each Mission’s work is saved to, so a later run on another Station carries on from it. Empty pushes nothing.
checkpoint_secs: u64Seconds between saves of a running Mission’s work.
git_timeout_ms: u64Milliseconds one Git command may run before it is killed. Default 120000.
measure_every_ms: u64Milliseconds between measurements of the directories a size-bounded command (a clone) fills. Default 250.
Refuse to push work that shares no history with the branch it is based on or saved to,
which is what a Mission started before a history reset would push back. Set false to
push such work anyway. Default true.
Trait Implementations§
impl Eq for GitConfig
Source§impl FromValue for GitConfig
impl FromValue for GitConfig
Source§const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Source§impl Schema for GitConfig
impl Schema for GitConfig
impl StructuralPartialEq for GitConfig
Auto Trait Implementations§
impl Freeze for GitConfig
impl RefUnwindSafe for GitConfig
impl Send for GitConfig
impl Sync for GitConfig
impl Unpin for GitConfig
impl UnsafeUnpin for GitConfig
impl UnwindSafe for GitConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.