pub struct StartJobMessage {
pub job_id: Uuid,
pub image_spec: ImageSpecification,
pub ssh_keys: Vec<String>,
pub restart_policy: RestartPolicy,
pub parameters: HashMap<String, ParameterValue>,
}Fields§
§job_id: UuidUnique identifier of the job to be started.
To restart a previously failed or interrupted job, pass the same ID
in as the old job and set resume_job = true. The supervisor may
refuse to start a job with a re-used ID if resume_job is
deasserted, and must refuse to start a job when it cannot be resumed
and resume_job is asserted.
image_spec: ImageSpecification§ssh_keys: Vec<String>The set of initial SSH keys to deploy onto the image.
The image’s configuration of the Treadmill puppet daemon determines how and whether these keys will be loaded.
restart_policy: RestartPolicy§parameters: HashMap<String, ParameterValue>A hash map of parameters provided to this job execution. These parameters are provided to the puppet daemon.
Trait Implementations§
Source§impl Clone for StartJobMessage
impl Clone for StartJobMessage
Source§fn clone(&self) -> StartJobMessage
fn clone(&self) -> StartJobMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 StartJobMessage
impl Debug for StartJobMessage
Source§impl<'de> Deserialize<'de> for StartJobMessage
impl<'de> Deserialize<'de> for StartJobMessage
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 StartJobMessage
impl RefUnwindSafe for StartJobMessage
impl Send for StartJobMessage
impl Sync for StartJobMessage
impl Unpin for StartJobMessage
impl UnwindSafe for StartJobMessage
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