Retrieves specified cluster workload cronjobs
POST/v1/dashboard/spectroclusters/:uid/workloads/cronjob
Retrieves specified cluster workload cronjobs
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter object
Cluster workloads filter
namespacesstring[]
Responses
- 200
An array of cluster workload cronjobs
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
cronJobs object[]
metadata object
Cluster workload metadata
creationTimestampdate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
entity object
Cluster workload ref
kindstring
namestring
uidstring
labels object
property name*string
namespacestring
spec object
Cluster workload cronjob spec
schedulestring
status object
Cluster workload cronjob status
lastScheduleTimedate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
{
"cronJobs": [
{
"metadata": {
"creationTimestamp": "2023-12-01T21:31:48.582Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"spec": {
"schedule": "string"
},
"status": {
"lastScheduleTime": "2023-12-01T21:31:48.582Z"
}
}
]
}
Loading...