Application#
- pydantic model phalanx.models.argocd.Application#
An ArgoCD application.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "Application", "description": "An ArgoCD application.", "type": "object", "properties": { "metadata": { "$ref": "#/$defs/Metadata" }, "status": { "$ref": "#/$defs/Status" }, "spec": { "$ref": "#/$defs/Spec" } }, "$defs": { "Metadata": { "description": "Metadata for an ArgoCD application.", "properties": { "name": { "title": "Name", "type": "string" } }, "required": [ "name" ], "title": "Metadata", "type": "object" }, "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" }, "Source": { "description": "Info about where an ArgoCD application is synced from.", "properties": { "targetRevision": { "title": "Targetrevision", "type": "string" } }, "required": [ "targetRevision" ], "title": "Source", "type": "object" }, "Spec": { "description": "The specification of an ArgoCD application.", "properties": { "source": { "$ref": "#/$defs/Source" } }, "required": [ "source" ], "title": "Spec", "type": "object" }, "Status": { "description": "Info about the status of an ArgoCD application.", "properties": { "resources": { "items": { "$ref": "#/$defs/Resource" }, "title": "Resources", "type": "array" }, "sync": { "$ref": "#/$defs/SyncStatus" } }, "required": [ "resources", "sync" ], "title": "Status", "type": "object" }, "SyncStatus": { "description": "The sync status an entire ArgoCD application.", "properties": { "status": { "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "SyncStatus", "type": "object" } }, "required": [ "metadata", "status", "spec" ] }
- 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: