Status#

pydantic model phalanx.models.argocd.Status#

Info about the status of an ArgoCD application.

Parameters:

data (Any)

Show JSON schema
{
   "title": "Status",
   "description": "Info about the status of an ArgoCD application.",
   "type": "object",
   "properties": {
      "resources": {
         "items": {
            "$ref": "#/$defs/Resource"
         },
         "title": "Resources",
         "type": "array"
      },
      "sync": {
         "$ref": "#/$defs/SyncStatus"
      }
   },
   "$defs": {
      "Resource": {
         "description": "Info about a Kubernetes resource in an ArgoCD application.",
         "properties": {
            "name": {
               "title": "Name",
               "type": "string"
            },
            "kind": {
               "title": "Kind",
               "type": "string"
            },
            "status": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Status"
            }
         },
         "required": [
            "name",
            "kind"
         ],
         "title": "Resource",
         "type": "object"
      },
      "SyncStatus": {
         "description": "The sync status an entire ArgoCD application.",
         "properties": {
            "status": {
               "title": "Status",
               "type": "string"
            }
         },
         "required": [
            "status"
         ],
         "title": "SyncStatus",
         "type": "object"
      }
   },
   "required": [
      "resources",
      "sync"
   ]
}

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 resources: list[Resource] [Required]#

The Kubernetes resources managed by this ArgoCD application.

field sync: SyncStatus [Required]#

The sync status of this application.