Marked time field in status nullable (#769)
This commit is contained in:
parent
f610b1d4cf
commit
5a1e3eaddf
|
@ -57,26 +57,14 @@ spec:
|
|||
type: object
|
||||
deps:
|
||||
properties:
|
||||
downloadTimeout:
|
||||
format: int32
|
||||
minimum: 1
|
||||
type: integer
|
||||
files:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
filesDownloadDir:
|
||||
type: string
|
||||
jars:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
jarsDownloadDir:
|
||||
type: string
|
||||
maxSimultaneousDownloads:
|
||||
format: int32
|
||||
minimum: 1
|
||||
type: integer
|
||||
pyFiles:
|
||||
items:
|
||||
type: string
|
||||
|
@ -2908,8 +2896,6 @@ spec:
|
|||
items:
|
||||
type: string
|
||||
type: array
|
||||
initContainerImage:
|
||||
type: string
|
||||
mainApplicationFile:
|
||||
type: string
|
||||
mainClass:
|
||||
|
@ -3577,11 +3563,13 @@ spec:
|
|||
properties:
|
||||
lastRun:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
lastRunName:
|
||||
type: string
|
||||
nextRun:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
pastFailedRunNames:
|
||||
items:
|
||||
|
|
|
@ -43,26 +43,14 @@ spec:
|
|||
type: object
|
||||
deps:
|
||||
properties:
|
||||
downloadTimeout:
|
||||
format: int32
|
||||
minimum: 1
|
||||
type: integer
|
||||
files:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
filesDownloadDir:
|
||||
type: string
|
||||
jars:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
jarsDownloadDir:
|
||||
type: string
|
||||
maxSimultaneousDownloads:
|
||||
format: int32
|
||||
minimum: 1
|
||||
type: integer
|
||||
pyFiles:
|
||||
items:
|
||||
type: string
|
||||
|
@ -2894,8 +2882,6 @@ spec:
|
|||
items:
|
||||
type: string
|
||||
type: array
|
||||
initContainerImage:
|
||||
type: string
|
||||
mainApplicationFile:
|
||||
type: string
|
||||
mainClass:
|
||||
|
@ -3591,6 +3577,7 @@ spec:
|
|||
type: object
|
||||
lastSubmissionAttemptTime:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
sparkApplicationId:
|
||||
type: string
|
||||
|
@ -3601,6 +3588,7 @@ spec:
|
|||
type: string
|
||||
terminationTime:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
required:
|
||||
- driverInfo
|
||||
|
|
|
@ -136,8 +136,10 @@ const (
|
|||
|
||||
type ScheduledSparkApplicationStatus struct {
|
||||
// LastRun is the time when the last run of the application started.
|
||||
// +nullable
|
||||
LastRun metav1.Time `json:"lastRun,omitempty"`
|
||||
// NextRun is the time when the next run of the application will start.
|
||||
// +nullable
|
||||
NextRun metav1.Time `json:"nextRun,omitempty"`
|
||||
// LastRunName is the name of the SparkApplication for the most recent run of the application.
|
||||
LastRunName string `json:"lastRunName,omitempty"`
|
||||
|
@ -326,8 +328,10 @@ type SparkApplicationStatus struct {
|
|||
// SubmissionID is a unique ID of the current submission of the application.
|
||||
SubmissionID string `json:"submissionID,omitempty"`
|
||||
// LastSubmissionAttemptTime is the time for the last application submission attempt.
|
||||
// +nullable
|
||||
LastSubmissionAttemptTime metav1.Time `json:"lastSubmissionAttemptTime,omitempty"`
|
||||
// CompletionTime is the time when the application runs to completion if it does.
|
||||
// +nullable
|
||||
TerminationTime metav1.Time `json:"terminationTime,omitempty"`
|
||||
// DriverInfo has information about the driver.
|
||||
DriverInfo DriverInfo `json:"driverInfo"`
|
||||
|
|
Loading…
Reference in New Issue