summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/xanzy/go-gitlab/projects.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/projects.go')
-rw-r--r--vendor/github.com/xanzy/go-gitlab/projects.go23
1 files changed, 13 insertions, 10 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/projects.go b/vendor/github.com/xanzy/go-gitlab/projects.go
index 6622444cb6..5d5ca8c386 100644
--- a/vendor/github.com/xanzy/go-gitlab/projects.go
+++ b/vendor/github.com/xanzy/go-gitlab/projects.go
@@ -106,11 +106,12 @@ type Project struct {
GroupName string `json:"group_name"`
GroupAccessLevel int `json:"group_access_level"`
} `json:"shared_with_groups"`
- Statistics *ProjectStatistics `json:"statistics"`
- Links *Links `json:"_links,omitempty"`
- CIConfigPath string `json:"ci_config_path"`
- CIDefaultGitDepth int `json:"ci_default_git_depth"`
- CustomAttributes []*CustomAttribute `json:"custom_attributes"`
+ Statistics *ProjectStatistics `json:"statistics"`
+ Links *Links `json:"_links,omitempty"`
+ CIConfigPath string `json:"ci_config_path"`
+ CIDefaultGitDepth int `json:"ci_default_git_depth"`
+ CustomAttributes []*CustomAttribute `json:"custom_attributes"`
+ ComplianceFrameworks []string `json:"compliance_frameworks"`
}
// Repository represents a repository.
@@ -133,11 +134,13 @@ type Repository struct {
// ProjectNamespace represents a project namespace.
type ProjectNamespace struct {
- ID int `json:"id"`
- Name string `json:"name"`
- Path string `json:"path"`
- Kind string `json:"kind"`
- FullPath string `json:"full_path"`
+ ID int `json:"id"`
+ Name string `json:"name"`
+ Path string `json:"path"`
+ Kind string `json:"kind"`
+ FullPath string `json:"full_path"`
+ AvatarURL string `json:"avatar_url"`
+ WebURL string `json:"web_url"`
}
// StorageStatistics represents a statistics record for a group or project.