Resource#

pydantic model phalanx.models.argocd.Resource#

Info about a Kubernetes resource in an ArgoCD application.

Parameters:

data (Any)

Show JSON schema
{
   "title": "Resource",
   "description": "Info about a Kubernetes resource in an ArgoCD application.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      },
      "kind": {
         "title": "Kind",
         "type": "string"
      },
      "status": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Status"
      }
   },
   "required": [
      "name",
      "kind"
   ]
}

Config:
  • alias_generator: function = <function to_camel at 0x7f5fa69773d0>

  • populate_by_name: bool = True

  • validate_by_alias: bool = True

  • validate_by_name: bool = True

Fields:
field kind: str [Required]#

The Kubernetes kind of this resource

field name: str [Required]#

The Kubernetes metadata.name of this resource.

field status: Optional[str] = None#

The sync status of this resource.