Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemArtifact ¶
type SystemArtifact struct { ID int64 `orm:"pk;auto;column(id)"` // the name of repository associated with the artifact Repository string `orm:"column(repository)"` // the SHA-256 digest of the artifact data. Digest string `orm:"column(digest)"` // the size of the artifact data in bytes Size int64 `orm:"column(size)"` // the harbor subsystem that created the artifact Vendor string `orm:"column(vendor)"` // the type of the system artifact. // the type field specifies the type of artifact data and is useful when a harbor component generates more than one // kind of artifact. for e.g. a scan data export job could create a detailed CSV export data file as well // as an summary export file. here type could be set to "CSVDetail" and "ScanSummary" Type string `orm:"column(type)"` // the time of creation of the system artifact CreateTime time.Time `orm:"column(create_time)"` // optional extra attributes for the system artifact ExtraAttrs string `orm:"column(extra_attrs)"` }
SystemArtifact represents a tracking record for each system artifact that has been created within registry using the system artifact manager
func (*SystemArtifact) TableName ¶
func (sa *SystemArtifact) TableName() string
func (*SystemArtifact) TableUnique ¶
func (sa *SystemArtifact) TableUnique() [][]string
Click to show internal directories.
Click to hide internal directories.