pub struct JobSpec {Show 16 fields
pub api_version: String,
pub id: String,
pub attempt: u32,
pub executor: String,
pub execution: Option<ExecutionRequirements>,
pub image: String,
pub command: Vec<String>,
pub working_directory: String,
pub workspace: WorkspaceSpec,
pub environment_from_runner: Vec<String>,
pub secrets: Vec<SecretSpec>,
pub resources: Resources,
pub network: NetworkSpec,
pub artifacts: Vec<String>,
pub writable_rootfs: bool,
pub workflow: Option<WorkflowSpec>,
}Fields§
§api_version: String§id: String§attempt: u32§executor: String§execution: Option<ExecutionRequirements>§image: String§command: Vec<String>§working_directory: String§workspace: WorkspaceSpec§environment_from_runner: Vec<String>§secrets: Vec<SecretSpec>§resources: Resources§network: NetworkSpec§artifacts: Vec<String>§writable_rootfs: boolExplicit compatibility escape hatch for images that must write outside /workspace, for example Flutter SDK cache or an agent log directory.
workflow: Option<WorkflowSpec>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobSpec
impl<'de> Deserialize<'de> for JobSpec
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
Source§impl From<JobSpecV1beta1> for JobSpec
impl From<JobSpecV1beta1> for JobSpec
Source§fn from(spec: JobSpecV1beta1) -> Self
fn from(spec: JobSpecV1beta1) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JobSpec
impl RefUnwindSafe for JobSpec
impl Send for JobSpec
impl Sync for JobSpec
impl Unpin for JobSpec
impl UnsafeUnpin for JobSpec
impl UnwindSafe for JobSpec
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