Resources#
- pydantic model phalanx.models.kubernetes.Resources#
A list of resources returned from a kubectl command.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "Resources", "description": "A list of resources returned from a kubectl command.", "type": "object", "properties": { "items": { "items": { "$ref": "#/$defs/CronJob" }, "title": "Items", "type": "array" }, "kind": { "const": "List", "title": "Kind", "type": "string" } }, "$defs": { "CronJob": { "description": "A CronJob kubernetes resource.", "properties": { "kind": { "const": "CronJob", "title": "Kind", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" }, "name": { "title": "Name", "type": "string" } }, "required": [ "kind", "namespace", "name" ], "title": "CronJob", "type": "object" } }, "required": [ "items", "kind" ] }