Documentation
¶
Overview ¶
Package gitlab implements a GitLab API client.
Index ¶
- Variables
- func Bool(v bool) *bool
- func CheckResponse(r *http.Response) error
- func Int(v int) *int
- func ParseHook(eventType EventType, payload []byte) (event interface{}, err error)
- func ParseSystemhook(payload []byte) (event interface{}, err error)
- func ParseWebhook(eventType EventType, payload []byte) (event interface{}, err error)
- func PathEscape(s string) string
- func String(v string) *string
- func Stringify(message interface{}) string
- func Time(v time.Time) *time.Time
- type AcceptMergeRequestOptions
- type AccessControlValue
- type AccessLevelValue
- type AccessRequest
- type AccessRequestsService
- func (s *AccessRequestsService) ApproveGroupAccessRequest(gid interface{}, user int, opt *ApproveAccessRequestOptions, ...) (*AccessRequest, *Response, error)
- func (s *AccessRequestsService) ApproveProjectAccessRequest(pid interface{}, user int, opt *ApproveAccessRequestOptions, ...) (*AccessRequest, *Response, error)
- func (s *AccessRequestsService) DenyGroupAccessRequest(gid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
- func (s *AccessRequestsService) DenyProjectAccessRequest(pid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
- func (s *AccessRequestsService) ListGroupAccessRequests(gid interface{}, opt *ListAccessRequestsOptions, options ...RequestOptionFunc) ([]*AccessRequest, *Response, error)
- func (s *AccessRequestsService) ListProjectAccessRequests(pid interface{}, opt *ListAccessRequestsOptions, options ...RequestOptionFunc) ([]*AccessRequest, *Response, error)
- func (s *AccessRequestsService) RequestGroupAccess(gid interface{}, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
- func (s *AccessRequestsService) RequestProjectAccess(pid interface{}, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
- type AddClusterOptions
- type AddCommitDiscussionNoteOptions
- type AddDeployKeyOptions
- type AddEmailOptions
- type AddEpicDiscussionNoteOptions
- type AddGPGKeyOptions
- type AddGroupBadgeOptions
- type AddGroupClusterOptions
- type AddGroupHookOptions
- type AddGroupLDAPLinkOptions
- type AddGroupMemberOptions
- type AddGroupPlatformKubernetesOptions
- type AddGroupPushRuleOptions
- type AddHookOptions
- type AddIssueDiscussionNoteOptions
- type AddLicenseOptions
- type AddManagedLicenseOptions
- type AddMergeRequestDiscussionNoteOptions
- type AddPipelineTriggerOptions
- type AddPlatformKubernetesOptions
- type AddProjectBadgeOptions
- type AddProjectHookOptions
- type AddProjectMemberOptions
- type AddProjectMirrorOptions
- type AddProjectPushRuleOptions
- type AddSSHKeyOptions
- type AddSnippetDiscussionNoteOptions
- type AddSpentTimeOptions
- type Agent
- type AgentToken
- type Application
- type ApplicationsService
- func (s *ApplicationsService) CreateApplication(opt *CreateApplicationOptions, options ...RequestOptionFunc) (*Application, *Response, error)
- func (s *ApplicationsService) DeleteApplication(application int, options ...RequestOptionFunc) (*Response, error)
- func (s *ApplicationsService) ListApplications(opt *ListApplicationsOptions, options ...RequestOptionFunc) ([]*Application, *Response, error)
- type ApproveAccessRequestOptions
- type ApproveMergeRequestOptions
- type ApproverIDsValue
- type ArchiveOptions
- type AssigneeIDValue
- type AuditEvent
- type AuditEventDetails
- type AuditEventsService
- func (s *AuditEventsService) GetGroupAuditEvent(gid interface{}, event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
- func (s *AuditEventsService) GetInstanceAuditEvent(event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
- func (s *AuditEventsService) GetProjectAuditEvent(pid interface{}, event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
- func (s *AuditEventsService) ListGroupAuditEvents(gid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
- func (s *AuditEventsService) ListInstanceAuditEvents(opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
- func (s *AuditEventsService) ListProjectAuditEvents(pid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
- type AuthType
- type Author
- type AvailabilityValue
- type Avatar
- type AvatarRequestsService
- type AwardEmoji
- type AwardEmojiService
- func (s *AwardEmojiService) CreateIssueAwardEmoji(pid interface{}, issueIID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) CreateIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) CreateMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) CreateMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) CreateSnippetAwardEmoji(pid interface{}, snippetID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) CreateSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *CreateAwardEmojiOptions, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) DeleteIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*Response, error)
- func (s *AwardEmojiService) DeleteIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error)
- func (s *AwardEmojiService) DeleteMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*Response, error)
- func (s *AwardEmojiService) DeleteMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID, awardID int, ...) (*Response, error)
- func (s *AwardEmojiService) DeleteSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*Response, error)
- func (s *AwardEmojiService) DeleteSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error)
- func (s *AwardEmojiService) GetIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) GetIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) GetMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) GetMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID, awardID int, ...) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) GetSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) GetSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListIssueAwardEmoji(pid interface{}, issueIID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListSnippetAwardEmoji(pid interface{}, snippetID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- func (s *AwardEmojiService) ListSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *ListAwardEmojiOptions, ...) ([]*AwardEmoji, *Response, error)
- type BadgeKind
- type BaseSystemEvent
- type BasicProject
- type BasicUser
- type BillableGroupMember
- type Blob
- type BoardList
- type BoolValue
- type Branch
- type BranchAccessDescription
- type BranchPermissionOptions
- type BranchesService
- func (s *BranchesService) CreateBranch(pid interface{}, opt *CreateBranchOptions, options ...RequestOptionFunc) (*Branch, *Response, error)
- func (s *BranchesService) DeleteBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Response, error)
- func (s *BranchesService) DeleteMergedBranches(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *BranchesService) GetBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Branch, *Response, error)
- func (s *BranchesService) ListBranches(pid interface{}, opts *ListBranchesOptions, options ...RequestOptionFunc) ([]*Branch, *Response, error)
- func (s *BranchesService) ProtectBranch(pid interface{}, branch string, opts *ProtectBranchOptions, ...) (*Branch, *Response, error)
- func (s *BranchesService) UnprotectBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Branch, *Response, error)
- type Bridge
- type BroadcastMessage
- type BroadcastMessagesService
- func (s *BroadcastMessagesService) CreateBroadcastMessage(opt *CreateBroadcastMessageOptions, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error)
- func (s *BroadcastMessagesService) DeleteBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*Response, error)
- func (s *BroadcastMessagesService) GetBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error)
- func (s *BroadcastMessagesService) ListBroadcastMessages(opt *ListBroadcastMessagesOptions, options ...RequestOptionFunc) ([]*BroadcastMessage, *Response, error)
- func (s *BroadcastMessagesService) UpdateBroadcastMessage(broadcast int, opt *UpdateBroadcastMessageOptions, ...) (*BroadcastMessage, *Response, error)
- type BuildEvent
- type BuildStateValue
- type BurndownChartEvent
- type CIYMLTemplate
- type CIYMLTemplatesService
- type ChangeAllowedApproversOptions
- type ChangeApprovalConfigurationOptions
- type ChangeMergeRequestAllowedApproversOptions
- type ChangeMergeRequestApprovalConfigurationOptions
- type ChangePlanLimitOptions
- type CherryPickCommitOptions
- type Client
- func NewBasicAuthClient(username, password string, options ...ClientOptionFunc) (*Client, error)
- func NewClient(token string, options ...ClientOptionFunc) (*Client, error)
- func NewJobClient(token string, options ...ClientOptionFunc) (*Client, error)
- func NewOAuthClient(token string, options ...ClientOptionFunc) (*Client, error)
- func (c *Client) BaseURL() *url.URL
- func (c *Client) Do(req *retryablehttp.Request, v interface{}) (*Response, error)
- func (c *Client) NewRequest(method, path string, opt interface{}, options []RequestOptionFunc) (*retryablehttp.Request, error)
- func (c *Client) UploadRequest(method, path string, content io.Reader, filename string, uploadType UploadType, ...) (*retryablehttp.Request, error)
- type ClientOptionFunc
- func WithBaseURL(urlStr string) ClientOptionFunc
- func WithCustomBackoff(backoff retryablehttp.Backoff) ClientOptionFunc
- func WithCustomLeveledLogger(leveledLogger retryablehttp.LeveledLogger) ClientOptionFunc
- func WithCustomLimiter(limiter RateLimiter) ClientOptionFunc
- func WithCustomLogger(logger retryablehttp.Logger) ClientOptionFunc
- func WithCustomRetry(checkRetry retryablehttp.CheckRetry) ClientOptionFunc
- func WithHTTPClient(httpClient *http.Client) ClientOptionFunc
- func WithRequestLogHook(hook retryablehttp.RequestLogHook) ClientOptionFunc
- func WithResponseLogHook(hook retryablehttp.ResponseLogHook) ClientOptionFunc
- func WithoutRetries() ClientOptionFunc
- type ClusterAgentsService
- func (s *ClusterAgentsService) CreateAgentToken(pid interface{}, aid int, opt *CreateAgentTokenOptions, ...) (*AgentToken, *Response, error)
- func (s *ClusterAgentsService) DeleteAgent(pid interface{}, id int, options ...RequestOptionFunc) (*Response, error)
- func (s *ClusterAgentsService) GetAgent(pid interface{}, id int, options ...RequestOptionFunc) (*Agent, *Response, error)
- func (s *ClusterAgentsService) GetAgentToken(pid interface{}, aid int, id int, options ...RequestOptionFunc) (*AgentToken, *Response, error)
- func (s *ClusterAgentsService) ListAgentTokens(pid interface{}, aid int, opt *ListAgentTokensOptions, ...) ([]*AgentToken, *Response, error)
- func (s *ClusterAgentsService) ListAgents(pid interface{}, opt *ListAgentsOptions, options ...RequestOptionFunc) ([]*Agent, *Response, error)
- func (s *ClusterAgentsService) RegisterAgent(pid interface{}, opt *RegisterAgentOptions, options ...RequestOptionFunc) (*Agent, *Response, error)
- func (s *ClusterAgentsService) RevokeAgentToken(pid interface{}, aid int, id int, options ...RequestOptionFunc) (*Response, error)
- type Commit
- type CommitActionOptions
- type CommitComment
- type CommitCommentEvent
- type CommitRef
- type CommitStats
- type CommitStatus
- type CommitsService
- func (s *CommitsService) CherryPickCommit(pid interface{}, sha string, opt *CherryPickCommitOptions, ...) (*Commit, *Response, error)
- func (s *CommitsService) CreateCommit(pid interface{}, opt *CreateCommitOptions, options ...RequestOptionFunc) (*Commit, *Response, error)
- func (s *CommitsService) GetCommit(pid interface{}, sha string, options ...RequestOptionFunc) (*Commit, *Response, error)
- func (s *CommitsService) GetCommitComments(pid interface{}, sha string, opt *GetCommitCommentsOptions, ...) ([]*CommitComment, *Response, error)
- func (s *CommitsService) GetCommitDiff(pid interface{}, sha string, opt *GetCommitDiffOptions, ...) ([]*Diff, *Response, error)
- func (s *CommitsService) GetCommitRefs(pid interface{}, sha string, opt *GetCommitRefsOptions, ...) ([]*CommitRef, *Response, error)
- func (s *CommitsService) GetCommitStatuses(pid interface{}, sha string, opt *GetCommitStatusesOptions, ...) ([]*CommitStatus, *Response, error)
- func (s *CommitsService) GetGPGSiganature(pid interface{}, sha string, options ...RequestOptionFunc) (*GPGSignature, *Response, error)
- func (s *CommitsService) ListCommits(pid interface{}, opt *ListCommitsOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error)
- func (s *CommitsService) ListMergeRequestsByCommit(pid interface{}, sha string, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error)
- func (s *CommitsService) PostCommitComment(pid interface{}, sha string, opt *PostCommitCommentOptions, ...) (*CommitComment, *Response, error)
- func (s *CommitsService) RevertCommit(pid interface{}, sha string, opt *RevertCommitOptions, ...) (*Commit, *Response, error)
- func (s *CommitsService) SetCommitStatus(pid interface{}, sha string, opt *SetCommitStatusOptions, ...) (*CommitStatus, *Response, error)
- type Compare
- type CompareOptions
- type CompoundMetrics
- type ConfigProject
- type ContainerExpirationPolicy
- type ContainerExpirationPolicyAttributes
- type ContainerRegistryService
- func (s *ContainerRegistryService) DeleteRegistryRepository(pid interface{}, repository int, options ...RequestOptionFunc) (*Response, error)
- func (s *ContainerRegistryService) DeleteRegistryRepositoryTag(pid interface{}, repository int, tagName string, options ...RequestOptionFunc) (*Response, error)
- func (s *ContainerRegistryService) DeleteRegistryRepositoryTags(pid interface{}, repository int, opt *DeleteRegistryRepositoryTagsOptions, ...) (*Response, error)
- func (s *ContainerRegistryService) GetRegistryRepositoryTagDetail(pid interface{}, repository int, tagName string, options ...RequestOptionFunc) (*RegistryRepositoryTag, *Response, error)
- func (s *ContainerRegistryService) GetSingleRegistryRepository(pid interface{}, opt *GetSingleRegistryRepositoryOptions, ...) (*RegistryRepository, *Response, error)
- func (s *ContainerRegistryService) ListGroupRegistryRepositories(gid interface{}, opt *ListRegistryRepositoriesOptions, ...) ([]*RegistryRepository, *Response, error)
- func (s *ContainerRegistryService) ListProjectRegistryRepositories(pid interface{}, opt *ListRegistryRepositoriesOptions, ...) ([]*RegistryRepository, *Response, error)
- func (s *ContainerRegistryService) ListRegistryRepositoryTags(pid interface{}, repository int, opt *ListRegistryRepositoryTagsOptions, ...) ([]*RegistryRepositoryTag, *Response, error)
- type ContributionEvent
- type Contributor
- type CreateAgentTokenOptions
- type CreateApplicationOptions
- type CreateAwardEmojiOptions
- type CreateBranchOptions
- type CreateBroadcastMessageOptions
- type CreateCommitDiscussionOptions
- type CreateCommitOptions
- type CreateEnvironmentOptions
- type CreateEpicDiscussionOptions
- type CreateEpicNoteOptions
- type CreateEpicOptions
- type CreateFileOptions
- type CreateFreezePeriodOptions
- type CreateGeoNodesOptions
- type CreateGroupAccessTokenOptions
- type CreateGroupDeployTokenOptions
- type CreateGroupIssueBoardListOptions
- type CreateGroupIssueBoardOptions
- type CreateGroupLabelOptions
- type CreateGroupMilestoneOptions
- type CreateGroupOptions
- type CreateGroupVariableOptions
- type CreateGroupWikiPageOptions
- type CreateImpersonationTokenOptions
- type CreateInstanceVariableOptions
- type CreateIssueBoardListOptions
- type CreateIssueBoardOptions
- type CreateIssueDiscussionOptions
- type CreateIssueLinkOptions
- type CreateIssueNoteOptions
- type CreateIssueOptions
- type CreateLabelOptions
- type CreateMergeRequestApprovalRuleOptions
- type CreateMergeRequestDiscussionOptions
- type CreateMergeRequestNoteOptions
- type CreateMergeRequestOptions
- type CreateMilestoneOptions
- type CreatePagesDomainOptions
- type CreatePersonalAccessTokenOptions
- type CreatePipelineOptions
- type CreatePipelineScheduleOptions
- type CreatePipelineScheduleVariableOptions
- type CreateProjectAccessTokenOptions
- type CreateProjectDeployTokenOptions
- type CreateProjectDeploymentOptions
- type CreateProjectForUserOptions
- type CreateProjectLevelRuleOptions
- type CreateProjectOptions
- type CreateProjectSnippetOptions
- type CreateProjectVariableOptions
- type CreateReleaseLinkOptions
- type CreateReleaseNoteOptionsdeprecated
- type CreateReleaseOptions
- type CreateSnippetDiscussionOptions
- type CreateSnippetNoteOptions
- type CreateSnippetOptions
- type CreateTagOptions
- type CreateTopicOptions
- type CreateUserOptions
- type CreateVulnerabilityOptions
- type CreateWikiPageOptions
- type CustomAttribute
- type CustomAttributesService
- func (s *CustomAttributesService) DeleteCustomGroupAttribute(group int, key string, options ...RequestOptionFunc) (*Response, error)
- func (s *CustomAttributesService) DeleteCustomProjectAttribute(project int, key string, options ...RequestOptionFunc) (*Response, error)
- func (s *CustomAttributesService) DeleteCustomUserAttribute(user int, key string, options ...RequestOptionFunc) (*Response, error)
- func (s *CustomAttributesService) GetCustomGroupAttribute(group int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) GetCustomProjectAttribute(project int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) GetCustomUserAttribute(user int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) ListCustomGroupAttributes(group int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) ListCustomProjectAttributes(project int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) ListCustomUserAttributes(user int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) SetCustomGroupAttribute(group int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) SetCustomProjectAttribute(project int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- func (s *CustomAttributesService) SetCustomUserAttribute(user int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error)
- type CustomIssueTrackerService
- type CustomIssueTrackerServiceProperties
- type DeleteFileOptions
- type DeleteGroupLDAPLinkWithCNOrFilterOptions
- type DeleteGroupLabelOptions
- type DeleteLabelOptions
- type DeleteRegisteredRunnerOptions
- type DeleteRegistryRepositoryTagsOptions
- type DeployKeyProject
- type DeployKeysService
- func (s *DeployKeysService) AddDeployKey(pid interface{}, opt *AddDeployKeyOptions, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error)
- func (s *DeployKeysService) DeleteDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*Response, error)
- func (s *DeployKeysService) EnableDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error)
- func (s *DeployKeysService) GetDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error)
- func (s *DeployKeysService) ListAllDeployKeys(opt *ListInstanceDeployKeysOptions, options ...RequestOptionFunc) ([]*InstanceDeployKey, *Response, error)
- func (s *DeployKeysService) ListProjectDeployKeys(pid interface{}, opt *ListProjectDeployKeysOptions, ...) ([]*ProjectDeployKey, *Response, error)
- func (s *DeployKeysService) UpdateDeployKey(pid interface{}, deployKey int, opt *UpdateDeployKeyOptions, ...) (*ProjectDeployKey, *Response, error)
- type DeployToken
- type DeployTokensService
- func (s *DeployTokensService) CreateGroupDeployToken(gid interface{}, opt *CreateGroupDeployTokenOptions, ...) (*DeployToken, *Response, error)
- func (s *DeployTokensService) CreateProjectDeployToken(pid interface{}, opt *CreateProjectDeployTokenOptions, ...) (*DeployToken, *Response, error)
- func (s *DeployTokensService) DeleteGroupDeployToken(gid interface{}, deployToken int, options ...RequestOptionFunc) (*Response, error)
- func (s *DeployTokensService) DeleteProjectDeployToken(pid interface{}, deployToken int, options ...RequestOptionFunc) (*Response, error)
- func (s *DeployTokensService) GetGroupDeployToken(gid interface{}, deployToken int, options ...RequestOptionFunc) (*DeployToken, *Response, error)
- func (s *DeployTokensService) GetProjectDeployToken(pid interface{}, deployToken int, options ...RequestOptionFunc) (*DeployToken, *Response, error)
- func (s *DeployTokensService) ListAllDeployTokens(options ...RequestOptionFunc) ([]*DeployToken, *Response, error)
- func (s *DeployTokensService) ListGroupDeployTokens(gid interface{}, opt *ListGroupDeployTokensOptions, ...) ([]*DeployToken, *Response, error)
- func (s *DeployTokensService) ListProjectDeployTokens(pid interface{}, opt *ListProjectDeployTokensOptions, ...) ([]*DeployToken, *Response, error)
- type Deployment
- type DeploymentEvent
- type DeploymentStatusValue
- type DeploymentsService
- func (s *DeploymentsService) CreateProjectDeployment(pid interface{}, opt *CreateProjectDeploymentOptions, ...) (*Deployment, *Response, error)
- func (s *DeploymentsService) GetProjectDeployment(pid interface{}, deployment int, options ...RequestOptionFunc) (*Deployment, *Response, error)
- func (s *DeploymentsService) ListProjectDeployments(pid interface{}, opts *ListProjectDeploymentsOptions, ...) ([]*Deployment, *Response, error)
- func (s *DeploymentsService) UpdateProjectDeployment(pid interface{}, deployment int, opt *UpdateProjectDeploymentOptions, ...) (*Deployment, *Response, error)
- type DetailedStatus
- type Diff
- type Discussion
- type DiscussionsService
- func (s *DiscussionsService) AddCommitDiscussionNote(pid interface{}, commit int, discussion string, ...) (*Note, *Response, error)
- func (s *DiscussionsService) AddEpicDiscussionNote(gid interface{}, epic int, discussion string, ...) (*Note, *Response, error)
- func (s *DiscussionsService) AddIssueDiscussionNote(pid interface{}, issue int, discussion string, ...) (*Note, *Response, error)
- func (s *DiscussionsService) AddMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, ...) (*Note, *Response, error)
- func (s *DiscussionsService) AddSnippetDiscussionNote(pid interface{}, snippet int, discussion string, ...) (*Note, *Response, error)
- func (s *DiscussionsService) CreateCommitDiscussion(pid interface{}, commit int, opt *CreateCommitDiscussionOptions, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) CreateEpicDiscussion(gid interface{}, epic int, opt *CreateEpicDiscussionOptions, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) CreateIssueDiscussion(pid interface{}, issue int, opt *CreateIssueDiscussionOptions, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) CreateMergeRequestDiscussion(pid interface{}, mergeRequest int, opt *CreateMergeRequestDiscussionOptions, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) CreateSnippetDiscussion(pid interface{}, snippet int, opt *CreateSnippetDiscussionOptions, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) DeleteCommitDiscussionNote(pid interface{}, commit int, discussion string, note int, ...) (*Response, error)
- func (s *DiscussionsService) DeleteEpicDiscussionNote(gid interface{}, epic int, discussion string, note int, ...) (*Response, error)
- func (s *DiscussionsService) DeleteIssueDiscussionNote(pid interface{}, issue int, discussion string, note int, ...) (*Response, error)
- func (s *DiscussionsService) DeleteMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, note int, ...) (*Response, error)
- func (s *DiscussionsService) DeleteSnippetDiscussionNote(pid interface{}, snippet int, discussion string, note int, ...) (*Response, error)
- func (s *DiscussionsService) GetCommitDiscussion(pid interface{}, commit int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error)
- func (s *DiscussionsService) GetEpicDiscussion(gid interface{}, epic int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error)
- func (s *DiscussionsService) GetIssueDiscussion(pid interface{}, issue int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error)
- func (s *DiscussionsService) GetMergeRequestDiscussion(pid interface{}, mergeRequest int, discussion string, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) GetSnippetDiscussion(pid interface{}, snippet int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error)
- func (s *DiscussionsService) ListCommitDiscussions(pid interface{}, commit int, opt *ListCommitDiscussionsOptions, ...) ([]*Discussion, *Response, error)
- func (s *DiscussionsService) ListGroupEpicDiscussions(gid interface{}, epic int, opt *ListGroupEpicDiscussionsOptions, ...) ([]*Discussion, *Response, error)
- func (s *DiscussionsService) ListIssueDiscussions(pid interface{}, issue int, opt *ListIssueDiscussionsOptions, ...) ([]*Discussion, *Response, error)
- func (s *DiscussionsService) ListMergeRequestDiscussions(pid interface{}, mergeRequest int, opt *ListMergeRequestDiscussionsOptions, ...) ([]*Discussion, *Response, error)
- func (s *DiscussionsService) ListSnippetDiscussions(pid interface{}, snippet int, opt *ListSnippetDiscussionsOptions, ...) ([]*Discussion, *Response, error)
- func (s *DiscussionsService) ResolveMergeRequestDiscussion(pid interface{}, mergeRequest int, discussion string, ...) (*Discussion, *Response, error)
- func (s *DiscussionsService) UpdateCommitDiscussionNote(pid interface{}, commit int, discussion string, note int, ...) (*Note, *Response, error)
- func (s *DiscussionsService) UpdateEpicDiscussionNote(gid interface{}, epic int, discussion string, note int, ...) (*Note, *Response, error)
- func (s *DiscussionsService) UpdateIssueDiscussionNote(pid interface{}, issue int, discussion string, note int, ...) (*Note, *Response, error)
- func (s *DiscussionsService) UpdateMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, note int, ...) (*Note, *Response, error)
- func (s *DiscussionsService) UpdateSnippetDiscussionNote(pid interface{}, snippet int, discussion string, note int, ...) (*Note, *Response, error)
- type DownloadArtifactsFileOptions
- type DroneCIService
- type DroneCIServiceProperties
- type EditClusterOptions
- type EditEnvironmentOptions
- type EditGroupBadgeOptions
- type EditGroupClusterOptions
- type EditGroupHookOptions
- type EditGroupMemberOptions
- type EditGroupPlatformKubernetesOptions
- type EditGroupPushRuleOptions
- type EditGroupWikiPageOptions
- type EditManagedLicenceOptions
- type EditPipelineScheduleOptions
- type EditPipelineScheduleVariableOptions
- type EditPipelineTriggerOptions
- type EditPlatformKubernetesOptions
- type EditProjectBadgeOptions
- type EditProjectHookOptions
- type EditProjectMemberOptions
- type EditProjectMirrorOptions
- type EditProjectOptions
- type EditProjectPushRuleOptions
- type EditWikiPageOptions
- type Email
- type EnableDisableErrorTrackingOptions
- type EnableProjectRunnerOptions
- type Environment
- type EnvironmentAccessDescription
- type EnvironmentAccessOptions
- type EnvironmentsService
- func (s *EnvironmentsService) CreateEnvironment(pid interface{}, opt *CreateEnvironmentOptions, options ...RequestOptionFunc) (*Environment, *Response, error)
- func (s *EnvironmentsService) DeleteEnvironment(pid interface{}, environment int, options ...RequestOptionFunc) (*Response, error)
- func (s *EnvironmentsService) EditEnvironment(pid interface{}, environment int, opt *EditEnvironmentOptions, ...) (*Environment, *Response, error)
- func (s *EnvironmentsService) GetEnvironment(pid interface{}, environment int, options ...RequestOptionFunc) (*Environment, *Response, error)
- func (s *EnvironmentsService) ListEnvironments(pid interface{}, opts *ListEnvironmentsOptions, options ...RequestOptionFunc) ([]*Environment, *Response, error)
- func (s *EnvironmentsService) StopEnvironment(pid interface{}, environmentID int, options ...RequestOptionFunc) (*Response, error)
- type Epic
- type EpicAuthor
- type EpicIssueAssignment
- type EpicIssuesService
- func (s *EpicIssuesService) AssignEpicIssue(gid interface{}, epic, issue int, options ...RequestOptionFunc) (*EpicIssueAssignment, *Response, error)
- func (s *EpicIssuesService) ListEpicIssues(gid interface{}, epic int, opt *ListOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- func (s *EpicIssuesService) RemoveEpicIssue(gid interface{}, epic, epicIssue int, options ...RequestOptionFunc) (*EpicIssueAssignment, *Response, error)
- func (s *EpicIssuesService) UpdateEpicIssueAssignment(gid interface{}, epic, epicIssue int, opt *UpdateEpicIsssueAssignmentOptions, ...) ([]*Issue, *Response, error)
- type EpicsService
- func (s *EpicsService) CreateEpic(gid interface{}, opt *CreateEpicOptions, options ...RequestOptionFunc) (*Epic, *Response, error)
- func (s *EpicsService) DeleteEpic(gid interface{}, epic int, options ...RequestOptionFunc) (*Response, error)
- func (s *EpicsService) GetEpic(gid interface{}, epic int, options ...RequestOptionFunc) (*Epic, *Response, error)
- func (s *EpicsService) GetEpicLinks(gid interface{}, epic int, options ...RequestOptionFunc) ([]*Epic, *Response, error)
- func (s *EpicsService) ListGroupEpics(gid interface{}, opt *ListGroupEpicsOptions, options ...RequestOptionFunc) ([]*Epic, *Response, error)
- func (s *EpicsService) UpdateEpic(gid interface{}, epic int, opt *UpdateEpicOptions, ...) (*Epic, *Response, error)
- type ErrorResponse
- type ErrorTrackingClientKey
- type ErrorTrackingService
- func (s *ErrorTrackingService) CreateClientKey(pid interface{}, options ...RequestOptionFunc) (*ErrorTrackingClientKey, *Response, error)
- func (s *ErrorTrackingService) DeleteClientKey(pid interface{}, keyID int, options ...RequestOptionFunc) (*Response, error)
- func (s *ErrorTrackingService) EnableDisableErrorTracking(pid interface{}, opt *EnableDisableErrorTrackingOptions, ...) (*ErrorTrackingSettings, *Response, error)
- func (s *ErrorTrackingService) GetErrorTrackingSettings(pid interface{}, options ...RequestOptionFunc) (*ErrorTrackingSettings, *Response, error)
- func (s *ErrorTrackingService) ListClientKeys(pid interface{}, opt *ListClientKeysOptions, options ...RequestOptionFunc) ([]*ErrorTrackingClientKey, *Response, error)
- type ErrorTrackingSettings
- type EventTargetTypeValue
- type EventType
- type EventTypeValue
- type EventUser
- type EventsService
- func (s *EventsService) ListCurrentUserContributionEvents(opt *ListContributionEventsOptions, options ...RequestOptionFunc) ([]*ContributionEvent, *Response, error)
- func (s *EventsService) ListProjectVisibleEvents(pid interface{}, opt *ListContributionEventsOptions, ...) ([]*ContributionEvent, *Response, error)
- type ExploreSnippetsOptions
- type ExportStatus
- type ExternalStatusChecksService
- func (s *ExternalStatusChecksService) ListMergeStatusChecks(pid interface{}, mr int, opt *ListOptions, options ...RequestOptionFunc) ([]*MergeStatusCheck, *Response, error)
- func (s *ExternalStatusChecksService) ListProjectStatusChecks(pid interface{}, opt *ListOptions, options ...RequestOptionFunc) ([]*ProjectStatusCheck, *Response, error)
- type ExternalWikiService
- type ExternalWikiServiceProperties
- type Feature
- type FeaturesService
- type File
- type FileActionValue
- type FileBlameRange
- type FileInfo
- type Finding
- type ForkParent
- type ForkProjectOptions
- type FreezePeriod
- type FreezePeriodsService
- func (s *FreezePeriodsService) CreateFreezePeriodOptions(pid interface{}, opt *CreateFreezePeriodOptions, options ...RequestOptionFunc) (*FreezePeriod, *Response, error)
- func (s *FreezePeriodsService) DeleteFreezePeriod(pid interface{}, freezePeriod int, options ...RequestOptionFunc) (*Response, error)
- func (s *FreezePeriodsService) GetFreezePeriod(pid interface{}, freezePeriod int, options ...RequestOptionFunc) (*FreezePeriod, *Response, error)
- func (s *FreezePeriodsService) ListFreezePeriods(pid interface{}, opt *ListFreezePeriodsOptions, options ...RequestOptionFunc) ([]*FreezePeriod, *Response, error)
- func (s *FreezePeriodsService) UpdateFreezePeriodOptions(pid interface{}, freezePeriod int, opt *UpdateFreezePeriodOptions, ...) (*FreezePeriod, *Response, error)
- type GPGKey
- type GPGSignature
- type Gate
- type GenericPackageSelectValue
- type GenericPackageStatusValue
- type GenericPackagesFile
- type GenericPackagesService
- func (s *GenericPackagesService) DownloadPackageFile(pid interface{}, packageName, packageVersion, fileName string, ...) ([]byte, *Response, error)
- func (s *GenericPackagesService) FormatPackageURL(pid interface{}, packageName, packageVersion, fileName string) (string, error)
- func (s *GenericPackagesService) PublishPackageFile(pid interface{}, packageName, packageVersion, fileName string, ...) (*GenericPackagesFile, *Response, error)
- type GeoNode
- type GeoNodeLinks
- type GeoNodeStatus
- type GeoNodesService
- func (s *GeoNodesService) CreateGeoNode(opt *CreateGeoNodesOptions, options ...RequestOptionFunc) (*GeoNode, *Response, error)
- func (s *GeoNodesService) DeleteGeoNode(id int, options ...RequestOptionFunc) (*Response, error)
- func (s *GeoNodesService) EditGeoNode(id int, opt *UpdateGeoNodesOptions, options ...RequestOptionFunc) (*GeoNode, *Response, error)
- func (s *GeoNodesService) GetGeoNode(id int, options ...RequestOptionFunc) (*GeoNode, *Response, error)
- func (s *GeoNodesService) ListGeoNodes(opt *ListGeoNodesOptions, options ...RequestOptionFunc) ([]*GeoNode, *Response, error)
- func (s *GeoNodesService) RepairGeoNode(id int, options ...RequestOptionFunc) (*GeoNode, *Response, error)
- func (s *GeoNodesService) RetrieveStatusOfAllGeoNodes(options ...RequestOptionFunc) ([]*GeoNodeStatus, *Response, error)
- func (s *GeoNodesService) RetrieveStatusOfGeoNode(id int, options ...RequestOptionFunc) (*GeoNodeStatus, *Response, error)
- type GetAllImpersonationTokensOptions
- type GetAvatarOptions
- type GetCommitCommentsOptions
- type GetCommitDiffOptions
- type GetCommitRefsOptions
- type GetCommitStatusesOptions
- type GetCurrentPlanLimitsOptions
- type GetFileBlameOptions
- type GetFileMetaDataOptions
- type GetFileOptions
- type GetGroupIssuesStatisticsOptions
- type GetGroupMilestoneBurndownChartEventsOptions
- type GetGroupMilestoneIssuesOptions
- type GetGroupMilestoneMergeRequestsOptions
- type GetGroupOptions
- type GetGroupWikiPageOptions
- type GetIssueBoardListsOptions
- type GetIssuesClosedOnMergeOptions
- type GetIssuesStatisticsOptions
- type GetJobTokensJobOptions
- type GetLicenseTemplateOptions
- type GetMergeRequestChangesOptions
- type GetMergeRequestCommitsOptions
- type GetMergeRequestDiffVersionsOptions
- type GetMergeRequestsOptions
- type GetMilestoneIssuesOptions
- type GetMilestoneMergeRequestsOptions
- type GetProjectEventsOptions
- type GetProjectIssuesStatisticsOptions
- type GetProjectOptions
- type GetProjectVariableOptions
- type GetRawFileOptions
- type GetSingleRegistryRepositoryOptions
- type GetUserActivitiesOptions
- type GetUserMembershipOptions
- type GetUsersOptions
- type GetWikiPageOptions
- type GitIgnoreTemplate
- type GitIgnoreTemplatesService
- type GithubService
- type GithubServiceProperties
- type Group
- type GroupAccess
- type GroupAccessToken
- type GroupAccessTokensService
- func (s *GroupAccessTokensService) CreateGroupAccessToken(gid interface{}, opt *CreateGroupAccessTokenOptions, ...) (*GroupAccessToken, *Response, error)
- func (s *GroupAccessTokensService) GetGroupAccessToken(gid interface{}, id int, options ...RequestOptionFunc) (*GroupAccessToken, *Response, error)
- func (s *GroupAccessTokensService) ListGroupAccessTokens(gid interface{}, opt *ListGroupAccessTokensOptions, ...) ([]*GroupAccessToken, *Response, error)
- func (s *GroupAccessTokensService) RevokeGroupAccessToken(gid interface{}, id int, options ...RequestOptionFunc) (*Response, error)
- type GroupAvatar
- type GroupBadge
- type GroupBadgePreviewOptions
- type GroupBadgesService
- func (s *GroupBadgesService) AddGroupBadge(gid interface{}, opt *AddGroupBadgeOptions, options ...RequestOptionFunc) (*GroupBadge, *Response, error)
- func (s *GroupBadgesService) DeleteGroupBadge(gid interface{}, badge int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupBadgesService) EditGroupBadge(gid interface{}, badge int, opt *EditGroupBadgeOptions, ...) (*GroupBadge, *Response, error)
- func (s *GroupBadgesService) GetGroupBadge(gid interface{}, badge int, options ...RequestOptionFunc) (*GroupBadge, *Response, error)
- func (s *GroupBadgesService) ListGroupBadges(gid interface{}, opt *ListGroupBadgesOptions, options ...RequestOptionFunc) ([]*GroupBadge, *Response, error)
- func (s *GroupBadgesService) PreviewGroupBadge(gid interface{}, opt *GroupBadgePreviewOptions, options ...RequestOptionFunc) (*GroupBadge, *Response, error)
- type GroupCluster
- type GroupClustersService
- func (s *GroupClustersService) AddCluster(pid interface{}, opt *AddGroupClusterOptions, options ...RequestOptionFunc) (*GroupCluster, *Response, error)
- func (s *GroupClustersService) DeleteCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupClustersService) EditCluster(pid interface{}, cluster int, opt *EditGroupClusterOptions, ...) (*GroupCluster, *Response, error)
- func (s *GroupClustersService) GetCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*GroupCluster, *Response, error)
- func (s *GroupClustersService) ListClusters(pid interface{}, options ...RequestOptionFunc) ([]*GroupCluster, *Response, error)
- type GroupHook
- type GroupImportExportService
- func (s *GroupImportExportService) ExportDownload(gid interface{}, options ...RequestOptionFunc) (*bytes.Reader, *Response, error)
- func (s *GroupImportExportService) ImportFile(opt *GroupImportFileOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupImportExportService) ScheduleExport(gid interface{}, options ...RequestOptionFunc) (*Response, error)
- type GroupImportFileOptions
- type GroupIssueBoard
- type GroupIssueBoardsService
- func (s *GroupIssueBoardsService) CreateGroupIssueBoard(gid interface{}, opt *CreateGroupIssueBoardOptions, ...) (*GroupIssueBoard, *Response, error)
- func (s *GroupIssueBoardsService) CreateGroupIssueBoardList(gid interface{}, board int, opt *CreateGroupIssueBoardListOptions, ...) (*BoardList, *Response, error)
- func (s *GroupIssueBoardsService) DeleteGroupIssueBoardList(gid interface{}, board, list int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupIssueBoardsService) DeleteIssueBoard(gid interface{}, board int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupIssueBoardsService) GetGroupIssueBoard(gid interface{}, board int, options ...RequestOptionFunc) (*GroupIssueBoard, *Response, error)
- func (s *GroupIssueBoardsService) GetGroupIssueBoardList(gid interface{}, board, list int, options ...RequestOptionFunc) (*BoardList, *Response, error)
- func (s *GroupIssueBoardsService) ListGroupIssueBoardLists(gid interface{}, board int, opt *ListGroupIssueBoardListsOptions, ...) ([]*BoardList, *Response, error)
- func (s *GroupIssueBoardsService) ListGroupIssueBoards(gid interface{}, opt *ListGroupIssueBoardsOptions, ...) ([]*GroupIssueBoard, *Response, error)
- func (s *GroupIssueBoardsService) UpdateIssueBoard(gid interface{}, board int, opt *UpdateGroupIssueBoardOptions, ...) (*GroupIssueBoard, *Response, error)
- func (s *GroupIssueBoardsService) UpdateIssueBoardList(gid interface{}, board, list int, opt *UpdateGroupIssueBoardListOptions, ...) ([]*BoardList, *Response, error)
- type GroupIteration
- type GroupIterationsService
- type GroupLabel
- type GroupLabelsService
- func (s *GroupLabelsService) CreateGroupLabel(gid interface{}, opt *CreateGroupLabelOptions, options ...RequestOptionFunc) (*GroupLabel, *Response, error)
- func (s *GroupLabelsService) DeleteGroupLabel(gid interface{}, opt *DeleteGroupLabelOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupLabelsService) GetGroupLabel(gid interface{}, labelID interface{}, options ...RequestOptionFunc) (*GroupLabel, *Response, error)
- func (s *GroupLabelsService) ListGroupLabels(gid interface{}, opt *ListGroupLabelsOptions, options ...RequestOptionFunc) ([]*GroupLabel, *Response, error)
- func (s *GroupLabelsService) SubscribeToGroupLabel(gid interface{}, labelID interface{}, options ...RequestOptionFunc) (*GroupLabel, *Response, error)
- func (s *GroupLabelsService) UnsubscribeFromGroupLabel(gid interface{}, labelID interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupLabelsService) UpdateGroupLabel(gid interface{}, opt *UpdateGroupLabelOptions, options ...RequestOptionFunc) (*GroupLabel, *Response, error)
- type GroupMember
- type GroupMemberSAMLIdentity
- type GroupMembersService
- func (s *GroupMembersService) AddGroupMember(gid interface{}, opt *AddGroupMemberOptions, options ...RequestOptionFunc) (*GroupMember, *Response, error)
- func (s *GroupMembersService) DeleteShareWithGroup(gid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupMembersService) EditGroupMember(gid interface{}, user int, opt *EditGroupMemberOptions, ...) (*GroupMember, *Response, error)
- func (s *GroupMembersService) GetGroupMember(gid interface{}, user int, options ...RequestOptionFunc) (*GroupMember, *Response, error)
- func (s *GroupMembersService) RemoveGroupMember(gid interface{}, user int, opt *RemoveGroupMemberOptions, ...) (*Response, error)
- func (s *GroupMembersService) ShareWithGroup(gid interface{}, opt *ShareWithGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- type GroupMilestone
- type GroupMilestonesService
- func (s *GroupMilestonesService) CreateGroupMilestone(gid interface{}, opt *CreateGroupMilestoneOptions, ...) (*GroupMilestone, *Response, error)
- func (s *GroupMilestonesService) GetGroupMilestone(gid interface{}, milestone int, options ...RequestOptionFunc) (*GroupMilestone, *Response, error)
- func (s *GroupMilestonesService) GetGroupMilestoneBurndownChartEvents(gid interface{}, milestone int, ...) ([]*BurndownChartEvent, *Response, error)
- func (s *GroupMilestonesService) GetGroupMilestoneIssues(gid interface{}, milestone int, opt *GetGroupMilestoneIssuesOptions, ...) ([]*Issue, *Response, error)
- func (s *GroupMilestonesService) GetGroupMilestoneMergeRequests(gid interface{}, milestone int, opt *GetGroupMilestoneMergeRequestsOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *GroupMilestonesService) ListGroupMilestones(gid interface{}, opt *ListGroupMilestonesOptions, options ...RequestOptionFunc) ([]*GroupMilestone, *Response, error)
- func (s *GroupMilestonesService) UpdateGroupMilestone(gid interface{}, milestone int, opt *UpdateGroupMilestoneOptions, ...) (*GroupMilestone, *Response, error)
- type GroupPackage
- type GroupPushRules
- type GroupSystemEvent
- type GroupVariable
- type GroupVariablesService
- func (s *GroupVariablesService) CreateVariable(gid interface{}, opt *CreateGroupVariableOptions, options ...RequestOptionFunc) (*GroupVariable, *Response, error)
- func (s *GroupVariablesService) GetVariable(gid interface{}, key string, options ...RequestOptionFunc) (*GroupVariable, *Response, error)
- func (s *GroupVariablesService) ListVariables(gid interface{}, opt *ListGroupVariablesOptions, options ...RequestOptionFunc) ([]*GroupVariable, *Response, error)
- func (s *GroupVariablesService) RemoveVariable(gid interface{}, key string, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupVariablesService) UpdateVariable(gid interface{}, key string, opt *UpdateGroupVariableOptions, ...) (*GroupVariable, *Response, error)
- type GroupWiki
- type GroupWikisService
- func (s *GroupWikisService) CreateGroupWikiPage(gid interface{}, opt *CreateGroupWikiPageOptions, options ...RequestOptionFunc) (*GroupWiki, *Response, error)
- func (s *GroupWikisService) DeleteGroupWikiPage(gid interface{}, slug string, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupWikisService) EditGroupWikiPage(gid interface{}, slug string, opt *EditGroupWikiPageOptions, ...) (*GroupWiki, *Response, error)
- func (s *GroupWikisService) GetGroupWikiPage(gid interface{}, slug string, opt *GetGroupWikiPageOptions, ...) (*GroupWiki, *Response, error)
- func (s *GroupWikisService) ListGroupWikis(gid interface{}, opt *ListGroupWikisOptions, options ...RequestOptionFunc) ([]*GroupWiki, *Response, error)
- type GroupsService
- func (s *GroupsService) AddGroupHook(gid interface{}, opt *AddGroupHookOptions, options ...RequestOptionFunc) (*GroupHook, *Response, error)
- func (s *GroupsService) AddGroupLDAPLink(gid interface{}, opt *AddGroupLDAPLinkOptions, options ...RequestOptionFunc) (*LDAPGroupLink, *Response, error)
- func (s *GroupsService) AddGroupPushRule(gid interface{}, opt *AddGroupPushRuleOptions, options ...RequestOptionFunc) (*GroupPushRules, *Response, error)
- func (s *GroupsService) CreateGroup(opt *CreateGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) DeleteGroup(gid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) DeleteGroupHook(pid interface{}, hook int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) DeleteGroupLDAPLink(gid interface{}, cn string, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) DeleteGroupLDAPLinkForProvider(gid interface{}, provider, cn string, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) DeleteGroupLDAPLinkWithCNOrFilter(gid interface{}, opts *DeleteGroupLDAPLinkWithCNOrFilterOptions, ...) (*Response, error)
- func (s *GroupsService) DeleteGroupPushRule(gid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) DownloadAvatar(gid interface{}, options ...RequestOptionFunc) (*bytes.Reader, *Response, error)
- func (s *GroupsService) EditGroupHook(pid interface{}, hook int, opt *EditGroupHookOptions, ...) (*GroupHook, *Response, error)
- func (s *GroupsService) EditGroupPushRule(gid interface{}, opt *EditGroupPushRuleOptions, options ...RequestOptionFunc) (*GroupPushRules, *Response, error)
- func (s *GroupsService) GetGroup(gid interface{}, opt *GetGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) GetGroupHook(pid interface{}, hook int, options ...RequestOptionFunc) (*GroupHook, *Response, error)
- func (s *GroupsService) GetGroupPushRules(gid interface{}, options ...RequestOptionFunc) (*GroupPushRules, *Response, error)
- func (s *GroupsService) ListAllGroupMembers(gid interface{}, opt *ListGroupMembersOptions, options ...RequestOptionFunc) ([]*GroupMember, *Response, error)
- func (s *GroupsService) ListBillableGroupMembers(gid interface{}, opt *ListBillableGroupMembersOptions, ...) ([]*BillableGroupMember, *Response, error)
- func (s *GroupsService) ListDescendantGroups(gid interface{}, opt *ListDescendantGroupsOptions, ...) ([]*Group, *Response, error)
- func (s *GroupsService) ListGroupHooks(gid interface{}, options ...RequestOptionFunc) ([]*GroupHook, *Response, error)
- func (s *GroupsService) ListGroupLDAPLinks(gid interface{}, options ...RequestOptionFunc) ([]*LDAPGroupLink, *Response, error)
- func (s *GroupsService) ListGroupMembers(gid interface{}, opt *ListGroupMembersOptions, options ...RequestOptionFunc) ([]*GroupMember, *Response, error)
- func (s *GroupsService) ListGroupProjects(gid interface{}, opt *ListGroupProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *GroupsService) ListGroups(opt *ListGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error)
- func (s *GroupsService) ListProvisionedUsers(gid interface{}, opt *ListProvisionedUsersOptions, ...) ([]*User, *Response, error)
- func (s *GroupsService) ListSubGroups(gid interface{}, opt *ListSubGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error)
- func (s *GroupsService) RemoveBillableGroupMember(gid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) RestoreGroup(gid interface{}, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) SearchGroup(query string, options ...RequestOptionFunc) ([]*Group, *Response, error)
- func (s *GroupsService) ShareGroupWithGroup(gid interface{}, opt *ShareGroupWithGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) TransferGroup(gid interface{}, pid interface{}, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) TransferSubGroup(gid interface{}, opt *TransferSubGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) UnshareGroupFromGroup(gid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error)
- func (s *GroupsService) UpdateGroup(gid interface{}, opt *UpdateGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error)
- func (s *GroupsService) UploadAvatar(gid interface{}, avatar io.Reader, filename string, ...) (*Group, *Response, error)
- type Hook
- type HookEvent
- type ISOTime
- type ImpersonationToken
- type ImportFileOptions
- type ImportStatus
- type InstanceCluster
- type InstanceClustersService
- func (s *InstanceClustersService) AddCluster(opt *AddClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
- func (s *InstanceClustersService) DeleteCluster(cluster int, options ...RequestOptionFunc) (*Response, error)
- func (s *InstanceClustersService) EditCluster(cluster int, opt *EditClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
- func (s *InstanceClustersService) GetCluster(cluster int, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
- func (s *InstanceClustersService) ListClusters(options ...RequestOptionFunc) ([]*InstanceCluster, *Response, error)
- type InstanceDeployKey
- type InstanceVariable
- type InstanceVariablesService
- func (s *InstanceVariablesService) CreateVariable(opt *CreateInstanceVariableOptions, options ...RequestOptionFunc) (*InstanceVariable, *Response, error)
- func (s *InstanceVariablesService) GetVariable(key string, options ...RequestOptionFunc) (*InstanceVariable, *Response, error)
- func (s *InstanceVariablesService) ListVariables(opt *ListInstanceVariablesOptions, options ...RequestOptionFunc) ([]*InstanceVariable, *Response, error)
- func (s *InstanceVariablesService) RemoveVariable(key string, options ...RequestOptionFunc) (*Response, error)
- func (s *InstanceVariablesService) UpdateVariable(key string, opt *UpdateInstanceVariableOptions, options ...RequestOptionFunc) (*InstanceVariable, *Response, error)
- type InvitesOptions
- type InvitesResult
- type InvitesService
- func (s *InvitesService) GroupInvites(gid interface{}, opt *InvitesOptions, options ...RequestOptionFunc) (*InvitesResult, *Response, error)
- func (s *InvitesService) ListPendingGroupInvitations(gid interface{}, opt *ListPendingInvitationsOptions, ...) ([]*PendingInvite, *Response, error)
- func (s *InvitesService) ListPendingProjectInvitations(pid interface{}, opt *ListPendingInvitationsOptions, ...) ([]*PendingInvite, *Response, error)
- func (s *InvitesService) ProjectInvites(pid interface{}, opt *InvitesOptions, options ...RequestOptionFunc) (*InvitesResult, *Response, error)
- type Issue
- type IssueAssignee
- type IssueAuthor
- type IssueBoard
- type IssueBoardsService
- func (s *IssueBoardsService) CreateIssueBoard(pid interface{}, opt *CreateIssueBoardOptions, options ...RequestOptionFunc) (*IssueBoard, *Response, error)
- func (s *IssueBoardsService) CreateIssueBoardList(pid interface{}, board int, opt *CreateIssueBoardListOptions, ...) (*BoardList, *Response, error)
- func (s *IssueBoardsService) DeleteIssueBoard(pid interface{}, board int, options ...RequestOptionFunc) (*Response, error)
- func (s *IssueBoardsService) DeleteIssueBoardList(pid interface{}, board, list int, options ...RequestOptionFunc) (*Response, error)
- func (s *IssueBoardsService) GetIssueBoard(pid interface{}, board int, options ...RequestOptionFunc) (*IssueBoard, *Response, error)
- func (s *IssueBoardsService) GetIssueBoardList(pid interface{}, board, list int, options ...RequestOptionFunc) (*BoardList, *Response, error)
- func (s *IssueBoardsService) GetIssueBoardLists(pid interface{}, board int, opt *GetIssueBoardListsOptions, ...) ([]*BoardList, *Response, error)
- func (s *IssueBoardsService) ListIssueBoards(pid interface{}, opt *ListIssueBoardsOptions, options ...RequestOptionFunc) ([]*IssueBoard, *Response, error)
- func (s *IssueBoardsService) UpdateIssueBoard(pid interface{}, board int, opt *UpdateIssueBoardOptions, ...) (*IssueBoard, *Response, error)
- func (s *IssueBoardsService) UpdateIssueBoardList(pid interface{}, board, list int, opt *UpdateIssueBoardListOptions, ...) (*BoardList, *Response, error)
- type IssueCloser
- type IssueCommentEvent
- type IssueEvent
- type IssueLink
- type IssueLinks
- type IssueLinksService
- func (s *IssueLinksService) CreateIssueLink(pid interface{}, issueIID int, opt *CreateIssueLinkOptions, ...) (*IssueLink, *Response, error)
- func (s *IssueLinksService) DeleteIssueLink(pid interface{}, issueIID, issueLinkID int, options ...RequestOptionFunc) (*IssueLink, *Response, error)
- func (s *IssueLinksService) ListIssueRelations(pid interface{}, issueIID int, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- type IssueReferences
- type IssuesService
- func (s *IssuesService) AddSpentTime(pid interface{}, issue int, opt *AddSpentTimeOptions, ...) (*TimeStats, *Response, error)
- func (s *IssuesService) CreateIssue(pid interface{}, opt *CreateIssueOptions, options ...RequestOptionFunc) (*Issue, *Response, error)
- func (s *IssuesService) CreateTodo(pid interface{}, issue int, options ...RequestOptionFunc) (*Todo, *Response, error)
- func (s *IssuesService) DeleteIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Response, error)
- func (s *IssuesService) GetIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error)
- func (s *IssuesService) GetParticipants(pid interface{}, issue int, options ...RequestOptionFunc) ([]*BasicUser, *Response, error)
- func (s *IssuesService) GetTimeSpent(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *IssuesService) ListGroupIssues(pid interface{}, opt *ListGroupIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- func (s *IssuesService) ListIssues(opt *ListIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- func (s *IssuesService) ListMergeRequestsClosingIssue(pid interface{}, issue int, opt *ListMergeRequestsClosingIssueOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *IssuesService) ListMergeRequestsRelatedToIssue(pid interface{}, issue int, opt *ListMergeRequestsRelatedToIssueOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *IssuesService) ListProjectIssues(pid interface{}, opt *ListProjectIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- func (s *IssuesService) MoveIssue(pid interface{}, issue int, opt *MoveIssueOptions, ...) (*Issue, *Response, error)
- func (s *IssuesService) ResetSpentTime(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *IssuesService) ResetTimeEstimate(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *IssuesService) SetTimeEstimate(pid interface{}, issue int, opt *SetTimeEstimateOptions, ...) (*TimeStats, *Response, error)
- func (s *IssuesService) SubscribeToIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error)
- func (s *IssuesService) UnsubscribeFromIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error)
- func (s *IssuesService) UpdateIssue(pid interface{}, issue int, opt *UpdateIssueOptions, ...) (*Issue, *Response, error)
- type IssuesStatistics
- type IssuesStatisticsService
- func (s *IssuesStatisticsService) GetGroupIssuesStatistics(gid interface{}, opt *GetGroupIssuesStatisticsOptions, ...) (*IssuesStatistics, *Response, error)
- func (s *IssuesStatisticsService) GetIssuesStatistics(opt *GetIssuesStatisticsOptions, options ...RequestOptionFunc) (*IssuesStatistics, *Response, error)
- func (s *IssuesStatisticsService) GetProjectIssuesStatistics(pid interface{}, opt *GetProjectIssuesStatisticsOptions, ...) (*IssuesStatistics, *Response, error)
- type JenkinsCIService
- type JenkinsCIServiceProperties
- type JiraService
- type JiraServiceProperties
- type Job
- type JobEvent
- type JobStats
- type JobsService
- func (s *JobsService) CancelJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) DeleteArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) DownloadArtifactsFile(pid interface{}, refName string, opt *DownloadArtifactsFileOptions, ...) (*bytes.Reader, *Response, error)
- func (s *JobsService) DownloadSingleArtifactsFile(pid interface{}, jobID int, artifactPath string, options ...RequestOptionFunc) (*bytes.Reader, *Response, error)
- func (s *JobsService) DownloadSingleArtifactsFileByTagOrBranch(pid interface{}, refName string, artifactPath string, ...) (*bytes.Reader, *Response, error)
- func (s *JobsService) EraseJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) GetJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) GetJobArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*bytes.Reader, *Response, error)
- func (s *JobsService) GetJobTokensJob(opts *GetJobTokensJobOptions, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) GetTraceFile(pid interface{}, jobID int, options ...RequestOptionFunc) (*bytes.Reader, *Response, error)
- func (s *JobsService) KeepArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) ListPipelineBridges(pid interface{}, pipelineID int, opts *ListJobsOptions, ...) ([]*Bridge, *Response, error)
- func (s *JobsService) ListPipelineJobs(pid interface{}, pipelineID int, opts *ListJobsOptions, ...) ([]*Job, *Response, error)
- func (s *JobsService) ListProjectJobs(pid interface{}, opts *ListJobsOptions, options ...RequestOptionFunc) ([]*Job, *Response, error)
- func (s *JobsService) PlayJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- func (s *JobsService) RetryJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error)
- type Key
- type KeySystemEvent
- type KeysService
- type LDAPGroupLink
- type Label
- type LabelDetails
- type LabelEvent
- type Labels
- type LabelsService
- func (s *LabelsService) CreateLabel(pid interface{}, opt *CreateLabelOptions, options ...RequestOptionFunc) (*Label, *Response, error)
- func (s *LabelsService) DeleteLabel(pid interface{}, opt *DeleteLabelOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *LabelsService) GetLabel(pid interface{}, labelID interface{}, options ...RequestOptionFunc) (*Label, *Response, error)
- func (s *LabelsService) ListLabels(pid interface{}, opt *ListLabelsOptions, options ...RequestOptionFunc) ([]*Label, *Response, error)
- func (s *LabelsService) PromoteLabel(pid interface{}, labelID interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *LabelsService) SubscribeToLabel(pid interface{}, labelID interface{}, options ...RequestOptionFunc) (*Label, *Response, error)
- func (s *LabelsService) UnsubscribeFromLabel(pid interface{}, labelID interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *LabelsService) UpdateLabel(pid interface{}, opt *UpdateLabelOptions, options ...RequestOptionFunc) (*Label, *Response, error)
- type License
- type LicenseApprovalStatusValue
- type LicenseService
- type LicenseTemplate
- type LicenseTemplatesService
- func (s *LicenseTemplatesService) GetLicenseTemplate(template string, opt *GetLicenseTemplateOptions, options ...RequestOptionFunc) (*LicenseTemplate, *Response, error)
- func (s *LicenseTemplatesService) ListLicenseTemplates(opt *ListLicenseTemplatesOptions, options ...RequestOptionFunc) ([]*LicenseTemplate, *Response, error)
- type LinePosition
- type LineRange
- type LinkTypeValue
- type Links
- type LintOptions
- type LintResult
- type ListAccessRequestsOptions
- type ListAgentTokensOptions
- type ListAgentsOptions
- type ListApplicationsOptions
- type ListAuditEventsOptions
- type ListAwardEmojiOptions
- type ListBillableGroupMembersOptions
- type ListBranchesOptions
- type ListBroadcastMessagesOptions
- type ListCIYMLTemplatesOptions
- type ListClientKeysOptions
- type ListCommitDiscussionsOptions
- type ListCommitsOptions
- type ListContributionEventsOptions
- type ListContributorsOptions
- type ListDescendantGroupsOptions
- type ListEmailsForUserOptions
- type ListEnvironmentsOptions
- type ListEpicNotesOptions
- type ListFreezePeriodsOptions
- type ListGeoNodesOptions
- type ListGroupAccessTokensOptions
- type ListGroupBadgesOptions
- type ListGroupDeployTokensOptions
- type ListGroupEpicDiscussionsOptions
- type ListGroupEpicsOptions
- type ListGroupIssueBoardListsOptions
- type ListGroupIssueBoardsOptions
- type ListGroupIssuesOptions
- type ListGroupIterationsOptions
- type ListGroupLabelsOptions
- type ListGroupMembersOptions
- type ListGroupMergeRequestsOptions
- type ListGroupMilestonesOptions
- type ListGroupPackagesOptions
- type ListGroupProjectsOptions
- type ListGroupVariablesOptions
- type ListGroupWikisOptions
- type ListGroupsOptions
- type ListGroupsRunnersOptions
- type ListInstanceDeployKeysOptions
- type ListInstanceVariablesOptions
- type ListIssueBoardsOptions
- type ListIssueDiscussionsOptions
- type ListIssueNotesOptions
- type ListIssuesOptions
- type ListJobsOptions
- type ListLabelEventsOptions
- type ListLabelsOptions
- type ListLicenseTemplatesOptions
- type ListMergeRequestDiscussionsOptions
- type ListMergeRequestNotesOptions
- type ListMergeRequestsClosingIssueOptions
- type ListMergeRequestsOptions
- type ListMergeRequestsRelatedToIssueOptions
- type ListMilestoneEventsOptions
- type ListMilestonesOptions
- type ListNamespacesOptions
- type ListOptions
- type ListPackageFilesOptions
- type ListPagesDomainsOptions
- type ListPendingInvitationsOptions
- type ListPersonalAccessTokensOptions
- type ListPipelineSchedulesOptions
- type ListPipelineTriggersOptions
- type ListProjectAccessTokensOptions
- type ListProjectBadgesOptions
- type ListProjectDeployKeysOptions
- type ListProjectDeployTokensOptions
- type ListProjectDeploymentsOptions
- type ListProjectGroupOptions
- type ListProjectHooksOptions
- type ListProjectIssuesOptions
- type ListProjectIterationsOptions
- type ListProjectMembersOptions
- type ListProjectMergeRequestsOptions
- type ListProjectMirrorOptions
- type ListProjectPackagesOptions
- type ListProjectPipelinesOptions
- type ListProjectRunnersOptions
- type ListProjectSnippetsOptions
- type ListProjectUserOptions
- type ListProjectVariablesOptions
- type ListProjectVulnerabilitiesOptions
- type ListProjectsOptions
- type ListProtectedBranchesOptions
- type ListProtectedEnvironmentsOptions
- type ListProtectedTagsOptions
- type ListProvisionedUsersOptions
- type ListRegistryRepositoriesOptions
- type ListRegistryRepositoryTagsOptions
- type ListReleaseLinksOptions
- type ListReleasesOptions
- type ListRunnerJobsOptions
- type ListRunnersOptions
- type ListSSHKeysForUserOptions
- type ListSnippetDiscussionsOptions
- type ListSnippetNotesOptions
- type ListSnippetsOptions
- type ListStateEventsOptions
- type ListSubGroupsOptions
- type ListTagsOptions
- type ListTemplatesOptions
- type ListTodosOptions
- type ListTopicsOptions
- type ListTreeOptions
- type ListUsersOptions
- type ListWikisOptions
- type ManagedLicense
- type ManagedLicensesService
- func (s *ManagedLicensesService) AddManagedLicense(pid interface{}, opt *AddManagedLicenseOptions, options ...RequestOptionFunc) (*ManagedLicense, *Response, error)
- func (s *ManagedLicensesService) DeleteManagedLicense(pid, mlid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ManagedLicensesService) EditManagedLicense(pid, mlid interface{}, opt *EditManagedLicenceOptions, ...) (*ManagedLicense, *Response, error)
- func (s *ManagedLicensesService) GetManagedLicense(pid, mlid interface{}, options ...RequestOptionFunc) (*ManagedLicense, *Response, error)
- func (s *ManagedLicensesService) ListManagedLicenses(pid interface{}, options ...RequestOptionFunc) ([]*ManagedLicense, *Response, error)
- type ManagementProject
- type Markdown
- type MarkdownService
- type MattermostService
- type MattermostServiceProperties
- type MattermostSlashCommandsProperties
- type MattermostSlashCommandsService
- type MergeBaseOptions
- type MergeCommentEvent
- type MergeEvent
- type MergeMethodValue
- type MergeParams
- type MergeRequest
- type MergeRequestApprovalRule
- type MergeRequestApprovalState
- type MergeRequestApprovals
- type MergeRequestApprovalsService
- func (s *MergeRequestApprovalsService) ApproveMergeRequest(pid interface{}, mr int, opt *ApproveMergeRequestOptions, ...) (*MergeRequestApprovals, *Response, error)
- func (s *MergeRequestApprovalsService) ChangeAllowedApprovers(pid interface{}, mergeRequest int, ...) (*MergeRequest, *Response, error)
- func (s *MergeRequestApprovalsService) ChangeApprovalConfiguration(pid interface{}, mergeRequest int, ...) (*MergeRequest, *Response, error)
- func (s *MergeRequestApprovalsService) CreateApprovalRule(pid interface{}, mergeRequest int, opt *CreateMergeRequestApprovalRuleOptions, ...) (*MergeRequestApprovalRule, *Response, error)
- func (s *MergeRequestApprovalsService) DeleteApprovalRule(pid interface{}, mergeRequest int, approvalRule int, ...) (*Response, error)
- func (s *MergeRequestApprovalsService) GetApprovalRules(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*MergeRequestApprovalRule, *Response, error)
- func (s *MergeRequestApprovalsService) GetApprovalState(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequestApprovalState, *Response, error)
- func (s *MergeRequestApprovalsService) GetConfiguration(pid interface{}, mr int, options ...RequestOptionFunc) (*MergeRequestApprovals, *Response, error)
- func (s *MergeRequestApprovalsService) UnapproveMergeRequest(pid interface{}, mr int, options ...RequestOptionFunc) (*Response, error)
- func (s *MergeRequestApprovalsService) UpdateApprovalRule(pid interface{}, mergeRequest int, approvalRule int, ...) (*MergeRequestApprovalRule, *Response, error)
- type MergeRequestApproverGroup
- type MergeRequestApproverUser
- type MergeRequestDiffVersion
- type MergeRequestsService
- func (s *MergeRequestsService) AcceptMergeRequest(pid interface{}, mergeRequest int, opt *AcceptMergeRequestOptions, ...) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) AddSpentTime(pid interface{}, mergeRequest int, opt *AddSpentTimeOptions, ...) (*TimeStats, *Response, error)
- func (s *MergeRequestsService) CancelMergeWhenPipelineSucceeds(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) CreateMergeRequest(pid interface{}, opt *CreateMergeRequestOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) CreateMergeRequestPipeline(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*PipelineInfo, *Response, error)
- func (s *MergeRequestsService) CreateTodo(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Todo, *Response, error)
- func (s *MergeRequestsService) DeleteMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Response, error)
- func (s *MergeRequestsService) GetIssuesClosedOnMerge(pid interface{}, mergeRequest int, opt *GetIssuesClosedOnMergeOptions, ...) ([]*Issue, *Response, error)
- func (s *MergeRequestsService) GetMergeRequest(pid interface{}, mergeRequest int, opt *GetMergeRequestsOptions, ...) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) GetMergeRequestApprovals(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequestApprovals, *Response, error)
- func (s *MergeRequestsService) GetMergeRequestChanges(pid interface{}, mergeRequest int, opt *GetMergeRequestChangesOptions, ...) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) GetMergeRequestCommits(pid interface{}, mergeRequest int, opt *GetMergeRequestCommitsOptions, ...) ([]*Commit, *Response, error)
- func (s *MergeRequestsService) GetMergeRequestDiffVersions(pid interface{}, mergeRequest int, opt *GetMergeRequestDiffVersionsOptions, ...) ([]*MergeRequestDiffVersion, *Response, error)
- func (s *MergeRequestsService) GetMergeRequestParticipants(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*BasicUser, *Response, error)
- func (s *MergeRequestsService) GetSingleMergeRequestDiffVersion(pid interface{}, mergeRequest, version int, options ...RequestOptionFunc) (*MergeRequestDiffVersion, *Response, error)
- func (s *MergeRequestsService) GetTimeSpent(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *MergeRequestsService) ListGroupMergeRequests(gid interface{}, opt *ListGroupMergeRequestsOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *MergeRequestsService) ListMergeRequestPipelines(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*PipelineInfo, *Response, error)
- func (s *MergeRequestsService) ListMergeRequests(opt *ListMergeRequestsOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error)
- func (s *MergeRequestsService) ListProjectMergeRequests(pid interface{}, opt *ListProjectMergeRequestsOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *MergeRequestsService) RebaseMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Response, error)
- func (s *MergeRequestsService) ResetSpentTime(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *MergeRequestsService) ResetTimeEstimate(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error)
- func (s *MergeRequestsService) SetTimeEstimate(pid interface{}, mergeRequest int, opt *SetTimeEstimateOptions, ...) (*TimeStats, *Response, error)
- func (s *MergeRequestsService) SubscribeToMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) UnsubscribeFromMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error)
- func (s *MergeRequestsService) UpdateMergeRequest(pid interface{}, mergeRequest int, opt *UpdateMergeRequestOptions, ...) (*MergeRequest, *Response, error)
- type MergeStatusCheck
- type MicrosoftTeamsService
- type MicrosoftTeamsServiceProperties
- type Milestone
- type MilestoneEvent
- type MilestonesService
- func (s *MilestonesService) CreateMilestone(pid interface{}, opt *CreateMilestoneOptions, options ...RequestOptionFunc) (*Milestone, *Response, error)
- func (s *MilestonesService) DeleteMilestone(pid interface{}, milestone int, options ...RequestOptionFunc) (*Response, error)
- func (s *MilestonesService) GetMilestone(pid interface{}, milestone int, options ...RequestOptionFunc) (*Milestone, *Response, error)
- func (s *MilestonesService) GetMilestoneIssues(pid interface{}, milestone int, opt *GetMilestoneIssuesOptions, ...) ([]*Issue, *Response, error)
- func (s *MilestonesService) GetMilestoneMergeRequests(pid interface{}, milestone int, opt *GetMilestoneMergeRequestsOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *MilestonesService) ListMilestones(pid interface{}, opt *ListMilestonesOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error)
- func (s *MilestonesService) UpdateMilestone(pid interface{}, milestone int, opt *UpdateMilestoneOptions, ...) (*Milestone, *Response, error)
- type ModifyUserOptions
- type MoveIssueOptions
- type Namespace
- type NamespaceExistance
- type NamespaceExistsOptions
- type NamespacesService
- func (s *NamespacesService) GetNamespace(id interface{}, options ...RequestOptionFunc) (*Namespace, *Response, error)
- func (s *NamespacesService) ListNamespaces(opt *ListNamespacesOptions, options ...RequestOptionFunc) ([]*Namespace, *Response, error)
- func (s *NamespacesService) NamespaceExists(id interface{}, opt *NamespaceExistsOptions, options ...RequestOptionFunc) (*NamespaceExistance, *Response, error)
- func (s *NamespacesService) SearchNamespace(query string, options ...RequestOptionFunc) ([]*Namespace, *Response, error)
- type Note
- type NotePosition
- type NoteTypeValue
- type NotesService
- func (s *NotesService) CreateEpicNote(gid interface{}, epic int, opt *CreateEpicNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) CreateIssueNote(pid interface{}, issue int, opt *CreateIssueNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) CreateMergeRequestNote(pid interface{}, mergeRequest int, opt *CreateMergeRequestNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) CreateSnippetNote(pid interface{}, snippet int, opt *CreateSnippetNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) DeleteEpicNote(gid interface{}, epic, note int, options ...RequestOptionFunc) (*Response, error)
- func (s *NotesService) DeleteIssueNote(pid interface{}, issue, note int, options ...RequestOptionFunc) (*Response, error)
- func (s *NotesService) DeleteMergeRequestNote(pid interface{}, mergeRequest, note int, options ...RequestOptionFunc) (*Response, error)
- func (s *NotesService) DeleteSnippetNote(pid interface{}, snippet, note int, options ...RequestOptionFunc) (*Response, error)
- func (s *NotesService) GetEpicNote(gid interface{}, epic, note int, options ...RequestOptionFunc) (*Note, *Response, error)
- func (s *NotesService) GetIssueNote(pid interface{}, issue, note int, options ...RequestOptionFunc) (*Note, *Response, error)
- func (s *NotesService) GetMergeRequestNote(pid interface{}, mergeRequest, note int, options ...RequestOptionFunc) (*Note, *Response, error)
- func (s *NotesService) GetSnippetNote(pid interface{}, snippet, note int, options ...RequestOptionFunc) (*Note, *Response, error)
- func (s *NotesService) ListEpicNotes(gid interface{}, epic int, opt *ListEpicNotesOptions, ...) ([]*Note, *Response, error)
- func (s *NotesService) ListIssueNotes(pid interface{}, issue int, opt *ListIssueNotesOptions, ...) ([]*Note, *Response, error)
- func (s *NotesService) ListMergeRequestNotes(pid interface{}, mergeRequest int, opt *ListMergeRequestNotesOptions, ...) ([]*Note, *Response, error)
- func (s *NotesService) ListSnippetNotes(pid interface{}, snippet int, opt *ListSnippetNotesOptions, ...) ([]*Note, *Response, error)
- func (s *NotesService) UpdateEpicNote(gid interface{}, epic, note int, opt *UpdateEpicNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) UpdateIssueNote(pid interface{}, issue, note int, opt *UpdateIssueNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) UpdateMergeRequestNote(pid interface{}, mergeRequest, note int, opt *UpdateMergeRequestNoteOptions, ...) (*Note, *Response, error)
- func (s *NotesService) UpdateSnippetNote(pid interface{}, snippet, note int, opt *UpdateSnippetNoteOptions, ...) (*Note, *Response, error)
- type NotificationEvents
- type NotificationLevelValue
- type NotificationSettings
- type NotificationSettingsOptions
- type NotificationSettingsService
- func (s *NotificationSettingsService) GetGlobalSettings(options ...RequestOptionFunc) (*NotificationSettings, *Response, error)
- func (s *NotificationSettingsService) GetSettingsForGroup(gid interface{}, options ...RequestOptionFunc) (*NotificationSettings, *Response, error)
- func (s *NotificationSettingsService) GetSettingsForProject(pid interface{}, options ...RequestOptionFunc) (*NotificationSettings, *Response, error)
- func (s *NotificationSettingsService) UpdateGlobalSettings(opt *NotificationSettingsOptions, options ...RequestOptionFunc) (*NotificationSettings, *Response, error)
- func (s *NotificationSettingsService) UpdateSettingsForGroup(gid interface{}, opt *NotificationSettingsOptions, ...) (*NotificationSettings, *Response, error)
- func (s *NotificationSettingsService) UpdateSettingsForProject(pid interface{}, opt *NotificationSettingsOptions, ...) (*NotificationSettings, *Response, error)
- type Package
- type PackageFile
- type PackageLinks
- type PackagesService
- func (s *PackagesService) DeletePackageFile(pid interface{}, pkg, file int, options ...RequestOptionFunc) (*Response, error)
- func (s *PackagesService) DeleteProjectPackage(pid interface{}, pkg int, options ...RequestOptionFunc) (*Response, error)
- func (s *PackagesService) ListGroupPackages(gid interface{}, opt *ListGroupPackagesOptions, options ...RequestOptionFunc) ([]*GroupPackage, *Response, error)
- func (s *PackagesService) ListPackageFiles(pid interface{}, pkg int, opt *ListPackageFilesOptions, ...) ([]*PackageFile, *Response, error)
- func (s *PackagesService) ListProjectPackages(pid interface{}, opt *ListProjectPackagesOptions, options ...RequestOptionFunc) ([]*Package, *Response, error)
- type PagesDomain
- type PagesDomainsService
- func (s *PagesDomainsService) CreatePagesDomain(pid interface{}, opt *CreatePagesDomainOptions, options ...RequestOptionFunc) (*PagesDomain, *Response, error)
- func (s *PagesDomainsService) DeletePagesDomain(pid interface{}, domain string, options ...RequestOptionFunc) (*Response, error)
- func (s *PagesDomainsService) GetPagesDomain(pid interface{}, domain string, options ...RequestOptionFunc) (*PagesDomain, *Response, error)
- func (s *PagesDomainsService) ListAllPagesDomains(options ...RequestOptionFunc) ([]*PagesDomain, *Response, error)
- func (s *PagesDomainsService) ListPagesDomains(pid interface{}, opt *ListPagesDomainsOptions, options ...RequestOptionFunc) ([]*PagesDomain, *Response, error)
- func (s *PagesDomainsService) UpdatePagesDomain(pid interface{}, domain string, opt *UpdatePagesDomainOptions, ...) (*PagesDomain, *Response, error)
- type PagesService
- type PendingInvite
- type Permissions
- type PersonalAccessToken
- type PersonalAccessTokensService
- type Pipeline
- type PipelineEvent
- type PipelineInfo
- type PipelineSchedule
- type PipelineSchedulesService
- func (s *PipelineSchedulesService) CreatePipelineSchedule(pid interface{}, opt *CreatePipelineScheduleOptions, ...) (*PipelineSchedule, *Response, error)
- func (s *PipelineSchedulesService) CreatePipelineScheduleVariable(pid interface{}, schedule int, opt *CreatePipelineScheduleVariableOptions, ...) (*PipelineVariable, *Response, error)
- func (s *PipelineSchedulesService) DeletePipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*Response, error)
- func (s *PipelineSchedulesService) DeletePipelineScheduleVariable(pid interface{}, schedule int, key string, options ...RequestOptionFunc) (*PipelineVariable, *Response, error)
- func (s *PipelineSchedulesService) EditPipelineSchedule(pid interface{}, schedule int, opt *EditPipelineScheduleOptions, ...) (*PipelineSchedule, *Response, error)
- func (s *PipelineSchedulesService) EditPipelineScheduleVariable(pid interface{}, schedule int, key string, ...) (*PipelineVariable, *Response, error)
- func (s *PipelineSchedulesService) GetPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error)
- func (s *PipelineSchedulesService) ListPipelineSchedules(pid interface{}, opt *ListPipelineSchedulesOptions, ...) ([]*PipelineSchedule, *Response, error)
- func (s *PipelineSchedulesService) RunPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*Response, error)
- func (s *PipelineSchedulesService) TakeOwnershipOfPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error)
- type PipelineTestCases
- type PipelineTestReport
- type PipelineTestSuites
- type PipelineTrigger
- type PipelineTriggersService
- func (s *PipelineTriggersService) AddPipelineTrigger(pid interface{}, opt *AddPipelineTriggerOptions, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error)
- func (s *PipelineTriggersService) DeletePipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*Response, error)
- func (s *PipelineTriggersService) EditPipelineTrigger(pid interface{}, trigger int, opt *EditPipelineTriggerOptions, ...) (*PipelineTrigger, *Response, error)
- func (s *PipelineTriggersService) GetPipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error)
- func (s *PipelineTriggersService) ListPipelineTriggers(pid interface{}, opt *ListPipelineTriggersOptions, ...) ([]*PipelineTrigger, *Response, error)
- func (s *PipelineTriggersService) RunPipelineTrigger(pid interface{}, opt *RunPipelineTriggerOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error)
- func (s *PipelineTriggersService) TakeOwnershipOfPipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error)
- type PipelineVariable
- type PipelineVariableOptions
- type PipelinesEmailProperties
- type PipelinesEmailService
- type PipelinesService
- func (s *PipelinesService) CancelPipelineBuild(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error)
- func (s *PipelinesService) CreatePipeline(pid interface{}, opt *CreatePipelineOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error)
- func (s *PipelinesService) DeletePipeline(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Response, error)
- func (s *PipelinesService) GetPipeline(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error)
- func (s *PipelinesService) GetPipelineTestReport(pid interface{}, pipeline int, options ...RequestOptionFunc) (*PipelineTestReport, *Response, error)
- func (s *PipelinesService) GetPipelineVariables(pid interface{}, pipeline int, options ...RequestOptionFunc) ([]*PipelineVariable, *Response, error)
- func (s *PipelinesService) ListProjectPipelines(pid interface{}, opt *ListProjectPipelinesOptions, ...) ([]*PipelineInfo, *Response, error)
- func (s *PipelinesService) RetryPipelineBuild(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error)
- type PlanLimit
- type PlanLimitsService
- type PlatformKubernetes
- type PostCommitCommentOptions
- type ProcessMetrics
- type Project
- type ProjectAccess
- type ProjectAccessToken
- type ProjectAccessTokensService
- func (s *ProjectAccessTokensService) CreateProjectAccessToken(pid interface{}, opt *CreateProjectAccessTokenOptions, ...) (*ProjectAccessToken, *Response, error)
- func (s *ProjectAccessTokensService) GetProjectAccessToken(pid interface{}, id int, options ...RequestOptionFunc) (*ProjectAccessToken, *Response, error)
- func (s *ProjectAccessTokensService) ListProjectAccessTokens(pid interface{}, opt *ListProjectAccessTokensOptions, ...) ([]*ProjectAccessToken, *Response, error)
- func (s *ProjectAccessTokensService) RevokeProjectAccessToken(pid interface{}, id int, options ...RequestOptionFunc) (*Response, error)
- type ProjectApprovalRule
- type ProjectApprovals
- type ProjectAvatar
- type ProjectBadge
- type ProjectBadgePreviewOptions
- type ProjectBadgesService
- func (s *ProjectBadgesService) AddProjectBadge(pid interface{}, opt *AddProjectBadgeOptions, options ...RequestOptionFunc) (*ProjectBadge, *Response, error)
- func (s *ProjectBadgesService) DeleteProjectBadge(pid interface{}, badge int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectBadgesService) EditProjectBadge(pid interface{}, badge int, opt *EditProjectBadgeOptions, ...) (*ProjectBadge, *Response, error)
- func (s *ProjectBadgesService) GetProjectBadge(pid interface{}, badge int, options ...RequestOptionFunc) (*ProjectBadge, *Response, error)
- func (s *ProjectBadgesService) ListProjectBadges(pid interface{}, opt *ListProjectBadgesOptions, options ...RequestOptionFunc) ([]*ProjectBadge, *Response, error)
- func (s *ProjectBadgesService) PreviewProjectBadge(pid interface{}, opt *ProjectBadgePreviewOptions, options ...RequestOptionFunc) (*ProjectBadge, *Response, error)
- type ProjectCluster
- type ProjectClustersService
- func (s *ProjectClustersService) AddCluster(pid interface{}, opt *AddClusterOptions, options ...RequestOptionFunc) (*ProjectCluster, *Response, error)
- func (s *ProjectClustersService) DeleteCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectClustersService) EditCluster(pid interface{}, cluster int, opt *EditClusterOptions, ...) (*ProjectCluster, *Response, error)
- func (s *ProjectClustersService) GetCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*ProjectCluster, *Response, error)
- func (s *ProjectClustersService) ListClusters(pid interface{}, options ...RequestOptionFunc) ([]*ProjectCluster, *Response, error)
- type ProjectCreationLevelValue
- type ProjectDeployKey
- type ProjectEvent
- type ProjectFile
- type ProjectForkRelation
- type ProjectGroup
- type ProjectHook
- type ProjectImportExportService
- func (s *ProjectImportExportService) ExportDownload(pid interface{}, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *ProjectImportExportService) ExportStatus(pid interface{}, options ...RequestOptionFunc) (*ExportStatus, *Response, error)
- func (s *ProjectImportExportService) ImportFromFile(archive io.Reader, opt *ImportFileOptions, options ...RequestOptionFunc) (*ImportStatus, *Response, error)
- func (s *ProjectImportExportService) ImportStatus(pid interface{}, options ...RequestOptionFunc) (*ImportStatus, *Response, error)
- func (s *ProjectImportExportService) ScheduleExport(pid interface{}, opt *ScheduleExportOptions, options ...RequestOptionFunc) (*Response, error)
- type ProjectIteration
- type ProjectIterationsService
- type ProjectLanguages
- type ProjectLicense
- type ProjectLintOptions
- type ProjectLintResult
- type ProjectMember
- type ProjectMembersService
- func (s *ProjectMembersService) AddProjectMember(pid interface{}, opt *AddProjectMemberOptions, options ...RequestOptionFunc) (*ProjectMember, *Response, error)
- func (s *ProjectMembersService) DeleteProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectMembersService) EditProjectMember(pid interface{}, user int, opt *EditProjectMemberOptions, ...) (*ProjectMember, *Response, error)
- func (s *ProjectMembersService) GetInheritedProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*ProjectMember, *Response, error)
- func (s *ProjectMembersService) GetProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*ProjectMember, *Response, error)
- func (s *ProjectMembersService) ListAllProjectMembers(pid interface{}, opt *ListProjectMembersOptions, options ...RequestOptionFunc) ([]*ProjectMember, *Response, error)
- func (s *ProjectMembersService) ListProjectMembers(pid interface{}, opt *ListProjectMembersOptions, options ...RequestOptionFunc) ([]*ProjectMember, *Response, error)
- type ProjectMirror
- type ProjectMirrorService
- func (s *ProjectMirrorService) AddProjectMirror(pid interface{}, opt *AddProjectMirrorOptions, options ...RequestOptionFunc) (*ProjectMirror, *Response, error)
- func (s *ProjectMirrorService) DeleteProjectMirror(pid interface{}, mirror int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectMirrorService) EditProjectMirror(pid interface{}, mirror int, opt *EditProjectMirrorOptions, ...) (*ProjectMirror, *Response, error)
- func (s *ProjectMirrorService) GetProjectMirror(pid interface{}, mirror int, options ...RequestOptionFunc) (*ProjectMirror, *Response, error)
- func (s *ProjectMirrorService) ListProjectMirror(pid interface{}, opt *ListProjectMirrorOptions, options ...RequestOptionFunc) ([]*ProjectMirror, *Response, error)
- type ProjectNamespace
- type ProjectNamespaceLintOptions
- type ProjectPushRules
- type ProjectSnippetsService
- func (s *ProjectSnippetsService) CreateSnippet(pid interface{}, opt *CreateProjectSnippetOptions, ...) (*Snippet, *Response, error)
- func (s *ProjectSnippetsService) DeleteSnippet(pid interface{}, snippet int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectSnippetsService) GetSnippet(pid interface{}, snippet int, options ...RequestOptionFunc) (*Snippet, *Response, error)
- func (s *ProjectSnippetsService) ListSnippets(pid interface{}, opt *ListProjectSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error)
- func (s *ProjectSnippetsService) SnippetContent(pid interface{}, snippet int, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *ProjectSnippetsService) UpdateSnippet(pid interface{}, snippet int, opt *UpdateProjectSnippetOptions, ...) (*Snippet, *Response, error)
- type ProjectStatistics
- type ProjectStatusCheck
- type ProjectSystemEvent
- type ProjectUser
- type ProjectVariable
- type ProjectVariablesService
- func (s *ProjectVariablesService) CreateVariable(pid interface{}, opt *CreateProjectVariableOptions, ...) (*ProjectVariable, *Response, error)
- func (s *ProjectVariablesService) GetVariable(pid interface{}, key string, opt *GetProjectVariableOptions, ...) (*ProjectVariable, *Response, error)
- func (s *ProjectVariablesService) ListVariables(pid interface{}, opt *ListProjectVariablesOptions, ...) ([]*ProjectVariable, *Response, error)
- func (s *ProjectVariablesService) RemoveVariable(pid interface{}, key string, opt *RemoveProjectVariableOptions, ...) (*Response, error)
- func (s *ProjectVariablesService) UpdateVariable(pid interface{}, key string, opt *UpdateProjectVariableOptions, ...) (*ProjectVariable, *Response, error)
- type ProjectVulnerabilitiesService
- func (s *ProjectVulnerabilitiesService) CreateVulnerability(pid interface{}, opt *CreateVulnerabilityOptions, options ...RequestOptionFunc) (*ProjectVulnerability, *Response, error)
- func (s *ProjectVulnerabilitiesService) ListProjectVulnerabilities(pid interface{}, opt *ListProjectVulnerabilitiesOptions, ...) ([]*ProjectVulnerability, *Response, error)
- type ProjectVulnerability
- type ProjectsService
- func (s *ProjectsService) AddProjectHook(pid interface{}, opt *AddProjectHookOptions, options ...RequestOptionFunc) (*ProjectHook, *Response, error)
- func (s *ProjectsService) AddProjectPushRule(pid interface{}, opt *AddProjectPushRuleOptions, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error)
- func (s *ProjectsService) ArchiveProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) ChangeAllowedApprovers(pid interface{}, opt *ChangeAllowedApproversOptions, ...) (*ProjectApprovals, *Response, error)
- func (s *ProjectsService) ChangeApprovalConfiguration(pid interface{}, opt *ChangeApprovalConfigurationOptions, ...) (*ProjectApprovals, *Response, error)
- func (s *ProjectsService) CreateProject(opt *CreateProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) CreateProjectApprovalRule(pid interface{}, opt *CreateProjectLevelRuleOptions, ...) (*ProjectApprovalRule, *Response, error)
- func (s *ProjectsService) CreateProjectForUser(user int, opt *CreateProjectForUserOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) CreateProjectForkRelation(pid interface{}, fork int, options ...RequestOptionFunc) (*ProjectForkRelation, *Response, error)
- func (s *ProjectsService) DeleteProject(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) DeleteProjectApprovalRule(pid interface{}, approvalRule int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) DeleteProjectForkRelation(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) DeleteProjectHook(pid interface{}, hook int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) DeleteProjectPushRule(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) DeleteSharedProjectFromGroup(pid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) EditProject(pid interface{}, opt *EditProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) EditProjectHook(pid interface{}, hook int, opt *EditProjectHookOptions, ...) (*ProjectHook, *Response, error)
- func (s *ProjectsService) EditProjectPushRule(pid interface{}, opt *EditProjectPushRuleOptions, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error)
- func (s *ProjectsService) ForkProject(pid interface{}, opt *ForkProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) GetApprovalConfiguration(pid interface{}, options ...RequestOptionFunc) (*ProjectApprovals, *Response, error)
- func (s *ProjectsService) GetProject(pid interface{}, opt *GetProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) GetProjectApprovalRule(pid interface{}, ruleID int, options ...RequestOptionFunc) (*ProjectApprovalRule, *Response, error)
- func (s *ProjectsService) GetProjectApprovalRules(pid interface{}, options ...RequestOptionFunc) ([]*ProjectApprovalRule, *Response, error)
- func (s *ProjectsService) GetProjectEvents(pid interface{}, opt *GetProjectEventsOptions, options ...RequestOptionFunc) ([]*ProjectEvent, *Response, error)
- func (s *ProjectsService) GetProjectHook(pid interface{}, hook int, options ...RequestOptionFunc) (*ProjectHook, *Response, error)
- func (s *ProjectsService) GetProjectLanguages(pid interface{}, options ...RequestOptionFunc) (*ProjectLanguages, *Response, error)
- func (s *ProjectsService) GetProjectPushRules(pid interface{}, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error)
- func (s *ProjectsService) ListProjectForks(pid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *ProjectsService) ListProjectHooks(pid interface{}, opt *ListProjectHooksOptions, options ...RequestOptionFunc) ([]*ProjectHook, *Response, error)
- func (s *ProjectsService) ListProjects(opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *ProjectsService) ListProjectsGroups(pid interface{}, opt *ListProjectGroupOptions, options ...RequestOptionFunc) ([]*ProjectGroup, *Response, error)
- func (s *ProjectsService) ListProjectsUsers(pid interface{}, opt *ListProjectUserOptions, options ...RequestOptionFunc) ([]*ProjectUser, *Response, error)
- func (s *ProjectsService) ListUserProjects(uid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *ProjectsService) ListUserStarredProjects(uid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *ProjectsService) ShareProjectWithGroup(pid interface{}, opt *ShareWithGroupOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) StarProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) StartMirroringProject(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ProjectsService) TransferProject(pid interface{}, opt *TransferProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) UnarchiveProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) UnstarProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error)
- func (s *ProjectsService) UpdateProjectApprovalRule(pid interface{}, approvalRule int, opt *UpdateProjectLevelRuleOptions, ...) (*ProjectApprovalRule, *Response, error)
- func (s *ProjectsService) UploadAvatar(pid interface{}, avatar io.Reader, filename string, ...) (*Project, *Response, error)
- func (s *ProjectsService) UploadFile(pid interface{}, content io.Reader, filename string, ...) (*ProjectFile, *Response, error)
- type PrometheusService
- type PrometheusServiceProperties
- type ProtectBranchOptions
- type ProtectRepositoryBranchesOptions
- type ProtectRepositoryEnvironmentsOptions
- type ProtectRepositoryTagsOptions
- type ProtectedBranch
- type ProtectedBranchesService
- func (s *ProtectedBranchesService) GetProtectedBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*ProtectedBranch, *Response, error)
- func (s *ProtectedBranchesService) ListProtectedBranches(pid interface{}, opt *ListProtectedBranchesOptions, ...) ([]*ProtectedBranch, *Response, error)
- func (s *ProtectedBranchesService) ProtectRepositoryBranches(pid interface{}, opt *ProtectRepositoryBranchesOptions, ...) (*ProtectedBranch, *Response, error)
- func (s *ProtectedBranchesService) RequireCodeOwnerApprovals(pid interface{}, branch string, opt *RequireCodeOwnerApprovalsOptions, ...) (*Response, error)
- func (s *ProtectedBranchesService) UnprotectRepositoryBranches(pid interface{}, branch string, options ...RequestOptionFunc) (*Response, error)
- type ProtectedEnvironment
- type ProtectedEnvironmentsService
- func (s *ProtectedEnvironmentsService) GetProtectedEnvironment(pid interface{}, environment string, options ...RequestOptionFunc) (*ProtectedEnvironment, *Response, error)
- func (s *ProtectedEnvironmentsService) ListProtectedEnvironments(pid interface{}, opt *ListProtectedEnvironmentsOptions, ...) ([]*ProtectedEnvironment, *Response, error)
- func (s *ProtectedEnvironmentsService) ProtectRepositoryEnvironments(pid interface{}, opt *ProtectRepositoryEnvironmentsOptions, ...) (*ProtectedEnvironment, *Response, error)
- func (s *ProtectedEnvironmentsService) UnprotectEnvironment(pid interface{}, environment string, options ...RequestOptionFunc) (*Response, error)
- type ProtectedTag
- type ProtectedTagsService
- func (s *ProtectedTagsService) GetProtectedTag(pid interface{}, tag string, options ...RequestOptionFunc) (*ProtectedTag, *Response, error)
- func (s *ProtectedTagsService) ListProtectedTags(pid interface{}, opt *ListProtectedTagsOptions, options ...RequestOptionFunc) ([]*ProtectedTag, *Response, error)
- func (s *ProtectedTagsService) ProtectRepositoryTags(pid interface{}, opt *ProtectRepositoryTagsOptions, ...) (*ProtectedTag, *Response, error)
- func (s *ProtectedTagsService) UnprotectRepositoryTags(pid interface{}, tag string, options ...RequestOptionFunc) (*Response, error)
- type PublishPackageFileOptions
- type PushEvent
- type PushSystemEvent
- type QueueMetrics
- type RateLimiter
- type RecentFailures
- type RegisterAgentOptions
- type RegisterNewRunnerInfoOptions
- type RegisterNewRunnerOptions
- type RegistryRepository
- type RegistryRepositoryTag
- type Release
- type ReleaseAssetLinkOptions
- type ReleaseAssetsOptions
- type ReleaseEvent
- type ReleaseLink
- type ReleaseLinksService
- func (s *ReleaseLinksService) CreateReleaseLink(pid interface{}, tagName string, opt *CreateReleaseLinkOptions, ...) (*ReleaseLink, *Response, error)
- func (s *ReleaseLinksService) DeleteReleaseLink(pid interface{}, tagName string, link int, options ...RequestOptionFunc) (*ReleaseLink, *Response, error)
- func (s *ReleaseLinksService) GetReleaseLink(pid interface{}, tagName string, link int, options ...RequestOptionFunc) (*ReleaseLink, *Response, error)
- func (s *ReleaseLinksService) ListReleaseLinks(pid interface{}, tagName string, opt *ListReleaseLinksOptions, ...) ([]*ReleaseLink, *Response, error)
- func (s *ReleaseLinksService) UpdateReleaseLink(pid interface{}, tagName string, link int, opt *UpdateReleaseLinkOptions, ...) (*ReleaseLink, *Response, error)
- type ReleaseNote
- type ReleasesService
- func (s *ReleasesService) CreateRelease(pid interface{}, opts *CreateReleaseOptions, options ...RequestOptionFunc) (*Release, *Response, error)
- func (s *ReleasesService) DeleteRelease(pid interface{}, tagName string, options ...RequestOptionFunc) (*Release, *Response, error)
- func (s *ReleasesService) GetRelease(pid interface{}, tagName string, options ...RequestOptionFunc) (*Release, *Response, error)
- func (s *ReleasesService) ListReleases(pid interface{}, opt *ListReleasesOptions, options ...RequestOptionFunc) ([]*Release, *Response, error)
- func (s *ReleasesService) UpdateRelease(pid interface{}, tagName string, opts *UpdateReleaseOptions, ...) (*Release, *Response, error)
- type RemoveGroupMemberOptions
- type RemoveProjectVariableOptions
- type RenderOptions
- type RepositoriesService
- func (s *RepositoriesService) Archive(pid interface{}, opt *ArchiveOptions, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *RepositoriesService) Blob(pid interface{}, sha string, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *RepositoriesService) Compare(pid interface{}, opt *CompareOptions, options ...RequestOptionFunc) (*Compare, *Response, error)
- func (s *RepositoriesService) Contributors(pid interface{}, opt *ListContributorsOptions, options ...RequestOptionFunc) ([]*Contributor, *Response, error)
- func (s *RepositoriesService) ListTree(pid interface{}, opt *ListTreeOptions, options ...RequestOptionFunc) ([]*TreeNode, *Response, error)
- func (s *RepositoriesService) MergeBase(pid interface{}, opt *MergeBaseOptions, options ...RequestOptionFunc) (*Commit, *Response, error)
- func (s *RepositoriesService) RawBlobContent(pid interface{}, sha string, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *RepositoriesService) StreamArchive(pid interface{}, w io.Writer, opt *ArchiveOptions, ...) (*Response, error)
- type Repository
- type RepositoryFilesService
- func (s *RepositoryFilesService) CreateFile(pid interface{}, fileName string, opt *CreateFileOptions, ...) (*FileInfo, *Response, error)
- func (s *RepositoryFilesService) DeleteFile(pid interface{}, fileName string, opt *DeleteFileOptions, ...) (*Response, error)
- func (s *RepositoryFilesService) GetFile(pid interface{}, fileName string, opt *GetFileOptions, ...) (*File, *Response, error)
- func (s *RepositoryFilesService) GetFileBlame(pid interface{}, file string, opt *GetFileBlameOptions, ...) ([]*FileBlameRange, *Response, error)
- func (s *RepositoryFilesService) GetFileMetaData(pid interface{}, fileName string, opt *GetFileMetaDataOptions, ...) (*File, *Response, error)
- func (s *RepositoryFilesService) GetRawFile(pid interface{}, fileName string, opt *GetRawFileOptions, ...) ([]byte, *Response, error)
- func (s *RepositoryFilesService) UpdateFile(pid interface{}, fileName string, opt *UpdateFileOptions, ...) (*FileInfo, *Response, error)
- type RepositorySubmodulesService
- type RepositoryUpdateSystemEvent
- type RequestOptionFunc
- type RequireCodeOwnerApprovalsOptions
- type ResolveMergeRequestDiscussionOptions
- type ResourceLabelEventsService
- func (s *ResourceLabelEventsService) GetGroupEpicLabelEvent(gid interface{}, epic int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error)
- func (s *ResourceLabelEventsService) GetIssueLabelEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error)
- func (s *ResourceLabelEventsService) GetMergeRequestLabelEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error)
- func (s *ResourceLabelEventsService) ListGroupEpicLabelEvents(gid interface{}, epic int, opt *ListLabelEventsOptions, ...) ([]*LabelEvent, *Response, error)
- func (s *ResourceLabelEventsService) ListIssueLabelEvents(pid interface{}, issue int, opt *ListLabelEventsOptions, ...) ([]*LabelEvent, *Response, error)
- func (s *ResourceLabelEventsService) ListMergeRequestsLabelEvents(pid interface{}, request int, opt *ListLabelEventsOptions, ...) ([]*LabelEvent, *Response, error)
- type ResourceMilestoneEventsService
- func (s *ResourceMilestoneEventsService) GetIssueMilestoneEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*MilestoneEvent, *Response, error)
- func (s *ResourceMilestoneEventsService) GetMergeRequestMilestoneEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*MilestoneEvent, *Response, error)
- func (s *ResourceMilestoneEventsService) ListIssueMilestoneEvents(pid interface{}, issue int, opt *ListMilestoneEventsOptions, ...) ([]*MilestoneEvent, *Response, error)
- func (s *ResourceMilestoneEventsService) ListMergeMilestoneEvents(pid interface{}, request int, opt *ListMilestoneEventsOptions, ...) ([]*MilestoneEvent, *Response, error)
- type ResourceStateEventsService
- func (s *ResourceStateEventsService) GetIssueStateEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*StateEvent, *Response, error)
- func (s *ResourceStateEventsService) GetMergeRequestStateEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*StateEvent, *Response, error)
- func (s *ResourceStateEventsService) ListIssueStateEvents(pid interface{}, issue int, opt *ListStateEventsOptions, ...) ([]*StateEvent, *Response, error)
- func (s *ResourceStateEventsService) ListMergeStateEvents(pid interface{}, request int, opt *ListStateEventsOptions, ...) ([]*StateEvent, *Response, error)
- type Response
- type RevertCommitOptions
- type ReviewerIDValue
- type RunPipelineTriggerOptions
- type Runner
- type RunnerAuthenticationToken
- type RunnerDetails
- type RunnerRegistrationToken
- type RunnersService
- func (s *RunnersService) DeleteRegisteredRunner(opt *DeleteRegisteredRunnerOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *RunnersService) DeleteRegisteredRunnerByID(rid int, options ...RequestOptionFunc) (*Response, error)
- func (s *RunnersService) DisableProjectRunner(pid interface{}, runner int, options ...RequestOptionFunc) (*Response, error)
- func (s *RunnersService) EnableProjectRunner(pid interface{}, opt *EnableProjectRunnerOptions, options ...RequestOptionFunc) (*Runner, *Response, error)
- func (s *RunnersService) GetRunnerDetails(rid interface{}, options ...RequestOptionFunc) (*RunnerDetails, *Response, error)
- func (s *RunnersService) ListAllRunners(opt *ListRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error)
- func (s *RunnersService) ListGroupsRunners(gid interface{}, opt *ListGroupsRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error)
- func (s *RunnersService) ListProjectRunners(pid interface{}, opt *ListProjectRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error)
- func (s *RunnersService) ListRunnerJobs(rid interface{}, opt *ListRunnerJobsOptions, options ...RequestOptionFunc) ([]*Job, *Response, error)
- func (s *RunnersService) ListRunners(opt *ListRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error)
- func (s *RunnersService) RegisterNewRunner(opt *RegisterNewRunnerOptions, options ...RequestOptionFunc) (*Runner, *Response, error)
- func (s *RunnersService) RemoveRunner(rid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *RunnersService) ResetGroupRunnerRegistrationToken(gid interface{}, options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error)
- func (s *RunnersService) ResetInstanceRunnerRegistrationToken(options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error)
- func (s *RunnersService) ResetProjectRunnerRegistrationToken(pid interface{}, options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error)
- func (s *RunnersService) ResetRunnerAuthenticationToken(rid int, options ...RequestOptionFunc) (*RunnerAuthenticationToken, *Response, error)
- func (s *RunnersService) UpdateRunnerDetails(rid interface{}, opt *UpdateRunnerDetailsOptions, options ...RequestOptionFunc) (*RunnerDetails, *Response, error)
- func (s *RunnersService) VerifyRegisteredRunner(opt *VerifyRegisteredRunnerOptions, options ...RequestOptionFunc) (*Response, error)
- type SSHKey
- type ScheduleExportOptions
- type SearchOptions
- type SearchService
- func (s *SearchService) Blobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Blob, *Response, error)
- func (s *SearchService) BlobsByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Blob, *Response, error)
- func (s *SearchService) BlobsByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Blob, *Response, error)
- func (s *SearchService) Commits(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error)
- func (s *SearchService) CommitsByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Commit, *Response, error)
- func (s *SearchService) CommitsByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Commit, *Response, error)
- func (s *SearchService) Issues(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error)
- func (s *SearchService) IssuesByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Issue, *Response, error)
- func (s *SearchService) IssuesByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Issue, *Response, error)
- func (s *SearchService) MergeRequests(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error)
- func (s *SearchService) MergeRequestsByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *SearchService) MergeRequestsByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*MergeRequest, *Response, error)
- func (s *SearchService) Milestones(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error)
- func (s *SearchService) MilestonesByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Milestone, *Response, error)
- func (s *SearchService) MilestonesByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Milestone, *Response, error)
- func (s *SearchService) NotesByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Note, *Response, error)
- func (s *SearchService) Projects(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Project, *Response, error)
- func (s *SearchService) ProjectsByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Project, *Response, error)
- func (s *SearchService) SnippetBlobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error)
- func (s *SearchService) SnippetTitles(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error)
- func (s *SearchService) Users(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*User, *Response, error)
- func (s *SearchService) UsersByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*User, *Response, error)
- func (s *SearchService) UsersByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*User, *Response, error)
- func (s *SearchService) WikiBlobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error)
- func (s *SearchService) WikiBlobsByGroup(gid interface{}, query string, opt *SearchOptions, ...) ([]*Wiki, *Response, error)
- func (s *SearchService) WikiBlobsByProject(pid interface{}, query string, opt *SearchOptions, ...) ([]*Wiki, *Response, error)
- type Service
- type ServicesService
- func (s *ServicesService) DeleteCustomIssueTrackerService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteDroneCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteExternalWikiService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteGitLabCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteGithubService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteHipChatService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteJenkinsCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteJiraService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteMattermostService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteMattermostSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteMicrosoftTeamsService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeletePipelinesEmailService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeletePrometheusService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteSlackService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteSlackSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) DeleteYouTrackService(pid interface{}, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) GetCustomIssueTrackerService(pid interface{}, options ...RequestOptionFunc) (*CustomIssueTrackerService, *Response, error)
- func (s *ServicesService) GetDroneCIService(pid interface{}, options ...RequestOptionFunc) (*DroneCIService, *Response, error)
- func (s *ServicesService) GetExternalWikiService(pid interface{}, options ...RequestOptionFunc) (*ExternalWikiService, *Response, error)
- func (s *ServicesService) GetGithubService(pid interface{}, options ...RequestOptionFunc) (*GithubService, *Response, error)
- func (s *ServicesService) GetJenkinsCIService(pid interface{}, options ...RequestOptionFunc) (*JenkinsCIService, *Response, error)
- func (s *ServicesService) GetJiraService(pid interface{}, options ...RequestOptionFunc) (*JiraService, *Response, error)
- func (s *ServicesService) GetMattermostService(pid interface{}, options ...RequestOptionFunc) (*MattermostService, *Response, error)
- func (s *ServicesService) GetMattermostSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*MattermostSlashCommandsService, *Response, error)
- func (s *ServicesService) GetMicrosoftTeamsService(pid interface{}, options ...RequestOptionFunc) (*MicrosoftTeamsService, *Response, error)
- func (s *ServicesService) GetPipelinesEmailService(pid interface{}, options ...RequestOptionFunc) (*PipelinesEmailService, *Response, error)
- func (s *ServicesService) GetPrometheusService(pid interface{}, options ...RequestOptionFunc) (*PrometheusService, *Response, error)
- func (s *ServicesService) GetSlackService(pid interface{}, options ...RequestOptionFunc) (*SlackService, *Response, error)
- func (s *ServicesService) GetSlackSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*SlackSlashCommandsService, *Response, error)
- func (s *ServicesService) GetYouTrackService(pid interface{}, options ...RequestOptionFunc) (*YouTrackService, *Response, error)
- func (s *ServicesService) ListServices(pid interface{}, options ...RequestOptionFunc) ([]*Service, *Response, error)
- func (s *ServicesService) SetCustomIssueTrackerService(pid interface{}, opt *SetCustomIssueTrackerServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetDroneCIService(pid interface{}, opt *SetDroneCIServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetExternalWikiService(pid interface{}, opt *SetExternalWikiServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetGitLabCIService(pid interface{}, opt *SetGitLabCIServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetGithubService(pid interface{}, opt *SetGithubServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetHipChatService(pid interface{}, opt *SetHipChatServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetJenkinsCIService(pid interface{}, opt *SetJenkinsCIServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetJiraService(pid interface{}, opt *SetJiraServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetMattermostService(pid interface{}, opt *SetMattermostServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetMattermostSlashCommandsService(pid interface{}, opt *SetMattermostSlashCommandsServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetMicrosoftTeamsService(pid interface{}, opt *SetMicrosoftTeamsServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetPipelinesEmailService(pid interface{}, opt *SetPipelinesEmailServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetPrometheusService(pid interface{}, opt *SetPrometheusServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetSlackService(pid interface{}, opt *SetSlackServiceOptions, options ...RequestOptionFunc) (*Response, error)
- func (s *ServicesService) SetSlackSlashCommandsService(pid interface{}, opt *SetSlackSlashCommandsServiceOptions, ...) (*Response, error)
- func (s *ServicesService) SetYouTrackService(pid interface{}, opt *SetYouTrackServiceOptions, options ...RequestOptionFunc) (*Response, error)
- type SetCommitStatusOptions
- type SetCustomIssueTrackerServiceOptions
- type SetDroneCIServiceOptions
- type SetExternalWikiServiceOptions
- type SetGitLabCIServiceOptions
- type SetGithubServiceOptions
- type SetHipChatServiceOptions
- type SetJenkinsCIServiceOptions
- type SetJiraServiceOptions
- type SetMattermostServiceOptions
- type SetMattermostSlashCommandsServiceOptions
- type SetMicrosoftTeamsServiceOptions
- type SetPipelinesEmailServiceOptions
- type SetPrometheusServiceOptions
- type SetSlackServiceOptions
- type SetSlackSlashCommandsServiceOptions
- type SetTimeEstimateOptions
- type SetYouTrackServiceOptions
- type Settings
- type SettingsService
- type ShareGroupWithGroupOptions
- type ShareWithGroupOptions
- type SharedRunnersSettingValue
- type SidekiqService
- func (s *SidekiqService) GetCompoundMetrics(options ...RequestOptionFunc) (*CompoundMetrics, *Response, error)
- func (s *SidekiqService) GetJobStats(options ...RequestOptionFunc) (*JobStats, *Response, error)
- func (s *SidekiqService) GetProcessMetrics(options ...RequestOptionFunc) (*ProcessMetrics, *Response, error)
- func (s *SidekiqService) GetQueueMetrics(options ...RequestOptionFunc) (*QueueMetrics, *Response, error)
- type SlackService
- type SlackServiceProperties
- type SlackSlashCommandsProperties
- type SlackSlashCommandsService
- type Snippet
- type SnippetCommentEvent
- type SnippetFile
- type SnippetsService
- func (s *SnippetsService) CreateSnippet(opt *CreateSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error)
- func (s *SnippetsService) DeleteSnippet(snippet int, options ...RequestOptionFunc) (*Response, error)
- func (s *SnippetsService) ExploreSnippets(opt *ExploreSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error)
- func (s *SnippetsService) GetSnippet(snippet int, options ...RequestOptionFunc) (*Snippet, *Response, error)
- func (s *SnippetsService) ListSnippets(opt *ListSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error)
- func (s *SnippetsService) SnippetContent(snippet int, options ...RequestOptionFunc) ([]byte, *Response, error)
- func (s *SnippetsService) UpdateSnippet(snippet int, opt *UpdateSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error)
- type SquashOptionValue
- type StateEvent
- type StatusCheckProtectedBranch
- type StorageStatistics
- type SubGroupCreationLevelValue
- type SubGroupEvent
- type SubmoduleCommit
- type SystemHooksService
- func (s *SystemHooksService) AddHook(opt *AddHookOptions, options ...RequestOptionFunc) (*Hook, *Response, error)
- func (s *SystemHooksService) DeleteHook(hook int, options ...RequestOptionFunc) (*Response, error)
- func (s *SystemHooksService) GetHook(hook int, options ...RequestOptionFunc) (*Hook, *Response, error)
- func (s *SystemHooksService) ListHooks(options ...RequestOptionFunc) ([]*Hook, *Response, error)
- func (s *SystemHooksService) TestHook(hook int, options ...RequestOptionFunc) (*HookEvent, *Response, error)
- type Tag
- type TagAccessDescription
- type TagEvent
- type TagPushSystemEvent
- type TagsService
- func (s *TagsService) CreateReleaseNote(pid interface{}, tag string, opt *CreateReleaseNoteOptions, ...) (*ReleaseNote, *Response, error)deprecated
- func (s *TagsService) CreateTag(pid interface{}, opt *CreateTagOptions, options ...RequestOptionFunc) (*Tag, *Response, error)
- func (s *TagsService) DeleteTag(pid interface{}, tag string, options ...RequestOptionFunc) (*Response, error)
- func (s *TagsService) GetTag(pid interface{}, tag string, options ...RequestOptionFunc) (*Tag, *Response, error)
- func (s *TagsService) ListTags(pid interface{}, opt *ListTagsOptions, options ...RequestOptionFunc) ([]*Tag, *Response, error)
- func (s *TagsService) UpdateReleaseNote(pid interface{}, tag string, opt *UpdateReleaseNoteOptions, ...) (*ReleaseNote, *Response, error)deprecated
- type TasksCompletionStatus
- type TimeStats
- type Todo
- type TodoAction
- type TodoTarget
- type TodoTargetType
- type TodosService
- type Topic
- type TopicAvatar
- type TopicsService
- func (s *TopicsService) CreateTopic(opt *CreateTopicOptions, options ...RequestOptionFunc) (*Topic, *Response, error)
- func (s *TopicsService) DeleteTopic(topic int, options ...RequestOptionFunc) (*Response, error)
- func (s *TopicsService) GetTopic(topic int, options ...RequestOptionFunc) (*Topic, *Response, error)
- func (s *TopicsService) ListTopics(opt *ListTopicsOptions, options ...RequestOptionFunc) ([]*Topic, *Response, error)
- func (s *TopicsService) UpdateTopic(topic int, opt *UpdateTopicOptions, options ...RequestOptionFunc) (*Topic, *Response, error)
- type TransferProjectOptions
- type TransferSubGroupOptions
- type TreeNode
- type UpdateBroadcastMessageOptions
- type UpdateCommitDiscussionNoteOptions
- type UpdateDeployKeyOptions
- type UpdateEpicDiscussionNoteOptions
- type UpdateEpicIsssueAssignmentOptions
- type UpdateEpicNoteOptions
- type UpdateEpicOptions
- type UpdateFileOptions
- type UpdateFreezePeriodOptions
- type UpdateGeoNodesOptions
- type UpdateGroupIssueBoardListOptions
- type UpdateGroupIssueBoardOptions
- type UpdateGroupLabelOptions
- type UpdateGroupMilestoneOptions
- type UpdateGroupOptions
- type UpdateGroupVariableOptions
- type UpdateInstanceVariableOptions
- type UpdateIssueBoardListOptions
- type UpdateIssueBoardOptions
- type UpdateIssueDiscussionNoteOptions
- type UpdateIssueNoteOptions
- type UpdateIssueOptions
- type UpdateLabelOptions
- type UpdateMergeRequestApprovalRuleOptions
- type UpdateMergeRequestDiscussionNoteOptions
- type UpdateMergeRequestNoteOptions
- type UpdateMergeRequestOptions
- type UpdateMilestoneOptions
- type UpdatePagesDomainOptions
- type UpdateProjectDeploymentOptions
- type UpdateProjectLevelRuleOptions
- type UpdateProjectSnippetOptions
- type UpdateProjectVariableOptions
- type UpdateReleaseLinkOptions
- type UpdateReleaseNoteOptions
- type UpdateReleaseOptions
- type UpdateRunnerDetailsOptions
- type UpdateSettingsOptions
- type UpdateSnippetDiscussionNoteOptions
- type UpdateSnippetNoteOptions
- type UpdateSnippetOptions
- type UpdateSubmoduleOptions
- type UpdateTopicOptions
- type UploadType
- type User
- type UserActivity
- type UserGroupSystemEvent
- type UserIDValue
- type UserIdentity
- type UserMembership
- type UserStatus
- type UserStatusOptions
- type UserSystemEvent
- type UserTeamSystemEvent
- type UsersService
- func (s *UsersService) ActivateUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) AddEmail(opt *AddEmailOptions, options ...RequestOptionFunc) (*Email, *Response, error)
- func (s *UsersService) AddEmailForUser(user int, opt *AddEmailOptions, options ...RequestOptionFunc) (*Email, *Response, error)
- func (s *UsersService) AddGPGKey(opt *AddGPGKeyOptions, options ...RequestOptionFunc) (*GPGKey, *Response, error)
- func (s *UsersService) AddGPGKeyForUser(user int, opt *AddGPGKeyOptions, options ...RequestOptionFunc) (*GPGKey, *Response, error)
- func (s *UsersService) AddSSHKey(opt *AddSSHKeyOptions, options ...RequestOptionFunc) (*SSHKey, *Response, error)
- func (s *UsersService) AddSSHKeyForUser(user int, opt *AddSSHKeyOptions, options ...RequestOptionFunc) (*SSHKey, *Response, error)
- func (s *UsersService) ApproveUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) BanUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) BlockUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) CreateImpersonationToken(user int, opt *CreateImpersonationTokenOptions, options ...RequestOptionFunc) (*ImpersonationToken, *Response, error)
- func (s *UsersService) CreatePersonalAccessToken(user int, opt *CreatePersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error)
- func (s *UsersService) CreateUser(opt *CreateUserOptions, options ...RequestOptionFunc) (*User, *Response, error)
- func (s *UsersService) CurrentUser(options ...RequestOptionFunc) (*User, *Response, error)
- func (s *UsersService) CurrentUserStatus(options ...RequestOptionFunc) (*UserStatus, *Response, error)
- func (s *UsersService) DeactivateUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) DeleteEmail(email int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteEmailForUser(user, email int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteGPGKey(key int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteGPGKeyForUser(user, key int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteSSHKey(key int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteSSHKeyForUser(user, key int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) DeleteUser(user int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) GetAllImpersonationTokens(user int, opt *GetAllImpersonationTokensOptions, options ...RequestOptionFunc) ([]*ImpersonationToken, *Response, error)
- func (s *UsersService) GetEmail(email int, options ...RequestOptionFunc) (*Email, *Response, error)
- func (s *UsersService) GetGPGKey(key int, options ...RequestOptionFunc) (*GPGKey, *Response, error)
- func (s *UsersService) GetGPGKeyForUser(user, key int, options ...RequestOptionFunc) (*GPGKey, *Response, error)
- func (s *UsersService) GetImpersonationToken(user, token int, options ...RequestOptionFunc) (*ImpersonationToken, *Response, error)
- func (s *UsersService) GetSSHKey(key int, options ...RequestOptionFunc) (*SSHKey, *Response, error)
- func (s *UsersService) GetSSHKeyForUser(user int, key int, options ...RequestOptionFunc) (*SSHKey, *Response, error)
- func (s *UsersService) GetUser(user int, opt GetUsersOptions, options ...RequestOptionFunc) (*User, *Response, error)
- func (s *UsersService) GetUserActivities(opt *GetUserActivitiesOptions, options ...RequestOptionFunc) ([]*UserActivity, *Response, error)
- func (s *UsersService) GetUserMemberships(user int, opt *GetUserMembershipOptions, options ...RequestOptionFunc) ([]*UserMembership, *Response, error)
- func (s *UsersService) GetUserStatus(user int, options ...RequestOptionFunc) (*UserStatus, *Response, error)
- func (s *UsersService) ListEmails(options ...RequestOptionFunc) ([]*Email, *Response, error)
- func (s *UsersService) ListEmailsForUser(user int, opt *ListEmailsForUserOptions, options ...RequestOptionFunc) ([]*Email, *Response, error)
- func (s *UsersService) ListGPGKeys(options ...RequestOptionFunc) ([]*GPGKey, *Response, error)
- func (s *UsersService) ListGPGKeysForUser(user int, options ...RequestOptionFunc) ([]*GPGKey, *Response, error)
- func (s *UsersService) ListSSHKeys(options ...RequestOptionFunc) ([]*SSHKey, *Response, error)
- func (s *UsersService) ListSSHKeysForUser(uid interface{}, opt *ListSSHKeysForUserOptions, options ...RequestOptionFunc) ([]*SSHKey, *Response, error)
- func (s *UsersService) ListUserContributionEvents(uid interface{}, opt *ListContributionEventsOptions, ...) ([]*ContributionEvent, *Response, error)
- func (s *UsersService) ListUsers(opt *ListUsersOptions, options ...RequestOptionFunc) ([]*User, *Response, error)
- func (s *UsersService) ModifyUser(user int, opt *ModifyUserOptions, options ...RequestOptionFunc) (*User, *Response, error)
- func (s *UsersService) RejectUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) RevokeImpersonationToken(user, token int, options ...RequestOptionFunc) (*Response, error)
- func (s *UsersService) SetUserStatus(opt *UserStatusOptions, options ...RequestOptionFunc) (*UserStatus, *Response, error)
- func (s *UsersService) UnbanUser(user int, options ...RequestOptionFunc) error
- func (s *UsersService) UnblockUser(user int, options ...RequestOptionFunc) error
- type ValidateService
- func (s *ValidateService) Lint(opts *LintOptions, options ...RequestOptionFunc) (*LintResult, *Response, error)
- func (s *ValidateService) ProjectLint(pid interface{}, opt *ProjectLintOptions, options ...RequestOptionFunc) (*ProjectLintResult, *Response, error)
- func (s *ValidateService) ProjectNamespaceLint(pid interface{}, opt *ProjectNamespaceLintOptions, ...) (*ProjectLintResult, *Response, error)
- type VariableFilter
- type VariableTypeValue
- type VerifyRegisteredRunnerOptions
- type Version
- type VersionService
- type VisibilityValue
- type Wiki
- type WikiFormatValue
- type WikiPageEvent
- type WikisService
- func (s *WikisService) CreateWikiPage(pid interface{}, opt *CreateWikiPageOptions, options ...RequestOptionFunc) (*Wiki, *Response, error)
- func (s *WikisService) DeleteWikiPage(pid interface{}, slug string, options ...RequestOptionFunc) (*Response, error)
- func (s *WikisService) EditWikiPage(pid interface{}, slug string, opt *EditWikiPageOptions, ...) (*Wiki, *Response, error)
- func (s *WikisService) GetWikiPage(pid interface{}, slug string, opt *GetWikiPageOptions, ...) (*Wiki, *Response, error)
- func (s *WikisService) ListWikis(pid interface{}, opt *ListWikisOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error)
- type YouTrackService
- type YouTrackServiceProperties
Constants ¶
This section is empty.
Variables ¶
var ( ErrUserActivatePrevented = errors.New("Cannot activate a user that is blocked by admin or by LDAP synchronization") ErrUserApprovePrevented = errors.New("Cannot approve a user that is blocked by admin or by LDAP synchronization") ErrUserBlockPrevented = errors.New("Cannot block a user that is already blocked by LDAP synchronization") ErrUserConflict = errors.New("User does not have a pending request") ErrUserDeactivatePrevented = errors.New("Cannot deactivate a user that is blocked by admin or by LDAP synchronization") ErrUserNotFound = errors.New("User does not exist") ErrUserRejectPrevented = errors.New("Cannot reject a user if not authenticated as administrator") ErrUserUnblockPrevented = errors.New("Cannot unblock a user that is blocked by LDAP synchronization") )
List a couple of standard errors.
Functions ¶
func Bool ¶
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
func CheckResponse ¶
CheckResponse checks the API response for errors, and returns them if present.
func Int ¶
Int is a helper routine that allocates a new int value to store v and returns a pointer to it.
func ParseHook ¶ added in v0.24.0
ParseHook tries to parse both web- and system hooks.
Example usage:
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { payload, err := ioutil.ReadAll(r.Body) if err != nil { ... } event, err := gitlab.ParseHook(gitlab.HookEventType(r), payload) if err != nil { ... } switch event := event.(type) { case *gitlab.PushEvent: processPushEvent(event) case *gitlab.MergeEvent: processMergeEvent(event) ... } }
func ParseSystemhook ¶ added in v0.24.0
ParseSystemhook parses the event payload. For recognized event types, a value of the corresponding struct type will be returned. An error will be returned for unrecognized event types.
Example usage:
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { payload, err := ioutil.ReadAll(r.Body) if err != nil { ... } event, err := gitlab.ParseSystemhook(payload) if err != nil { ... } switch event := event.(type) { case *gitlab.PushSystemEvent: processPushSystemEvent(event) case *gitlab.MergeSystemEvent: processMergeSystemEvent(event) ... } }
func ParseWebhook ¶ added in v0.11.6
ParseWebhook parses the event payload. For recognized event types, a value of the corresponding struct type will be returned. An error will be returned for unrecognized event types.
Example usage:
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { payload, err := ioutil.ReadAll(r.Body) if err != nil { ... } event, err := gitlab.ParseWebhook(gitlab.HookEventType(r), payload) if err != nil { ... } switch event := event.(type) { case *gitlab.PushEvent: processPushEvent(event) case *gitlab.MergeEvent: processMergeEvent(event) ... } }
func PathEscape ¶ added in v0.53.0
Helper function to escape a project identifier.
func String ¶
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
Types ¶
type AcceptMergeRequestOptions ¶ added in v0.4.0
type AcceptMergeRequestOptions struct { MergeCommitMessage *string `url:"merge_commit_message,omitempty" json:"merge_commit_message,omitempty"` SquashCommitMessage *string `url:"squash_commit_message,omitempty" json:"squash_commit_message,omitempty"` Squash *bool `url:"squash,omitempty" json:"squash,omitempty"` ShouldRemoveSourceBranch *bool `url:"should_remove_source_branch,omitempty" json:"should_remove_source_branch,omitempty"` MergeWhenPipelineSucceeds *bool `url:"merge_when_pipeline_succeeds,omitempty" json:"merge_when_pipeline_succeeds,omitempty"` SHA *string `url:"sha,omitempty" json:"sha,omitempty"` }
AcceptMergeRequestOptions represents the available AcceptMergeRequest() options.
GitLab API docs: https://docs.gitlab.com/ee/api/merge_requests.html#merge-a-merge-request
type AccessControlValue ¶ added in v0.32.0
type AccessControlValue string
AccessControlValue represents an access control value within GitLab, used for managing access to certain project features.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html
const ( DisabledAccessControl AccessControlValue = "disabled" EnabledAccessControl AccessControlValue = "enabled" PrivateAccessControl AccessControlValue = "private" PublicAccessControl AccessControlValue = "public" )
List of available access control values.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html
func AccessControl ¶ added in v0.32.0
func AccessControl(v AccessControlValue) *AccessControlValue
AccessControl is a helper routine that allocates a new AccessControlValue to store v and returns a pointer to it.
type AccessLevelValue ¶ added in v0.2.0
type AccessLevelValue int
AccessLevelValue represents a permission level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/permissions/permissions.html
const ( NoPermissions AccessLevelValue = 0 MinimalAccessPermissions AccessLevelValue = 5 GuestPermissions AccessLevelValue = 10 ReporterPermissions AccessLevelValue = 20 DeveloperPermissions AccessLevelValue = 30 MaintainerPermissions AccessLevelValue = 40 OwnerPermissions AccessLevelValue = 50 // These are deprecated and should be removed in a future version MasterPermissions AccessLevelValue = 40 OwnerPermission AccessLevelValue = 50 )
List of available access levels
GitLab API docs: https://docs.gitlab.com/ce/permissions/permissions.html
func AccessLevel ¶
func AccessLevel(v AccessLevelValue) *AccessLevelValue
AccessLevel is a helper routine that allocates a new AccessLevelValue to store v and returns a pointer to it.
type AccessRequest ¶ added in v0.11.1
type AccessRequest struct { ID int `json:"id"` Username string `json:"username"` Name string `json:"name"` State string `json:"state"` CreatedAt *time.Time `json:"created_at"` RequestedAt *time.Time `json:"requested_at"` AccessLevel AccessLevelValue `json:"access_level"` }
AccessRequest represents a access request for a group or project.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html
type AccessRequestsService ¶ added in v0.11.1
type AccessRequestsService struct {
// contains filtered or unexported fields
}
AccessRequestsService handles communication with the project/group access requests related methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html
func (*AccessRequestsService) ApproveGroupAccessRequest ¶ added in v0.11.1
func (s *AccessRequestsService) ApproveGroupAccessRequest(gid interface{}, user int, opt *ApproveAccessRequestOptions, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
ApproveGroupAccessRequest approves an access request for the given user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#approve-an-access-request
func (*AccessRequestsService) ApproveProjectAccessRequest ¶ added in v0.11.1
func (s *AccessRequestsService) ApproveProjectAccessRequest(pid interface{}, user int, opt *ApproveAccessRequestOptions, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
ApproveProjectAccessRequest approves an access request for the given user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#approve-an-access-request
func (*AccessRequestsService) DenyGroupAccessRequest ¶ added in v0.11.1
func (s *AccessRequestsService) DenyGroupAccessRequest(gid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
DenyGroupAccessRequest denies an access request for the given user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#deny-an-access-request
func (*AccessRequestsService) DenyProjectAccessRequest ¶ added in v0.11.1
func (s *AccessRequestsService) DenyProjectAccessRequest(pid interface{}, user int, options ...RequestOptionFunc) (*Response, error)
DenyProjectAccessRequest denies an access request for the given user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#deny-an-access-request
func (*AccessRequestsService) ListGroupAccessRequests ¶ added in v0.11.1
func (s *AccessRequestsService) ListGroupAccessRequests(gid interface{}, opt *ListAccessRequestsOptions, options ...RequestOptionFunc) ([]*AccessRequest, *Response, error)
ListGroupAccessRequests gets a list of access requests viewable by the authenticated user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#list-access-requests-for-a-group-or-project
func (*AccessRequestsService) ListProjectAccessRequests ¶ added in v0.11.1
func (s *AccessRequestsService) ListProjectAccessRequests(pid interface{}, opt *ListAccessRequestsOptions, options ...RequestOptionFunc) ([]*AccessRequest, *Response, error)
ListProjectAccessRequests gets a list of access requests viewable by the authenticated user.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#list-access-requests-for-a-group-or-project
func (*AccessRequestsService) RequestGroupAccess ¶ added in v0.11.1
func (s *AccessRequestsService) RequestGroupAccess(gid interface{}, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
RequestGroupAccess requests access for the authenticated user to a group or project.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#request-access-to-a-group-or-project
func (*AccessRequestsService) RequestProjectAccess ¶ added in v0.11.1
func (s *AccessRequestsService) RequestProjectAccess(pid interface{}, options ...RequestOptionFunc) (*AccessRequest, *Response, error)
RequestProjectAccess requests access for the authenticated user to a group or project.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#request-access-to-a-group-or-project
type AddClusterOptions ¶ added in v0.14.1
type AddClusterOptions struct { Name *string `url:"name,omitempty" json:"name,omitempty"` Domain *string `url:"domain,omitempty" json:"domain,omitempty"` Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty"` Managed *bool `url:"managed,omitempty" json:"managed,omitempty"` EnvironmentScope *string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"` PlatformKubernetes *AddPlatformKubernetesOptions `url:"platform_kubernetes_attributes,omitempty" json:"platform_kubernetes_attributes,omitempty"` ManagementProjectID *string `url:"management_project_id,omitempty" json:"management_project_id,omitempty"` }
AddClusterOptions represents the available AddCluster() options.
GitLab API docs: https://docs.gitlab.com/ee/api/project_clusters.html#add-existing-cluster-to-project
type AddCommitDiscussionNoteOptions ¶ added in v0.11.2
type AddCommitDiscussionNoteOptions struct { Body *string `url:"body,omitempty" json:"body,omitempty"` CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"` }
AddCommitDiscussionNoteOptions represents the available AddCommitDiscussionNote() options.
GitLab API docs: https://docs.gitlab.com/ce/api/discussions.html#add-note-to-existing-commit-thread
type AddDeployKeyOptions ¶
type AddDeployKeyOptions struct { Title *string `url:"title,omitempty" json:"title,omitempty"` Key *string `url:"key,omitempty" json:"key,omitempty"` CanPush *bool `url:"can_push,omitempty" json:"can_push,omitempty"` }
AddDeployKeyOptions represents the available ADDDeployKey() options.
GitLab API docs: https://docs.gitlab.com/ce/api/deploy_keys.html#add-deploy-key
type AddEmailOptions ¶ added in v0.4.0
type AddEmailOptions struct { Email *string `url:"email,omitempty" json:"email,omitempty"` SkipConfirmation *bool `url:"skip_confirmation,omitempty" json:"skip_confirmation,omitempty"` }
AddEmailOptions represents the available AddEmail() options.
GitLab API docs: https://docs.gitlab.com/ce/api/users.html#add-email
type AddEpicDiscussionNoteOptions ¶ added in v0.11.2
type AddEpicDiscussionNoteOptions struct { Body *string `url:"body,omitempty" json:"body,omitempty"` CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"` }
AddEpicDiscussionNoteOptions represents the available AddEpicDiscussionNote() options.
GitLab API docs: https://docs.gitlab.com/ce/api/discussions.html#add-note-to-existing-epic-thread
type AddGPGKeyOptions ¶ added in v0.53.0
type AddGPGKeyOptions struct {
Key *string `url:"key,omitempty" json:"key,omitempty"`
}
AddGPGKeyOptions represents the available AddGPGKey() options.
GitLab API docs: https://docs.gitlab.com/ce/api/users.html#add-a-gpg-key
type AddGroupBadgeOptions ¶ added in v0.16.0
type AddGroupBadgeOptions struct { LinkURL *string `url:"link_url,omitempty" json:"link_url,omitempty"` ImageURL *string `url:"image_url,omitempty" json:"image_url,omitempty"` }
AddGroupBadgeOptions represents the available AddGroupBadge() options.
GitLab API docs: https://docs.gitlab.com/ee/api/group_badges.html#add-a-badge-to-a-group
type AddGroupClusterOptions ¶ added in v0.21.0
type AddGroupClusterOptions struct { Name *string `url:"name,omitempty" json:"name,omitempty"` Domain *string `url:"domain,omitempty" json:"domain,omitempty"` ManagementProjectID *string `url:"management_project_id,omitempty" json:"management_project_id,omitempty"` Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty"` Managed *bool `url:"managed,omitempty" json:"managed,omitempty"` EnvironmentScope *string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"` PlatformKubernetes *AddGroupPlatformKubernetesOptions `url:"platform_kubernetes_attributes,omitempty" json:"platform_kubernetes_attributes,omitempty"` }
AddGroupClusterOptions represents the available AddCluster() options.
GitLab API docs: https://docs.gitlab.com/ee/api/group_clusters.html#add-existing-cluster-to-group
type AddGroupHookOptions ¶ added in v0.30.0
type AddGroupHookOptions struct { URL *string `url:"url,omitempty" json:"url,omitempty"` PushEvents *bool `url:"push_events,omitempty" json:"push_events,omitempty"` PushEventsBranchFilter *string `url:"push_events_branch_filter,omitempty" json:"push_events_branch_filter,omitempty"` IssuesEvents *bool `url:"issues_events,omitempty" json:"issues_events,omitempty"` ConfidentialIssuesEvents *bool `url:"confidential_issues_events,omitempty" json:"confidential_issues_events,omitempty"` ConfidentialNoteEvents *bool `url:"confidential_note_events,omitempty" json:"confidential_note_events,omitempty"` MergeRequestsEvents *bool `url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"` TagPushEvents *bool `url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"` NoteEvents *bool `url:"note_events,omitempty" json:"note_events,omitempty"` JobEvents *bool `url:"job_events,omitempty" json:"job_events,omitempty"` PipelineEvents *bool `url:"pipeline_events,omitempty" json:"pipeline_events,omitempty"` WikiPageEvents *bool `url:"wiki_page_events,omitempty" json:"wiki_page_events,omitempty"` DeploymentEvents *bool `url:"deployment_events,omitempty" json:"deployment_events,omitempty"` ReleasesEvents *bool `url:"releases_events,omitempty" json:"releases_events,omitempty"` SubGroupEvents *bool `url:"subgroup_events,omitempty" json:"subgroup_events,omitempty"` EnableSSLVerification *bool `url:"enable_ssl_verification,omitempty" json:"enable_ssl_verification,omitempty"` Token *string `url:"token,omitempty" json:"token,omitempty"` }
AddGroupHookOptions represents the available AddGroupHook() options.
GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#add-group-hook
type AddGroupLDAPLinkOptions ¶ added in v0.30.0
type AddGroupLDAPLinkOptions struct { CN *string `url:"cn,omitempty" json:"cn,omitempty"` Filter *string `url:"filter,omitempty" json:"filter,omitempty"` GroupAccess *AccessLevelValue `url:"group_access,omitempty" json:"group_access,omitempty"` Provider *string `url:"provider,omitempty" json:"provider,omitempty"` }
AddGroupLDAPLinkOptions represents the available AddGroupLDAPLink() options.
GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#add-ldap-group-link-starter
type AddGroupMemberOptions ¶
type AddGroupMemberOptions 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"` }
AddGroupMemberOptions represents the available AddGroupMember() options.
GitLab API docs: https://docs.gitlab.com/ce/api/members.html#add-a-member-to-a-group-or-project
type AddGroupPlatformKubernetesOptions ¶ added in v0.21.0
type AddGroupPlatformKubernetesOptions struct { APIURL *string `url:"api_url,omitempty" json:"api_url,omitempty"` Token *string `url:"token,omitempty" json:"token,omitempty"` CaCert *string `url:"ca_cert,omitempty" json:"ca_cert,omitempty"` Namespace *string `url:"namespace,omitempty" json:"namespace,omitempty"` AuthorizationType *string `url:"authorization_type,omitempty" json:"authorization_type,omitempty"` }
AddGroupPlatformKubernetesOptions represents the available PlatformKubernetes options for adding.
type AddGroupPushRuleOptions ¶ added in v0.38.0
type AddGroupPushRuleOptions struct { AuthorEmailRegex *string `url:"author_email_regex,omitempty" json:"author_email_regex,omitempty"` BranchNameRegex *string `url:"branch_name_regex,omitempty" json:"branch_name_regex,omitempty"` CommitCommitterCheck *bool `url:"commit_committer_check,omitempty" json:"commit_committer_check,omitempty"` CommitMessageNegativeRegex *string `url:"commit_message_negative_regex,omitempty" json:"commit_message_negative_regex,omitempty"` CommitMessageRegex *string `url:"commit_message_regex,omitempty" json:"commit_message_regex,omitempty"` DenyDeleteTag *bool `url:"deny_delete_tag,omitempty" json:"deny_delete_tag,omitempty"` FileNameRegex *string `url:"file_name_regex,omitempty" json:"file_name_regex,omitempty"` MaxFileSize *int `url:"max_file_size,omitempty" json:"max_file_size,omitempty"` MemberCheck *bool `url:"member_check,omitempty" json:"member_check,omitempty"` PreventSecrets *bool `url:"prevent_secrets,omitempty" json:"prevent_secrets,omitempty"` RejectUnsignedCommits *bool `url:"reject_unsigned_commits,omitempty" json:"reject_unsigned_commits,omitempty"` }
AddGroupPushRuleOptions represents the available AddGroupPushRule() options.
GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#add-group-push-rule
type AddHookOptions ¶
type AddHookOptions struct { URL *string `url:"url,omitempty" json:"url,omitempty"` Token *string `url:"token,omitempty" json:"token,omitempty"` PushEvents *bool `url:"push_events,omitempty" json:"push_events,omitempty"` TagPushEvents *bool `url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"` MergeRequestsEvents *bool `url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"` RepositoryUpdateEvents *bool `url:"repository_update_events,omitempty" json:"repository_update_events,omitempty"` EnableSSLVerification *bool `url:"enable_ssl_verification,omitempty" json:"enable_ssl_verification,omitempty"` }
AddHookOptions represents the available AddHook() options.
GitLab API docs: https://docs.gitlab.com/ce/api/system_hooks.html#add-new-system-hook-hook
type AddIssueDiscussionNoteOptions ¶ added in v0.11.2
type AddIssueDiscussionNoteOptions struct { Body *string `url:"body,omitempty" json:"body,omitempty"` CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"` }
AddIssueDiscussionNoteOptions represents the available AddIssueDiscussionNote() options.
GitLab API docs: https://docs.gitlab.com/ce/api/discussions.html#add-note-to-existing-issue-thread
type AddLicenseOptions ¶ added in v0.11.4
type AddLicenseOptions struct {
License *string `url:"license" json:"license"`
}
AddLicenseOptions represents the available AddLicense() options.
https://docs.gitlab.com/ee/api/license.html#add-a-new-license
type AddManagedLicenseOptions ¶ added in v0.50.0
type AddManagedLicenseOptions struct { Name *string `url:"name,omitempty" json:"name,omitempty"` ApprovalStatus *LicenseApprovalStatusValue `url:"approval_status,omitempty" json:"approval_status,omitempty"` }
AddManagedLicenseOptions represents the available AddManagedLicense() options.
GitLab API docs: https://docs.gitlab.com/ee/api/managed_licenses.html#create-a-new-managed-license
type AddMergeRequestDiscussionNoteOptions ¶ added in v0.11.2
type AddMergeRequestDiscussionNoteOptions struct { Body *string `url:"body,omitempty" json:"body,omitempty"` CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"` }
AddMergeRequestDiscussionNoteOptions represents the available AddMergeRequestDiscussionNote() options.
GitLab API docs: https://docs.gitlab.com/ce/api/discussions.html#add-note-to-existing-merge-request-discussion
type AddPipelineTriggerOptions ¶ added in v0.6.0
type AddPipelineTriggerOptions struct {
Description *string `url:"description,omitempty" json:"description,omitempty"`
}
AddPipelineTriggerOptions represents the available AddPipelineTrigger() options.
GitLab API docs: https://docs.gitlab.com/ce/api/pipeline_triggers.html#create-a-project-trigger
type AddPlatformKubernetesOptions ¶ added in v0.14.1
type AddPlatformKubernetesOptions struct { APIURL *string `url:"api_url,omitempty" json:"api_url,omitempty"` Token *string `url:"token,omitempty" json:"token,omitempty"` CaCert *string `url:"ca_cert,omitempty" json:"ca_cert,omitempty"` Namespace *string `url:"namespace,omitempty" json:"namespace,omitempty"` AuthorizationType *string `url:"authorization_type,omitempty" json:"authorization_type,omitempty"` }
AddPlatformKubernetesOptions represents the available PlatformKubernetes options for adding.
type AddProjectBadgeOptions ¶ added in v0.11.1
type AddProjectBadgeOptions struct { LinkURL *string `url:"link_url,omitempty" json:"link_url,omitempty"` ImageURL *string `url:"image_url,omitempty" json:"image_url,omitempty"` Name *string `url:"name,omitempty" json:"name,omitempty"` }
AddProjectBadgeOptions represents the available AddProjectBadge() options.
GitLab API docs: https://docs.gitlab.com/ee/api/project_badges.html#add-a-badge-to-a-project
type AddProjectHookOptions ¶
type AddProjectHookOptions struct { ConfidentialIssuesEvents *bool `url:"confidential_issues_events,omitempty" json:"confidential_issues_events,omitempty"` ConfidentialNoteEvents *bool `url:"confidential_note_events,omitempty" json:"confidential_note_events,omitempty"` DeploymentEvents *bool `url:"deployment_events,omitempty" json:"deployment_events,omitempty"` EnableSSLVerification *bool `url:"enable_ssl_verification,omitempty" json:"enable_ssl_verification,omitempty"` IssuesEvents *bool `url:"issues_events,omitempty" json:"issues_events,omitempty"` JobEvents *bool `url:"job_events,omitempty" json:"job_events,omitempty"` MergeRequestsEvents *bool `url:"merge_requests_events,omitempty" json:"merge_requests_events,omitempty"` NoteEvents *bool `url:"note_events,omitempty" json:"note_events,omitempty"` PipelineEvents *bool `url:"pipeline_events,omitempty" json:"pipeline_events,omitempty"` PushEvents *bool `url:"push_events,omitempty" json:"push_events,omitempty"` PushEventsBranchFilter *string `url:"push_events_branch_filter,omitempty" json:"push_events_branch_filter,omitempty"` ReleasesEvents *bool `url:"releases_events,omitempty" json:"releases_events,omitempty"` TagPushEvents *bool `url:"tag_push_events,omitempty" json:"tag_push_events,omitempty"` Token *string `url:"token,omitempty" json:"token,omitempty"` URL *string `url:"url,omitempty" json:"url,omitempty"` WikiPageEvents *bool `url:"wiki_page_events,omitempty" json:"wiki_page_events,omitempty"` }
AddProjectHookOptions represents the available AddProjectHook() options.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#add-project-hook
type AddProjectMemberOptions ¶
type AddProjectMemberOptions struct { UserID interface{} `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"` }
AddProjectMemberOptions represents the available AddProjectMember() options.
GitLab API docs: https://docs.gitlab.com/ce/api/members.html#add-a-member-to-a-group-or-project
type AddProjectMirrorOptions ¶ added in v0.33.0
type AddProjectMirrorOptions struct { URL *string `url:"url,omitempty" json:"url,omitempty"` Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty"` OnlyProtectedBranches *bool `url:"only_protected_branches,omitempty" json:"only_protected_branches,omitempty"` KeepDivergentRefs *bool `url:"keep_divergent_refs,omitempty" json:"keep_divergent_refs,omitempty"` }
AddProjectMirrorOptions contains the properties requires to create a new project mirror.
GitLab API docs: https://docs.gitlab.com/ce/api/remote_mirrors.html#create-a-remote-mirror
type AddProjectPushRuleOptions ¶ added in v0.11.5
type AddProjectPushRuleOptions struct { AuthorEmailRegex *string `url:"author_email_regex,omitempty" json:"author_email_regex,omitempty"` BranchNameRegex *string `url:"branch_name_regex,omitempty" json:"branch_name_regex,omitempty"` CommitCommitterCheck *bool `url:"commit_committer_check,omitempty" json:"commit_committer_check,omitempty"` CommitMessageNegativeRegex *string `url:"commit_message_negative_regex,omitempty" json:"commit_message_negative_regex,omitempty"` CommitMessageRegex *string `url:"commit_message_regex,omitempty" json:"commit_message_regex,omitempty"` DenyDeleteTag *bool `url:"deny_delete_tag,omitempty" json:"deny_delete_tag,omitempty"` FileNameRegex *string `url:"file_name_regex,omitempty" json:"file_name_regex,omitempty"` MaxFileSize *int `url:"max_file_size,omitempty" json:"max_file_size,omitempty"` MemberCheck *bool `url:"member_check,omitempty" json:"member_check,omitempty"` PreventSecrets *bool `url:"prevent_secrets,omitempty" json:"prevent_secrets,omitempty"` RejectUnsignedCommits *bool `url:"reject_unsigned_commits,omitempty" json:"reject_unsigned_commits,omitempty"` }
AddProjectPushRuleOptions represents the available AddProjectPushRule() options.
GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#add-project-push-rule
type AddSSHKeyOptions ¶
type AddSSHKeyOptions struct { Title *string `url:"title,omitempty" json:"title,omitempty"` Key *string `url:"key,omitempty" json:"key,omitempty"` ExpiresAt *ISOTime `url:"expires_at,omitempty" json:"expires_at,omitempty"` }
AddSSHKeyOptions represents the available AddSSHKey() options.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#add-ssh-key
type AddSnippetDiscussionNoteOptions ¶ added in v0.11.2
type AddSnippetDiscussionNoteOptions struct { Body *string `url:"body,omitempty" json:"body,omitempty"` CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"` }
AddSnippetDiscussionNoteOptions represents the available AddSnippetDiscussionNote() options.
GitLab API docs: https://docs.gitlab.com/ce/api/discussions.html#add-note-to-existing-snippet-thread
type AddSpentTimeOptions ¶ added in v0.4.0
type AddSpentTimeOptions struct {
Duration *string `url:"duration,omitempty" json:"duration,omitempty"`
}
AddSpentTimeOptions represents the available AddSpentTime() options.
GitLab docs: https://docs.gitlab.com/ce/workflow/time_tracking.html
type Agent ¶ added in v0.66.0
type Agent struct { ID int `json:"id"` Name string `json:"name"` CreatedAt *time.Time `json:"created_at"` CreatedByUserID int `json:"created_by_user_id"` ConfigProject ConfigProject `json:"config_project"` }
Agent represents a GitLab agent for Kubernetes.
GitLab API docs: https://docs.gitlab.com/ee/api/cluster_agents.html
type AgentToken ¶ added in v0.66.0
type AgentToken struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` AgentID int `json:"agent_id"` Status string `json:"status"` CreatedAt *time.Time `json:"created_at"` CreatedByUserID int `json:"created_by_user_id"` LastUsedAt *time.Time `json:"last_used_at"` Token string `json:"token"` }
AgentToken represents a GitLab agent token.
GitLab API docs: https://docs.gitlab.com/ee/api/cluster_agents.html#list-tokens-for-an-agent
func (AgentToken) String ¶ added in v0.66.0
func (a AgentToken) String() string
type Application ¶ added in v0.30.0
type Application struct { ID int `json:"id"` ApplicationID string `json:"application_id"` ApplicationName string `json:"application_name"` Secret string `json:"secret"` CallbackURL string `json:"callback_url"` Confidential bool `json:"confidential"` }
Application represents a GitLab application
type ApplicationsService ¶ added in v0.30.0
type ApplicationsService struct {
// contains filtered or unexported fields
}
ApplicationsService handles communication with administrables applications of the Gitlab API.
Gitlab API docs : https://docs.gitlab.com/ee/api/applications.html
func (*ApplicationsService) CreateApplication ¶ added in v0.30.0
func (s *ApplicationsService) CreateApplication(opt *CreateApplicationOptions, options ...RequestOptionFunc) (*Application, *Response, error)
CreateApplication creates a new application owned by the authenticated user.
Gitlab API docs : https://docs.gitlab.com/ce/api/applications.html#create-an-application
func (*ApplicationsService) DeleteApplication ¶ added in v0.30.0
func (s *ApplicationsService) DeleteApplication(application int, options ...RequestOptionFunc) (*Response, error)
DeleteApplication removes a specific application.
GitLab API docs: https://docs.gitlab.com/ce/api/applications.html#delete-an-application
func (*ApplicationsService) ListApplications ¶ added in v0.30.0
func (s *ApplicationsService) ListApplications(opt *ListApplicationsOptions, options ...RequestOptionFunc) ([]*Application, *Response, error)
ListApplications get a list of administrables applications by the authenticated user
Gitlab API docs : https://docs.gitlab.com/ce/api/applications.html#list-all-applications
type ApproveAccessRequestOptions ¶ added in v0.11.1
type ApproveAccessRequestOptions struct {
AccessLevel *AccessLevelValue `url:"access_level,omitempty" json:"access_level,omitempty"`
}
ApproveAccessRequestOptions represents the available ApproveProjectAccessRequest() and ApproveGroupAccessRequest() options.
GitLab API docs: https://docs.gitlab.com/ce/api/access_requests.html#approve-an-access-request
type ApproveMergeRequestOptions ¶ added in v0.10.0
type ApproveMergeRequestOptions struct {
SHA *string `url:"sha,omitempty" json:"sha,omitempty"`
}
ApproveMergeRequestOptions represents the available ApproveMergeRequest() options.
GitLab API docs: https://docs.gitlab.com/ee/api/merge_request_approvals.html#approve-merge-request
type ApproverIDsValue ¶ added in v0.53.0
type ApproverIDsValue struct {
// contains filtered or unexported fields
}
ApproverIDsValue represents an approver ID value within GitLab.
func ApproverIDs ¶ added in v0.53.0
func ApproverIDs(v interface{}) *ApproverIDsValue
ApproverIDs is a helper routine that creates a new ApproverIDsValue.
func (*ApproverIDsValue) EncodeValues ¶ added in v0.53.0
func (a *ApproverIDsValue) EncodeValues(key string, v *url.Values) error
EncodeValues implements the query.Encoder interface
func (ApproverIDsValue) MarshalJSON ¶ added in v0.54.2
func (a ApproverIDsValue) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface
func (*ApproverIDsValue) UnmarshalJSON ¶ added in v0.54.2
func (a *ApproverIDsValue) UnmarshalJSON(bytes []byte) error
UnmarshalJSON implements the json.Unmarshaler interface
type ArchiveOptions ¶
type ArchiveOptions struct { Format *string `url:"-" json:"-"` SHA *string `url:"sha,omitempty" json:"sha,omitempty"` }
ArchiveOptions represents the available Archive() options.
GitLab API docs: https://docs.gitlab.com/ce/api/repositories.html#get-file-archive
type AssigneeIDValue ¶ added in v0.54.2
type AssigneeIDValue struct {
// contains filtered or unexported fields
}
AssigneeIDValue represents an assignee ID value within GitLab.
func AssigneeID ¶ added in v0.54.2
func AssigneeID(v interface{}) *AssigneeIDValue
AssigneeID is a helper routine that creates a new AssigneeIDValue.
func (*AssigneeIDValue) EncodeValues ¶ added in v0.54.2
func (a *AssigneeIDValue) EncodeValues(key string, v *url.Values) error
EncodeValues implements the query.Encoder interface
func (AssigneeIDValue) MarshalJSON ¶ added in v0.54.2
func (a AssigneeIDValue) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface
func (*AssigneeIDValue) UnmarshalJSON ¶ added in v0.54.2
func (a *AssigneeIDValue) UnmarshalJSON(bytes []byte) error
UnmarshalJSON implements the json.Unmarshaler interface
type AuditEvent ¶ added in v0.43.0
type AuditEvent struct { ID int `json:"id"` AuthorID int `json:"author_id"` EntityID int `json:"entity_id"` EntityType string `json:"entity_type"` Details AuditEventDetails `json:"details"` CreatedAt *time.Time `json:"created_at"` }
AuditEvent represents an audit event for a group, a project or the instance.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
type AuditEventDetails ¶ added in v0.43.0
type AuditEventDetails struct { With string `json:"with"` Add string `json:"add"` As string `json:"as"` Change string `json:"change"` From string `json:"from"` To string `json:"to"` Remove string `json:"remove"` CustomMessage string `json:"custom_message"` AuthorName string `json:"author_name"` TargetID interface{} `json:"target_id"` TargetType string `json:"target_type"` TargetDetails string `json:"target_details"` IPAddress string `json:"ip_address"` EntityPath string `json:"entity_path"` FailedLogin string `json:"failed_login"` }
AuditEventDetails represents the details portion of an audit event for a group, a project or the instance. The exact fields that are returned for an audit event depend on the action being recorded.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
type AuditEventsService ¶ added in v0.43.0
type AuditEventsService struct {
// contains filtered or unexported fields
}
AuditEventsService handles communication with the project/group/instance audit event related methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) GetGroupAuditEvent ¶ added in v0.43.0
func (s *AuditEventsService) GetGroupAuditEvent(gid interface{}, event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
GetGroupAuditEvent gets a specific group audit event.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) GetInstanceAuditEvent ¶ added in v0.50.4
func (s *AuditEventsService) GetInstanceAuditEvent(event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
GetInstanceAuditEvent gets a specific instance audit event. Authentication as Administrator is required.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) GetProjectAuditEvent ¶ added in v0.43.0
func (s *AuditEventsService) GetProjectAuditEvent(pid interface{}, event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error)
GetProjectAuditEvent gets a specific project audit event.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) ListGroupAuditEvents ¶ added in v0.43.0
func (s *AuditEventsService) ListGroupAuditEvents(gid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
ListGroupAuditEvents gets a list of audit events for the specified group viewable by the authenticated user.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) ListInstanceAuditEvents ¶ added in v0.50.4
func (s *AuditEventsService) ListInstanceAuditEvents(opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
ListInstanceAuditEvents gets a list of audit events for instance. Authentication as Administrator is required.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
func (*AuditEventsService) ListProjectAuditEvents ¶ added in v0.43.0
func (s *AuditEventsService) ListProjectAuditEvents(pid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error)
ListProjectAuditEvents gets a list of audit events for the specified project viewable by the authenticated user.
GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html
type AuthType ¶ added in v0.52.0
type AuthType int
AuthType represents an authentication type within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/api/
List of available authentication types.
GitLab API docs: https://docs.gitlab.com/ce/api/
type Author ¶
type Author struct { ID int `json:"id"` Username string `json:"username"` Email string `json:"email"` Name string `json:"name"` State string `json:"state"` Blocked bool `json:"blocked"` CreatedAt *time.Time `json:"created_at"` }
Author represents a GitLab commit author
type AvailabilityValue ¶ added in v0.50.4
type AvailabilityValue string
AvailabilityValue represents an availability value within GitLab.
const ( NotSet AvailabilityValue = "not_set" Busy AvailabilityValue = "busy" )
List of available availability values.
Undocummented, see code at: https://gitlab.com/gitlab-org/gitlab-foss/-/blob/master/app/models/user_status.rb#L22
func Availability ¶ added in v0.50.4
func Availability(v AvailabilityValue) *AvailabilityValue
Availability is a helper routine that allocates a new AvailabilityValue to store v and returns a pointer to it.
type Avatar ¶ added in v0.50.1
type Avatar struct {
AvatarURL string `json:"avatar_url"`
}
Avatar represents a GitLab avatar.
GitLab API docs: https://docs.gitlab.com/ee/api/avatar.html
type AvatarRequestsService ¶ added in v0.50.1
type AvatarRequestsService struct {
// contains filtered or unexported fields
}
AvatarRequestsService handles communication with the avatar related methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ee/api/avatar.html
func (*AvatarRequestsService) GetAvatar ¶ added in v0.50.1
func (s *AvatarRequestsService) GetAvatar(opt *GetAvatarOptions, options ...RequestOptionFunc) (*Avatar, *Response, error)
GetAvatar gets the avatar URL for a user with the given email address.
GitLab API docs: https://docs.gitlab.com/ee/api/avatar.html#get-a-single-avatar-url
type AwardEmoji ¶ added in v0.8.0
type AwardEmoji struct { ID int `json:"id"` Name string `json:"name"` User struct { Name string `json:"name"` Username string `json:"username"` ID int `json:"id"` State string `json:"state"` AvatarURL string `json:"avatar_url"` WebURL string `json:"web_url"` } `json:"user"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` AwardableID int `json:"awardable_id"` AwardableType string `json:"awardable_type"` }
AwardEmoji represents a GitLab Award Emoji.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html
type AwardEmojiService ¶ added in v0.8.0
type AwardEmojiService struct {
// contains filtered or unexported fields
}
AwardEmojiService handles communication with the emoji awards related methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html
func (*AwardEmojiService) CreateIssueAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) CreateIssueAwardEmoji(pid interface{}, issueIID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateIssueAwardEmoji get an award emoji from issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji
func (*AwardEmojiService) CreateIssuesAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) CreateIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateIssuesAwardEmojiOnNote gets an award emoji on a note from an issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) CreateMergeRequestAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) CreateMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateMergeRequestAwardEmoji get an award emoji from merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji
func (*AwardEmojiService) CreateMergeRequestAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) CreateMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateMergeRequestAwardEmojiOnNote gets an award emoji on a note from a merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) CreateSnippetAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) CreateSnippetAwardEmoji(pid interface{}, snippetID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateSnippetAwardEmoji get an award emoji from snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji
func (*AwardEmojiService) CreateSnippetAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) CreateSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
CreateSnippetAwardEmojiOnNote gets an award emoji on a note from a snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) DeleteIssueAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteIssueAwardEmoji delete award emoji on an issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji-on-a-note
func (*AwardEmojiService) DeleteIssuesAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteIssuesAwardEmojiOnNote deletes an award emoji on a note from an issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) DeleteMergeRequestAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteMergeRequestAwardEmoji delete award emoji on a merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji-on-a-note
func (*AwardEmojiService) DeleteMergeRequestAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteMergeRequestAwardEmojiOnNote deletes an award emoji on a note from a merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) DeleteSnippetAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteSnippetAwardEmoji delete award emoji on a snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-a-new-emoji-on-a-note
func (*AwardEmojiService) DeleteSnippetAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) DeleteSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error)
DeleteSnippetAwardEmojiOnNote deletes an award emoji on a note from a snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) GetIssueAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) GetIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetIssueAwardEmoji get an award emoji from issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) GetIssuesAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) GetIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetIssuesAwardEmojiOnNote gets an award emoji on a note from an issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) GetMergeRequestAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) GetMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetMergeRequestAwardEmoji get an award emoji from merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) GetMergeRequestAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) GetMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetMergeRequestAwardEmojiOnNote gets an award emoji on a note from a merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) GetSnippetAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) GetSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetSnippetAwardEmoji get an award emoji from snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) GetSnippetAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) GetSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error)
GetSnippetAwardEmojiOnNote gets an award emoji on a note from a snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) ListIssueAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) ListIssueAwardEmoji(pid interface{}, issueIID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListIssueAwardEmoji gets a list of all award emoji on the issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) ListIssuesAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) ListIssuesAwardEmojiOnNote(pid interface{}, issueID, noteID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListIssuesAwardEmojiOnNote gets a list of all award emoji on a note from the issue.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) ListMergeRequestAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) ListMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListMergeRequestAwardEmoji gets a list of all award emoji on the merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) ListMergeRequestAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) ListMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, noteID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListMergeRequestAwardEmojiOnNote gets a list of all award emoji on a note from the merge request.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
func (*AwardEmojiService) ListSnippetAwardEmoji ¶ added in v0.8.0
func (s *AwardEmojiService) ListSnippetAwardEmoji(pid interface{}, snippetID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListSnippetAwardEmoji gets a list of all award emoji on the snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#list-an-awardable-39-s-award-emoji
func (*AwardEmojiService) ListSnippetAwardEmojiOnNote ¶ added in v0.8.0
func (s *AwardEmojiService) ListSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error)
ListSnippetAwardEmojiOnNote gets a list of all award emoji on a note from the snippet.
GitLab API docs: https://docs.gitlab.com/ce/api/award_emoji.html#award-emoji-on-notes
type BaseSystemEvent ¶ added in v0.24.0
type BaseSystemEvent struct { EventName string `json:"event_name"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
BaseSystemEvent contains system hook's common properties.
GitLab API docs: https://docs.gitlab.com/ee/system_hooks/system_hooks.html
type BasicProject ¶ added in v0.50.1
type BasicProject struct { ID int `json:"id"` Description string `json:"description"` Name string `json:"name"` NameWithNamespace string `json:"name_with_namespace"` Path string `json:"path"` PathWithNamespace string `json:"path_with_namespace"` CreatedAt *time.Time `json:"created_at"` }
BasicProject included in other service responses (such as todos).
type BasicUser ¶ added in v0.21.0
type BasicUser struct { ID int `json:"id"` Username string `json:"username"` Name string `json:"name"` State string `json:"state"` CreatedAt *time.Time `json:"created_at"` AvatarURL string `json:"avatar_url"` WebURL string `json:"web_url"` }
BasicUser included in other service responses (such as merge requests, pipelines, etc).
type BillableGroupMember ¶ added in v0.44.0
type BillableGroupMember struct { ID int `json:"id"` Username string `json:"username"` Name string `json:"name"` State string `json:"state"` AvatarURL string `json:"avatar_url"` WebURL string `json:"web_url"` Email string `json:"email"` LastActivityOn ISOTime `json:"last_activity_on"` }
BillableGroupMember represents a GitLab billable group member.
GitLab API docs: https://docs.gitlab.com/ee/api/members.html#list-all-billable-members-of-a-group
type Blob ¶ added in v0.9.0
type Blob struct { Basename string `json:"basename"` Data string `json:"data"` Filename string `json:"filename"` ID int `json:"id"` Ref string `json:"ref"` Startline int `json:"startline"` ProjectID int `json:"project_id"` }
Blob represents a single blob.
type BoardList ¶ added in v0.8.0
type BoardList struct { ID int `json:"id"` Assignee *struct { ID int `json:"id"` Name string `json:"name"` Username string `json:"username"` } `json:"assignee"` Iteration *ProjectIteration `json:"iteration"` Label *Label `json:"label"` MaxIssueCount int `json:"max_issue_count"` MaxIssueWeight int `json:"max_issue_weight"` Milestone *Milestone `json:"milestone"` Position int `json:"position"` }
BoardList represents a GitLab board list.
GitLab API docs: https://docs.gitlab.com/ce/api/boards.html
type BoolValue ¶ added in v0.11.0
type BoolValue bool
BoolValue is a boolean value with advanced json unmarshaling features.
func (*BoolValue) UnmarshalJSON ¶ added in v0.11.0
UnmarshalJSON allows 1, 0, "true", and "false" to be considered as boolean values Needed for: https://gitlab.com/gitlab-org/gitlab-ce/issues/50122 https://gitlab.com/gitlab-org/gitlab/-/issues/233941 https://github.com/gitlabhq/terraform-provider-gitlab/issues/348
type Branch ¶
type Branch struct { Commit *Commit `json:"commit"` Name string `json:"name"` Protected bool `json:"protected"` Merged bool `json:"merged"` Default bool `json:"default"` CanPush bool `json:"can_push"` DevelopersCanPush bool `json:"developers_can_push"` DevelopersCanMerge bool `json:"developers_can_merge"` WebURL string `json:"web_url"` }
Branch represents a GitLab branch.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html
type BranchAccessDescription ¶ added in v0.7.4
type BranchAccessDescription struct { AccessLevel AccessLevelValue `json:"access_level"` AccessLevelDescription string `json:"access_level_description"` UserID int `json:"user_id"` GroupID int `json:"group_id"` }
BranchAccessDescription represents the access description for a protected branch.
GitLab API docs: https://docs.gitlab.com/ce/api/protected_branches.html#protected-branches-api
type BranchPermissionOptions ¶ added in v0.44.0
type BranchPermissionOptions struct { UserID *int `url:"user_id,omitempty" json:"user_id,omitempty"` GroupID *int `url:"group_id,omitempty" json:"group_id,omitempty"` DeployKeyID *int `url:"deploy_key_id,omitempty" json:"deploy_key_id,omitempty"` AccessLevel *AccessLevelValue `url:"access_level,omitempty" json:"access_level,omitempty"` }
BranchPermissionOptions represents a branch permission option.
GitLab API docs: https://docs.gitlab.com/ce/api/protected_branches.html#protect-repository-branches
type BranchesService ¶
type BranchesService struct {
// contains filtered or unexported fields
}
BranchesService handles communication with the branch related methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html
func (*BranchesService) CreateBranch ¶
func (s *BranchesService) CreateBranch(pid interface{}, opt *CreateBranchOptions, options ...RequestOptionFunc) (*Branch, *Response, error)
CreateBranch creates branch from commit SHA or existing branch.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#create-repository-branch
func (*BranchesService) DeleteBranch ¶
func (s *BranchesService) DeleteBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Response, error)
DeleteBranch deletes an existing branch.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#delete-repository-branch
func (*BranchesService) DeleteMergedBranches ¶ added in v0.6.0
func (s *BranchesService) DeleteMergedBranches(pid interface{}, options ...RequestOptionFunc) (*Response, error)
DeleteMergedBranches deletes all branches that are merged into the project's default branch.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#delete-merged-branches
func (*BranchesService) GetBranch ¶
func (s *BranchesService) GetBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Branch, *Response, error)
GetBranch gets a single project repository branch.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#get-single-repository-branch
func (*BranchesService) ListBranches ¶
func (s *BranchesService) ListBranches(pid interface{}, opts *ListBranchesOptions, options ...RequestOptionFunc) ([]*Branch, *Response, error)
ListBranches gets a list of repository branches from a project, sorted by name alphabetically.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#list-repository-branches
func (*BranchesService) ProtectBranch ¶
func (s *BranchesService) ProtectBranch(pid interface{}, branch string, opts *ProtectBranchOptions, options ...RequestOptionFunc) (*Branch, *Response, error)
ProtectBranch protects a single project repository branch. This is an idempotent function, protecting an already protected repository branch still returns a 200 OK status code.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#protect-repository-branch
func (*BranchesService) UnprotectBranch ¶
func (s *BranchesService) UnprotectBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Branch, *Response, error)
UnprotectBranch unprotects a single project repository branch. This is an idempotent function, unprotecting an already unprotected repository branch still returns a 200 OK status code.
GitLab API docs: https://docs.gitlab.com/ce/api/branches.html#unprotect-repository-branch
type Bridge ¶ added in v0.40.0
type Bridge struct { Commit *Commit `json:"commit"` Coverage float64 `json:"coverage"` AllowFailure bool `json:"allow_failure"` CreatedAt *time.Time `json:"created_at"` StartedAt *time.Time `json:"started_at"` FinishedAt *time.Time `json:"finished_at"` Duration float64 `json:"duration"` ID int `json:"id"` Name string `json:"name"` Pipeline PipelineInfo `json:"pipeline"` Ref string `json:"ref"` Stage string `json:"stage"` Status string `json:"status"` Tag bool `json:"tag"` WebURL string `json:"web_url"` User *User `json:"user"` DownstreamPipeline *PipelineInfo `json:"downstream_pipeline"` }
Bridge represents a pipeline bridge.
GitLab API docs: https://docs.gitlab.com/ce/api/jobs.html#list-pipeline-bridges
type BroadcastMessage ¶ added in v0.8.1
type BroadcastMessage struct { Message string `json:"message"` StartsAt *time.Time `json:"starts_at"` EndsAt *time.Time `json:"ends_at"` Color string `json:"color"` Font string `json:"font"` ID int `json:"id"` Active bool `json:"active"` }
BroadcastMessage represents a GitLab issue board.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#get-all-broadcast-messages
type BroadcastMessagesService ¶ added in v0.8.1
type BroadcastMessagesService struct {
// contains filtered or unexported fields
}
BroadcastMessagesService handles communication with the broadcast messages methods of the GitLab API.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html
func (*BroadcastMessagesService) CreateBroadcastMessage ¶ added in v0.8.1
func (s *BroadcastMessagesService) CreateBroadcastMessage(opt *CreateBroadcastMessageOptions, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error)
CreateBroadcastMessage creates a message to broadcast.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#create-a-broadcast-message
func (*BroadcastMessagesService) DeleteBroadcastMessage ¶ added in v0.8.1
func (s *BroadcastMessagesService) DeleteBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*Response, error)
DeleteBroadcastMessage deletes a broadcasted message.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#delete-a-broadcast-message
func (*BroadcastMessagesService) GetBroadcastMessage ¶ added in v0.8.1
func (s *BroadcastMessagesService) GetBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error)
GetBroadcastMessage gets a single broadcast message.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#get-a-specific-broadcast-message
func (*BroadcastMessagesService) ListBroadcastMessages ¶ added in v0.8.1
func (s *BroadcastMessagesService) ListBroadcastMessages(opt *ListBroadcastMessagesOptions, options ...RequestOptionFunc) ([]*BroadcastMessage, *Response, error)
ListBroadcastMessages gets a list of all broadcasted messages.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#get-all-broadcast-messages
func (*BroadcastMessagesService) UpdateBroadcastMessage ¶ added in v0.8.1
func (s *BroadcastMessagesService) UpdateBroadcastMessage(broadcast int, opt *UpdateBroadcastMessageOptions, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error)
UpdateBroadcastMessage update a broadcasted message.
GitLab API docs: https://docs.gitlab.com/ce/api/broadcast_messages.html#update-a-broadcast-message
type BuildEvent ¶ added in v0.4.0
type BuildEvent struct { ObjectKind string `json:"object_kind"` Ref string `json:"ref"` Tag bool `json:"tag"` BeforeSHA string `json:"before_sha"` SHA string `json:"sha"` BuildID int `json:"build_id"` BuildName string `json:"build_name"` BuildStage string `json:"build_stage"` BuildStatus string `json:"build_status"` BuildCreatedAt string `json:"build_created_at"` BuildStartedAt string `json:"build_started_at"` BuildFinishedAt string `json:"build_finished_at"` BuildDuration float64 `json:"build_duration"` BuildAllowFailure bool `json:"build_allow_failure"` ProjectID int `json:"project_id"` ProjectName string `json:"project_name"` User *EventUser `json:"user"` Commit struct { ID int `json:"id"` SHA string `json:"sha"` Message string `json:"message"` AuthorName string `json:"author_name"` AuthorEmail string `json:"author_email"` Status string `json:"status"` Duration int `json:"duration"` StartedAt string `json:"started_at"` FinishedAt string `json:"finished_at"` } `json:"commit"` Repository *Repository `json:"repository"` }
BuildEvent represents a build event
GitLab API docs: https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#build-events
type BuildStateValue ¶ added in v0.8.0
type BuildStateValue string
BuildStateValue represents a GitLab build state.
const ( Pending BuildStateValue = "pending" Created BuildStateValue = "created" Running BuildStateValue = "running" Success BuildStateValue = "success" Failed BuildStateValue = "failed" Canceled BuildStateValue = "canceled" Skipped BuildStateValue = "skipped" Manual BuildStateValue = "manual" )
These constants represent all valid build states.
func BuildState ¶
func BuildState(v BuildStateValue) *BuildStateValue
BuildState is a helper routine that allocates a new BuildStateValue to store v and returns a pointer to it.