-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_repository.go
31 lines (30 loc) · 985 Bytes
/
model_repository.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* API version: 2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package harbor
import (
"time"
)
type Repository struct {
// The ID of the repository
Id int64 `json:"id,omitempty"`
// The ID of the project that the repository belongs to
ProjectId int64 `json:"project_id,omitempty"`
// The name of the repository
Name string `json:"name,omitempty"`
// The description of the repository
Description string `json:"description,omitempty"`
// The count of the artifacts inside the repository
ArtifactCount int64 `json:"artifact_count,omitempty"`
// The count that the artifact inside the repository pulled
PullCount int64 `json:"pull_count,omitempty"`
// The creation time of the repository
CreationTime time.Time `json:"creation_time,omitempty"`
// The update time of the repository
UpdateTime time.Time `json:"update_time,omitempty"`
}