Add end date support for OneTime schedule

This commit is contained in:
zlawrence
2022-12-12 19:04:22 +01:00
parent d01a3f6347
commit 37bf73c7fe
6 changed files with 101 additions and 4 deletions

View File

@@ -58,6 +58,11 @@ spec:
description: The duration in minutes that the configured value
will be returned for the defined schedule.
type: integer
endDate:
description: Defines the ending date of a OneTime schedule.
It must be a RFC3339 formated date.
format: date-time
type: string
period:
description: Defines the details of a Repeating schedule.
properties:
@@ -76,6 +81,10 @@ spec:
- Sat
type: string
type: array
endTime:
description: The endTime has the format HH:MM
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
type: string
startTime:
description: The startTime has the format HH:MM
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
@@ -86,6 +95,7 @@ spec:
type: string
required:
- days
- endTime
- startTime
- timezone
type: object

View File

@@ -58,6 +58,11 @@ spec:
description: The duration in minutes that the configured value
will be returned for the defined schedule.
type: integer
endDate:
description: Defines the ending date of a OneTime schedule.
It must be a RFC3339 formated date.
format: date-time
type: string
period:
description: Defines the details of a Repeating schedule.
properties:
@@ -76,6 +81,10 @@ spec:
- Sat
type: string
type: array
endTime:
description: The endTime has the format HH:MM
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
type: string
startTime:
description: The startTime has the format HH:MM
pattern: (([0-1][0-9])|([2][0-3])):([0-5][0-9])
@@ -86,6 +95,7 @@ spec:
type: string
required:
- days
- endTime
- startTime
- timezone
type: object