ResourceList#
- pydantic model phalanx.models.kubernetes.ResourceList#
A list of resources returned from a kubectl command.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "ResourceList", "description": "A list of resources returned from a kubectl command.", "type": "object", "properties": { "items": { "items": { "$ref": "#/$defs/NamespacedResource" }, "title": "Items", "type": "array" }, "kind": { "const": "List", "title": "Kind", "type": "string" } }, "$defs": { "NamespacedResource": { "description": "Properties common to a namespaced Kubernetes resource.", "properties": { "kind": { "title": "Kind", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" }, "name": { "title": "Name", "type": "string" } }, "required": [ "kind", "namespace", "name" ], "title": "NamespacedResource", "type": "object" } }, "required": [ "items", "kind" ] }
-
field items:
list[TypeVar(T, bound=NamespacedResource)] [Required]# A list of Kubernetes resources.