ApplicationList#
- pydantic model phalanx.models.argocd.ApplicationList#
A list of ArgoCD applications.
- Parameters:
root (
TypeVar(RootModelRootType), default:PydanticUndefined)
Show JSON schema
{ "title": "ApplicationList", "description": "A list of ArgoCD applications.", "type": "array", "$defs": { "Application": { "description": "An ArgoCD application.", "properties": { "metadata": { "$ref": "#/$defs/Metadata" }, "status": { "$ref": "#/$defs/Status" }, "spec": { "$ref": "#/$defs/Spec" } }, "required": [ "metadata", "status", "spec" ], "title": "Application", "type": "object" }, "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" } }, "items": { "$ref": "#/$defs/Application" } }
- field root: RootModelRootType [Required]#
- get_different_ref(ref)#
Return all applications that are synced to a different ref.
- Parameters:
ref (
str)- Return type:
- get_unsynced()#
Return a list of applications that is not synced.
- Return type: