lookout

package
v0.3.65-rc-1454486 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobQueued    JobState = "QUEUED"
	JobPending   JobState = "PENDING"
	JobRunning   JobState = "RUNNING"
	JobSucceeded JobState = "SUCCEEDED"
	JobFailed    JobState = "FAILED"
	JobCancelled JobState = "CANCELLED"
	JobPreempted JobState = "PREEMPTED"

	JobQueuedOrdinal    = 1
	JobPendingOrdinal   = 2
	JobRunningOrdinal   = 3
	JobSucceededOrdinal = 4
	JobFailedOrdinal    = 5
	JobCancelledOrdinal = 6
	JobPreemptedOrdinal = 7

	JobRunPending          JobRunState = "RUN_PENDING"
	JobRunRunning          JobRunState = "RUN_RUNNING"
	JobRunSucceeded        JobRunState = "RUN_SUCCEEDED"
	JobRunFailed           JobRunState = "RUN_FAILED"
	JobRunTerminated       JobRunState = "RUN_TERMINATED"
	JobRunPreempted        JobRunState = "RUN_PREEMPTED"
	JobRunUnableToSchedule JobRunState = "RUN_UNABLE_TO_SCHEDULE"
	JobRunLeaseReturned    JobRunState = "RUN_LEASE_RETURNED"
	JobRunLeaseExpired     JobRunState = "RUN_LEASE_EXPIRED"
	JobRunMaxRunsExceeded  JobRunState = "RUN_MAX_RUNS_EXCEEDED"

	JobRunPendingOrdinal          = 1
	JobRunRunningOrdinal          = 2
	JobRunSucceededOrdinal        = 3
	JobRunFailedOrdinal           = 4
	JobRunTerminatedOrdinal       = 5
	JobRunPreemptedOrdinal        = 6
	JobRunUnableToScheduleOrdinal = 7
	JobRunLeaseReturnedOrdinal    = 8
	JobRunLeaseExpiredOrdinal     = 9
	JobRunMaxRunsExceededOrdinal  = 10
)

Variables

Functions

func WithLookoutDb

func WithLookoutDb(action func(db *pgxpool.Pool) error) error

Types

type JobRunState

type JobRunState string

type JobState

type JobState string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL