Skip to content

Commit

Permalink
refactor to use status update opts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvegamyhre committed Apr 8, 2024
1 parent bde9e1b commit 7bf9e1f
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 146 deletions.
11 changes: 11 additions & 0 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,15 @@ const (
InOrderStartupPolicyReason = "StartupPolicyInOrder"
InOrderStartupPolicyExecutingMessage = "in order startup policy is executing"
InOrderStartupPolicyCompletedMessage = "in order startup policy has completed"

// Event reason and messages related to JobSet restarts.
JobSetRestartReason = "Restarting"

// Event reason and messages related to suspending a JobSet.
JobSetSuspendedReason = "SuspendedJobs"
JobSetSuspendedMessage = "jobset is suspended"

// Event reason and message related to resuming a JobSet.
JobSetResumedReason = "ResumeJobs"
JobSetResumedMessage = "jobset is resumed"
)
Loading

0 comments on commit 7bf9e1f

Please sign in to comment.