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