Skip to content

harborapi.models.buildhistory

Module that defines build history models. These are not generated from the Swagger 2.0 schema, but are instead defined manually. This is because the Swagger 2.0 schema does not define the OIDC models.

Models defined here are part of the Harbor API, but not documented in the official schema.

The models in this module are NOT automatically generated.

BuildHistoryEntry

Source code in harborapi/models/buildhistory.py
class BuildHistoryEntry(BaseModel):
    created: datetime
    created_by: str
    author: Optional[str] = None
    empty_layer: bool = False

created: datetime instance-attribute

created_by: str instance-attribute

author: Optional[str] = None class-attribute instance-attribute

empty_layer: bool = False class-attribute instance-attribute