pub struct ExternalProcessTransport {
pub command: Option<String>,
pub sha256: Option<String>,
pub binary_url: Option<String>,
pub health_url: Option<String>,
pub args: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub restart: RestartPolicy,
pub max_restarts: u32,
pub backoff_secs: u64,
pub auto_start: bool,
pub token: String,
}Fields§
§command: Option<String>§sha256: Option<String>§binary_url: Option<String>Optional https:// URL the publisher hosts the binary at.
When present, car install fetches the binary from this
URL, verifies the digest against sha256, and writes the
resulting file at the local command path before adoption
(Parslee-ai/car#182 phase 5). Mutually exclusive with
health_url. Locally-developed manifests can leave this
unset and ship command pointing at a binary the
developer placed there manually.
health_url: Option<String>§args: Vec<String>§cwd: Option<PathBuf>§env: BTreeMap<String, String>§restart: RestartPolicy§max_restarts: u32§backoff_secs: u64§auto_start: bool§token: StringTrait Implementations§
Source§impl Clone for ExternalProcessTransport
impl Clone for ExternalProcessTransport
Source§fn clone(&self) -> ExternalProcessTransport
fn clone(&self) -> ExternalProcessTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalProcessTransport
impl Debug for ExternalProcessTransport
Source§impl Default for ExternalProcessTransport
impl Default for ExternalProcessTransport
Source§fn default() -> ExternalProcessTransport
fn default() -> ExternalProcessTransport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalProcessTransport
impl<'de> Deserialize<'de> for ExternalProcessTransport
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 ExternalProcessTransport
impl RefUnwindSafe for ExternalProcessTransport
impl Send for ExternalProcessTransport
impl Sync for ExternalProcessTransport
impl Unpin for ExternalProcessTransport
impl UnsafeUnpin for ExternalProcessTransport
impl UnwindSafe for ExternalProcessTransport
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