Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
a8d25f96
Unverified
Commit
a8d25f96
authored
Feb 20, 2019
by
Mehdi Kharraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mirror related fields to Project struct
parent
d527cb61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
projects.go
projects.go
+5
-0
No files found.
projects.go
View file @
a8d25f96
...
...
@@ -82,6 +82,11 @@ type Project struct {
RequestAccessEnabled
bool
`json:"request_access_enabled"`
MergeMethod
MergeMethodValue
`json:"merge_method"`
ForkedFromProject
*
ForkParent
`json:"forked_from_project"`
Mirror
bool
`json:"mirror"`
MirrorUserID
int
`json:"mirror_user_id"`
MirrorTriggerBuilds
bool
`json:"mirror_trigger_builds"`
OnlyMirrorProtectedBranches
bool
`json:"only_mirror_protected_branches"`
MirrorOverwritesDivergedBranches
bool
`json:"mirror_overwrites_diverged_branches"`
SharedWithGroups
[]
struct
{
GroupID
int
`json:"group_id"`
GroupName
string
`json:"group_name"`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment