Skip to main content

Crate guestkit_job_spec

Crate guestkit_job_spec 

Source
Expand description

VM Operations Job Protocol - Type definitions and validation

This crate provides the type definitions for the VM Operations Job Protocol v1. It supports serialization/deserialization and validation of job specifications.

Re-exports§

pub use error::JobError;
pub use error::JobResult;
pub use types::Job;
pub use types::JobDocument;
pub use types::JobMetadata;
pub use types::ExecutionPolicy;
pub use types::Constraints;
pub use types::Routing;
pub use types::Observability;
pub use types::Audit;
pub use types::Payload;
pub use types::WorkerCapabilities;
pub use types::JobResult as JobResultType;
pub use types::ProgressEvent;
pub use types::JobStatus;
pub use types::ExecutionSummary;
pub use types::JobOutputs;
pub use types::JobExecutionError;
pub use types::ExecutionMetrics;
pub use validation::JobValidator;
pub use builder::JobBuilder;

Modules§

builder
Fluent builder for creating job documents
error
Error types for job specification
operations
Operation namespaces
types
Core type definitions for the VM Operations Job Protocol v1
validation
Job validation logic

Constants§

PROTOCOL_VERSION
Protocol version