Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConditionComplete = condition.Cond(batchv1.JobComplete) ConditionFailed = condition.Cond(batchv1.JobFailed) BackoffLimit = func(defaultValue int32) int32 { if str, ok := os.LookupEnv("SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT"); ok { if i, err := strconv.ParseInt(str, 10, 32); err != nil { logrus.Errorf("failed to parse $%s: %v", "SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT", err) } else { return int32(i) } } return defaultValue }(defaultBackoffLimit) TerminationGracePeriodSeconds = func(defaultValue int64) int64 { return defaultValue }(defaultTerminationGracePeriodSeconds) )
Functions ¶
func New ¶
func New(clusterscan *cisoperatorapiv1.ClusterScan, clusterscanprofile *cisoperatorapiv1.ClusterScanProfile, controllerName string, imageConfig *cisoperatorapiv1.ScanImageConfig) *batchv1.Job
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.