Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: variant-level now can use doc comments #33

Merged
merged 1 commit into from Nov 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions crates/habitat-api/src/batch.rs
Expand Up @@ -62,20 +62,20 @@ pub struct JobStatus {

#[derive(Deserialize, Serialize, Clone, Debug, JsonSchema)]
pub enum JobStatusPhase {
// Pending means the job has been accepted by the system, but one or more of pods has not been
// scheduled.
/// Pending means the job has been accepted by the system, but one or more of pods has not been
/// scheduled.
Pending,
// Ready means the scheduler approves the controller to create pods.
/// Ready means the scheduler approves the controller to create pods.
Ready,
// Running means that if the job contains any `Running` pod, its status will be `Running`.
/// Running means that if the job contains any `Running` pod, its status will be `Running`.
Running,
// Terminating means that the job is terminated, and waiting for releasing pods.
/// Terminating means that the job is terminated, and waiting for releasing pods.
Terminating,
// Succeeded means that the job is completed with success.
/// Succeeded means that the job is completed with success.
Succeeded,
// Succeeded means that the job is completed with failure.
/// Succeeded means that the job is completed with failure.
Failed,
// Terminated means that the job is completed with unexpected.
/// Terminated means that the job is completed with unexpected.
Terminated,
}

Expand Down