Retrieves specified cluster workload namespaces
POST/v1/dashboard/spectroclusters/:uid/workloads/namespace
Retrieves specified cluster workload namespaces
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 namespaces
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
namespaces
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
status
object
Cluster workload namespace status
phasestring
{
"namespaces": [
{
"metadata": {
"creationTimestamp": "2024-07-03T13:23:53.184Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"status": {
"phase": "string"
}
}
]
}
Loading...