aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/xanzy/go-gitlab/project_members.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-03 13:29:29 +0000
committerGitHub <noreply@github.com>2019-11-03 13:29:29 +0000
commit16bd116971bb7abc7308e95c474b433512672432 (patch)
tree9ff0abe956baed511f47b456f94863fec2e08cf3 /vendor/github.com/xanzy/go-gitlab/project_members.go
parent8c7c9880b1adcf876ad63ea39e46e62bd7ebde5d (diff)
parent4666763d4dfc5623ee2b2423a759de50aad151b7 (diff)
downloadgit-bug-16bd116971bb7abc7308e95c474b433512672432.tar.gz
Merge pull request #234 from MichaelMure/dependabot/dep/github.com/xanzy/go-gitlab-0.21.0
build(deps): bump github.com/xanzy/go-gitlab from 0.20.0 to 0.21.0
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/project_members.go')
-rw-r--r--vendor/github.com/xanzy/go-gitlab/project_members.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/project_members.go b/vendor/github.com/xanzy/go-gitlab/project_members.go
index abd964a1..54a25fdc 100644
--- a/vendor/github.com/xanzy/go-gitlab/project_members.go
+++ b/vendor/github.com/xanzy/go-gitlab/project_members.go
@@ -124,6 +124,7 @@ func (s *ProjectMembersService) GetProjectMember(pid interface{}, user int, opti
type AddProjectMemberOptions struct {
UserID *int `url:"user_id,omitempty" json:"user_id,omitempty"`
AccessLevel *AccessLevelValue `url:"access_level,omitempty" json:"access_level,omitempty"`
+ ExpiresAt *string `url:"expires_at,omitempty" json:"expires_at"`
}
// AddProjectMember adds a user to a project team. This is an idempotent
@@ -160,6 +161,7 @@ func (s *ProjectMembersService) AddProjectMember(pid interface{}, opt *AddProjec
// https://docs.gitlab.com/ce/api/members.html#edit-a-member-of-a-group-or-project
type EditProjectMemberOptions struct {
AccessLevel *AccessLevelValue `url:"access_level,omitempty" json:"access_level,omitempty"`
+ ExpiresAt *string `url:"expires_at,omitempty" json:"expires_at"`
}
// EditProjectMember updates a project team member to a specified access level..