Versions in this module Expand all Collapse all v0 v0.4.1 Nov 23, 2018 v0.4.0 Nov 22, 2018 Changes in this version + var Permissions = map[gitlab.AccessLevelValue]ProjectPermissions + type Group struct + AccessLevelValue int + AvatarURL string + Description string + FullName string + FullPath string + ID int + LFSEnabled bool + Name string + Page int + ParentID int + Path string + Projects []*Project + RequestAccessEnabled bool + WebURL string + type GroupInterface interface + GetGroup func(token, baseUrl string, gid int) (*Group, error) + ListGroupProjects func(token, baseUrl string, gid, page int) ([]Project, error) + ListGroups func(token, baseUrl string, page int) ([]Group, error) + type GroupMember struct + AccessLevelValue int + CreatedAt *time.Time + Email string + ID int + Name string + State string + Username string + type GroupMemberInterface interface + GetGroupMember func(token, baseUrl string, gid, uid int) (*GroupMember, error) + ListGroupMembers func(token, baseUrl string, gid, uid int) (int, error) + type Project struct + AccessLevel int + ApprovalsBeforeMerge int + Archived bool + AvatarURL string + BaseUrl string + CIConfigPath *string + ContainerRegistryEnabled bool + CreatedAt *time.Time + CreatorID int + DefaultBranch string + Description string + ForksCount int + Group *Group + HTTPURLToRepo string + ID int + ImportError string + ImportStatus string + IssuesEnabled bool + JobsEnabled bool + LFSEnabled bool + LastActivityAt *time.Time + MergeRequestsEnabled bool + Name string + NameWithNamespace string + Namespace string + OnlyAllowMergeIfAllDiscussionsAreResolved bool + OnlyAllowMergeIfPipelineSucceeds bool + OpenIssuesCount int + Page int + Path string + PathWithNamespace string + Profile string + Public bool + PublicJobs bool + Ref string + RequestAccessEnabled bool + RunnersToken string + SSHURLToRepo string + Search string + SharedRunnersEnabled bool + SnippetsEnabled bool + StarCount int + TagList []string + Token string + WebURL string + WikiEnabled bool + type ProjectInterface interface + GetGroupId func(url, token string, pid int) (int, error) + GetProject func(baseUrl, id, token string) (int, int, error) + ListProjects func(baseUrl, token, search string, page int) ([]Project, error) + Search func(baseUrl, token, search string) ([]Project, error) + type ProjectMember struct + BaseUrl string + Gid int + Name string + Namespace string + Pid int + Token string + User int + type ProjectMemberInterface interface + GetProjectMember func(token, baseUrl string, pid, uid, gid int) (ProjectMember, error) + type ProjectPermissions struct + AccessLevelValue int + MetaName string + RoleRefName string + type RepositoryFileInterface interface + GetRepository func(baseUrl, token, filePath, ref string, pid int) (string, error) + type RepositoryInterface interface + ListTree func(baseUrl, token, ref string, pid int) ([]TreeNode, error) + type Search struct + Keyword string + type Session struct + Blocked bool + CanCreateGroup bool + CanCreateProject bool + CanCreateTeam bool + CreatedAt *time.Time + Email string + ID int + IsAdmin bool + Name string + PrivateToken string + Username string + type SessionInterface interface + GetId func() int + GetSession func(baseUrl, username, password string) error + GetToken func() string + type TreeNode struct + Mode string + Name string + Path string + Type string + type User struct + AvatarURL string + Bio string + CanCreateGroup bool + CanCreateProject bool + ColorSchemeID int + CreatedAt *time.Time + CurrentSignInAt *time.Time + Email string + ExternUID string + ID int + IsAdmin bool + LastSignInAt *time.Time + Linkedin string + Name string + ProjectsLimit int + Provider string + Skype string + State string + ThemeID int + Twitter string + TwoFactorEnabled bool + Username string + WebsiteURL string + type UserInterface interface + GetUser func(baseUrl, accessToken string) (*User, error)