harbor_cli.output.table.artifact
Attributes
DOUBLE_SPACE_PATTERN = re.compile(' +')
module-attribute
Classes
ColKwargs
Bases: TypedDict
Source code in harbor_cli/output/table/artifact.py
Attributes
min_width: int
instance-attribute
max_width: int
instance-attribute
justify: Literal['right', 'left', 'center']
instance-attribute
overflow: Literal['fold']
instance-attribute
Functions
artifact_table(artifacts: Sequence[Artifact], **kwargs: Any) -> Table
Display one or more artifacts in a table.
Source code in harbor_cli/output/table/artifact.py
artifactinfo_table(artifacts: Sequence[ArtifactInfo], **kwargs: Any) -> Table
Display one or more artifacts (ArtifactInfo) in a table.
Source code in harbor_cli/output/table/artifact.py
artifact_vulnerability_summary_table(artifacts: Sequence[ArtifactVulnerabilitySummary], **kwargs: Any) -> Table
Source code in harbor_cli/output/table/artifact.py
artifactinfo_panel(artifact: ArtifactInfo, **kwargs: Any) -> Panel
Display an artifact (ArtifactInfo) in a panel.
The vulnerabilities of the artifact are shown separately from the artifact itself.
Source code in harbor_cli/output/table/artifact.py
artifact_vulnerabilities_table(reports: Sequence[HarborVulnerabilityReport], **kwargs: Any) -> Table
Source code in harbor_cli/output/table/artifact.py
vuln_summary_table(summary: VulnerabilitySummary, **kwargs: Any) -> Table
A single line table in the form of nC nH nM nL nU (total) where each letter is a color coded severity level + count.
Source code in harbor_cli/output/table/artifact.py
buildhistoryentry_table(history: Sequence[BuildHistoryEntry], **kwargs: Any) -> Table
Display one or more build history entries in a table. Omits the "author" and "empty_layer" fields.
Source code in harbor_cli/output/table/artifact.py
tags_table(tags: Sequence[Tag], **kwargs: Any) -> Table
Display one or more tags in a table.