Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultBackOff is the max backoff period, exported for the e2e test DefaultBackOff = 10 * time.Second // MaxBackOff is the max backoff period, exported for the e2e test MaxBackOff = 360 * time.Second // DefaultBackoffLimit for Jobs DefaultBackoffLimit = 0 // DefaultRestartPolicy for Jobs DefaultRestartPolicy = "Never" // ZeroValue ZeroValue = 0 // TTLDjustment TTLDjustment = 10 // DefaultNumReplicas DefaultNumReplicas = 1 )
View Source
const MainJobContainer = "polyaxon-main"
Polyaxon's default main container name
Variables ¶
This section is empty.
Functions ¶
func GetBackoffLimit ¶
GetBackoffLimit utils function to handle default case
func GetNumReplicas ¶
GetNumReplicas utils function to handle default case
func IgnoreNotFound ¶
IgnoreNotFound allows to ignore (not requeue) NotFound errors, since we'll get a reconciliation request once the object exists, and requeuing in the meantime won't help, and we can get them on deleted requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.