Documentation
¶
Overview ¶
Code generated by ./tools/codegen; DO NOT EDIT.
Index ¶
- Variables
- func Ptr[T any](v T) *T
- type AcceptMergeRequestOptions
- type AccessControlValue
- type AccessLevelDetails
- type AccessLevelValue
- type AccessRequest
- type AccessRequestsService
- type AddChangelogOptions
- 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 AddGroupSAMLLinkOptions
- type AddGroupToJobTokenAllowlistOptions
- type AddHookOptions
- type AddIssueDiscussionNoteOptions
- type AddLicenseOptions
- type AddManagedLicenseOptions
- type AddMergeRequestDiscussionNoteOptions
- type AddMergeRequestToMergeTrainOptions
- 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 Appearance
- type AppearanceService
- type Application
- type ApplicationsService
- type ApproveAccessRequestOptions
- type ApproveMergeRequestOptions
- type ApproveOrRejectProjectDeploymentOptions
- type ApproverIDsValue
- type ArchiveOptions
- type AssigneeIDValue
- type AuditEvent
- type AuditEventDetails
- type AuditEventsService
- type AuthType
- type Author
- type AvailabilityValue
- type Avatar
- type AvatarRequestsService
- type AwardEmoji
- type AwardEmojiService
- type BadgeKind
- type BaseSystemEvent
- type BasicMergeRequest
- type BasicProject
- type BasicUser
- type BillableGroupMember
- type BillableUserMembership
- type BitbucketCloudImport
- type BitbucketServerImport
- type Blob
- type BlockingMergeRequest
- type BoardList
- type BoolValue
- type Branch
- type BranchAccessDescription
- type BranchPermissionOptions
- type BranchProtectionDefaults
- type BranchProtectionDefaultsOptions
- type BranchesService
- type Bridge
- type BroadcastMessage
- type BroadcastMessagesService
- type BuildEvent
- type BuildStateValue
- type BulkImportStartMigrationConfiguration
- type BulkImportStartMigrationEntity
- type BulkImportStartMigrationOptions
- type BulkImportStartMigrationResponse
- type BulkImportsService
- type BurndownChartEvent
- type CIPipelineVariablesMinimumOverrideRoleValue
- type CIYMLTemplate
- type CIYMLTemplateListItem
- type CIYMLTemplatesService
- type CancelGitHubProjectImportOptions
- type CancelledGitHubImport
- type ChangeAllowedApproversOptions
- type ChangeAppearanceOptions
- type ChangeApprovalConfigurationOptions
- type ChangeMergeRequestAllowedApproversOptions
- type ChangeMergeRequestApprovalConfigurationOptions
- type ChangePlanLimitOptions
- type ChangelogData
- type CherryPickCommitOptions
- type Client
- type ClientOptionFunc
- type ClusterAgentsService
- type CommentEventAction
- type Commit
- type CommitActionOptions
- type CommitComment
- type CommitCommentEvent
- type CommitRef
- type CommitStats
- type CommitStatus
- type CommitsService
- type Compare
- type CompareOptions
- type CompoundMetrics
- type ConfigProject
- type ContainerExpirationPolicy
- type ContainerExpirationPolicyAttributes
- type ContainerRegistryService
- type ContainerRegistryStatus
- type ContributionEvent
- type Contributor
- type CreateAgentTokenOptions
- type CreateApplicationOptions
- type CreateAwardEmojiOptions
- type CreateBranchOptions
- type CreateBroadcastMessageOptions
- type CreateCommitDiscussionOptions
- type CreateCommitOptions
- type CreateDependencyListExportOptions
- type CreateDraftNoteOptions
- type CreateEnvironmentOptions
- type CreateEpicDiscussionOptions
- type CreateEpicNoteOptions
- type CreateEpicOptions
- type CreateExternalStatusCheckOptions
- type CreateFileOptions
- type CreateFreezePeriodOptions
- type CreateGeoNodesOptions
- type CreateGroupAccessTokenOptions
- type CreateGroupDeployTokenOptions
- type CreateGroupIssueBoardListOptions
- type CreateGroupIssueBoardOptions
- type CreateGroupLabelOptions
- type CreateGroupMilestoneOptions
- type CreateGroupOptions
- type CreateGroupSSHCertificateOptions
- type CreateGroupVariableOptions
- type CreateGroupWikiPageOptions
- type CreateImpersonationTokenOptions
- type CreateInstanceVariableOptions
- type CreateIssueBoardListOptions
- type CreateIssueBoardOptions
- type CreateIssueDiscussionOptions
- type CreateIssueLinkOptions
- type CreateIssueNoteOptions
- type CreateIssueOptions
- type CreateLabelOptions
- type CreateMemberRoleOptions
- type CreateMergeRequestApprovalRuleOptions
- type CreateMergeRequestDependencyOptions
- type CreateMergeRequestDiscussionOptions
- type CreateMergeRequestNoteOptions
- type CreateMergeRequestOptions
- type CreateMilestoneOptions
- type CreatePagesDomainOptions
- type CreatePersonalAccessTokenForCurrentUserOptions
- type CreatePersonalAccessTokenOptions
- type CreatePipelineOptions
- type CreatePipelineScheduleOptions
- type CreatePipelineScheduleVariableOptions
- type CreateProjectAccessTokenOptions
- type CreateProjectDeployTokenOptions
- type CreateProjectDeploymentOptions
- type CreateProjectFeatureFlagOptions
- type CreateProjectForUserOptions
- type CreateProjectLevelRuleOptions
- type CreateProjectOptions
- type CreateProjectSnippetOptions
- type CreateProjectVariableOptions
- type CreateReleaseLinkOptions
- type CreateReleaseNoteOptions
- type CreateReleaseOptions
- type CreateServiceAccountOptions
- type CreateServiceAccountPersonalAccessTokenOptions
- type CreateServiceAccountUserOptions
- type CreateSnippetDiscussionOptions
- type CreateSnippetFileOptions
- type CreateSnippetNoteOptions
- type CreateSnippetOptions
- type CreateTagOptions
- type CreateTopicOptions
- type CreateUserOptions
- type CreateUserRunnerOptions
- type CreateVulnerabilityOptions
- type CreateWikiPageOptions
- type CustomAttribute
- type CustomAttributesService
- type CustomIssueTrackerService
- type CustomIssueTrackerServiceProperties
- type DORAMetric
- type DORAMetricInterval
- type DORAMetricType
- type DORAMetricsService
- type DataDogService
- type DataDogServiceProperties
- type DefaultBranchProtectionDefaultsOptions
- type DeleteFileOptions
- type DeleteGroupLDAPLinkWithCNOrFilterOptions
- type DeleteGroupLabelOptions
- type DeleteGroupOptions
- type DeleteLabelOptions
- type DeleteProjectOptions
- type DeleteRegisteredRunnerOptions
- type DeleteRegistryRepositoryTagsOptions
- type DeleteServiceAccountOptions
- type DependencyListExport
- type DependencyListExportService
- type DeployKeyProject
- type DeployKeysService
- type DeployToken
- type DeployTokensService
- type Deployment
- type DeploymentApprovalStatus
- type DeploymentEvent
- type DeploymentMergeRequestsService
- type DeploymentStatusValue
- type DeploymentsService
- type DetailedStatus
- type Diff
- type DiscordService
- type DiscordServiceProperties
- type Discussion
- type DiscussionsService
- type DockerfileTemplate
- type DockerfileTemplateListItem
- type DockerfileTemplatesService
- type DownloadArtifactsFileOptions
- type DraftNote
- type DraftNotesService
- type DroneCIService
- type DroneCIServiceProperties
- type EditAnExistingResourceGroupOptions
- 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 EmailsOnPushService
- type EmailsOnPushServiceProperties
- type EnableDisableErrorTrackingOptions
- type EnableProjectRunnerOptions
- type Environment
- type EnvironmentAccessDescription
- type EnvironmentAccessOptions
- type EnvironmentApprovalRule
- type EnvironmentApprovalRuleOptions
- type EnvironmentsService
- type Epic
- type EpicAuthor
- type EpicIssueAssignment
- type EpicIssuesService
- type EpicsService
- type ErrorResponse
- type ErrorTrackingClientKey
- type ErrorTrackingService
- type ErrorTrackingSettings
- type EventLabel
- type EventTargetTypeValue
- type EventType
- type EventTypeValue
- type EventUser
- type EventsService
- type ExploreSnippetsOptions
- type ExportStatus
- type ExternalStatusChecksService
- type ExternalWikiService
- type ExternalWikiServiceProperties
- type Feature
- type FeatureFlagEvent
- type FeatureFlagStrategyOptions
- type FeaturesService
- type File
- type FileActionValue
- type FileBlameRange
- type FileInfo
- type Finding
- type ForkParent
- type ForkProjectOptions
- type FreezePeriod
- type FreezePeriodsService
- type GPGKey
- type GPGSignature
- type Gate
- type GenerateChangelogDataOptions
- type GenericPackageSelectValue
- type GenericPackageStatusValue
- type GenericPackagesFile
- type GenericPackagesService
- type GeoNode
- type GeoNodeLinks
- type GeoNodeStatus
- type GeoNodesService
- type GetAllImpersonationTokensOptions
- type GetAvatarOptions
- type GetCommitCommentsOptions
- type GetCommitDiffOptions
- type GetCommitOptions
- type GetCommitRefsOptions
- type GetCommitStatusesOptions
- type GetCurrentPlanLimitsOptions
- type GetDORAMetricsOptions
- type GetFileBlameOptions
- type GetFileMetaDataOptions
- type GetFileOptions
- type GetGroupIssuesStatisticsOptions
- type GetGroupMilestoneBurndownChartEventsOptions
- type GetGroupMilestoneIssuesOptions
- type GetGroupMilestoneMergeRequestsOptions
- type GetGroupOptions
- type GetGroupVariableOptions
- type GetGroupWikiPageOptions
- type GetIssueBoardListsOptions
- type GetIssuesClosedOnMergeOptions
- type GetIssuesStatisticsOptions
- type GetJobTokenAllowlistGroupsOptions
- type GetJobTokenInboundAllowListOptions
- type GetJobTokensJobOptions
- type GetKeyByFingerprintOptions
- type GetLatestPipelineOptions
- type GetLicenseTemplateOptions
- type GetMergeRequestChangesOptions
- type GetMergeRequestCommitsOptions
- type GetMergeRequestDiffVersionsOptions
- type GetMergeRequestsOptions
- type GetMilestoneIssuesOptions
- type GetMilestoneMergeRequestsOptions
- type GetProjectApprovalRulesListsOptions
- type GetProjectIssuesStatisticsOptions
- type GetProjectOptions
- type GetProjectVariableOptions
- type GetRawFileOptions
- type GetSingleMergeRequestDiffVersionOptions
- type GetSingleRegistryRepositoryOptions
- type GetUserActivitiesOptions
- type GetUserMembershipOptions
- type GetUsersOptions
- type GetWikiPageOptions
- type GitHubImport
- type GitIgnoreTemplate
- type GitIgnoreTemplateListItem
- type GitIgnoreTemplatesService
- type GithubService
- type GithubServiceProperties
- type Group
- type GroupAccess
- type GroupAccessLevel
- type GroupAccessToken
- type GroupAccessTokensService
- type GroupAvatar
- type GroupBadge
- type GroupBadgePreviewOptions
- type GroupBadgesService
- type GroupCluster
- type GroupClustersService
- type GroupEnvironmentAccessDescription
- type GroupEnvironmentAccessOptions
- type GroupEnvironmentApprovalRule
- type GroupEnvironmentApprovalRuleOptions
- type GroupEpicBoard
- type GroupEpicBoardsService
- type GroupHook
- type GroupHookTrigger
- type GroupImportExportService
- type GroupImportFileOptions
- type GroupIssueBoard
- type GroupIssueBoardsService
- type GroupIteration
- type GroupIterationsService
- type GroupLabel
- type GroupLabelsService
- type GroupMember
- type GroupMemberSAMLIdentity
- type GroupMembersService
- type GroupMilestone
- type GroupMilestonesService
- type GroupPackage
- type GroupProtectedEnvironment
- type GroupProtectedEnvironmentsService
- type GroupPushRules
- type GroupReleasesService
- type GroupRepositoryStorageMove
- type GroupRepositoryStorageMoveService
- type GroupResourceAccessTokenEvent
- type GroupSCIMIdentity
- type GroupSCIMService
- type GroupSSHCertificate
- type GroupSSHCertificatesService
- type GroupSecuritySettings
- type GroupSecuritySettingsService
- type GroupServiceAccount
- type GroupSystemEvent
- type GroupVariable
- type GroupVariablesService
- type GroupWiki
- type GroupWikisService
- type GroupsService
- type HarborService
- type HarborServiceProperties
- type Hook
- type HookCustomHeader
- type HookEvent
- type ISOTime
- type ImpersonationToken
- type ImportFileOptions
- type ImportGitHubGistsIntoGitLabSnippetsOptions
- type ImportRepositoryFromBitbucketCloudOptions
- type ImportRepositoryFromBitbucketServerOptions
- type ImportRepositoryFromGitHubOptions
- type ImportService
- type ImportStatus
- type Include
- type InstanceCluster
- type InstanceClustersService
- type InstanceDeployKey
- type InstanceVariable
- type InstanceVariablesService
- type InvitesOptions
- type InvitesResult
- type InvitesService
- type Issue
- type IssueAssignee
- type IssueAuthor
- type IssueBoard
- type IssueBoardsService
- type IssueCloser
- type IssueCommentEvent
- type IssueEvent
- type IssueLink
- type IssueLinks
- type IssueLinksService
- type IssueReferences
- type IssueRelation
- type IssuesService
- type IssuesStatistics
- type IssuesStatisticsService
- type Iteration
- type IterationEvent
- type JenkinsCIService
- type JenkinsCIServiceProperties
- type JiraService
- type JiraServiceProperties
- type Job
- type JobEvent
- type JobStats
- type JobTokenAccessSettings
- type JobTokenAllowlistItem
- type JobTokenInboundAllowItem
- type JobTokenInboundAllowOptions
- type JobTokenScopeService
- type JobVariableOptions
- type JobsService
- type Key
- type KeySystemEvent
- type KeysService
- type LDAPGroupLink
- type Label
- type LabelDetails
- type LabelEvent
- type LabelOptions
- type Labels
- type LabelsService
- type LastPipeline
- type License
- type LicenseApprovalStatusValue
- type LicenseService
- type LicenseTemplate
- type LicenseTemplatesService
- type LinePosition
- type LinePositionOptions
- type LineRange
- type LineRangeOptions
- type LinkTypeValue
- type Links
- type LintOptions
- type LintResult
- type ListAccessRequestsOptions
- type ListAgentTokensOptions
- type ListAgentsOptions
- type ListAllSnippetsOptions
- 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 ListDockerfileTemplatesOptions
- type ListDraftNotesOptions
- type ListEmailsForUserOptions
- type ListEnvironmentsOptions
- type ListEpicNotesOptions
- type ListFreezePeriodsOptions
- type ListGeoNodesOptions
- type ListGroupAccessTokensOptions
- type ListGroupBadgesOptions
- type ListGroupDeployTokensOptions
- type ListGroupEpicBoardsOptions
- type ListGroupEpicDiscussionsOptions
- type ListGroupEpicsOptions
- type ListGroupHooksOptions
- type ListGroupIssueBoardListsOptions
- type ListGroupIssueBoardsOptions
- type ListGroupIssuesOptions
- type ListGroupIterationsOptions
- type ListGroupLabelsOptions
- type ListGroupMembersOptions
- type ListGroupMergeRequestsOptions
- type ListGroupMilestonesOptions
- type ListGroupPackagesOptions
- type ListGroupProjectsOptions
- type ListGroupProtectedEnvironmentsOptions
- type ListGroupReleasesOptions
- type ListGroupVariablesOptions
- type ListGroupWikisOptions
- type ListGroupsOptions
- type ListGroupsRunnersOptions
- type ListInstanceDeployKeysOptions
- type ListInstanceVariablesOptions
- type ListIssueBoardsOptions
- type ListIssueDiscussionsOptions
- type ListIssueNotesOptions
- type ListIssuesOptions
- type ListIterationEventsOptions
- type ListJobsOptions
- type ListLabelEventsOptions
- type ListLabelsOptions
- type ListLicenseTemplatesOptions
- type ListMembershipsForBillableGroupMemberOptions
- type ListMergeRequestDiffsOptions
- type ListMergeRequestDiscussionsOptions
- type ListMergeRequestNotesOptions
- type ListMergeRequestsClosingIssueOptions
- type ListMergeRequestsOptions
- type ListMergeRequestsRelatedToIssueOptions
- type ListMergeTrainsOptions
- type ListMilestoneEventsOptions
- type ListMilestonesOptions
- type ListNamespacesOptions
- type ListOptions
- type ListPackageFilesOptions
- type ListPagesDomainsOptions
- type ListPendingInvitationsOptions
- type ListPersonalAccessTokensOptions
- type ListPipelineSchedulesOptions
- type ListPipelineTriggersOptions
- type ListPipelinesTriggeredByScheduleOptions
- type ListProjectAccessTokensOptions
- type ListProjectBadgesOptions
- type ListProjectDeployKeysOptions
- type ListProjectDeployTokensOptions
- type ListProjectDeploymentsOptions
- type ListProjectFeatureFlagOptions
- type ListProjectGroupOptions
- type ListProjectHooksOptions
- type ListProjectInvidedGroupOptions
- type ListProjectIssuesOptions
- type ListProjectIterationsOptions
- type ListProjectMembersOptions
- type ListProjectMergeRequestsOptions
- type ListProjectMirrorOptions
- type ListProjectPackagesOptions
- type ListProjectPipelinesOptions
- type ListProjectRunnersOptions
- type ListProjectSecureFilesOptions
- type ListProjectSnippetsOptions
- type ListProjectTemplatesOptions
- type ListProjectUserOptions
- type ListProjectVariablesOptions
- type ListProjectVisibleEventsOptions
- 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 ListSSHKeysOptions
- type ListServiceAccountsOptions
- type ListSnippetDiscussionsOptions
- type ListSnippetNotesOptions
- type ListSnippetsOptions
- type ListStateEventsOptions
- type ListSubGroupsOptions
- type ListTagsOptions
- type ListTemplatesOptions
- type ListTodosOptions
- type ListTopicsOptions
- type ListTreeOptions
- type ListUsersOptions
- type ListWeightEventsOptions
- type ListWikisOptions
- type ManagedLicense
- type ManagedLicensesService
- type ManagementProject
- type Markdown
- type MarkdownService
- type MattermostService
- type MattermostServiceProperties
- type MattermostSlashCommandsProperties
- type MattermostSlashCommandsService
- type MemberEvent
- type MemberRole
- type MemberRolesService
- type MergeBaseOptions
- type MergeCommentEvent
- type MergeEvent
- type MergeEventChanges
- type MergeEventChangesBool
- type MergeEventChangesInt
- type MergeEventChangesString
- type MergeEventObjectAttributes
- type MergeEventProject
- type MergeMethodValue
- type MergeParams
- type MergeRequest
- type MergeRequestApprovalRule
- type MergeRequestApprovalState
- type MergeRequestApprovals
- type MergeRequestApprovalsService
- type MergeRequestApproverGroup
- type MergeRequestApproverUser
- type MergeRequestDependency
- type MergeRequestDiff
- type MergeRequestDiffVersion
- type MergeRequestReviewer
- type MergeRequestsService
- type MergeStatusCheck
- type MergeTrain
- type MergeTrainMergeRequest
- type MergeTrainsService
- type Metadata
- type MetadataService
- type MicrosoftTeamsService
- type MicrosoftTeamsServiceProperties
- type Milestone
- type MilestoneEvent
- type MilestonesService
- type MockClient
- func (m *MockClient) AccessRequests() AccessRequestsService
- func (m *MockClient) Appearance() AppearanceService
- func (m *MockClient) Applications() ApplicationsService
- func (m *MockClient) AuditEvents() AuditEventsService
- func (m *MockClient) Avatar() AvatarRequestsService
- func (m *MockClient) AwardEmoji() AwardEmojiService
- func (m *MockClient) Boards() IssueBoardsService
- func (m *MockClient) Branches() BranchesService
- func (m *MockClient) BroadcastMessage() BroadcastMessagesService
- func (m *MockClient) BulkImports() BulkImportsService
- func (m *MockClient) CIYMLTemplate() CIYMLTemplatesService
- func (m *MockClient) ClusterAgents() ClusterAgentsService
- func (m *MockClient) Commits() CommitsService
- func (m *MockClient) ContainerRegistry() ContainerRegistryService
- func (m *MockClient) CustomAttribute() CustomAttributesService
- func (m *MockClient) DORAMetrics() DORAMetricsService
- func (m *MockClient) DependencyListExport() DependencyListExportService
- func (m *MockClient) DeployKeys() DeployKeysService
- func (m *MockClient) DeployTokens() DeployTokensService
- func (m *MockClient) DeploymentMergeRequests() DeploymentMergeRequestsService
- func (m *MockClient) Deployments() DeploymentsService
- func (m *MockClient) Discussions() DiscussionsService
- func (m *MockClient) DockerfileTemplate() DockerfileTemplatesService
- func (m *MockClient) DraftNotes() DraftNotesService
- func (m *MockClient) Environments() EnvironmentsService
- func (m *MockClient) EpicIssues() EpicIssuesService
- func (m *MockClient) Epics() EpicsService
- func (m *MockClient) ErrorTracking() ErrorTrackingService
- func (m *MockClient) Events() EventsService
- func (m *MockClient) ExternalStatusChecks() ExternalStatusChecksService
- func (m *MockClient) Features() FeaturesService
- func (m *MockClient) FreezePeriods() FreezePeriodsService
- func (m *MockClient) GenericPackages() GenericPackagesService
- func (m *MockClient) GeoNodes() GeoNodesService
- func (m *MockClient) GitIgnoreTemplates() GitIgnoreTemplatesService
- func (m *MockClient) GroupAccessTokens() GroupAccessTokensService
- func (m *MockClient) GroupBadges() GroupBadgesService
- func (m *MockClient) GroupCluster() GroupClustersService
- func (m *MockClient) GroupEpicBoards() GroupEpicBoardsService
- func (m *MockClient) GroupImportExport() GroupImportExportService
- func (m *MockClient) GroupIssueBoards() GroupIssueBoardsService
- func (m *MockClient) GroupIterations() GroupIterationsService
- func (m *MockClient) GroupLabels() GroupLabelsService
- func (m *MockClient) GroupMembers() GroupMembersService
- func (m *MockClient) GroupMilestones() GroupMilestonesService
- func (m *MockClient) GroupProtectedEnvironments() GroupProtectedEnvironmentsService
- func (m *MockClient) GroupReleases() GroupReleasesService
- func (m *MockClient) GroupRepositoryStorageMove() GroupRepositoryStorageMoveService
- func (m *MockClient) GroupSCIM() GroupSCIMService
- func (m *MockClient) GroupSSHCertificates() GroupSSHCertificatesService
- func (m *MockClient) GroupSecuritySettings() GroupSecuritySettingsService
- func (m *MockClient) GroupVariables() GroupVariablesService
- func (m *MockClient) GroupWikis() GroupWikisService
- func (m *MockClient) Groups() GroupsService
- func (m *MockClient) Import() ImportService
- func (m *MockClient) InstanceCluster() InstanceClustersService
- func (m *MockClient) InstanceVariables() InstanceVariablesService
- func (m *MockClient) Invites() InvitesService
- func (m *MockClient) IssueLinks() IssueLinksService
- func (m *MockClient) Issues() IssuesService
- func (m *MockClient) IssuesStatistics() IssuesStatisticsService
- func (m *MockClient) JobTokenScope() JobTokenScopeService
- func (m *MockClient) Jobs() JobsService
- func (m *MockClient) Keys() KeysService
- func (m *MockClient) Labels() LabelsService
- func (m *MockClient) License() LicenseService
- func (m *MockClient) LicenseTemplates() LicenseTemplatesService
- func (m *MockClient) ManagedLicenses() ManagedLicensesService
- func (m *MockClient) Markdown() MarkdownService
- func (m *MockClient) MemberRolesService() MemberRolesService
- func (m *MockClient) MergeRequestApprovals() MergeRequestApprovalsService
- func (m *MockClient) MergeRequests() MergeRequestsService
- func (m *MockClient) MergeTrains() MergeTrainsService
- func (m *MockClient) Metadata() MetadataService
- func (m *MockClient) Milestones() MilestonesService
- func (m *MockClient) Namespaces() NamespacesService
- func (m *MockClient) Notes() NotesService
- func (m *MockClient) NotificationSettings() NotificationSettingsService
- func (m *MockClient) Packages() PackagesService
- func (m *MockClient) Pages() PagesService
- func (m *MockClient) PagesDomains() PagesDomainsService
- func (m *MockClient) PersonalAccessTokens() PersonalAccessTokensService
- func (m *MockClient) PipelineSchedules() PipelineSchedulesService
- func (m *MockClient) PipelineTriggers() PipelineTriggersService
- func (m *MockClient) Pipelines() PipelinesService
- func (m *MockClient) PlanLimits() PlanLimitsService
- func (m *MockClient) ProjectAccessTokens() ProjectAccessTokensService
- func (m *MockClient) ProjectBadges() ProjectBadgesService
- func (m *MockClient) ProjectCluster() ProjectClustersService
- func (m *MockClient) ProjectFeatureFlags() ProjectFeatureFlagService
- func (m *MockClient) ProjectImportExport() ProjectImportExportService
- func (m *MockClient) ProjectIterations() ProjectIterationsService
- func (m *MockClient) ProjectMarkdownUploads() ProjectMarkdownUploadsService
- func (m *MockClient) ProjectMembers() ProjectMembersService
- func (m *MockClient) ProjectMirrors() ProjectMirrorService
- func (m *MockClient) ProjectRepositoryStorageMove() ProjectRepositoryStorageMoveService
- func (m *MockClient) ProjectSecuritySettings() ProjectSecuritySettingsService
- func (m *MockClient) ProjectSnippets() ProjectSnippetsService
- func (m *MockClient) ProjectTemplates() ProjectTemplatesService
- func (m *MockClient) ProjectVariables() ProjectVariablesService
- func (m *MockClient) ProjectVulnerabilities() ProjectVulnerabilitiesService
- func (m *MockClient) Projects() ProjectsService
- func (m *MockClient) ProtectedBranches() ProtectedBranchesService
- func (m *MockClient) ProtectedEnvironments() ProtectedEnvironmentsService
- func (m *MockClient) ProtectedTags() ProtectedTagsService
- func (m *MockClient) ReleaseLinks() ReleaseLinksService
- func (m *MockClient) Releases() ReleasesService
- func (m *MockClient) Repositories() RepositoriesService
- func (m *MockClient) RepositoryFiles() RepositoryFilesService
- func (m *MockClient) RepositorySubmodules() RepositorySubmodulesService
- func (m *MockClient) ResourceGroup() ResourceGroupService
- func (m *MockClient) ResourceIterationEvents() ResourceIterationEventsService
- func (m *MockClient) ResourceLabelEvents() ResourceLabelEventsService
- func (m *MockClient) ResourceMilestoneEvents() ResourceMilestoneEventsService
- func (m *MockClient) ResourceStateEvents() ResourceStateEventsService
- func (m *MockClient) ResourceWeightEvents() ResourceWeightEventsService
- func (m *MockClient) Runners() RunnersService
- func (m *MockClient) Search() SearchService
- func (m *MockClient) SecureFiles() SecureFilesService
- func (m *MockClient) Services() ServicesService
- func (m *MockClient) Settings() SettingsService
- func (m *MockClient) Sidekiq() SidekiqService
- func (m *MockClient) SnippetRepositoryStorageMove() SnippetRepositoryStorageMoveService
- func (m *MockClient) Snippets() SnippetsService
- func (m *MockClient) SystemHooks() SystemHooksService
- func (m *MockClient) Tags() TagsService
- func (m *MockClient) Todos() TodosService
- func (m *MockClient) Topics() TopicsService
- func (m *MockClient) Users() UsersService
- func (m *MockClient) Validate() ValidateService
- func (m *MockClient) Version() VersionService
- func (m *MockClient) Wikis() WikisService
- type ModifyUserOptions
- type MoveIssueOptions
- type Namespace
- type NamespaceExistance
- type NamespaceExistsOptions
- type NamespacesService
- type Note
- type NoteAuthor
- type NotePosition
- type NoteTypeValue
- type NotesService
- type NotificationEvents
- type NotificationLevelValue
- type NotificationSettings
- type NotificationSettingsOptions
- type NotificationSettingsService
- type Package
- type PackageFile
- type PackageLinks
- type PackageTag
- type PackagesService
- type Pages
- type PagesDeployment
- type PagesDomain
- type PagesDomainsService
- type PagesService
- type PatchProjectJobTokenAccessSettingsOptions
- type PendingInvite
- type Permissions
- type PersonalAccessToken
- type PersonalAccessTokensService
- type Pipeline
- type PipelineEvent
- type PipelineInfo
- type PipelineSchedule
- type PipelineSchedulesService
- type PipelineTestCases
- type PipelineTestReport
- type PipelineTestSuites
- type PipelineTrigger
- type PipelineTriggersService
- type PipelineVariable
- type PipelineVariableOptions
- type PipelinesEmailProperties
- type PipelinesEmailService
- type PipelinesService
- type PlanLimit
- type PlanLimitsService
- type PlatformKubernetes
- type PlayJobOptions
- type PositionOptions
- type PostCommitCommentOptions
- type ProcessMetrics
- type Project
- type ProjectAccess
- type ProjectAccessToken
- type ProjectAccessTokensService
- type ProjectApprovalRule
- type ProjectApprovals
- type ProjectAvatar
- type ProjectBadge
- type ProjectBadgePreviewOptions
- type ProjectBadgesService
- type ProjectCluster
- type ProjectClustersService
- type ProjectCreationLevelValue
- type ProjectDeployKey
- type ProjectEvent
- type ProjectFeatureFlag
- type ProjectFeatureFlagScope
- type ProjectFeatureFlagScopeOptions
- type ProjectFeatureFlagService
- type ProjectFeatureFlagStrategy
- type ProjectFeatureFlagStrategyParameter
- type ProjectFile
- type ProjectForkRelation
- type ProjectGroup
- type ProjectHook
- type ProjectHookEvent
- type ProjectImportExportService
- type ProjectIteration
- type ProjectIterationsService
- type ProjectLanguages
- type ProjectLicense
- type ProjectLintOptions
- type ProjectLintResult
- type ProjectMarkdownUpload
- type ProjectMarkdownUploadedFile
- type ProjectMarkdownUploadsService
- type ProjectMember
- type ProjectMembersService
- type ProjectMirror
- type ProjectMirrorService
- type ProjectNamespace
- type ProjectNamespaceLintOptions
- type ProjectPullMirrorDetails
- type ProjectPushRules
- type ProjectRepositoryStorageMove
- type ProjectRepositoryStorageMoveService
- type ProjectReposityStorage
- type ProjectResourceAccessTokenEvent
- type ProjectSecuritySettings
- type ProjectSecuritySettingsService
- type ProjectSnippetsService
- type ProjectStatusCheck
- type ProjectSystemEvent
- type ProjectTemplate
- type ProjectTemplatesService
- type ProjectUser
- type ProjectVariable
- type ProjectVariablesService
- type ProjectVulnerabilitiesService
- type ProjectVulnerability
- type ProjectsService
- type PrometheusService
- type PrometheusServiceProperties
- type ProtectBranchOptions
- type ProtectGroupEnvironmentOptions
- type ProtectRepositoryBranchesOptions
- type ProtectRepositoryEnvironmentsOptions
- type ProtectRepositoryTagsOptions
- type ProtectedBranch
- type ProtectedBranchesService
- type ProtectedEnvironment
- type ProtectedEnvironmentsService
- type ProtectedTag
- type ProtectedTagsService
- type PublishPackageFileOptions
- type PushEvent
- type PushSystemEvent
- type QueueMetrics
- type RateLimiter
- type RebaseMergeRequestOptions
- type RecentFailures
- type RedmineService
- type RedmineServiceProperties
- type RegisterAgentOptions
- type RegisterNewRunnerInfoOptions
- type RegisterNewRunnerOptions
- type RegistryRepository
- type RegistryRepositoryTag
- type Release
- type ReleaseAssetLinkOptions
- type ReleaseAssetsOptions
- type ReleaseEvent
- type ReleaseEvidence
- type ReleaseLink
- type ReleaseLinksService
- type ReleaseMilestone
- type ReleaseMilestoneIssueStats
- type ReleaseNote
- type ReleasesService
- type RemoveGroupMemberOptions
- type RemoveGroupVariableOptions
- type RemoveProjectVariableOptions
- type RenderOptions
- type ReorderIssueOptions
- type RepositoriesService
- type Repository
- type RepositoryFilesService
- type RepositoryGroup
- type RepositoryProject
- type RepositorySnippet
- type RepositorySubmodulesService
- type RepositoryUpdateSystemEvent
- type RequestOptionFunc
- type RequireCodeOwnerApprovalsOptions
- type ResolveMergeRequestDiscussionOptions
- type ResourceGroup
- type ResourceGroupProcessMode
- type ResourceGroupService
- type ResourceIterationEventsService
- type ResourceLabelEventsService
- type ResourceMilestoneEventsService
- type ResourceStateEventsService
- type ResourceWeightEventsService
- type Response
- type RetrieveAllGroupStorageMovesOptions
- type RetrieveAllProjectStorageMovesOptions
- type RetrieveAllSnippetStorageMovesOptions
- type RevertCommitOptions
- type ReviewerIDValue
- type RotateGroupAccessTokenOptions
- type RotatePersonalAccessTokenOptions
- type RotateProjectAccessTokenOptions
- type RotateServiceAccountPersonalAccessTokenOptions
- type RunPipelineTriggerOptions
- type Runner
- type RunnerAuthenticationToken
- type RunnerDetails
- type RunnerRegistrationToken
- type RunnersService
- type SAMLGroupLink
- type SSHKey
- type ScheduleAllGroupStorageMovesOptions
- type ScheduleAllProjectStorageMovesOptions
- type ScheduleAllSnippetStorageMovesOptions
- type ScheduleExportOptions
- type ScheduleStorageMoveForGroupOptions
- type ScheduleStorageMoveForProjectOptions
- type ScheduleStorageMoveForSnippetOptions
- type SearchOptions
- type SearchService
- type SecureFile
- type SecureFileIssuer
- type SecureFileMetadata
- type SecureFileSubject
- type SecureFilesService
- type Service
- type ServiceAccount
- type ServicesService
- type SetCommitStatusOptions
- type SetCustomIssueTrackerServiceOptions
- type SetDataDogServiceOptions
- type SetDiscordServiceOptions
- type SetDroneCIServiceOptions
- type SetEmailsOnPushServiceOptions
- type SetExternalStatusCheckStatusOptions
- type SetExternalWikiServiceOptions
- type SetGitLabCIServiceOptions
- type SetGithubServiceOptions
- type SetHarborServiceOptions
- type SetHipChatServiceOptions
- type SetHookCustomHeaderOptions
- type SetHookURLVariableOptions
- type SetJenkinsCIServiceOptions
- type SetJiraServiceOptions
- type SetMattermostServiceOptions
- type SetMattermostSlashCommandsServiceOptions
- type SetMicrosoftTeamsServiceOptions
- type SetPipelinesEmailServiceOptions
- type SetPrometheusServiceOptions
- type SetRedmineServiceOptions
- type SetSlackApplicationOptions
- type SetSlackServiceOptions
- type SetSlackSlashCommandsServiceOptions
- type SetTelegramServiceOptions
- type SetTimeEstimateOptions
- type SetYouTrackServiceOptions
- type Settings
- type SettingsService
- type ShareGroupWithGroupOptions
- type ShareWithGroupOptions
- type SharedRunnersSettingValue
- type SharedWithGroup
- type ShowMergeRequestRawDiffsOptions
- type SidekiqService
- type SlackApplication
- type SlackApplicationProperties
- type SlackService
- type SlackServiceProperties
- type SlackSlashCommandsProperties
- type SlackSlashCommandsService
- type Snippet
- type SnippetCommentEvent
- type SnippetRepositoryStorageMove
- type SnippetRepositoryStorageMoveService
- type SnippetsService
- type SquashOptionValue
- type StateEvent
- type StateID
- type Statistics
- type StatusCheckProtectedBranch
- type StopEnvironmentOptions
- type SubGroupCreationLevelValue
- type SubGroupEvent
- type SubmoduleCommit
- type SystemHooksService
- type Tag
- type TagAccessDescription
- type TagEvent
- type TagPushSystemEvent
- type TagsPermissionOptions
- type TagsService
- type TasksCompletionStatus
- type TelegramService
- type TelegramServiceProperties
- type TimeStats
- type Todo
- type TodoAction
- type TodoTarget
- type TodoTargetType
- type TodosService
- type Topic
- type TopicAvatar
- type TopicsService
- type TransferProjectOptions
- type TransferSubGroupOptions
- type TreeNode
- type UpdateBroadcastMessageOptions
- type UpdateCommitDiscussionNoteOptions
- type UpdateDeployKeyOptions
- type UpdateDraftNoteOptions
- type UpdateEnvironmentAccessOptions
- type UpdateEnvironmentApprovalRuleOptions
- type UpdateEpicDiscussionNoteOptions
- type UpdateEpicIsssueAssignmentOptions
- type UpdateEpicNoteOptions
- type UpdateEpicOptions
- type UpdateExternalStatusCheckOptions
- type UpdateFileOptions
- type UpdateFreezePeriodOptions
- type UpdateGeoNodesOptions
- type UpdateGroupEnvironmentAccessOptions
- type UpdateGroupEnvironmentApprovalRuleOptions
- type UpdateGroupIssueBoardListOptions
- type UpdateGroupIssueBoardOptions
- type UpdateGroupLabelOptions
- type UpdateGroupMilestoneOptions
- type UpdateGroupOptions
- type UpdateGroupProtectedEnvironmentOptions
- type UpdateGroupSecuritySettingsOptions
- 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 UpdatePagesOptions
- type UpdatePipelineMetadataOptions
- type UpdateProjectDeploymentOptions
- type UpdateProjectFeatureFlagOptions
- type UpdateProjectLevelRuleOptions
- type UpdateProjectSecuritySettingsOptions
- type UpdateProjectSnippetOptions
- type UpdateProjectVariableOptions
- type UpdateProtectedBranchOptions
- type UpdateProtectedEnvironmentsOptions
- type UpdateReleaseLinkOptions
- type UpdateReleaseNoteOptions
- type UpdateReleaseOptions
- type UpdateRunnerDetailsOptions
- type UpdateSCIMIdentityOptions
- type UpdateSettingsOptions
- type UpdateSnippetDiscussionNoteOptions
- type UpdateSnippetFileOptions
- type UpdateSnippetNoteOptions
- type UpdateSnippetOptions
- type UpdateSubmoduleOptions
- type UpdateTopicOptions
- type UploadType
- type UploadWikiAttachmentOptions
- type User
- type UserActivity
- type UserAssociationsCount
- type UserAvatar
- type UserGroupSystemEvent
- type UserIDValue
- type UserIdentity
- type UserMembership
- type UserRunner
- type UserStatus
- type UserStatusOptions
- type UserSystemEvent
- type UserTeamSystemEvent
- type UsersService
- type ValidateService
- type VariableFilter
- type VariableTypeValue
- type VerifyRegisteredRunnerOptions
- type Version
- type VersionService
- type VisibilityValue
- type WeightEvent
- type Wiki
- type WikiAttachment
- type WikiAttachmentLink
- type WikiFormatValue
- type WikiPageEvent
- type WikisService
- type YouTrackService
- type YouTrackServiceProperties
Examples ¶
Constants ¶
This section is empty.
Variables ¶
var WithBaseURL = _gitlab.WithBaseURL
WithBaseURL is an alias to _gitlab.WithBaseURL
Functions ¶
Types ¶
type AcceptMergeRequestOptions ¶
type AcceptMergeRequestOptions = gitlab.AcceptMergeRequestOptions
AcceptMergeRequestOptions is an alias to gitlab.AcceptMergeRequestOptions
type AccessControlValue ¶
type AccessControlValue = gitlab.AccessControlValue
AccessControlValue is an alias to gitlab.AccessControlValue
type AccessLevelDetails ¶
type AccessLevelDetails = gitlab.AccessLevelDetails
AccessLevelDetails is an alias to gitlab.AccessLevelDetails
type AccessLevelValue ¶
type AccessLevelValue = gitlab.AccessLevelValue
AccessLevelValue is an alias to gitlab.AccessLevelValue
type AccessRequest ¶
type AccessRequest = gitlab.AccessRequest
AccessRequest is an alias to gitlab.AccessRequest
type AccessRequestsService ¶
type AccessRequestsService interface { // ListProjectAccessRequests gets a list of access requests // viewable by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/access_requests.html#list-access-requests-for-a-group-or-project ListProjectAccessRequests(pid 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/ee/api/access_requests.html#list-access-requests-for-a-group-or-project ListGroupAccessRequests(gid interface{}, opt *ListAccessRequestsOptions, options ...RequestOptionFunc) ([]*AccessRequest, *Response, error) // RequestProjectAccess requests access for the authenticated user // to a group or project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/access_requests.html#request-access-to-a-group-or-project RequestProjectAccess(pid 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/ee/api/access_requests.html#request-access-to-a-group-or-project RequestGroupAccess(gid interface{}, options ...RequestOptionFunc) (*AccessRequest, *Response, error) // ApproveProjectAccessRequest approves an access request for the given user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/access_requests.html#approve-an-access-request ApproveProjectAccessRequest(pid 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/ee/api/access_requests.html#approve-an-access-request ApproveGroupAccessRequest(gid interface{}, user int, opt *ApproveAccessRequestOptions, options ...RequestOptionFunc) (*AccessRequest, *Response, error) // DenyProjectAccessRequest denies an access request for the given user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/access_requests.html#deny-an-access-request DenyProjectAccessRequest(pid interface{}, user int, options ...RequestOptionFunc) (*Response, error) // DenyGroupAccessRequest denies an access request for the given user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/access_requests.html#deny-an-access-request DenyGroupAccessRequest(gid interface{}, user int, options ...RequestOptionFunc) (*Response, error) }
AccessRequestsService is an interface for gitlab.Client.AccessRequests
type AddChangelogOptions ¶
type AddChangelogOptions = gitlab.AddChangelogOptions
AddChangelogOptions is an alias to gitlab.AddChangelogOptions
type AddClusterOptions ¶
type AddClusterOptions = gitlab.AddClusterOptions
AddClusterOptions is an alias to gitlab.AddClusterOptions
type AddCommitDiscussionNoteOptions ¶
type AddCommitDiscussionNoteOptions = gitlab.AddCommitDiscussionNoteOptions
AddCommitDiscussionNoteOptions is an alias to gitlab.AddCommitDiscussionNoteOptions
type AddDeployKeyOptions ¶
type AddDeployKeyOptions = gitlab.AddDeployKeyOptions
AddDeployKeyOptions is an alias to gitlab.AddDeployKeyOptions
type AddEmailOptions ¶
type AddEmailOptions = gitlab.AddEmailOptions
AddEmailOptions is an alias to gitlab.AddEmailOptions
type AddEpicDiscussionNoteOptions ¶
type AddEpicDiscussionNoteOptions = gitlab.AddEpicDiscussionNoteOptions
AddEpicDiscussionNoteOptions is an alias to gitlab.AddEpicDiscussionNoteOptions
type AddGPGKeyOptions ¶
type AddGPGKeyOptions = gitlab.AddGPGKeyOptions
AddGPGKeyOptions is an alias to gitlab.AddGPGKeyOptions
type AddGroupBadgeOptions ¶
type AddGroupBadgeOptions = gitlab.AddGroupBadgeOptions
AddGroupBadgeOptions is an alias to gitlab.AddGroupBadgeOptions
type AddGroupClusterOptions ¶
type AddGroupClusterOptions = gitlab.AddGroupClusterOptions
AddGroupClusterOptions is an alias to gitlab.AddGroupClusterOptions
type AddGroupHookOptions ¶
type AddGroupHookOptions = gitlab.AddGroupHookOptions
AddGroupHookOptions is an alias to gitlab.AddGroupHookOptions
type AddGroupLDAPLinkOptions ¶
type AddGroupLDAPLinkOptions = gitlab.AddGroupLDAPLinkOptions
AddGroupLDAPLinkOptions is an alias to gitlab.AddGroupLDAPLinkOptions
type AddGroupMemberOptions ¶
type AddGroupMemberOptions = gitlab.AddGroupMemberOptions
AddGroupMemberOptions is an alias to gitlab.AddGroupMemberOptions
type AddGroupPlatformKubernetesOptions ¶
type AddGroupPlatformKubernetesOptions = gitlab.AddGroupPlatformKubernetesOptions
AddGroupPlatformKubernetesOptions is an alias to gitlab.AddGroupPlatformKubernetesOptions
type AddGroupPushRuleOptions ¶
type AddGroupPushRuleOptions = gitlab.AddGroupPushRuleOptions
AddGroupPushRuleOptions is an alias to gitlab.AddGroupPushRuleOptions
type AddGroupSAMLLinkOptions ¶
type AddGroupSAMLLinkOptions = gitlab.AddGroupSAMLLinkOptions
AddGroupSAMLLinkOptions is an alias to gitlab.AddGroupSAMLLinkOptions
type AddGroupToJobTokenAllowlistOptions ¶
type AddGroupToJobTokenAllowlistOptions = gitlab.AddGroupToJobTokenAllowlistOptions
AddGroupToJobTokenAllowlistOptions is an alias to gitlab.AddGroupToJobTokenAllowlistOptions
type AddHookOptions ¶
type AddHookOptions = gitlab.AddHookOptions
AddHookOptions is an alias to gitlab.AddHookOptions
type AddIssueDiscussionNoteOptions ¶
type AddIssueDiscussionNoteOptions = gitlab.AddIssueDiscussionNoteOptions
AddIssueDiscussionNoteOptions is an alias to gitlab.AddIssueDiscussionNoteOptions
type AddLicenseOptions ¶
type AddLicenseOptions = gitlab.AddLicenseOptions
AddLicenseOptions is an alias to gitlab.AddLicenseOptions
type AddManagedLicenseOptions ¶
type AddManagedLicenseOptions = gitlab.AddManagedLicenseOptions
AddManagedLicenseOptions is an alias to gitlab.AddManagedLicenseOptions
type AddMergeRequestDiscussionNoteOptions ¶
type AddMergeRequestDiscussionNoteOptions = gitlab.AddMergeRequestDiscussionNoteOptions
AddMergeRequestDiscussionNoteOptions is an alias to gitlab.AddMergeRequestDiscussionNoteOptions
type AddMergeRequestToMergeTrainOptions ¶
type AddMergeRequestToMergeTrainOptions = gitlab.AddMergeRequestToMergeTrainOptions
AddMergeRequestToMergeTrainOptions is an alias to gitlab.AddMergeRequestToMergeTrainOptions
type AddPipelineTriggerOptions ¶
type AddPipelineTriggerOptions = gitlab.AddPipelineTriggerOptions
AddPipelineTriggerOptions is an alias to gitlab.AddPipelineTriggerOptions
type AddPlatformKubernetesOptions ¶
type AddPlatformKubernetesOptions = gitlab.AddPlatformKubernetesOptions
AddPlatformKubernetesOptions is an alias to gitlab.AddPlatformKubernetesOptions
type AddProjectBadgeOptions ¶
type AddProjectBadgeOptions = gitlab.AddProjectBadgeOptions
AddProjectBadgeOptions is an alias to gitlab.AddProjectBadgeOptions
type AddProjectHookOptions ¶
type AddProjectHookOptions = gitlab.AddProjectHookOptions
AddProjectHookOptions is an alias to gitlab.AddProjectHookOptions
type AddProjectMemberOptions ¶
type AddProjectMemberOptions = gitlab.AddProjectMemberOptions
AddProjectMemberOptions is an alias to gitlab.AddProjectMemberOptions
type AddProjectMirrorOptions ¶
type AddProjectMirrorOptions = gitlab.AddProjectMirrorOptions
AddProjectMirrorOptions is an alias to gitlab.AddProjectMirrorOptions
type AddProjectPushRuleOptions ¶
type AddProjectPushRuleOptions = gitlab.AddProjectPushRuleOptions
AddProjectPushRuleOptions is an alias to gitlab.AddProjectPushRuleOptions
type AddSSHKeyOptions ¶
type AddSSHKeyOptions = gitlab.AddSSHKeyOptions
AddSSHKeyOptions is an alias to gitlab.AddSSHKeyOptions
type AddSnippetDiscussionNoteOptions ¶
type AddSnippetDiscussionNoteOptions = gitlab.AddSnippetDiscussionNoteOptions
AddSnippetDiscussionNoteOptions is an alias to gitlab.AddSnippetDiscussionNoteOptions
type AddSpentTimeOptions ¶
type AddSpentTimeOptions = gitlab.AddSpentTimeOptions
AddSpentTimeOptions is an alias to gitlab.AddSpentTimeOptions
type AppearanceService ¶
type AppearanceService interface { // GetAppearance gets the current appearance configuration of the GitLab instance. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/appearance.html#get-current-appearance-configuration GetAppearance(options ...RequestOptionFunc) (*Appearance, *Response, error) // ChangeAppearance changes the appearance configuration. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/appearance.html#change-appearance-configuration ChangeAppearance(opt *ChangeAppearanceOptions, options ...RequestOptionFunc) (*Appearance, *Response, error) }
AppearanceService is an interface for gitlab.Client.Appearance
type Application ¶
type Application = gitlab.Application
Application is an alias to gitlab.Application
type ApplicationsService ¶
type ApplicationsService interface { // CreateApplication creates a new application owned by the authenticated user. // // Gitlab API docs : https://docs.gitlab.com/ee/api/applications.html#create-an-application CreateApplication(opt *CreateApplicationOptions, options ...RequestOptionFunc) (*Application, *Response, error) // ListApplications get a list of administrables applications by the authenticated user // // Gitlab API docs : https://docs.gitlab.com/ee/api/applications.html#list-all-applications ListApplications(opt *ListApplicationsOptions, options ...RequestOptionFunc) ([]*Application, *Response, error) // DeleteApplication removes a specific application. // // GitLab API docs: // https://docs.gitlab.com/ee/api/applications.html#delete-an-application DeleteApplication(application int, options ...RequestOptionFunc) (*Response, error) }
ApplicationsService is an interface for gitlab.Client.Applications
type ApproveAccessRequestOptions ¶
type ApproveAccessRequestOptions = gitlab.ApproveAccessRequestOptions
ApproveAccessRequestOptions is an alias to gitlab.ApproveAccessRequestOptions
type ApproveMergeRequestOptions ¶
type ApproveMergeRequestOptions = gitlab.ApproveMergeRequestOptions
ApproveMergeRequestOptions is an alias to gitlab.ApproveMergeRequestOptions
type ApproveOrRejectProjectDeploymentOptions ¶
type ApproveOrRejectProjectDeploymentOptions = gitlab.ApproveOrRejectProjectDeploymentOptions
ApproveOrRejectProjectDeploymentOptions is an alias to gitlab.ApproveOrRejectProjectDeploymentOptions
type ApproverIDsValue ¶
type ApproverIDsValue = gitlab.ApproverIDsValue
ApproverIDsValue is an alias to gitlab.ApproverIDsValue
type ArchiveOptions ¶
type ArchiveOptions = gitlab.ArchiveOptions
ArchiveOptions is an alias to gitlab.ArchiveOptions
type AssigneeIDValue ¶
type AssigneeIDValue = gitlab.AssigneeIDValue
AssigneeIDValue is an alias to gitlab.AssigneeIDValue
type AuditEventDetails ¶
type AuditEventDetails = gitlab.AuditEventDetails
AuditEventDetails is an alias to gitlab.AuditEventDetails
type AuditEventsService ¶
type AuditEventsService interface { // 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#retrieve-all-instance-audit-events ListInstanceAuditEvents(opt *ListAuditEventsOptions, 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#retrieve-single-instance-audit-event GetInstanceAuditEvent(event int, 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#retrieve-all-group-audit-events ListGroupAuditEvents(gid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error) // GetGroupAuditEvent gets a specific group audit event. // // GitLab API docs: https://docs.gitlab.com/ee/api/audit_events.html#retrieve-a-specific-group-audit-event GetGroupAuditEvent(gid interface{}, event int, 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#retrieve-all-project-audit-events ListProjectAuditEvents(pid interface{}, opt *ListAuditEventsOptions, options ...RequestOptionFunc) ([]*AuditEvent, *Response, error) // GetProjectAuditEvent gets a specific project audit event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/audit_events.html#retrieve-a-specific-project-audit-event GetProjectAuditEvent(pid interface{}, event int, options ...RequestOptionFunc) (*AuditEvent, *Response, error) }
AuditEventsService is an interface for gitlab.Client.AuditEvents
type AvailabilityValue ¶
type AvailabilityValue = gitlab.AvailabilityValue
AvailabilityValue is an alias to gitlab.AvailabilityValue
type AvatarRequestsService ¶
type AvatarRequestsService interface { // 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 GetAvatar(opt *GetAvatarOptions, options ...RequestOptionFunc) (*Avatar, *Response, error) }
AvatarRequestsService is an interface for gitlab.Client.Avatar
type AwardEmojiService ¶
type AwardEmojiService interface { // ListMergeRequestAwardEmoji gets a list of all award emoji on the merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardables-award-emojis ListMergeRequestAwardEmoji(pid interface{}, mergeRequestIID 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/ee/api/award_emoji.html#list-an-awardables-award-emojis ListIssueAwardEmoji(pid interface{}, issueIID 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/ee/api/award_emoji.html#list-an-awardables-award-emojis ListSnippetAwardEmoji(pid interface{}, snippetID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error) // GetMergeRequestAwardEmoji get an award emoji from merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#get-single-award-emoji GetMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // GetIssueAwardEmoji get an award emoji from issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#get-single-award-emoji GetIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // GetSnippetAwardEmoji get an award emoji from snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#get-single-award-emoji GetSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // CreateMergeRequestAwardEmoji get an award emoji from merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji CreateMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // CreateIssueAwardEmoji get an award emoji from issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji CreateIssueAwardEmoji(pid interface{}, issueIID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // CreateSnippetAwardEmoji get an award emoji from snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji CreateSnippetAwardEmoji(pid interface{}, snippetID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // DeleteIssueAwardEmoji delete award emoji on an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award-emoji DeleteIssueAwardEmoji(pid interface{}, issueIID, awardID int, options ...RequestOptionFunc) (*Response, error) // DeleteMergeRequestAwardEmoji delete award emoji on a merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award-emoji DeleteMergeRequestAwardEmoji(pid interface{}, mergeRequestIID, awardID int, options ...RequestOptionFunc) (*Response, error) // DeleteSnippetAwardEmoji delete award emoji on a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award-emoji DeleteSnippetAwardEmoji(pid interface{}, snippetID, awardID int, options ...RequestOptionFunc) (*Response, error) // ListIssuesAwardEmojiOnNote gets a list of all award emoji on a note from the // issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#list-a-comments-award-emojis ListIssuesAwardEmojiOnNote(pid interface{}, issueID, 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/ee/api/award_emoji.html#list-a-comments-award-emojis ListMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, 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/ee/api/award_emoji.html#list-a-comments-award-emojis ListSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *ListAwardEmojiOptions, options ...RequestOptionFunc) ([]*AwardEmoji, *Response, error) // GetIssuesAwardEmojiOnNote gets an award emoji on a note from an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#get-an-award-emoji-for-a-comment GetIssuesAwardEmojiOnNote(pid interface{}, issueID, 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/ee/api/award_emoji.html#get-an-award-emoji-for-a-comment GetMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, 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/ee/api/award_emoji.html#get-an-award-emoji-for-a-comment GetSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // CreateIssuesAwardEmojiOnNote gets an award emoji on a note from an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji-on-a-comment CreateIssuesAwardEmojiOnNote(pid interface{}, issueID, 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/ee/api/award_emoji.html#award-a-new-emoji-on-a-comment CreateMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, 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/ee/api/award_emoji.html#award-a-new-emoji-on-a-comment CreateSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID int, opt *CreateAwardEmojiOptions, options ...RequestOptionFunc) (*AwardEmoji, *Response, error) // DeleteIssuesAwardEmojiOnNote deletes an award emoji on a note from an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award-emoji-from-a-comment DeleteIssuesAwardEmojiOnNote(pid interface{}, issueID, 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/ee/api/award_emoji.html#delete-an-award-emoji-from-a-comment DeleteMergeRequestAwardEmojiOnNote(pid interface{}, mergeRequestIID, 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/ee/api/award_emoji.html#delete-an-award-emoji-from-a-comment DeleteSnippetAwardEmojiOnNote(pid interface{}, snippetIID, noteID, awardID int, options ...RequestOptionFunc) (*Response, error) }
AwardEmojiService is an interface for gitlab.Client.AwardEmoji
type BaseSystemEvent ¶
type BaseSystemEvent = gitlab.BaseSystemEvent
BaseSystemEvent is an alias to gitlab.BaseSystemEvent
type BasicMergeRequest ¶
type BasicMergeRequest = gitlab.BasicMergeRequest
BasicMergeRequest is an alias to gitlab.BasicMergeRequest
type BasicProject ¶
type BasicProject = gitlab.BasicProject
BasicProject is an alias to gitlab.BasicProject
type BillableGroupMember ¶
type BillableGroupMember = gitlab.BillableGroupMember
BillableGroupMember is an alias to gitlab.BillableGroupMember
type BillableUserMembership ¶
type BillableUserMembership = gitlab.BillableUserMembership
BillableUserMembership is an alias to gitlab.BillableUserMembership
type BitbucketCloudImport ¶
type BitbucketCloudImport = gitlab.BitbucketCloudImport
BitbucketCloudImport is an alias to gitlab.BitbucketCloudImport
type BitbucketServerImport ¶
type BitbucketServerImport = gitlab.BitbucketServerImport
BitbucketServerImport is an alias to gitlab.BitbucketServerImport
type BlockingMergeRequest ¶
type BlockingMergeRequest = gitlab.BlockingMergeRequest
BlockingMergeRequest is an alias to gitlab.BlockingMergeRequest
type BranchAccessDescription ¶
type BranchAccessDescription = gitlab.BranchAccessDescription
BranchAccessDescription is an alias to gitlab.BranchAccessDescription
type BranchPermissionOptions ¶
type BranchPermissionOptions = gitlab.BranchPermissionOptions
BranchPermissionOptions is an alias to gitlab.BranchPermissionOptions
type BranchProtectionDefaults ¶
type BranchProtectionDefaults = gitlab.BranchProtectionDefaults
BranchProtectionDefaults is an alias to gitlab.BranchProtectionDefaults
type BranchProtectionDefaultsOptions ¶
type BranchProtectionDefaultsOptions = gitlab.BranchProtectionDefaultsOptions
BranchProtectionDefaultsOptions is an alias to gitlab.BranchProtectionDefaultsOptions
type BranchesService ¶
type BranchesService interface { // ListBranches gets a list of repository branches from a project, sorted by // name alphabetically. // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#list-repository-branches ListBranches(pid interface{}, opts *ListBranchesOptions, options ...RequestOptionFunc) ([]*Branch, *Response, error) // GetBranch gets a single project repository branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch GetBranch(pid interface{}, branch string, 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. // // Deprecated: This endpoint has been replaced by // ProtectedBranchesService.ProtectRepositoryBranches() // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#protect-repository-branch ProtectBranch(pid interface{}, branch string, opts *ProtectBranchOptions, 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. // // Deprecated: This endpoint has been replaced by // ProtectedBranchesService.UnprotectRepositoryBranches() // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#unprotect-repository-branch UnprotectBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Branch, *Response, error) // CreateBranch creates branch from commit SHA or existing branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#create-repository-branch CreateBranch(pid interface{}, opt *CreateBranchOptions, options ...RequestOptionFunc) (*Branch, *Response, error) // DeleteBranch deletes an existing branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#delete-repository-branch DeleteBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*Response, error) // DeleteMergedBranches deletes all branches that are merged into the project's default branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/branches.html#delete-merged-branches DeleteMergedBranches(pid interface{}, options ...RequestOptionFunc) (*Response, error) }
BranchesService is an interface for gitlab.Client.Branches
type BroadcastMessage ¶
type BroadcastMessage = gitlab.BroadcastMessage
BroadcastMessage is an alias to gitlab.BroadcastMessage
type BroadcastMessagesService ¶
type BroadcastMessagesService interface { // ListBroadcastMessages gets a list of all broadcasted messages. // // GitLab API docs: // https://docs.gitlab.com/ee/api/broadcast_messages.html#get-all-broadcast-messages ListBroadcastMessages(opt *ListBroadcastMessagesOptions, options ...RequestOptionFunc) ([]*BroadcastMessage, *Response, error) // GetBroadcastMessage gets a single broadcast message. // // GitLab API docs: // https://docs.gitlab.com/ee/api/broadcast_messages.html#get-a-specific-broadcast-message GetBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error) // CreateBroadcastMessage creates a message to broadcast. // // GitLab API docs: // https://docs.gitlab.com/ee/api/broadcast_messages.html#create-a-broadcast-message CreateBroadcastMessage(opt *CreateBroadcastMessageOptions, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error) // UpdateBroadcastMessage update a broadcasted message. // // GitLab API docs: // https://docs.gitlab.com/ee/api/broadcast_messages.html#update-a-broadcast-message UpdateBroadcastMessage(broadcast int, opt *UpdateBroadcastMessageOptions, options ...RequestOptionFunc) (*BroadcastMessage, *Response, error) // DeleteBroadcastMessage deletes a broadcasted message. // // GitLab API docs: // https://docs.gitlab.com/ee/api/broadcast_messages.html#delete-a-broadcast-message DeleteBroadcastMessage(broadcast int, options ...RequestOptionFunc) (*Response, error) }
BroadcastMessagesService is an interface for gitlab.Client.BroadcastMessage
type BuildStateValue ¶
type BuildStateValue = gitlab.BuildStateValue
BuildStateValue is an alias to gitlab.BuildStateValue
type BulkImportStartMigrationConfiguration ¶
type BulkImportStartMigrationConfiguration = gitlab.BulkImportStartMigrationConfiguration
BulkImportStartMigrationConfiguration is an alias to gitlab.BulkImportStartMigrationConfiguration
type BulkImportStartMigrationEntity ¶
type BulkImportStartMigrationEntity = gitlab.BulkImportStartMigrationEntity
BulkImportStartMigrationEntity is an alias to gitlab.BulkImportStartMigrationEntity
type BulkImportStartMigrationOptions ¶
type BulkImportStartMigrationOptions = gitlab.BulkImportStartMigrationOptions
BulkImportStartMigrationOptions is an alias to gitlab.BulkImportStartMigrationOptions
type BulkImportStartMigrationResponse ¶
type BulkImportStartMigrationResponse = gitlab.BulkImportStartMigrationResponse
BulkImportStartMigrationResponse is an alias to gitlab.BulkImportStartMigrationResponse
type BulkImportsService ¶
type BulkImportsService interface { // StartMigration starts a migration. // // GitLab API docs: https://docs.gitlab.com/ee/api/bulk_imports.html#start-a-new-group-or-project-migration StartMigration(startMigrationOptions *BulkImportStartMigrationOptions, options ...RequestOptionFunc) (*BulkImportStartMigrationResponse, *Response, error) }
BulkImportsService is an interface for gitlab.Client.BulkImports
type BurndownChartEvent ¶
type BurndownChartEvent = gitlab.BurndownChartEvent
BurndownChartEvent is an alias to gitlab.BurndownChartEvent
type CIPipelineVariablesMinimumOverrideRoleValue ¶
type CIPipelineVariablesMinimumOverrideRoleValue = gitlab.CIPipelineVariablesMinimumOverrideRoleValue
CIPipelineVariablesMinimumOverrideRoleValue is an alias to gitlab.CIPipelineVariablesMinimumOverrideRoleValue
type CIYMLTemplate ¶
type CIYMLTemplate = gitlab.CIYMLTemplate
CIYMLTemplate is an alias to gitlab.CIYMLTemplate
type CIYMLTemplateListItem ¶
type CIYMLTemplateListItem = gitlab.CIYMLTemplateListItem
CIYMLTemplateListItem is an alias to gitlab.CIYMLTemplateListItem
type CIYMLTemplatesService ¶
type CIYMLTemplatesService interface { // ListAllTemplates get all GitLab CI YML templates. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/gitlab_ci_ymls.html#list-gitlab-ci-yaml-templates ListAllTemplates(opt *ListCIYMLTemplatesOptions, options ...RequestOptionFunc) ([]*CIYMLTemplateListItem, *Response, error) // GetTemplate get a single GitLab CI YML template. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/gitlab_ci_ymls.html#single-gitlab-ci-yaml-template GetTemplate(key string, options ...RequestOptionFunc) (*CIYMLTemplate, *Response, error) }
CIYMLTemplatesService is an interface for gitlab.Client.CIYMLTemplate
type CancelGitHubProjectImportOptions ¶
type CancelGitHubProjectImportOptions = gitlab.CancelGitHubProjectImportOptions
CancelGitHubProjectImportOptions is an alias to gitlab.CancelGitHubProjectImportOptions
type CancelledGitHubImport ¶
type CancelledGitHubImport = gitlab.CancelledGitHubImport
CancelledGitHubImport is an alias to gitlab.CancelledGitHubImport
type ChangeAllowedApproversOptions ¶
type ChangeAllowedApproversOptions = gitlab.ChangeAllowedApproversOptions
ChangeAllowedApproversOptions is an alias to gitlab.ChangeAllowedApproversOptions
type ChangeAppearanceOptions ¶
type ChangeAppearanceOptions = gitlab.ChangeAppearanceOptions
ChangeAppearanceOptions is an alias to gitlab.ChangeAppearanceOptions
type ChangeApprovalConfigurationOptions ¶
type ChangeApprovalConfigurationOptions = gitlab.ChangeApprovalConfigurationOptions
ChangeApprovalConfigurationOptions is an alias to gitlab.ChangeApprovalConfigurationOptions
type ChangeMergeRequestAllowedApproversOptions ¶
type ChangeMergeRequestAllowedApproversOptions = gitlab.ChangeMergeRequestAllowedApproversOptions
ChangeMergeRequestAllowedApproversOptions is an alias to gitlab.ChangeMergeRequestAllowedApproversOptions
type ChangeMergeRequestApprovalConfigurationOptions ¶
type ChangeMergeRequestApprovalConfigurationOptions = gitlab.ChangeMergeRequestApprovalConfigurationOptions
ChangeMergeRequestApprovalConfigurationOptions is an alias to gitlab.ChangeMergeRequestApprovalConfigurationOptions
type ChangePlanLimitOptions ¶
type ChangePlanLimitOptions = gitlab.ChangePlanLimitOptions
ChangePlanLimitOptions is an alias to gitlab.ChangePlanLimitOptions
type ChangelogData ¶
type ChangelogData = gitlab.ChangelogData
ChangelogData is an alias to gitlab.ChangelogData
type CherryPickCommitOptions ¶
type CherryPickCommitOptions = gitlab.CherryPickCommitOptions
CherryPickCommitOptions is an alias to gitlab.CherryPickCommitOptions
type Client ¶
type Client interface { AccessRequests() AccessRequestsService Appearance() AppearanceService Applications() ApplicationsService AuditEvents() AuditEventsService Avatar() AvatarRequestsService AwardEmoji() AwardEmojiService Branches() BranchesService BroadcastMessage() BroadcastMessagesService BulkImports() BulkImportsService CIYMLTemplate() CIYMLTemplatesService ClusterAgents() ClusterAgentsService Commits() CommitsService ContainerRegistry() ContainerRegistryService CustomAttribute() CustomAttributesService DORAMetrics() DORAMetricsService DependencyListExport() DependencyListExportService DeployKeys() DeployKeysService DeployTokens() DeployTokensService DeploymentMergeRequests() DeploymentMergeRequestsService Deployments() DeploymentsService Discussions() DiscussionsService DockerfileTemplate() DockerfileTemplatesService DraftNotes() DraftNotesService Environments() EnvironmentsService EpicIssues() EpicIssuesService Epics() EpicsService ErrorTracking() ErrorTrackingService Events() EventsService ExternalStatusChecks() ExternalStatusChecksService Features() FeaturesService FreezePeriods() FreezePeriodsService GenericPackages() GenericPackagesService GeoNodes() GeoNodesService GitIgnoreTemplates() GitIgnoreTemplatesService GroupAccessTokens() GroupAccessTokensService GroupBadges() GroupBadgesService GroupCluster() GroupClustersService GroupEpicBoards() GroupEpicBoardsService GroupImportExport() GroupImportExportService GroupIssueBoards() GroupIssueBoardsService GroupIterations() GroupIterationsService GroupLabels() GroupLabelsService GroupMembers() GroupMembersService GroupMilestones() GroupMilestonesService GroupProtectedEnvironments() GroupProtectedEnvironmentsService GroupReleases() GroupReleasesService GroupRepositoryStorageMove() GroupRepositoryStorageMoveService GroupSCIM() GroupSCIMService GroupSSHCertificates() GroupSSHCertificatesService GroupSecuritySettings() GroupSecuritySettingsService GroupVariables() GroupVariablesService GroupWikis() GroupWikisService Groups() GroupsService Import() ImportService InstanceCluster() InstanceClustersService InstanceVariables() InstanceVariablesService Invites() InvitesService Boards() IssueBoardsService IssueLinks() IssueLinksService Issues() IssuesService IssuesStatistics() IssuesStatisticsService JobTokenScope() JobTokenScopeService Jobs() JobsService Keys() KeysService Labels() LabelsService License() LicenseService LicenseTemplates() LicenseTemplatesService ManagedLicenses() ManagedLicensesService Markdown() MarkdownService MemberRolesService() MemberRolesService MergeRequestApprovals() MergeRequestApprovalsService MergeRequests() MergeRequestsService MergeTrains() MergeTrainsService Metadata() MetadataService Milestones() MilestonesService Namespaces() NamespacesService Notes() NotesService NotificationSettings() NotificationSettingsService Packages() PackagesService PagesDomains() PagesDomainsService Pages() PagesService PersonalAccessTokens() PersonalAccessTokensService PipelineSchedules() PipelineSchedulesService PipelineTriggers() PipelineTriggersService Pipelines() PipelinesService PlanLimits() PlanLimitsService ProjectAccessTokens() ProjectAccessTokensService ProjectBadges() ProjectBadgesService ProjectCluster() ProjectClustersService ProjectFeatureFlags() ProjectFeatureFlagService ProjectImportExport() ProjectImportExportService ProjectIterations() ProjectIterationsService ProjectMarkdownUploads() ProjectMarkdownUploadsService ProjectMembers() ProjectMembersService ProjectMirrors() ProjectMirrorService ProjectRepositoryStorageMove() ProjectRepositoryStorageMoveService ProjectSecuritySettings() ProjectSecuritySettingsService ProjectSnippets() ProjectSnippetsService ProjectTemplates() ProjectTemplatesService ProjectVariables() ProjectVariablesService ProjectVulnerabilities() ProjectVulnerabilitiesService Projects() ProjectsService ProtectedBranches() ProtectedBranchesService ProtectedEnvironments() ProtectedEnvironmentsService ProtectedTags() ProtectedTagsService ReleaseLinks() ReleaseLinksService Releases() ReleasesService Repositories() RepositoriesService RepositoryFiles() RepositoryFilesService RepositorySubmodules() RepositorySubmodulesService ResourceGroup() ResourceGroupService ResourceIterationEvents() ResourceIterationEventsService ResourceLabelEvents() ResourceLabelEventsService ResourceMilestoneEvents() ResourceMilestoneEventsService ResourceStateEvents() ResourceStateEventsService ResourceWeightEvents() ResourceWeightEventsService Runners() RunnersService Search() SearchService SecureFiles() SecureFilesService Services() ServicesService Settings() SettingsService Sidekiq() SidekiqService SnippetRepositoryStorageMove() SnippetRepositoryStorageMoveService Snippets() SnippetsService SystemHooks() SystemHooksService Tags() TagsService Todos() TodosService Topics() TopicsService Users() UsersService Validate() ValidateService Version() VersionService Wikis() WikisService }
Client is a client for interacting with the GitLab API. To create a new client, use the NewClient function. For testing, use the NewMockClient function instead.
func FromClient ¶
FromClient creates a new Client from an existing gitlab.Client.
type ClientOptionFunc ¶
type ClientOptionFunc = gitlab.ClientOptionFunc
ClientOptionFunc is an alias to gitlab.ClientOptionFunc
type ClusterAgentsService ¶
type ClusterAgentsService interface { // ListAgents returns a list of agents registered for the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#list-the-agents-for-a-project ListAgents(pid interface{}, opt *ListAgentsOptions, options ...RequestOptionFunc) ([]*Agent, *Response, error) // GetAgent gets a single agent details. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#get-details-about-an-agent GetAgent(pid interface{}, id int, options ...RequestOptionFunc) (*Agent, *Response, error) // RegisterAgent registers an agent to the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#register-an-agent-with-a-project RegisterAgent(pid interface{}, opt *RegisterAgentOptions, options ...RequestOptionFunc) (*Agent, *Response, error) // DeleteAgent deletes an existing agent registration. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#delete-a-registered-agent DeleteAgent(pid interface{}, id int, options ...RequestOptionFunc) (*Response, error) // ListAgentTokens returns a list of tokens for an agent. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#list-tokens-for-an-agent ListAgentTokens(pid interface{}, aid int, opt *ListAgentTokensOptions, options ...RequestOptionFunc) ([]*AgentToken, *Response, error) // GetAgentToken gets a single agent token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#get-a-single-agent-token GetAgentToken(pid interface{}, aid int, id int, options ...RequestOptionFunc) (*AgentToken, *Response, error) // CreateAgentToken creates a new token for an agent. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#create-an-agent-token CreateAgentToken(pid interface{}, aid int, opt *CreateAgentTokenOptions, options ...RequestOptionFunc) (*AgentToken, *Response, error) // RevokeAgentToken revokes an agent token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/cluster_agents.html#revoke-an-agent-token RevokeAgentToken(pid interface{}, aid int, id int, options ...RequestOptionFunc) (*Response, error) }
ClusterAgentsService is an interface for gitlab.Client.ClusterAgents
type CommentEventAction ¶
type CommentEventAction = gitlab.CommentEventAction
CommentEventAction is an alias to gitlab.CommentEventAction
type CommitActionOptions ¶
type CommitActionOptions = gitlab.CommitActionOptions
CommitActionOptions is an alias to gitlab.CommitActionOptions
type CommitComment ¶
type CommitComment = gitlab.CommitComment
CommitComment is an alias to gitlab.CommitComment
type CommitCommentEvent ¶
type CommitCommentEvent = gitlab.CommitCommentEvent
CommitCommentEvent is an alias to gitlab.CommitCommentEvent
type CommitStats ¶
type CommitStats = gitlab.CommitStats
CommitStats is an alias to gitlab.CommitStats
type CommitStatus ¶
type CommitStatus = gitlab.CommitStatus
CommitStatus is an alias to gitlab.CommitStatus
type CommitsService ¶
type CommitsService interface { // ListCommits gets a list of repository commits in a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#list-repository-commits ListCommits(pid interface{}, opt *ListCommitsOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error) // GetCommitRefs gets all references (from branches or tags) a commit is pushed to // // GitLab API docs: // https://docs.gitlab.com/ee/api/commits.html#get-references-a-commit-is-pushed-to GetCommitRefs(pid interface{}, sha string, opt *GetCommitRefsOptions, options ...RequestOptionFunc) ([]*CommitRef, *Response, error) // GetCommit gets a specific commit identified by the commit hash or name of a // branch or tag. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#get-a-single-commit GetCommit(pid interface{}, sha string, opt *GetCommitOptions, options ...RequestOptionFunc) (*Commit, *Response, error) // CreateCommit creates a commit with multiple files and actions. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions CreateCommit(pid interface{}, opt *CreateCommitOptions, options ...RequestOptionFunc) (*Commit, *Response, error) // GetCommitDiff gets the diff of a commit in a project.. // // GitLab API docs: // https://docs.gitlab.com/ee/api/commits.html#get-the-diff-of-a-commit GetCommitDiff(pid interface{}, sha string, opt *GetCommitDiffOptions, options ...RequestOptionFunc) ([]*Diff, *Response, error) // GetCommitComments gets the comments of a commit in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/commits.html#get-the-comments-of-a-commit GetCommitComments(pid interface{}, sha string, opt *GetCommitCommentsOptions, options ...RequestOptionFunc) ([]*CommitComment, *Response, error) // PostCommitComment adds a comment to a commit. Optionally you can post // comments on a specific line of a commit. Therefor both path, line_new and // line_old are required. // // GitLab API docs: // https://docs.gitlab.com/ee/api/commits.html#post-comment-to-commit PostCommitComment(pid interface{}, sha string, opt *PostCommitCommentOptions, options ...RequestOptionFunc) (*CommitComment, *Response, error) // GetCommitStatuses gets the statuses of a commit in a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#list-the-statuses-of-a-commit GetCommitStatuses(pid interface{}, sha string, opt *GetCommitStatusesOptions, options ...RequestOptionFunc) ([]*CommitStatus, *Response, error) // SetCommitStatus sets the status of a commit in a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#set-the-pipeline-status-of-a-commit SetCommitStatus(pid interface{}, sha string, opt *SetCommitStatusOptions, options ...RequestOptionFunc) (*CommitStatus, *Response, error) // ListMergeRequestsByCommit gets merge request associated with a commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/commits.html#list-merge-requests-associated-with-a-commit ListMergeRequestsByCommit(pid interface{}, sha string, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // CherryPickCommit cherry picks a commit to a given branch. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#cherry-pick-a-commit CherryPickCommit(pid interface{}, sha string, opt *CherryPickCommitOptions, options ...RequestOptionFunc) (*Commit, *Response, error) // RevertCommit reverts a commit in a given branch. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#revert-a-commit RevertCommit(pid interface{}, sha string, opt *RevertCommitOptions, options ...RequestOptionFunc) (*Commit, *Response, error) // GetGPGSignature gets a GPG signature of a commit. // // GitLab API docs: https://docs.gitlab.com/ee/api/commits.html#get-gpg-signature-of-a-commit GetGPGSignature(pid interface{}, sha string, options ...RequestOptionFunc) (*GPGSignature, *Response, error) }
CommitsService is an interface for gitlab.Client.Commits
type CompareOptions ¶
type CompareOptions = gitlab.CompareOptions
CompareOptions is an alias to gitlab.CompareOptions
type CompoundMetrics ¶
type CompoundMetrics = gitlab.CompoundMetrics
CompoundMetrics is an alias to gitlab.CompoundMetrics
type ConfigProject ¶
type ConfigProject = gitlab.ConfigProject
ConfigProject is an alias to gitlab.ConfigProject
type ContainerExpirationPolicy ¶
type ContainerExpirationPolicy = gitlab.ContainerExpirationPolicy
ContainerExpirationPolicy is an alias to gitlab.ContainerExpirationPolicy
type ContainerExpirationPolicyAttributes ¶
type ContainerExpirationPolicyAttributes = gitlab.ContainerExpirationPolicyAttributes
ContainerExpirationPolicyAttributes is an alias to gitlab.ContainerExpirationPolicyAttributes
type ContainerRegistryService ¶
type ContainerRegistryService interface { // ListProjectRegistryRepositories gets a list of registry repositories in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#within-a-project ListProjectRegistryRepositories(pid interface{}, opt *ListRegistryRepositoriesOptions, options ...RequestOptionFunc) ([]*RegistryRepository, *Response, error) // ListGroupRegistryRepositories gets a list of registry repositories in a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#within-a-group ListGroupRegistryRepositories(gid interface{}, opt *ListRegistryRepositoriesOptions, options ...RequestOptionFunc) ([]*RegistryRepository, *Response, error) // GetSingleRegistryRepository gets the details of single registry repository. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#get-details-of-a-single-repository GetSingleRegistryRepository(pid interface{}, opt *GetSingleRegistryRepositoryOptions, options ...RequestOptionFunc) (*RegistryRepository, *Response, error) // DeleteRegistryRepository deletes a repository in a registry. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#delete-registry-repository DeleteRegistryRepository(pid interface{}, repository int, options ...RequestOptionFunc) (*Response, error) // ListRegistryRepositoryTags gets a list of tags for given registry repository. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#list-registry-repository-tags ListRegistryRepositoryTags(pid interface{}, repository int, opt *ListRegistryRepositoryTagsOptions, options ...RequestOptionFunc) ([]*RegistryRepositoryTag, *Response, error) // GetRegistryRepositoryTagDetail get details of a registry repository tag // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#get-details-of-a-registry-repository-tag GetRegistryRepositoryTagDetail(pid interface{}, repository int, tagName string, options ...RequestOptionFunc) (*RegistryRepositoryTag, *Response, error) // DeleteRegistryRepositoryTag deletes a registry repository tag. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#delete-a-registry-repository-tag DeleteRegistryRepositoryTag(pid interface{}, repository int, tagName string, options ...RequestOptionFunc) (*Response, error) // DeleteRegistryRepositoryTags deletes repository tags in bulk based on // given criteria. // // GitLab API docs: // https://docs.gitlab.com/ee/api/container_registry.html#delete-registry-repository-tags-in-bulk DeleteRegistryRepositoryTags(pid interface{}, repository int, opt *DeleteRegistryRepositoryTagsOptions, options ...RequestOptionFunc) (*Response, error) }
ContainerRegistryService is an interface for gitlab.Client.ContainerRegistry
type ContainerRegistryStatus ¶
type ContainerRegistryStatus = gitlab.ContainerRegistryStatus
ContainerRegistryStatus is an alias to gitlab.ContainerRegistryStatus
type ContributionEvent ¶
type ContributionEvent = gitlab.ContributionEvent
ContributionEvent is an alias to gitlab.ContributionEvent
type Contributor ¶
type Contributor = gitlab.Contributor
Contributor is an alias to gitlab.Contributor
type CreateAgentTokenOptions ¶
type CreateAgentTokenOptions = gitlab.CreateAgentTokenOptions
CreateAgentTokenOptions is an alias to gitlab.CreateAgentTokenOptions
type CreateApplicationOptions ¶
type CreateApplicationOptions = gitlab.CreateApplicationOptions
CreateApplicationOptions is an alias to gitlab.CreateApplicationOptions
type CreateAwardEmojiOptions ¶
type CreateAwardEmojiOptions = gitlab.CreateAwardEmojiOptions
CreateAwardEmojiOptions is an alias to gitlab.CreateAwardEmojiOptions
type CreateBranchOptions ¶
type CreateBranchOptions = gitlab.CreateBranchOptions
CreateBranchOptions is an alias to gitlab.CreateBranchOptions
type CreateBroadcastMessageOptions ¶
type CreateBroadcastMessageOptions = gitlab.CreateBroadcastMessageOptions
CreateBroadcastMessageOptions is an alias to gitlab.CreateBroadcastMessageOptions
type CreateCommitDiscussionOptions ¶
type CreateCommitDiscussionOptions = gitlab.CreateCommitDiscussionOptions
CreateCommitDiscussionOptions is an alias to gitlab.CreateCommitDiscussionOptions
type CreateCommitOptions ¶
type CreateCommitOptions = gitlab.CreateCommitOptions
CreateCommitOptions is an alias to gitlab.CreateCommitOptions
type CreateDependencyListExportOptions ¶
type CreateDependencyListExportOptions = gitlab.CreateDependencyListExportOptions
CreateDependencyListExportOptions is an alias to gitlab.CreateDependencyListExportOptions
type CreateDraftNoteOptions ¶
type CreateDraftNoteOptions = gitlab.CreateDraftNoteOptions
CreateDraftNoteOptions is an alias to gitlab.CreateDraftNoteOptions
type CreateEnvironmentOptions ¶
type CreateEnvironmentOptions = gitlab.CreateEnvironmentOptions
CreateEnvironmentOptions is an alias to gitlab.CreateEnvironmentOptions
type CreateEpicDiscussionOptions ¶
type CreateEpicDiscussionOptions = gitlab.CreateEpicDiscussionOptions
CreateEpicDiscussionOptions is an alias to gitlab.CreateEpicDiscussionOptions
type CreateEpicNoteOptions ¶
type CreateEpicNoteOptions = gitlab.CreateEpicNoteOptions
CreateEpicNoteOptions is an alias to gitlab.CreateEpicNoteOptions
type CreateEpicOptions ¶
type CreateEpicOptions = gitlab.CreateEpicOptions
CreateEpicOptions is an alias to gitlab.CreateEpicOptions
type CreateExternalStatusCheckOptions ¶
type CreateExternalStatusCheckOptions = gitlab.CreateExternalStatusCheckOptions
CreateExternalStatusCheckOptions is an alias to gitlab.CreateExternalStatusCheckOptions
type CreateFileOptions ¶
type CreateFileOptions = gitlab.CreateFileOptions
CreateFileOptions is an alias to gitlab.CreateFileOptions
type CreateFreezePeriodOptions ¶
type CreateFreezePeriodOptions = gitlab.CreateFreezePeriodOptions
CreateFreezePeriodOptions is an alias to gitlab.CreateFreezePeriodOptions
type CreateGeoNodesOptions ¶
type CreateGeoNodesOptions = gitlab.CreateGeoNodesOptions
CreateGeoNodesOptions is an alias to gitlab.CreateGeoNodesOptions
type CreateGroupAccessTokenOptions ¶
type CreateGroupAccessTokenOptions = gitlab.CreateGroupAccessTokenOptions
CreateGroupAccessTokenOptions is an alias to gitlab.CreateGroupAccessTokenOptions
type CreateGroupDeployTokenOptions ¶
type CreateGroupDeployTokenOptions = gitlab.CreateGroupDeployTokenOptions
CreateGroupDeployTokenOptions is an alias to gitlab.CreateGroupDeployTokenOptions
type CreateGroupIssueBoardListOptions ¶
type CreateGroupIssueBoardListOptions = gitlab.CreateGroupIssueBoardListOptions
CreateGroupIssueBoardListOptions is an alias to gitlab.CreateGroupIssueBoardListOptions
type CreateGroupIssueBoardOptions ¶
type CreateGroupIssueBoardOptions = gitlab.CreateGroupIssueBoardOptions
CreateGroupIssueBoardOptions is an alias to gitlab.CreateGroupIssueBoardOptions
type CreateGroupLabelOptions ¶
type CreateGroupLabelOptions = gitlab.CreateGroupLabelOptions
CreateGroupLabelOptions is an alias to gitlab.CreateGroupLabelOptions
type CreateGroupMilestoneOptions ¶
type CreateGroupMilestoneOptions = gitlab.CreateGroupMilestoneOptions
CreateGroupMilestoneOptions is an alias to gitlab.CreateGroupMilestoneOptions
type CreateGroupOptions ¶
type CreateGroupOptions = gitlab.CreateGroupOptions
CreateGroupOptions is an alias to gitlab.CreateGroupOptions
type CreateGroupSSHCertificateOptions ¶
type CreateGroupSSHCertificateOptions = gitlab.CreateGroupSSHCertificateOptions
CreateGroupSSHCertificateOptions is an alias to gitlab.CreateGroupSSHCertificateOptions
type CreateGroupVariableOptions ¶
type CreateGroupVariableOptions = gitlab.CreateGroupVariableOptions
CreateGroupVariableOptions is an alias to gitlab.CreateGroupVariableOptions
type CreateGroupWikiPageOptions ¶
type CreateGroupWikiPageOptions = gitlab.CreateGroupWikiPageOptions
CreateGroupWikiPageOptions is an alias to gitlab.CreateGroupWikiPageOptions
type CreateImpersonationTokenOptions ¶
type CreateImpersonationTokenOptions = gitlab.CreateImpersonationTokenOptions
CreateImpersonationTokenOptions is an alias to gitlab.CreateImpersonationTokenOptions
type CreateInstanceVariableOptions ¶
type CreateInstanceVariableOptions = gitlab.CreateInstanceVariableOptions
CreateInstanceVariableOptions is an alias to gitlab.CreateInstanceVariableOptions
type CreateIssueBoardListOptions ¶
type CreateIssueBoardListOptions = gitlab.CreateIssueBoardListOptions
CreateIssueBoardListOptions is an alias to gitlab.CreateIssueBoardListOptions
type CreateIssueBoardOptions ¶
type CreateIssueBoardOptions = gitlab.CreateIssueBoardOptions
CreateIssueBoardOptions is an alias to gitlab.CreateIssueBoardOptions
type CreateIssueDiscussionOptions ¶
type CreateIssueDiscussionOptions = gitlab.CreateIssueDiscussionOptions
CreateIssueDiscussionOptions is an alias to gitlab.CreateIssueDiscussionOptions
type CreateIssueLinkOptions ¶
type CreateIssueLinkOptions = gitlab.CreateIssueLinkOptions
CreateIssueLinkOptions is an alias to gitlab.CreateIssueLinkOptions
type CreateIssueNoteOptions ¶
type CreateIssueNoteOptions = gitlab.CreateIssueNoteOptions
CreateIssueNoteOptions is an alias to gitlab.CreateIssueNoteOptions
type CreateIssueOptions ¶
type CreateIssueOptions = gitlab.CreateIssueOptions
CreateIssueOptions is an alias to gitlab.CreateIssueOptions
type CreateLabelOptions ¶
type CreateLabelOptions = gitlab.CreateLabelOptions
CreateLabelOptions is an alias to gitlab.CreateLabelOptions
type CreateMemberRoleOptions ¶
type CreateMemberRoleOptions = gitlab.CreateMemberRoleOptions
CreateMemberRoleOptions is an alias to gitlab.CreateMemberRoleOptions
type CreateMergeRequestApprovalRuleOptions ¶
type CreateMergeRequestApprovalRuleOptions = gitlab.CreateMergeRequestApprovalRuleOptions
CreateMergeRequestApprovalRuleOptions is an alias to gitlab.CreateMergeRequestApprovalRuleOptions
type CreateMergeRequestDependencyOptions ¶
type CreateMergeRequestDependencyOptions = gitlab.CreateMergeRequestDependencyOptions
CreateMergeRequestDependencyOptions is an alias to gitlab.CreateMergeRequestDependencyOptions
type CreateMergeRequestDiscussionOptions ¶
type CreateMergeRequestDiscussionOptions = gitlab.CreateMergeRequestDiscussionOptions
CreateMergeRequestDiscussionOptions is an alias to gitlab.CreateMergeRequestDiscussionOptions
type CreateMergeRequestNoteOptions ¶
type CreateMergeRequestNoteOptions = gitlab.CreateMergeRequestNoteOptions
CreateMergeRequestNoteOptions is an alias to gitlab.CreateMergeRequestNoteOptions
type CreateMergeRequestOptions ¶
type CreateMergeRequestOptions = gitlab.CreateMergeRequestOptions
CreateMergeRequestOptions is an alias to gitlab.CreateMergeRequestOptions
type CreateMilestoneOptions ¶
type CreateMilestoneOptions = gitlab.CreateMilestoneOptions
CreateMilestoneOptions is an alias to gitlab.CreateMilestoneOptions
type CreatePagesDomainOptions ¶
type CreatePagesDomainOptions = gitlab.CreatePagesDomainOptions
CreatePagesDomainOptions is an alias to gitlab.CreatePagesDomainOptions
type CreatePersonalAccessTokenForCurrentUserOptions ¶
type CreatePersonalAccessTokenForCurrentUserOptions = gitlab.CreatePersonalAccessTokenForCurrentUserOptions
CreatePersonalAccessTokenForCurrentUserOptions is an alias to gitlab.CreatePersonalAccessTokenForCurrentUserOptions
type CreatePersonalAccessTokenOptions ¶
type CreatePersonalAccessTokenOptions = gitlab.CreatePersonalAccessTokenOptions
CreatePersonalAccessTokenOptions is an alias to gitlab.CreatePersonalAccessTokenOptions
type CreatePipelineOptions ¶
type CreatePipelineOptions = gitlab.CreatePipelineOptions
CreatePipelineOptions is an alias to gitlab.CreatePipelineOptions
type CreatePipelineScheduleOptions ¶
type CreatePipelineScheduleOptions = gitlab.CreatePipelineScheduleOptions
CreatePipelineScheduleOptions is an alias to gitlab.CreatePipelineScheduleOptions
type CreatePipelineScheduleVariableOptions ¶
type CreatePipelineScheduleVariableOptions = gitlab.CreatePipelineScheduleVariableOptions
CreatePipelineScheduleVariableOptions is an alias to gitlab.CreatePipelineScheduleVariableOptions
type CreateProjectAccessTokenOptions ¶
type CreateProjectAccessTokenOptions = gitlab.CreateProjectAccessTokenOptions
CreateProjectAccessTokenOptions is an alias to gitlab.CreateProjectAccessTokenOptions
type CreateProjectDeployTokenOptions ¶
type CreateProjectDeployTokenOptions = gitlab.CreateProjectDeployTokenOptions
CreateProjectDeployTokenOptions is an alias to gitlab.CreateProjectDeployTokenOptions
type CreateProjectDeploymentOptions ¶
type CreateProjectDeploymentOptions = gitlab.CreateProjectDeploymentOptions
CreateProjectDeploymentOptions is an alias to gitlab.CreateProjectDeploymentOptions
type CreateProjectFeatureFlagOptions ¶
type CreateProjectFeatureFlagOptions = gitlab.CreateProjectFeatureFlagOptions
CreateProjectFeatureFlagOptions is an alias to gitlab.CreateProjectFeatureFlagOptions
type CreateProjectForUserOptions ¶
type CreateProjectForUserOptions = gitlab.CreateProjectForUserOptions
CreateProjectForUserOptions is an alias to gitlab.CreateProjectForUserOptions
type CreateProjectLevelRuleOptions ¶
type CreateProjectLevelRuleOptions = gitlab.CreateProjectLevelRuleOptions
CreateProjectLevelRuleOptions is an alias to gitlab.CreateProjectLevelRuleOptions
type CreateProjectOptions ¶
type CreateProjectOptions = gitlab.CreateProjectOptions
CreateProjectOptions is an alias to gitlab.CreateProjectOptions
type CreateProjectSnippetOptions ¶
type CreateProjectSnippetOptions = gitlab.CreateProjectSnippetOptions
CreateProjectSnippetOptions is an alias to gitlab.CreateProjectSnippetOptions
type CreateProjectVariableOptions ¶
type CreateProjectVariableOptions = gitlab.CreateProjectVariableOptions
CreateProjectVariableOptions is an alias to gitlab.CreateProjectVariableOptions
type CreateReleaseLinkOptions ¶
type CreateReleaseLinkOptions = gitlab.CreateReleaseLinkOptions
CreateReleaseLinkOptions is an alias to gitlab.CreateReleaseLinkOptions
type CreateReleaseNoteOptions ¶
type CreateReleaseNoteOptions = gitlab.CreateReleaseNoteOptions
CreateReleaseNoteOptions is an alias to gitlab.CreateReleaseNoteOptions
type CreateReleaseOptions ¶
type CreateReleaseOptions = gitlab.CreateReleaseOptions
CreateReleaseOptions is an alias to gitlab.CreateReleaseOptions
type CreateServiceAccountOptions ¶
type CreateServiceAccountOptions = gitlab.CreateServiceAccountOptions
CreateServiceAccountOptions is an alias to gitlab.CreateServiceAccountOptions
type CreateServiceAccountPersonalAccessTokenOptions ¶
type CreateServiceAccountPersonalAccessTokenOptions = gitlab.CreateServiceAccountPersonalAccessTokenOptions
CreateServiceAccountPersonalAccessTokenOptions is an alias to gitlab.CreateServiceAccountPersonalAccessTokenOptions
type CreateServiceAccountUserOptions ¶
type CreateServiceAccountUserOptions = gitlab.CreateServiceAccountUserOptions
CreateServiceAccountUserOptions is an alias to gitlab.CreateServiceAccountUserOptions
type CreateSnippetDiscussionOptions ¶
type CreateSnippetDiscussionOptions = gitlab.CreateSnippetDiscussionOptions
CreateSnippetDiscussionOptions is an alias to gitlab.CreateSnippetDiscussionOptions
type CreateSnippetFileOptions ¶
type CreateSnippetFileOptions = gitlab.CreateSnippetFileOptions
CreateSnippetFileOptions is an alias to gitlab.CreateSnippetFileOptions
type CreateSnippetNoteOptions ¶
type CreateSnippetNoteOptions = gitlab.CreateSnippetNoteOptions
CreateSnippetNoteOptions is an alias to gitlab.CreateSnippetNoteOptions
type CreateSnippetOptions ¶
type CreateSnippetOptions = gitlab.CreateSnippetOptions
CreateSnippetOptions is an alias to gitlab.CreateSnippetOptions
type CreateTagOptions ¶
type CreateTagOptions = gitlab.CreateTagOptions
CreateTagOptions is an alias to gitlab.CreateTagOptions
type CreateTopicOptions ¶
type CreateTopicOptions = gitlab.CreateTopicOptions
CreateTopicOptions is an alias to gitlab.CreateTopicOptions
type CreateUserOptions ¶
type CreateUserOptions = gitlab.CreateUserOptions
CreateUserOptions is an alias to gitlab.CreateUserOptions
type CreateUserRunnerOptions ¶
type CreateUserRunnerOptions = gitlab.CreateUserRunnerOptions
CreateUserRunnerOptions is an alias to gitlab.CreateUserRunnerOptions
type CreateVulnerabilityOptions ¶
type CreateVulnerabilityOptions = gitlab.CreateVulnerabilityOptions
CreateVulnerabilityOptions is an alias to gitlab.CreateVulnerabilityOptions
type CreateWikiPageOptions ¶
type CreateWikiPageOptions = gitlab.CreateWikiPageOptions
CreateWikiPageOptions is an alias to gitlab.CreateWikiPageOptions
type CustomAttribute ¶
type CustomAttribute = gitlab.CustomAttribute
CustomAttribute is an alias to gitlab.CustomAttribute
type CustomAttributesService ¶
type CustomAttributesService interface { // ListCustomUserAttributes lists the custom attributes of the specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#list-custom-attributes ListCustomUserAttributes(user int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error) // ListCustomGroupAttributes lists the custom attributes of the specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#list-custom-attributes ListCustomGroupAttributes(group int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error) // ListCustomProjectAttributes lists the custom attributes of the specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#list-custom-attributes ListCustomProjectAttributes(project int, options ...RequestOptionFunc) ([]*CustomAttribute, *Response, error) // GetCustomUserAttribute returns the user attribute with a speciifc key. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#single-custom-attribute GetCustomUserAttribute(user int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // GetCustomGroupAttribute returns the group attribute with a speciifc key. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#single-custom-attribute GetCustomGroupAttribute(group int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // GetCustomProjectAttribute returns the project attribute with a speciifc key. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#single-custom-attribute GetCustomProjectAttribute(project int, key string, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // SetCustomUserAttribute sets the custom attributes of the specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#set-custom-attribute SetCustomUserAttribute(user int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // SetCustomGroupAttribute sets the custom attributes of the specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#set-custom-attribute SetCustomGroupAttribute(group int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // SetCustomProjectAttribute sets the custom attributes of the specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#set-custom-attribute SetCustomProjectAttribute(project int, c CustomAttribute, options ...RequestOptionFunc) (*CustomAttribute, *Response, error) // DeleteCustomUserAttribute removes the custom attribute of the specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#delete-custom-attribute DeleteCustomUserAttribute(user int, key string, options ...RequestOptionFunc) (*Response, error) // DeleteCustomGroupAttribute removes the custom attribute of the specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#delete-custom-attribute DeleteCustomGroupAttribute(group int, key string, options ...RequestOptionFunc) (*Response, error) // DeleteCustomProjectAttribute removes the custom attribute of the specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/custom_attributes.html#delete-custom-attribute DeleteCustomProjectAttribute(project int, key string, options ...RequestOptionFunc) (*Response, error) }
CustomAttributesService is an interface for gitlab.Client.CustomAttribute
type CustomIssueTrackerService ¶
type CustomIssueTrackerService = gitlab.CustomIssueTrackerService
CustomIssueTrackerService is an alias to gitlab.CustomIssueTrackerService
type CustomIssueTrackerServiceProperties ¶
type CustomIssueTrackerServiceProperties = gitlab.CustomIssueTrackerServiceProperties
CustomIssueTrackerServiceProperties is an alias to gitlab.CustomIssueTrackerServiceProperties
type DORAMetricInterval ¶
type DORAMetricInterval = gitlab.DORAMetricInterval
DORAMetricInterval is an alias to gitlab.DORAMetricInterval
type DORAMetricType ¶
type DORAMetricType = gitlab.DORAMetricType
DORAMetricType is an alias to gitlab.DORAMetricType
type DORAMetricsService ¶
type DORAMetricsService interface { // GetProjectDORAMetrics gets the DORA metrics for a project. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/dora/metrics.html#get-project-level-dora-metrics GetProjectDORAMetrics(pid interface{}, opt GetDORAMetricsOptions, options ...RequestOptionFunc) ([]DORAMetric, *Response, error) // GetGroupDORAMetrics gets the DORA metrics for a group. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/dora/metrics.html#get-group-level-dora-metrics GetGroupDORAMetrics(gid interface{}, opt GetDORAMetricsOptions, options ...RequestOptionFunc) ([]DORAMetric, *Response, error) }
DORAMetricsService is an interface for gitlab.Client.DORAMetrics
type DataDogService ¶
type DataDogService = gitlab.DataDogService
DataDogService is an alias to gitlab.DataDogService
type DataDogServiceProperties ¶
type DataDogServiceProperties = gitlab.DataDogServiceProperties
DataDogServiceProperties is an alias to gitlab.DataDogServiceProperties
type DefaultBranchProtectionDefaultsOptions ¶
type DefaultBranchProtectionDefaultsOptions = gitlab.DefaultBranchProtectionDefaultsOptions
DefaultBranchProtectionDefaultsOptions is an alias to gitlab.DefaultBranchProtectionDefaultsOptions
type DeleteFileOptions ¶
type DeleteFileOptions = gitlab.DeleteFileOptions
DeleteFileOptions is an alias to gitlab.DeleteFileOptions
type DeleteGroupLDAPLinkWithCNOrFilterOptions ¶
type DeleteGroupLDAPLinkWithCNOrFilterOptions = gitlab.DeleteGroupLDAPLinkWithCNOrFilterOptions
DeleteGroupLDAPLinkWithCNOrFilterOptions is an alias to gitlab.DeleteGroupLDAPLinkWithCNOrFilterOptions
type DeleteGroupLabelOptions ¶
type DeleteGroupLabelOptions = gitlab.DeleteGroupLabelOptions
DeleteGroupLabelOptions is an alias to gitlab.DeleteGroupLabelOptions
type DeleteGroupOptions ¶
type DeleteGroupOptions = gitlab.DeleteGroupOptions
DeleteGroupOptions is an alias to gitlab.DeleteGroupOptions
type DeleteLabelOptions ¶
type DeleteLabelOptions = gitlab.DeleteLabelOptions
DeleteLabelOptions is an alias to gitlab.DeleteLabelOptions
type DeleteProjectOptions ¶
type DeleteProjectOptions = gitlab.DeleteProjectOptions
DeleteProjectOptions is an alias to gitlab.DeleteProjectOptions
type DeleteRegisteredRunnerOptions ¶
type DeleteRegisteredRunnerOptions = gitlab.DeleteRegisteredRunnerOptions
DeleteRegisteredRunnerOptions is an alias to gitlab.DeleteRegisteredRunnerOptions
type DeleteRegistryRepositoryTagsOptions ¶
type DeleteRegistryRepositoryTagsOptions = gitlab.DeleteRegistryRepositoryTagsOptions
DeleteRegistryRepositoryTagsOptions is an alias to gitlab.DeleteRegistryRepositoryTagsOptions
type DeleteServiceAccountOptions ¶
type DeleteServiceAccountOptions = gitlab.DeleteServiceAccountOptions
DeleteServiceAccountOptions is an alias to gitlab.DeleteServiceAccountOptions
type DependencyListExport ¶
type DependencyListExport = gitlab.DependencyListExport
DependencyListExport is an alias to gitlab.DependencyListExport
type DependencyListExportService ¶
type DependencyListExportService interface { // CreateDependencyListExport creates a new CycloneDX JSON export for all the project dependencies // detected in a pipeline. // // If an authenticated user does not have permission to read_dependency, this request returns a 403 // Forbidden status code. // // SBOM exports can be only accessed by the export’s author. // // GitLab docs: // https://docs.gitlab.com/ee/api/dependency_list_export.html#create-a-pipeline-level-dependency-list-export CreateDependencyListExport(pipelineID int, opt *CreateDependencyListExportOptions, options ...RequestOptionFunc) (*DependencyListExport, *Response, error) // GetDependencyListExport gets metadata about a single dependency list export. // // GitLab docs: // https://docs.gitlab.com/ee/api/dependency_list_export.html#get-single-dependency-list-export GetDependencyListExport(id int, options ...RequestOptionFunc) (*DependencyListExport, *Response, error) // DownloadDependencyListExport downloads a single dependency list export. // // The github.com/CycloneDX/cyclonedx-go package can be used to parse the data from the returned io.Reader. // // sbom := new(cdx.BOM) // decoder := cdx.NewBOMDecoder(reader, cdx.BOMFileFormatJSON) // // if err = decoder.Decode(sbom); err != nil { // panic(err) // } // // GitLab docs: // https://docs.gitlab.com/ee/api/dependency_list_export.html#download-dependency-list-export DownloadDependencyListExport(id int, options ...RequestOptionFunc) (io.Reader, *Response, error) }
DependencyListExportService is an interface for gitlab.Client.DependencyListExport
type DeployKeyProject ¶
type DeployKeyProject = gitlab.DeployKeyProject
DeployKeyProject is an alias to gitlab.DeployKeyProject
type DeployKeysService ¶
type DeployKeysService interface { // ListAllDeployKeys gets a list of all deploy keys // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#list-all-deploy-keys ListAllDeployKeys(opt *ListInstanceDeployKeysOptions, options ...RequestOptionFunc) ([]*InstanceDeployKey, *Response, error) // ListProjectDeployKeys gets a list of a project's deploy keys // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#list-deploy-keys-for-project ListProjectDeployKeys(pid interface{}, opt *ListProjectDeployKeysOptions, options ...RequestOptionFunc) ([]*ProjectDeployKey, *Response, error) // GetDeployKey gets a single deploy key. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#get-a-single-deploy-key GetDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error) // AddDeployKey creates a new deploy key for a project. If deploy key already // exists in another project - it will be joined to project but only if // original one was is accessible by same user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#add-deploy-key-for-a-project AddDeployKey(pid interface{}, opt *AddDeployKeyOptions, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error) // DeleteDeployKey deletes a deploy key from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#delete-deploy-key DeleteDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*Response, error) // EnableDeployKey enables a deploy key. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#enable-a-deploy-key EnableDeployKey(pid interface{}, deployKey int, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error) // UpdateDeployKey updates a deploy key for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_keys.html#update-deploy-key UpdateDeployKey(pid interface{}, deployKey int, opt *UpdateDeployKeyOptions, options ...RequestOptionFunc) (*ProjectDeployKey, *Response, error) }
DeployKeysService is an interface for gitlab.Client.DeployKeys
type DeployToken ¶
type DeployToken = gitlab.DeployToken
DeployToken is an alias to gitlab.DeployToken
type DeployTokensService ¶
type DeployTokensService interface { // ListAllDeployTokens gets a list of all deploy tokens. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#list-all-deploy-tokens ListAllDeployTokens(options ...RequestOptionFunc) ([]*DeployToken, *Response, error) // ListProjectDeployTokens gets a list of a project's deploy tokens. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#list-project-deploy-tokens ListProjectDeployTokens(pid interface{}, opt *ListProjectDeployTokensOptions, options ...RequestOptionFunc) ([]*DeployToken, *Response, error) // GetProjectDeployToken gets a single deploy token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#get-a-project-deploy-token GetProjectDeployToken(pid interface{}, deployToken int, options ...RequestOptionFunc) (*DeployToken, *Response, error) // CreateProjectDeployToken creates a new deploy token for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#create-a-project-deploy-token CreateProjectDeployToken(pid interface{}, opt *CreateProjectDeployTokenOptions, options ...RequestOptionFunc) (*DeployToken, *Response, error) // DeleteProjectDeployToken removes a deploy token from the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#delete-a-project-deploy-token DeleteProjectDeployToken(pid interface{}, deployToken int, options ...RequestOptionFunc) (*Response, error) // ListGroupDeployTokens gets a list of a group’s deploy tokens. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#list-group-deploy-tokens ListGroupDeployTokens(gid interface{}, opt *ListGroupDeployTokensOptions, options ...RequestOptionFunc) ([]*DeployToken, *Response, error) // GetGroupDeployToken gets a single deploy token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#get-a-group-deploy-token GetGroupDeployToken(gid interface{}, deployToken int, options ...RequestOptionFunc) (*DeployToken, *Response, error) // CreateGroupDeployToken creates a new deploy token for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#create-a-group-deploy-token CreateGroupDeployToken(gid interface{}, opt *CreateGroupDeployTokenOptions, options ...RequestOptionFunc) (*DeployToken, *Response, error) // DeleteGroupDeployToken removes a deploy token from the group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deploy_tokens.html#delete-a-group-deploy-token DeleteGroupDeployToken(gid interface{}, deployToken int, options ...RequestOptionFunc) (*Response, error) }
DeployTokensService is an interface for gitlab.Client.DeployTokens
type DeploymentApprovalStatus ¶
type DeploymentApprovalStatus = gitlab.DeploymentApprovalStatus
DeploymentApprovalStatus is an alias to gitlab.DeploymentApprovalStatus
type DeploymentEvent ¶
type DeploymentEvent = gitlab.DeploymentEvent
DeploymentEvent is an alias to gitlab.DeploymentEvent
type DeploymentMergeRequestsService ¶
type DeploymentMergeRequestsService interface { // ListDeploymentMergeRequests get the merge requests associated with deployment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#list-of-merge-requests-associated-with-a-deployment ListDeploymentMergeRequests(pid interface{}, deployment int, opts *ListMergeRequestsOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error) }
DeploymentMergeRequestsService is an interface for gitlab.Client.DeploymentMergeRequests
type DeploymentStatusValue ¶
type DeploymentStatusValue = gitlab.DeploymentStatusValue
DeploymentStatusValue is an alias to gitlab.DeploymentStatusValue
type DeploymentsService ¶
type DeploymentsService interface { // ListProjectDeployments gets a list of deployments in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#list-project-deployments ListProjectDeployments(pid interface{}, opts *ListProjectDeploymentsOptions, options ...RequestOptionFunc) ([]*Deployment, *Response, error) // GetProjectDeployment get a deployment for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#get-a-specific-deployment GetProjectDeployment(pid interface{}, deployment int, options ...RequestOptionFunc) (*Deployment, *Response, error) // CreateProjectDeployment creates a project deployment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#create-a-deployment CreateProjectDeployment(pid interface{}, opt *CreateProjectDeploymentOptions, options ...RequestOptionFunc) (*Deployment, *Response, error) // UpdateProjectDeployment updates a project deployment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#update-a-deployment UpdateProjectDeployment(pid interface{}, deployment int, opt *UpdateProjectDeploymentOptions, options ...RequestOptionFunc) (*Deployment, *Response, error) // ApproveOrRejectProjectDeployment approve or reject a blocked deployment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment ApproveOrRejectProjectDeployment(pid interface{}, deployment int, opt *ApproveOrRejectProjectDeploymentOptions, options ...RequestOptionFunc) (*Response, error) // DeleteProjectDeployment delete a project deployment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/deployments.html#delete-a-specific-deployment DeleteProjectDeployment(pid interface{}, deployment int, options ...RequestOptionFunc) (*Response, error) }
DeploymentsService is an interface for gitlab.Client.Deployments
type DetailedStatus ¶
type DetailedStatus = gitlab.DetailedStatus
DetailedStatus is an alias to gitlab.DetailedStatus
type DiscordService ¶
type DiscordService = gitlab.DiscordService
DiscordService is an alias to gitlab.DiscordService
type DiscordServiceProperties ¶
type DiscordServiceProperties = gitlab.DiscordServiceProperties
DiscordServiceProperties is an alias to gitlab.DiscordServiceProperties
type DiscussionsService ¶
type DiscussionsService interface { // ListIssueDiscussions gets a list of all discussions for a single // issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#list-project-issue-discussion-items ListIssueDiscussions(pid interface{}, issue int, opt *ListIssueDiscussionsOptions, options ...RequestOptionFunc) ([]*Discussion, *Response, error) // GetIssueDiscussion returns a single discussion for a specific project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#get-single-issue-discussion-item GetIssueDiscussion(pid interface{}, issue int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error) // CreateIssueDiscussion creates a new discussion to a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#create-new-issue-thread CreateIssueDiscussion(pid interface{}, issue int, opt *CreateIssueDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // AddIssueDiscussionNote creates a new discussion to a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#add-note-to-existing-issue-thread AddIssueDiscussionNote(pid interface{}, issue int, discussion string, opt *AddIssueDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateIssueDiscussionNote modifies existing discussion of an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#modify-existing-issue-thread-note UpdateIssueDiscussionNote(pid interface{}, issue int, discussion string, note int, opt *UpdateIssueDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteIssueDiscussionNote deletes an existing discussion of an issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#delete-an-issue-thread-note DeleteIssueDiscussionNote(pid interface{}, issue int, discussion string, note int, options ...RequestOptionFunc) (*Response, error) // ListSnippetDiscussions gets a list of all discussions for a single // snippet. Snippet discussions are comments users can post to a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#list-project-snippet-discussion-items ListSnippetDiscussions(pid interface{}, snippet int, opt *ListSnippetDiscussionsOptions, options ...RequestOptionFunc) ([]*Discussion, *Response, error) // GetSnippetDiscussion returns a single discussion for a given snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#get-single-snippet-discussion-item GetSnippetDiscussion(pid interface{}, snippet int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error) // CreateSnippetDiscussion creates a new discussion for a single snippet. // Snippet discussions are comments users can post to a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#create-new-snippet-thread CreateSnippetDiscussion(pid interface{}, snippet int, opt *CreateSnippetDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // AddSnippetDiscussionNote creates a new discussion to a single project // snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#add-note-to-existing-snippet-thread AddSnippetDiscussionNote(pid interface{}, snippet int, discussion string, opt *AddSnippetDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateSnippetDiscussionNote modifies existing discussion of a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#modify-existing-snippet-thread-note UpdateSnippetDiscussionNote(pid interface{}, snippet int, discussion string, note int, opt *UpdateSnippetDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteSnippetDiscussionNote deletes an existing discussion of a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#delete-a-snippet-thread-note DeleteSnippetDiscussionNote(pid interface{}, snippet int, discussion string, note int, options ...RequestOptionFunc) (*Response, error) // ListGroupEpicDiscussions gets a list of all discussions for a single // epic. Epic discussions are comments users can post to a epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#list-group-epic-discussion-items ListGroupEpicDiscussions(gid interface{}, epic int, opt *ListGroupEpicDiscussionsOptions, options ...RequestOptionFunc) ([]*Discussion, *Response, error) // GetEpicDiscussion returns a single discussion for a given epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#get-single-epic-discussion-item GetEpicDiscussion(gid interface{}, epic int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error) // CreateEpicDiscussion creates a new discussion for a single epic. Epic // discussions are comments users can post to a epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#create-new-epic-thread CreateEpicDiscussion(gid interface{}, epic int, opt *CreateEpicDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // AddEpicDiscussionNote creates a new discussion to a single project epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#add-note-to-existing-epic-thread AddEpicDiscussionNote(gid interface{}, epic int, discussion string, opt *AddEpicDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateEpicDiscussionNote modifies existing discussion of a epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#modify-existing-epic-thread-note UpdateEpicDiscussionNote(gid interface{}, epic int, discussion string, note int, opt *UpdateEpicDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteEpicDiscussionNote deletes an existing discussion of a epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#delete-an-epic-thread-note DeleteEpicDiscussionNote(gid interface{}, epic int, discussion string, note int, options ...RequestOptionFunc) (*Response, error) // ListMergeRequestDiscussions gets a list of all discussions for a single // merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#list-project-merge-request-discussion-items ListMergeRequestDiscussions(pid interface{}, mergeRequest int, opt *ListMergeRequestDiscussionsOptions, options ...RequestOptionFunc) ([]*Discussion, *Response, error) // GetMergeRequestDiscussion returns a single discussion for a given merge // request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#get-single-merge-request-discussion-item GetMergeRequestDiscussion(pid interface{}, mergeRequest int, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error) // CreateMergeRequestDiscussion creates a new discussion for a single merge // request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#create-new-merge-request-thread CreateMergeRequestDiscussion(pid interface{}, mergeRequest int, opt *CreateMergeRequestDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // ResolveMergeRequestDiscussion resolves/unresolves whole discussion of a merge // request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#resolve-a-merge-request-thread ResolveMergeRequestDiscussion(pid interface{}, mergeRequest int, discussion string, opt *ResolveMergeRequestDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // AddMergeRequestDiscussionNote creates a new discussion to a single project // merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#add-note-to-existing-merge-request-thread AddMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, opt *AddMergeRequestDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateMergeRequestDiscussionNote modifies existing discussion of a merge // request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#modify-an-existing-merge-request-thread-note UpdateMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, note int, opt *UpdateMergeRequestDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteMergeRequestDiscussionNote deletes an existing discussion of a merge // request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#delete-a-merge-request-thread-note DeleteMergeRequestDiscussionNote(pid interface{}, mergeRequest int, discussion string, note int, options ...RequestOptionFunc) (*Response, error) // ListCommitDiscussions gets a list of all discussions for a single // commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#list-project-commit-discussion-items ListCommitDiscussions(pid interface{}, commit string, opt *ListCommitDiscussionsOptions, options ...RequestOptionFunc) ([]*Discussion, *Response, error) // GetCommitDiscussion returns a single discussion for a specific project // commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#get-single-commit-discussion-item GetCommitDiscussion(pid interface{}, commit string, discussion string, options ...RequestOptionFunc) (*Discussion, *Response, error) // CreateCommitDiscussion creates a new discussion to a single project commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#create-new-commit-thread CreateCommitDiscussion(pid interface{}, commit string, opt *CreateCommitDiscussionOptions, options ...RequestOptionFunc) (*Discussion, *Response, error) // AddCommitDiscussionNote creates a new discussion to a single project commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#add-note-to-existing-commit-thread AddCommitDiscussionNote(pid interface{}, commit string, discussion string, opt *AddCommitDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateCommitDiscussionNote modifies existing discussion of an commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#modify-an-existing-commit-thread-note UpdateCommitDiscussionNote(pid interface{}, commit string, discussion string, note int, opt *UpdateCommitDiscussionNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteCommitDiscussionNote deletes an existing discussion of an commit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/discussions.html#delete-a-commit-thread-note DeleteCommitDiscussionNote(pid interface{}, commit string, discussion string, note int, options ...RequestOptionFunc) (*Response, error) }
DiscussionsService is an interface for gitlab.Client.Discussions
type DockerfileTemplate ¶
type DockerfileTemplate = gitlab.DockerfileTemplate
DockerfileTemplate is an alias to gitlab.DockerfileTemplate
type DockerfileTemplateListItem ¶
type DockerfileTemplateListItem = gitlab.DockerfileTemplateListItem
DockerfileTemplateListItem is an alias to gitlab.DockerfileTemplateListItem
type DockerfileTemplatesService ¶
type DockerfileTemplatesService interface { // ListTemplates get a list of available Dockerfile templates. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/dockerfiles.html#list-dockerfile-templates ListTemplates(opt *ListDockerfileTemplatesOptions, options ...RequestOptionFunc) ([]*DockerfileTemplateListItem, *Response, error) // GetTemplate get a single Dockerfile template. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/dockerfiles.html#single-dockerfile-template GetTemplate(key string, options ...RequestOptionFunc) (*DockerfileTemplate, *Response, error) }
DockerfileTemplatesService is an interface for gitlab.Client.DockerfileTemplate
type DownloadArtifactsFileOptions ¶
type DownloadArtifactsFileOptions = gitlab.DownloadArtifactsFileOptions
DownloadArtifactsFileOptions is an alias to gitlab.DownloadArtifactsFileOptions
type DraftNotesService ¶
type DraftNotesService interface { // ListDraftNotes gets a list of all draft notes for a merge request. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#list-all-merge-request-draft-notes ListDraftNotes(pid interface{}, mergeRequest int, opt *ListDraftNotesOptions, options ...RequestOptionFunc) ([]*DraftNote, *Response, error) // GetDraftNote gets a single draft note for a merge request. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#get-a-single-draft-note GetDraftNote(pid interface{}, mergeRequest int, note int, options ...RequestOptionFunc) (*DraftNote, *Response, error) // CreateDraftNote creates a draft note for a merge request. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#create-a-draft-note CreateDraftNote(pid interface{}, mergeRequest int, opt *CreateDraftNoteOptions, options ...RequestOptionFunc) (*DraftNote, *Response, error) // UpdateDraftNote updates a draft note for a merge request. // // Gitlab API docs: https://docs.gitlab.com/ee/api/draft_notes.html#create-a-draft-note UpdateDraftNote(pid interface{}, mergeRequest int, note int, opt *UpdateDraftNoteOptions, options ...RequestOptionFunc) (*DraftNote, *Response, error) // DeleteDraftNote deletes a single draft note for a merge request. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#delete-a-draft-note DeleteDraftNote(pid interface{}, mergeRequest int, note int, options ...RequestOptionFunc) (*Response, error) // PublishDraftNote publishes a single draft note for a merge request. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#publish-a-draft-note PublishDraftNote(pid interface{}, mergeRequest int, note int, options ...RequestOptionFunc) (*Response, error) // PublishAllDraftNotes publishes all draft notes for a merge request that belong to the user. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/draft_notes.html#publish-a-draft-note PublishAllDraftNotes(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Response, error) }
DraftNotesService is an interface for gitlab.Client.DraftNotes
type DroneCIService ¶
type DroneCIService = gitlab.DroneCIService
DroneCIService is an alias to gitlab.DroneCIService
type DroneCIServiceProperties ¶
type DroneCIServiceProperties = gitlab.DroneCIServiceProperties
DroneCIServiceProperties is an alias to gitlab.DroneCIServiceProperties
type EditAnExistingResourceGroupOptions ¶
type EditAnExistingResourceGroupOptions = gitlab.EditAnExistingResourceGroupOptions
EditAnExistingResourceGroupOptions is an alias to gitlab.EditAnExistingResourceGroupOptions
type EditClusterOptions ¶
type EditClusterOptions = gitlab.EditClusterOptions
EditClusterOptions is an alias to gitlab.EditClusterOptions
type EditEnvironmentOptions ¶
type EditEnvironmentOptions = gitlab.EditEnvironmentOptions
EditEnvironmentOptions is an alias to gitlab.EditEnvironmentOptions
type EditGroupBadgeOptions ¶
type EditGroupBadgeOptions = gitlab.EditGroupBadgeOptions
EditGroupBadgeOptions is an alias to gitlab.EditGroupBadgeOptions
type EditGroupClusterOptions ¶
type EditGroupClusterOptions = gitlab.EditGroupClusterOptions
EditGroupClusterOptions is an alias to gitlab.EditGroupClusterOptions
type EditGroupHookOptions ¶
type EditGroupHookOptions = gitlab.EditGroupHookOptions
EditGroupHookOptions is an alias to gitlab.EditGroupHookOptions
type EditGroupMemberOptions ¶
type EditGroupMemberOptions = gitlab.EditGroupMemberOptions
EditGroupMemberOptions is an alias to gitlab.EditGroupMemberOptions
type EditGroupPlatformKubernetesOptions ¶
type EditGroupPlatformKubernetesOptions = gitlab.EditGroupPlatformKubernetesOptions
EditGroupPlatformKubernetesOptions is an alias to gitlab.EditGroupPlatformKubernetesOptions
type EditGroupPushRuleOptions ¶
type EditGroupPushRuleOptions = gitlab.EditGroupPushRuleOptions
EditGroupPushRuleOptions is an alias to gitlab.EditGroupPushRuleOptions
type EditGroupWikiPageOptions ¶
type EditGroupWikiPageOptions = gitlab.EditGroupWikiPageOptions
EditGroupWikiPageOptions is an alias to gitlab.EditGroupWikiPageOptions
type EditManagedLicenceOptions ¶
type EditManagedLicenceOptions = gitlab.EditManagedLicenceOptions
EditManagedLicenceOptions is an alias to gitlab.EditManagedLicenceOptions
type EditPipelineScheduleOptions ¶
type EditPipelineScheduleOptions = gitlab.EditPipelineScheduleOptions
EditPipelineScheduleOptions is an alias to gitlab.EditPipelineScheduleOptions
type EditPipelineScheduleVariableOptions ¶
type EditPipelineScheduleVariableOptions = gitlab.EditPipelineScheduleVariableOptions
EditPipelineScheduleVariableOptions is an alias to gitlab.EditPipelineScheduleVariableOptions
type EditPipelineTriggerOptions ¶
type EditPipelineTriggerOptions = gitlab.EditPipelineTriggerOptions
EditPipelineTriggerOptions is an alias to gitlab.EditPipelineTriggerOptions
type EditPlatformKubernetesOptions ¶
type EditPlatformKubernetesOptions = gitlab.EditPlatformKubernetesOptions
EditPlatformKubernetesOptions is an alias to gitlab.EditPlatformKubernetesOptions
type EditProjectBadgeOptions ¶
type EditProjectBadgeOptions = gitlab.EditProjectBadgeOptions
EditProjectBadgeOptions is an alias to gitlab.EditProjectBadgeOptions
type EditProjectHookOptions ¶
type EditProjectHookOptions = gitlab.EditProjectHookOptions
EditProjectHookOptions is an alias to gitlab.EditProjectHookOptions
type EditProjectMemberOptions ¶
type EditProjectMemberOptions = gitlab.EditProjectMemberOptions
EditProjectMemberOptions is an alias to gitlab.EditProjectMemberOptions
type EditProjectMirrorOptions ¶
type EditProjectMirrorOptions = gitlab.EditProjectMirrorOptions
EditProjectMirrorOptions is an alias to gitlab.EditProjectMirrorOptions
type EditProjectOptions ¶
type EditProjectOptions = gitlab.EditProjectOptions
EditProjectOptions is an alias to gitlab.EditProjectOptions
type EditProjectPushRuleOptions ¶
type EditProjectPushRuleOptions = gitlab.EditProjectPushRuleOptions
EditProjectPushRuleOptions is an alias to gitlab.EditProjectPushRuleOptions
type EditWikiPageOptions ¶
type EditWikiPageOptions = gitlab.EditWikiPageOptions
EditWikiPageOptions is an alias to gitlab.EditWikiPageOptions
type EmailsOnPushService ¶
type EmailsOnPushService = gitlab.EmailsOnPushService
EmailsOnPushService is an alias to gitlab.EmailsOnPushService
type EmailsOnPushServiceProperties ¶
type EmailsOnPushServiceProperties = gitlab.EmailsOnPushServiceProperties
EmailsOnPushServiceProperties is an alias to gitlab.EmailsOnPushServiceProperties
type EnableDisableErrorTrackingOptions ¶
type EnableDisableErrorTrackingOptions = gitlab.EnableDisableErrorTrackingOptions
EnableDisableErrorTrackingOptions is an alias to gitlab.EnableDisableErrorTrackingOptions
type EnableProjectRunnerOptions ¶
type EnableProjectRunnerOptions = gitlab.EnableProjectRunnerOptions
EnableProjectRunnerOptions is an alias to gitlab.EnableProjectRunnerOptions
type Environment ¶
type Environment = gitlab.Environment
Environment is an alias to gitlab.Environment
type EnvironmentAccessDescription ¶
type EnvironmentAccessDescription = gitlab.EnvironmentAccessDescription
EnvironmentAccessDescription is an alias to gitlab.EnvironmentAccessDescription
type EnvironmentAccessOptions ¶
type EnvironmentAccessOptions = gitlab.EnvironmentAccessOptions
EnvironmentAccessOptions is an alias to gitlab.EnvironmentAccessOptions
type EnvironmentApprovalRule ¶
type EnvironmentApprovalRule = gitlab.EnvironmentApprovalRule
EnvironmentApprovalRule is an alias to gitlab.EnvironmentApprovalRule
type EnvironmentApprovalRuleOptions ¶
type EnvironmentApprovalRuleOptions = gitlab.EnvironmentApprovalRuleOptions
EnvironmentApprovalRuleOptions is an alias to gitlab.EnvironmentApprovalRuleOptions
type EnvironmentsService ¶
type EnvironmentsService interface { // ListEnvironments gets a list of environments from a project, sorted by name // alphabetically. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#list-environments ListEnvironments(pid interface{}, opts *ListEnvironmentsOptions, options ...RequestOptionFunc) ([]*Environment, *Response, error) // GetEnvironment gets a specific environment from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#get-a-specific-environment GetEnvironment(pid interface{}, environment int, options ...RequestOptionFunc) (*Environment, *Response, error) // CreateEnvironment adds an environment to a project. This is an idempotent // method and can be called multiple times with the same parameters. Createing // an environment that is already a environment does not affect the // existing environmentship. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#create-a-new-environment CreateEnvironment(pid interface{}, opt *CreateEnvironmentOptions, options ...RequestOptionFunc) (*Environment, *Response, error) // EditEnvironment updates a project team environment to a specified access level.. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#update-an-existing-environment EditEnvironment(pid interface{}, environment int, opt *EditEnvironmentOptions, options ...RequestOptionFunc) (*Environment, *Response, error) // DeleteEnvironment removes an environment from a project team. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#delete-an-environment DeleteEnvironment(pid interface{}, environment int, options ...RequestOptionFunc) (*Response, error) // StopEnvironment stops an environment within a specific project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/environments.html#stop-an-environment StopEnvironment(pid interface{}, environmentID int, opt *StopEnvironmentOptions, options ...RequestOptionFunc) (*Environment, *Response, error) }
EnvironmentsService is an interface for gitlab.Client.Environments
type EpicIssueAssignment ¶
type EpicIssueAssignment = gitlab.EpicIssueAssignment
EpicIssueAssignment is an alias to gitlab.EpicIssueAssignment
type EpicIssuesService ¶
type EpicIssuesService interface { // ListEpicIssues get a list of epic issues. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/epic_issues.html#list-issues-for-an-epic ListEpicIssues(gid interface{}, epic int, opt *ListOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // AssignEpicIssue assigns an existing issue to an epic. // // Gitlab API Docs: // https://docs.gitlab.com/ee/api/epic_issues.html#assign-an-issue-to-the-epic AssignEpicIssue(gid interface{}, epic, issue int, options ...RequestOptionFunc) (*EpicIssueAssignment, *Response, error) // RemoveEpicIssue removes an issue from an epic. // // Gitlab API Docs: // https://docs.gitlab.com/ee/api/epic_issues.html#remove-an-issue-from-the-epic RemoveEpicIssue(gid interface{}, epic, epicIssue int, options ...RequestOptionFunc) (*EpicIssueAssignment, *Response, error) // UpdateEpicIssueAssignment moves an issue before or after another issue in an // epic issue list. // // Gitlab API Docs: // https://docs.gitlab.com/ee/api/epic_issues.html#update-epic---issue-association UpdateEpicIssueAssignment(gid interface{}, epic, epicIssue int, opt *UpdateEpicIsssueAssignmentOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) }
EpicIssuesService is an interface for gitlab.Client.EpicIssues
type EpicsService ¶
type EpicsService interface { // ListGroupEpics gets a list of group epics. This function accepts pagination // parameters page and per_page to return the list of group epics. // // GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#list-epics-for-a-group ListGroupEpics(gid interface{}, opt *ListGroupEpicsOptions, options ...RequestOptionFunc) ([]*Epic, *Response, error) // GetEpic gets a single group epic. // // GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#single-epic GetEpic(gid interface{}, epic int, options ...RequestOptionFunc) (*Epic, *Response, error) // GetEpicLinks gets all child epics of an epic. // // GitLab API docs: https://docs.gitlab.com/ee/api/epic_links.html GetEpicLinks(gid interface{}, epic int, options ...RequestOptionFunc) ([]*Epic, *Response, error) // CreateEpic creates a new group epic. // // GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#new-epic CreateEpic(gid interface{}, opt *CreateEpicOptions, options ...RequestOptionFunc) (*Epic, *Response, error) // UpdateEpic updates an existing group epic. This function is also used // to mark an epic as closed. // // GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#update-epic UpdateEpic(gid interface{}, epic int, opt *UpdateEpicOptions, options ...RequestOptionFunc) (*Epic, *Response, error) // DeleteEpic deletes a single group epic. // // GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#delete-epic DeleteEpic(gid interface{}, epic int, options ...RequestOptionFunc) (*Response, error) }
EpicsService is an interface for gitlab.Client.Epics
type ErrorResponse ¶
type ErrorResponse = gitlab.ErrorResponse
ErrorResponse is an alias to gitlab.ErrorResponse
type ErrorTrackingClientKey ¶
type ErrorTrackingClientKey = gitlab.ErrorTrackingClientKey
ErrorTrackingClientKey is an alias to gitlab.ErrorTrackingClientKey
type ErrorTrackingService ¶
type ErrorTrackingService interface { // GetErrorTrackingSettings gets error tracking settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/error_tracking.html#get-error-tracking-settings GetErrorTrackingSettings(pid interface{}, options ...RequestOptionFunc) (*ErrorTrackingSettings, *Response, error) // EnableDisableErrorTracking allows you to enable or disable the error tracking // settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/error_tracking.html#enable-or-disable-the-error-tracking-project-settings EnableDisableErrorTracking(pid interface{}, opt *EnableDisableErrorTrackingOptions, options ...RequestOptionFunc) (*ErrorTrackingSettings, *Response, error) // ListClientKeys lists error tracking project client keys. // // GitLab API docs: // https://docs.gitlab.com/ee/api/error_tracking.html#list-project-client-keys ListClientKeys(pid interface{}, opt *ListClientKeysOptions, options ...RequestOptionFunc) ([]*ErrorTrackingClientKey, *Response, error) // CreateClientKey creates a new client key for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/error_tracking.html#create-a-client-key CreateClientKey(pid interface{}, options ...RequestOptionFunc) (*ErrorTrackingClientKey, *Response, error) // DeleteClientKey removes a client key from the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/error_tracking.html#delete-a-client-key DeleteClientKey(pid interface{}, keyID int, options ...RequestOptionFunc) (*Response, error) }
ErrorTrackingService is an interface for gitlab.Client.ErrorTracking
type ErrorTrackingSettings ¶
type ErrorTrackingSettings = gitlab.ErrorTrackingSettings
ErrorTrackingSettings is an alias to gitlab.ErrorTrackingSettings
type EventTargetTypeValue ¶
type EventTargetTypeValue = gitlab.EventTargetTypeValue
EventTargetTypeValue is an alias to gitlab.EventTargetTypeValue
type EventTypeValue ¶
type EventTypeValue = gitlab.EventTypeValue
EventTypeValue is an alias to gitlab.EventTypeValue
type EventsService ¶
type EventsService interface { // ListCurrentUserContributionEvents gets a list currently authenticated user's events // // GitLab API docs: https://docs.gitlab.com/ee/api/events.html#list-currently-authenticated-users-events ListCurrentUserContributionEvents(opt *ListContributionEventsOptions, options ...RequestOptionFunc) ([]*ContributionEvent, *Response, error) // ListProjectVisibleEvents gets the events for the specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/events.html#list-a-projects-visible-events ListProjectVisibleEvents(pid interface{}, opt *ListProjectVisibleEventsOptions, options ...RequestOptionFunc) ([]*ProjectEvent, *Response, error) }
EventsService is an interface for gitlab.Client.Events
type ExploreSnippetsOptions ¶
type ExploreSnippetsOptions = gitlab.ExploreSnippetsOptions
ExploreSnippetsOptions is an alias to gitlab.ExploreSnippetsOptions
type ExportStatus ¶
type ExportStatus = gitlab.ExportStatus
ExportStatus is an alias to gitlab.ExportStatus
type ExternalStatusChecksService ¶
type ExternalStatusChecksService interface { // ListMergeStatusChecks lists the external status checks that apply to it // and their status for a single merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#list-status-checks-for-a-merge-request ListMergeStatusChecks(pid interface{}, mr int, opt *ListOptions, options ...RequestOptionFunc) ([]*MergeStatusCheck, *Response, error) // SetExternalStatusCheckStatus sets the status of an external status check. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#set-status-of-an-external-status-check SetExternalStatusCheckStatus(pid interface{}, mergeRequest int, opt *SetExternalStatusCheckStatusOptions, options ...RequestOptionFunc) (*Response, error) // ListProjectStatusChecks lists the project external status checks. // // GitLab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#get-project-external-status-checks ListProjectStatusChecks(pid interface{}, opt *ListOptions, options ...RequestOptionFunc) ([]*ProjectStatusCheck, *Response, error) // CreateExternalStatusCheck creates an external status check. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#create-external-status-check CreateExternalStatusCheck(pid interface{}, opt *CreateExternalStatusCheckOptions, options ...RequestOptionFunc) (*Response, error) // DeleteExternalStatusCheck deletes an external status check. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#delete-external-status-check DeleteExternalStatusCheck(pid interface{}, check int, options ...RequestOptionFunc) (*Response, error) // UpdateExternalStatusCheck updates an external status check. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#update-external-status-check UpdateExternalStatusCheck(pid interface{}, check int, opt *UpdateExternalStatusCheckOptions, options ...RequestOptionFunc) (*Response, error) // UpdateExternalStatusCheck updates an external status check. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/status_checks.html#retry-failed-status-check-for-a-merge-request RetryFailedStatusCheckForAMergeRequest(pid interface{}, mergeRequest int, externalStatusCheck int, options ...RequestOptionFunc) (*Response, error) }
ExternalStatusChecksService is an interface for gitlab.Client.ExternalStatusChecks
type ExternalWikiService ¶
type ExternalWikiService = gitlab.ExternalWikiService
ExternalWikiService is an alias to gitlab.ExternalWikiService
type ExternalWikiServiceProperties ¶
type ExternalWikiServiceProperties = gitlab.ExternalWikiServiceProperties
ExternalWikiServiceProperties is an alias to gitlab.ExternalWikiServiceProperties
type FeatureFlagEvent ¶
type FeatureFlagEvent = gitlab.FeatureFlagEvent
FeatureFlagEvent is an alias to gitlab.FeatureFlagEvent
type FeatureFlagStrategyOptions ¶
type FeatureFlagStrategyOptions = gitlab.FeatureFlagStrategyOptions
FeatureFlagStrategyOptions is an alias to gitlab.FeatureFlagStrategyOptions
type FeaturesService ¶
type FeaturesService interface { // ListFeatures gets a list of feature flags // // GitLab API docs: // https://docs.gitlab.com/ee/api/features.html#list-all-features ListFeatures(options ...RequestOptionFunc) ([]*Feature, *Response, error) // SetFeatureFlag sets or creates a feature flag gate // // GitLab API docs: // https://docs.gitlab.com/ee/api/features.html#set-or-create-a-feature SetFeatureFlag(name string, value interface{}, options ...RequestOptionFunc) (*Feature, *Response, error) }
FeaturesService is an interface for gitlab.Client.Features
type FileActionValue ¶
type FileActionValue = gitlab.FileActionValue
FileActionValue is an alias to gitlab.FileActionValue
type FileBlameRange ¶
type FileBlameRange = gitlab.FileBlameRange
FileBlameRange is an alias to gitlab.FileBlameRange
type ForkProjectOptions ¶
type ForkProjectOptions = gitlab.ForkProjectOptions
ForkProjectOptions is an alias to gitlab.ForkProjectOptions
type FreezePeriod ¶
type FreezePeriod = gitlab.FreezePeriod
FreezePeriod is an alias to gitlab.FreezePeriod
type FreezePeriodsService ¶
type FreezePeriodsService interface { // ListFreezePeriods gets a list of project project freeze periods. // // GitLab API docs: // https://docs.gitlab.com/ee/api/freeze_periods.html#list-freeze-periods ListFreezePeriods(pid interface{}, opt *ListFreezePeriodsOptions, options ...RequestOptionFunc) ([]*FreezePeriod, *Response, error) // GetFreezePeriod gets a specific freeze period for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/freeze_periods.html#get-a-freeze-period-by-a-freeze_period_id GetFreezePeriod(pid interface{}, freezePeriod int, options ...RequestOptionFunc) (*FreezePeriod, *Response, error) // CreateFreezePeriodOptions adds a freeze period to a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/freeze_periods.html#create-a-freeze-period CreateFreezePeriodOptions(pid interface{}, opt *CreateFreezePeriodOptions, options ...RequestOptionFunc) (*FreezePeriod, *Response, error) // UpdateFreezePeriodOptions edits a freeze period for a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/freeze_periods.html#update-a-freeze-period UpdateFreezePeriodOptions(pid interface{}, freezePeriod int, opt *UpdateFreezePeriodOptions, options ...RequestOptionFunc) (*FreezePeriod, *Response, error) // DeleteFreezePeriod removes a freeze period from a project. This is an // idempotent method and can be called multiple times. Either the hook is // available or not. // // GitLab API docs: // https://docs.gitlab.com/ee/api/freeze_periods.html#delete-a-freeze-period DeleteFreezePeriod(pid interface{}, freezePeriod int, options ...RequestOptionFunc) (*Response, error) }
FreezePeriodsService is an interface for gitlab.Client.FreezePeriods
type GPGSignature ¶
type GPGSignature = gitlab.GPGSignature
GPGSignature is an alias to gitlab.GPGSignature
type GenerateChangelogDataOptions ¶
type GenerateChangelogDataOptions = gitlab.GenerateChangelogDataOptions
GenerateChangelogDataOptions is an alias to gitlab.GenerateChangelogDataOptions
type GenericPackageSelectValue ¶
type GenericPackageSelectValue = gitlab.GenericPackageSelectValue
GenericPackageSelectValue is an alias to gitlab.GenericPackageSelectValue
type GenericPackageStatusValue ¶
type GenericPackageStatusValue = gitlab.GenericPackageStatusValue
GenericPackageStatusValue is an alias to gitlab.GenericPackageStatusValue
type GenericPackagesFile ¶
type GenericPackagesFile = gitlab.GenericPackagesFile
GenericPackagesFile is an alias to gitlab.GenericPackagesFile
type GenericPackagesService ¶
type GenericPackagesService interface { // FormatPackageURL returns the GitLab Package Registry URL for the given artifact metadata, without the BaseURL. // This does not make a GitLab API request, but rather computes it based on their documentation. FormatPackageURL(pid interface{}, packageName, packageVersion, fileName string) (string, error) // PublishPackageFile uploads a file to a project's package registry. // // GitLab docs: // https://docs.gitlab.com/ee/user/packages/generic_packages/index.html#publish-a-package-file PublishPackageFile(pid interface{}, packageName, packageVersion, fileName string, content io.Reader, opt *PublishPackageFileOptions, options ...RequestOptionFunc) (*GenericPackagesFile, *Response, error) // DownloadPackageFile allows you to download the package file. // // GitLab docs: // https://docs.gitlab.com/ee/user/packages/generic_packages/index.html#download-package-file DownloadPackageFile(pid interface{}, packageName, packageVersion, fileName string, options ...RequestOptionFunc) ([]byte, *Response, error) }
GenericPackagesService is an interface for gitlab.Client.GenericPackages
type GeoNodeLinks ¶
type GeoNodeLinks = gitlab.GeoNodeLinks
GeoNodeLinks is an alias to gitlab.GeoNodeLinks
type GeoNodeStatus ¶
type GeoNodeStatus = gitlab.GeoNodeStatus
GeoNodeStatus is an alias to gitlab.GeoNodeStatus
type GeoNodesService ¶
type GeoNodesService interface { // CreateGeoNode creates a new Geo Node. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#create-a-new-geo-node CreateGeoNode(opt *CreateGeoNodesOptions, options ...RequestOptionFunc) (*GeoNode, *Response, error) // ListGeoNodes gets a list of geo nodes. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#retrieve-configuration-about-all-geo-nodes ListGeoNodes(opt *ListGeoNodesOptions, options ...RequestOptionFunc) ([]*GeoNode, *Response, error) // GetGeoNode gets a specific geo node. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#retrieve-configuration-about-a-specific-geo-node GetGeoNode(id int, options ...RequestOptionFunc) (*GeoNode, *Response, error) // EditGeoNode updates settings of an existing Geo node. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#edit-a-geo-node EditGeoNode(id int, opt *UpdateGeoNodesOptions, options ...RequestOptionFunc) (*GeoNode, *Response, error) // DeleteGeoNode removes the Geo node. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#delete-a-geo-node DeleteGeoNode(id int, options ...RequestOptionFunc) (*Response, error) // RepairGeoNode to repair the OAuth authentication of a Geo node. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#repair-a-geo-node RepairGeoNode(id int, options ...RequestOptionFunc) (*GeoNode, *Response, error) // RetrieveStatusOfAllGeoNodes get the list of status of all Geo Nodes. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#retrieve-status-about-all-geo-nodes RetrieveStatusOfAllGeoNodes(options ...RequestOptionFunc) ([]*GeoNodeStatus, *Response, error) // RetrieveStatusOfGeoNode get the of status of a specific Geo Nodes. // // GitLab API docs: // https://docs.gitlab.com/ee/api/geo_nodes.html#retrieve-status-about-a-specific-geo-node RetrieveStatusOfGeoNode(id int, options ...RequestOptionFunc) (*GeoNodeStatus, *Response, error) }
GeoNodesService is an interface for gitlab.Client.GeoNodes
type GetAllImpersonationTokensOptions ¶
type GetAllImpersonationTokensOptions = gitlab.GetAllImpersonationTokensOptions
GetAllImpersonationTokensOptions is an alias to gitlab.GetAllImpersonationTokensOptions
type GetAvatarOptions ¶
type GetAvatarOptions = gitlab.GetAvatarOptions
GetAvatarOptions is an alias to gitlab.GetAvatarOptions
type GetCommitCommentsOptions ¶
type GetCommitCommentsOptions = gitlab.GetCommitCommentsOptions
GetCommitCommentsOptions is an alias to gitlab.GetCommitCommentsOptions
type GetCommitDiffOptions ¶
type GetCommitDiffOptions = gitlab.GetCommitDiffOptions
GetCommitDiffOptions is an alias to gitlab.GetCommitDiffOptions
type GetCommitOptions ¶
type GetCommitOptions = gitlab.GetCommitOptions
GetCommitOptions is an alias to gitlab.GetCommitOptions
type GetCommitRefsOptions ¶
type GetCommitRefsOptions = gitlab.GetCommitRefsOptions
GetCommitRefsOptions is an alias to gitlab.GetCommitRefsOptions
type GetCommitStatusesOptions ¶
type GetCommitStatusesOptions = gitlab.GetCommitStatusesOptions
GetCommitStatusesOptions is an alias to gitlab.GetCommitStatusesOptions
type GetCurrentPlanLimitsOptions ¶
type GetCurrentPlanLimitsOptions = gitlab.GetCurrentPlanLimitsOptions
GetCurrentPlanLimitsOptions is an alias to gitlab.GetCurrentPlanLimitsOptions
type GetDORAMetricsOptions ¶
type GetDORAMetricsOptions = gitlab.GetDORAMetricsOptions
GetDORAMetricsOptions is an alias to gitlab.GetDORAMetricsOptions
type GetFileBlameOptions ¶
type GetFileBlameOptions = gitlab.GetFileBlameOptions
GetFileBlameOptions is an alias to gitlab.GetFileBlameOptions
type GetFileMetaDataOptions ¶
type GetFileMetaDataOptions = gitlab.GetFileMetaDataOptions
GetFileMetaDataOptions is an alias to gitlab.GetFileMetaDataOptions
type GetFileOptions ¶
type GetFileOptions = gitlab.GetFileOptions
GetFileOptions is an alias to gitlab.GetFileOptions
type GetGroupIssuesStatisticsOptions ¶
type GetGroupIssuesStatisticsOptions = gitlab.GetGroupIssuesStatisticsOptions
GetGroupIssuesStatisticsOptions is an alias to gitlab.GetGroupIssuesStatisticsOptions
type GetGroupMilestoneBurndownChartEventsOptions ¶
type GetGroupMilestoneBurndownChartEventsOptions = gitlab.GetGroupMilestoneBurndownChartEventsOptions
GetGroupMilestoneBurndownChartEventsOptions is an alias to gitlab.GetGroupMilestoneBurndownChartEventsOptions
type GetGroupMilestoneIssuesOptions ¶
type GetGroupMilestoneIssuesOptions = gitlab.GetGroupMilestoneIssuesOptions
GetGroupMilestoneIssuesOptions is an alias to gitlab.GetGroupMilestoneIssuesOptions
type GetGroupMilestoneMergeRequestsOptions ¶
type GetGroupMilestoneMergeRequestsOptions = gitlab.GetGroupMilestoneMergeRequestsOptions
GetGroupMilestoneMergeRequestsOptions is an alias to gitlab.GetGroupMilestoneMergeRequestsOptions
type GetGroupOptions ¶
type GetGroupOptions = gitlab.GetGroupOptions
GetGroupOptions is an alias to gitlab.GetGroupOptions
type GetGroupVariableOptions ¶
type GetGroupVariableOptions = gitlab.GetGroupVariableOptions
GetGroupVariableOptions is an alias to gitlab.GetGroupVariableOptions
type GetGroupWikiPageOptions ¶
type GetGroupWikiPageOptions = gitlab.GetGroupWikiPageOptions
GetGroupWikiPageOptions is an alias to gitlab.GetGroupWikiPageOptions
type GetIssueBoardListsOptions ¶
type GetIssueBoardListsOptions = gitlab.GetIssueBoardListsOptions
GetIssueBoardListsOptions is an alias to gitlab.GetIssueBoardListsOptions
type GetIssuesClosedOnMergeOptions ¶
type GetIssuesClosedOnMergeOptions = gitlab.GetIssuesClosedOnMergeOptions
GetIssuesClosedOnMergeOptions is an alias to gitlab.GetIssuesClosedOnMergeOptions
type GetIssuesStatisticsOptions ¶
type GetIssuesStatisticsOptions = gitlab.GetIssuesStatisticsOptions
GetIssuesStatisticsOptions is an alias to gitlab.GetIssuesStatisticsOptions
type GetJobTokenAllowlistGroupsOptions ¶
type GetJobTokenAllowlistGroupsOptions = gitlab.GetJobTokenAllowlistGroupsOptions
GetJobTokenAllowlistGroupsOptions is an alias to gitlab.GetJobTokenAllowlistGroupsOptions
type GetJobTokenInboundAllowListOptions ¶
type GetJobTokenInboundAllowListOptions = gitlab.GetJobTokenInboundAllowListOptions
GetJobTokenInboundAllowListOptions is an alias to gitlab.GetJobTokenInboundAllowListOptions
type GetJobTokensJobOptions ¶
type GetJobTokensJobOptions = gitlab.GetJobTokensJobOptions
GetJobTokensJobOptions is an alias to gitlab.GetJobTokensJobOptions
type GetKeyByFingerprintOptions ¶
type GetKeyByFingerprintOptions = gitlab.GetKeyByFingerprintOptions
GetKeyByFingerprintOptions is an alias to gitlab.GetKeyByFingerprintOptions
type GetLatestPipelineOptions ¶
type GetLatestPipelineOptions = gitlab.GetLatestPipelineOptions
GetLatestPipelineOptions is an alias to gitlab.GetLatestPipelineOptions
type GetLicenseTemplateOptions ¶
type GetLicenseTemplateOptions = gitlab.GetLicenseTemplateOptions
GetLicenseTemplateOptions is an alias to gitlab.GetLicenseTemplateOptions
type GetMergeRequestChangesOptions ¶
type GetMergeRequestChangesOptions = gitlab.GetMergeRequestChangesOptions
GetMergeRequestChangesOptions is an alias to gitlab.GetMergeRequestChangesOptions
type GetMergeRequestCommitsOptions ¶
type GetMergeRequestCommitsOptions = gitlab.GetMergeRequestCommitsOptions
GetMergeRequestCommitsOptions is an alias to gitlab.GetMergeRequestCommitsOptions
type GetMergeRequestDiffVersionsOptions ¶
type GetMergeRequestDiffVersionsOptions = gitlab.GetMergeRequestDiffVersionsOptions
GetMergeRequestDiffVersionsOptions is an alias to gitlab.GetMergeRequestDiffVersionsOptions
type GetMergeRequestsOptions ¶
type GetMergeRequestsOptions = gitlab.GetMergeRequestsOptions
GetMergeRequestsOptions is an alias to gitlab.GetMergeRequestsOptions
type GetMilestoneIssuesOptions ¶
type GetMilestoneIssuesOptions = gitlab.GetMilestoneIssuesOptions
GetMilestoneIssuesOptions is an alias to gitlab.GetMilestoneIssuesOptions
type GetMilestoneMergeRequestsOptions ¶
type GetMilestoneMergeRequestsOptions = gitlab.GetMilestoneMergeRequestsOptions
GetMilestoneMergeRequestsOptions is an alias to gitlab.GetMilestoneMergeRequestsOptions
type GetProjectApprovalRulesListsOptions ¶
type GetProjectApprovalRulesListsOptions = gitlab.GetProjectApprovalRulesListsOptions
GetProjectApprovalRulesListsOptions is an alias to gitlab.GetProjectApprovalRulesListsOptions
type GetProjectIssuesStatisticsOptions ¶
type GetProjectIssuesStatisticsOptions = gitlab.GetProjectIssuesStatisticsOptions
GetProjectIssuesStatisticsOptions is an alias to gitlab.GetProjectIssuesStatisticsOptions
type GetProjectOptions ¶
type GetProjectOptions = gitlab.GetProjectOptions
GetProjectOptions is an alias to gitlab.GetProjectOptions
type GetProjectVariableOptions ¶
type GetProjectVariableOptions = gitlab.GetProjectVariableOptions
GetProjectVariableOptions is an alias to gitlab.GetProjectVariableOptions
type GetRawFileOptions ¶
type GetRawFileOptions = gitlab.GetRawFileOptions
GetRawFileOptions is an alias to gitlab.GetRawFileOptions
type GetSingleMergeRequestDiffVersionOptions ¶
type GetSingleMergeRequestDiffVersionOptions = gitlab.GetSingleMergeRequestDiffVersionOptions
GetSingleMergeRequestDiffVersionOptions is an alias to gitlab.GetSingleMergeRequestDiffVersionOptions
type GetSingleRegistryRepositoryOptions ¶
type GetSingleRegistryRepositoryOptions = gitlab.GetSingleRegistryRepositoryOptions
GetSingleRegistryRepositoryOptions is an alias to gitlab.GetSingleRegistryRepositoryOptions
type GetUserActivitiesOptions ¶
type GetUserActivitiesOptions = gitlab.GetUserActivitiesOptions
GetUserActivitiesOptions is an alias to gitlab.GetUserActivitiesOptions
type GetUserMembershipOptions ¶
type GetUserMembershipOptions = gitlab.GetUserMembershipOptions
GetUserMembershipOptions is an alias to gitlab.GetUserMembershipOptions
type GetUsersOptions ¶
type GetUsersOptions = gitlab.GetUsersOptions
GetUsersOptions is an alias to gitlab.GetUsersOptions
type GetWikiPageOptions ¶
type GetWikiPageOptions = gitlab.GetWikiPageOptions
GetWikiPageOptions is an alias to gitlab.GetWikiPageOptions
type GitHubImport ¶
type GitHubImport = gitlab.GitHubImport
GitHubImport is an alias to gitlab.GitHubImport
type GitIgnoreTemplate ¶
type GitIgnoreTemplate = gitlab.GitIgnoreTemplate
GitIgnoreTemplate is an alias to gitlab.GitIgnoreTemplate
type GitIgnoreTemplateListItem ¶
type GitIgnoreTemplateListItem = gitlab.GitIgnoreTemplateListItem
GitIgnoreTemplateListItem is an alias to gitlab.GitIgnoreTemplateListItem
type GitIgnoreTemplatesService ¶
type GitIgnoreTemplatesService interface { // ListTemplates get a list of available git ignore templates // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/gitignores.html#get-all-gitignore-templates ListTemplates(opt *ListTemplatesOptions, options ...RequestOptionFunc) ([]*GitIgnoreTemplateListItem, *Response, error) // GetTemplate get a git ignore template // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/gitignores.html#get-a-single-gitignore-template GetTemplate(key string, options ...RequestOptionFunc) (*GitIgnoreTemplate, *Response, error) }
GitIgnoreTemplatesService is an interface for gitlab.Client.GitIgnoreTemplates
type GithubService ¶
type GithubService = gitlab.GithubService
GithubService is an alias to gitlab.GithubService
type GithubServiceProperties ¶
type GithubServiceProperties = gitlab.GithubServiceProperties
GithubServiceProperties is an alias to gitlab.GithubServiceProperties
type GroupAccess ¶
type GroupAccess = gitlab.GroupAccess
GroupAccess is an alias to gitlab.GroupAccess
type GroupAccessLevel ¶
type GroupAccessLevel = gitlab.GroupAccessLevel
GroupAccessLevel is an alias to gitlab.GroupAccessLevel
type GroupAccessToken ¶
type GroupAccessToken = gitlab.GroupAccessToken
GroupAccessToken is an alias to gitlab.GroupAccessToken
type GroupAccessTokensService ¶
type GroupAccessTokensService interface { // ListGroupAccessTokens gets a list of all group access tokens in a group. // // GitLab API docs: // https://docs.gitlab.com/api/group_access_tokens/#list-all-group-access-tokens ListGroupAccessTokens(gid interface{}, opt *ListGroupAccessTokensOptions, options ...RequestOptionFunc) ([]*GroupAccessToken, *Response, error) // GetGroupAccessToken gets a single group access tokens in a group. // // GitLab API docs: // https://docs.gitlab.com/api/group_access_tokens/#get-details-on-a-group-access-token GetGroupAccessToken(gid interface{}, id int, options ...RequestOptionFunc) (*GroupAccessToken, *Response, error) // CreateGroupAccessToken creates a new group access token. // // GitLab API docs: // https://docs.gitlab.com/api/group_access_tokens/#create-a-group-access-token CreateGroupAccessToken(gid interface{}, opt *CreateGroupAccessTokenOptions, options ...RequestOptionFunc) (*GroupAccessToken, *Response, error) // RotateGroupAccessToken revokes a group access token and returns a new group // access token that expires in one week per default. // // GitLab API docs: // https://docs.gitlab.com/api/group_access_tokens/#rotate-a-group-access-token RotateGroupAccessToken(gid interface{}, id int, opt *RotateGroupAccessTokenOptions, options ...RequestOptionFunc) (*GroupAccessToken, *Response, error) // RevokeGroupAccessToken revokes a group access token. // // GitLab API docs: // https://docs.gitlab.com/api/group_access_tokens/#revoke-a-group-access-token RevokeGroupAccessToken(gid interface{}, id int, options ...RequestOptionFunc) (*Response, error) }
GroupAccessTokensService is an interface for gitlab.Client.GroupAccessTokens
type GroupAvatar ¶
type GroupAvatar = gitlab.GroupAvatar
GroupAvatar is an alias to gitlab.GroupAvatar
type GroupBadgePreviewOptions ¶
type GroupBadgePreviewOptions = gitlab.GroupBadgePreviewOptions
GroupBadgePreviewOptions is an alias to gitlab.GroupBadgePreviewOptions
type GroupBadgesService ¶
type GroupBadgesService interface { // ListGroupBadges gets a list of a group badges. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#list-all-badges-of-a-group ListGroupBadges(gid interface{}, opt *ListGroupBadgesOptions, options ...RequestOptionFunc) ([]*GroupBadge, *Response, error) // GetGroupBadge gets a group badge. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#get-a-badge-of-a-group GetGroupBadge(gid interface{}, badge int, options ...RequestOptionFunc) (*GroupBadge, *Response, error) // AddGroupBadge adds a badge to a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#add-a-badge-to-a-group AddGroupBadge(gid interface{}, opt *AddGroupBadgeOptions, options ...RequestOptionFunc) (*GroupBadge, *Response, error) // EditGroupBadge updates a badge of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#edit-a-badge-of-a-group EditGroupBadge(gid interface{}, badge int, opt *EditGroupBadgeOptions, options ...RequestOptionFunc) (*GroupBadge, *Response, error) // DeleteGroupBadge removes a badge from a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#remove-a-badge-from-a-group DeleteGroupBadge(gid interface{}, badge int, options ...RequestOptionFunc) (*Response, error) // PreviewGroupBadge returns how the link_url and image_url final URLs would be after // resolving the placeholder interpolation. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_badges.html#preview-a-badge-from-a-group PreviewGroupBadge(gid interface{}, opt *GroupBadgePreviewOptions, options ...RequestOptionFunc) (*GroupBadge, *Response, error) }
GroupBadgesService is an interface for gitlab.Client.GroupBadges
type GroupCluster ¶
type GroupCluster = gitlab.GroupCluster
GroupCluster is an alias to gitlab.GroupCluster
type GroupClustersService ¶
type GroupClustersService interface { // ListClusters gets a list of all clusters in a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_clusters.html#list-group-clusters ListClusters(pid interface{}, options ...RequestOptionFunc) ([]*GroupCluster, *Response, error) // GetCluster gets a cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_clusters.html#get-a-single-group-cluster GetCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*GroupCluster, *Response, error) // AddCluster adds an existing cluster to the group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_clusters.html#add-existing-cluster-to-group AddCluster(pid interface{}, opt *AddGroupClusterOptions, options ...RequestOptionFunc) (*GroupCluster, *Response, error) // EditCluster updates an existing group cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_clusters.html#edit-group-cluster EditCluster(pid interface{}, cluster int, opt *EditGroupClusterOptions, options ...RequestOptionFunc) (*GroupCluster, *Response, error) // DeleteCluster deletes an existing group cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_clusters.html#delete-group-cluster DeleteCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*Response, error) }
GroupClustersService is an interface for gitlab.Client.GroupCluster
type GroupEnvironmentAccessDescription ¶
type GroupEnvironmentAccessDescription = gitlab.GroupEnvironmentAccessDescription
GroupEnvironmentAccessDescription is an alias to gitlab.GroupEnvironmentAccessDescription
type GroupEnvironmentAccessOptions ¶
type GroupEnvironmentAccessOptions = gitlab.GroupEnvironmentAccessOptions
GroupEnvironmentAccessOptions is an alias to gitlab.GroupEnvironmentAccessOptions
type GroupEnvironmentApprovalRule ¶
type GroupEnvironmentApprovalRule = gitlab.GroupEnvironmentApprovalRule
GroupEnvironmentApprovalRule is an alias to gitlab.GroupEnvironmentApprovalRule
type GroupEnvironmentApprovalRuleOptions ¶
type GroupEnvironmentApprovalRuleOptions = gitlab.GroupEnvironmentApprovalRuleOptions
GroupEnvironmentApprovalRuleOptions is an alias to gitlab.GroupEnvironmentApprovalRuleOptions
type GroupEpicBoard ¶
type GroupEpicBoard = gitlab.GroupEpicBoard
GroupEpicBoard is an alias to gitlab.GroupEpicBoard
type GroupEpicBoardsService ¶
type GroupEpicBoardsService interface { // ListGroupEpicBoards gets a list of all epic boards in a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_epic_boards.html#list-all-epic-boards-in-a-group ListGroupEpicBoards(gid interface{}, opt *ListGroupEpicBoardsOptions, options ...RequestOptionFunc) ([]*GroupEpicBoard, *Response, error) // GetGroupEpicBoard gets a single epic board of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_epic_boards.html#single-group-epic-board GetGroupEpicBoard(gid interface{}, board int, options ...RequestOptionFunc) (*GroupEpicBoard, *Response, error) }
GroupEpicBoardsService is an interface for gitlab.Client.GroupEpicBoards
type GroupHookTrigger ¶
type GroupHookTrigger = gitlab.GroupHookTrigger
GroupHookTrigger is an alias to gitlab.GroupHookTrigger
type GroupImportExportService ¶
type GroupImportExportService interface { // ScheduleExport starts a new group export. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_import_export.html#schedule-new-export ScheduleExport(gid interface{}, options ...RequestOptionFunc) (*Response, error) // ExportDownload downloads the finished export. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_import_export.html#export-download ExportDownload(gid interface{}, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // ImportFile imports a file. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_import_export.html#import-a-file ImportFile(opt *GroupImportFileOptions, options ...RequestOptionFunc) (*Response, error) }
GroupImportExportService is an interface for gitlab.Client.GroupImportExport
type GroupImportFileOptions ¶
type GroupImportFileOptions = gitlab.GroupImportFileOptions
GroupImportFileOptions is an alias to gitlab.GroupImportFileOptions
type GroupIssueBoard ¶
type GroupIssueBoard = gitlab.GroupIssueBoard
GroupIssueBoard is an alias to gitlab.GroupIssueBoard
type GroupIssueBoardsService ¶
type GroupIssueBoardsService interface { // ListGroupIssueBoards gets a list of all issue boards in a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#list-all-group-issue-boards-in-a-group ListGroupIssueBoards(gid interface{}, opt *ListGroupIssueBoardsOptions, options ...RequestOptionFunc) ([]*GroupIssueBoard, *Response, error) // CreateGroupIssueBoard creates a new issue board. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#create-a-group-issue-board CreateGroupIssueBoard(gid interface{}, opt *CreateGroupIssueBoardOptions, options ...RequestOptionFunc) (*GroupIssueBoard, *Response, error) // GetGroupIssueBoard gets a single issue board of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#single-group-issue-board GetGroupIssueBoard(gid interface{}, board int, options ...RequestOptionFunc) (*GroupIssueBoard, *Response, error) // UpdateIssueBoard updates a single issue board of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#update-a-group-issue-board UpdateIssueBoard(gid interface{}, board int, opt *UpdateGroupIssueBoardOptions, options ...RequestOptionFunc) (*GroupIssueBoard, *Response, error) // DeleteIssueBoard delete a single issue board of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#delete-a-group-issue-board DeleteIssueBoard(gid interface{}, board int, options ...RequestOptionFunc) (*Response, error) // ListGroupIssueBoardLists gets a list of the issue board's lists. Does not include // backlog and closed lists. // // GitLab API docs: https://docs.gitlab.com/ee/api/group_boards.html#list-group-issue-board-lists ListGroupIssueBoardLists(gid interface{}, board int, opt *ListGroupIssueBoardListsOptions, options ...RequestOptionFunc) ([]*BoardList, *Response, error) // GetGroupIssueBoardList gets a single issue board list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#single-group-issue-board-list GetGroupIssueBoardList(gid interface{}, board, list int, options ...RequestOptionFunc) (*BoardList, *Response, error) // CreateGroupIssueBoardList creates a new issue board list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#new-group-issue-board-list CreateGroupIssueBoardList(gid interface{}, board int, opt *CreateGroupIssueBoardListOptions, options ...RequestOptionFunc) (*BoardList, *Response, error) // UpdateIssueBoardList updates the position of an existing // group issue board list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#edit-group-issue-board-list UpdateIssueBoardList(gid interface{}, board, list int, opt *UpdateGroupIssueBoardListOptions, options ...RequestOptionFunc) ([]*BoardList, *Response, error) // DeleteGroupIssueBoardList soft deletes a group issue board list. // Only for admins and group owners. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_boards.html#delete-a-group-issue-board-list DeleteGroupIssueBoardList(gid interface{}, board, list int, options ...RequestOptionFunc) (*Response, error) }
GroupIssueBoardsService is an interface for gitlab.Client.GroupIssueBoards
type GroupIteration ¶
type GroupIteration = gitlab.GroupIteration
GroupIteration is an alias to gitlab.GroupIteration
type GroupIterationsService ¶
type GroupIterationsService interface { // ListGroupIterations returns a list of group iterations. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_iterations.html#list-group-iterations ListGroupIterations(gid interface{}, opt *ListGroupIterationsOptions, options ...RequestOptionFunc) ([]*GroupIteration, *Response, error) }
GroupIterationsService is an interface for gitlab.Client.GroupIterations
type GroupLabelsService ¶
type GroupLabelsService interface { // ListGroupLabels gets all labels for given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#list-group-labels ListGroupLabels(gid interface{}, opt *ListGroupLabelsOptions, options ...RequestOptionFunc) ([]*GroupLabel, *Response, error) // GetGroupLabel get a single label for a given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#get-a-single-group-label GetGroupLabel(gid interface{}, lid interface{}, options ...RequestOptionFunc) (*GroupLabel, *Response, error) // CreateGroupLabel creates a new label for given group with given name and // color. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#create-a-new-group-label CreateGroupLabel(gid interface{}, opt *CreateGroupLabelOptions, options ...RequestOptionFunc) (*GroupLabel, *Response, error) // DeleteGroupLabel deletes a group label given by its name or ID. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#delete-a-group-label DeleteGroupLabel(gid interface{}, lid interface{}, opt *DeleteGroupLabelOptions, options ...RequestOptionFunc) (*Response, error) // UpdateGroupLabel updates an existing label with new name or now color. At least // one parameter is required, to update the label. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#update-a-group-label UpdateGroupLabel(gid interface{}, lid interface{}, opt *UpdateGroupLabelOptions, options ...RequestOptionFunc) (*GroupLabel, *Response, error) // SubscribeToGroupLabel subscribes the authenticated user to a label to receive // notifications. If the user is already subscribed to the label, the status // code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#subscribe-to-a-group-label SubscribeToGroupLabel(gid interface{}, lid interface{}, options ...RequestOptionFunc) (*GroupLabel, *Response, error) // UnsubscribeFromGroupLabel unsubscribes the authenticated user from a label to not // receive notifications from it. If the user is not subscribed to the label, the // status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_labels.html#unsubscribe-from-a-group-label UnsubscribeFromGroupLabel(gid interface{}, lid interface{}, options ...RequestOptionFunc) (*Response, error) }
GroupLabelsService is an interface for gitlab.Client.GroupLabels
type GroupMember ¶
type GroupMember = gitlab.GroupMember
GroupMember is an alias to gitlab.GroupMember
type GroupMemberSAMLIdentity ¶
type GroupMemberSAMLIdentity = gitlab.GroupMemberSAMLIdentity
GroupMemberSAMLIdentity is an alias to gitlab.GroupMemberSAMLIdentity
type GroupMembersService ¶
type GroupMembersService interface { // GetGroupMember gets a member of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project GetGroupMember(gid interface{}, user int, options ...RequestOptionFunc) (*GroupMember, *Response, error) // GetInheritedGroupMember get a member of a group or project, including // inherited and invited members // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project-including-inherited-and-invited-members GetInheritedGroupMember(gid interface{}, user int, options ...RequestOptionFunc) (*GroupMember, *Response, error) // AddGroupMember adds a user to the list of group members. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#add-a-member-to-a-group-or-project AddGroupMember(gid interface{}, opt *AddGroupMemberOptions, options ...RequestOptionFunc) (*GroupMember, *Response, error) // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#share-groups-with-groups ShareWithGroup(gid interface{}, opt *ShareWithGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-link-sharing-group-with-another-group DeleteShareWithGroup(gid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error) // EditGroupMember updates a member of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#edit-a-member-of-a-group-or-project EditGroupMember(gid interface{}, user int, opt *EditGroupMemberOptions, options ...RequestOptionFunc) (*GroupMember, *Response, error) // RemoveGroupMember removes user from user team. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#remove-a-member-from-a-group-or-project RemoveGroupMember(gid interface{}, user int, opt *RemoveGroupMemberOptions, options ...RequestOptionFunc) (*Response, error) }
GroupMembersService is an interface for gitlab.Client.GroupMembers
type GroupMilestone ¶
type GroupMilestone = gitlab.GroupMilestone
GroupMilestone is an alias to gitlab.GroupMilestone
type GroupMilestonesService ¶
type GroupMilestonesService interface { // ListGroupMilestones returns a list of group milestones. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#list-group-milestones ListGroupMilestones(gid interface{}, opt *ListGroupMilestonesOptions, options ...RequestOptionFunc) ([]*GroupMilestone, *Response, error) // GetGroupMilestone gets a single group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#get-single-milestone GetGroupMilestone(gid interface{}, milestone int, options ...RequestOptionFunc) (*GroupMilestone, *Response, error) // CreateGroupMilestone creates a new group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#create-new-milestone CreateGroupMilestone(gid interface{}, opt *CreateGroupMilestoneOptions, options ...RequestOptionFunc) (*GroupMilestone, *Response, error) // UpdateGroupMilestone updates an existing group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#edit-milestone UpdateGroupMilestone(gid interface{}, milestone int, opt *UpdateGroupMilestoneOptions, options ...RequestOptionFunc) (*GroupMilestone, *Response, error) // DeleteGroupMilestone deletes a specified group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#delete-group-milestone DeleteGroupMilestone(pid interface{}, milestone int, options ...RequestOptionFunc) (*Response, error) // GetGroupMilestoneIssues gets all issues assigned to a single group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#get-all-issues-assigned-to-a-single-milestone GetGroupMilestoneIssues(gid interface{}, milestone int, opt *GetGroupMilestoneIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // GetGroupMilestoneMergeRequests gets all merge requests assigned to a // single group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#get-all-merge-requests-assigned-to-a-single-milestone GetGroupMilestoneMergeRequests(gid interface{}, milestone int, opt *GetGroupMilestoneMergeRequestsOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // GetGroupMilestoneBurndownChartEvents gets all merge requests assigned to a // single group milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_milestones.html#get-all-burndown-chart-events-for-a-single-milestone GetGroupMilestoneBurndownChartEvents(gid interface{}, milestone int, opt *GetGroupMilestoneBurndownChartEventsOptions, options ...RequestOptionFunc) ([]*BurndownChartEvent, *Response, error) }
GroupMilestonesService is an interface for gitlab.Client.GroupMilestones
type GroupPackage ¶
type GroupPackage = gitlab.GroupPackage
GroupPackage is an alias to gitlab.GroupPackage
type GroupProtectedEnvironment ¶
type GroupProtectedEnvironment = gitlab.GroupProtectedEnvironment
GroupProtectedEnvironment is an alias to gitlab.GroupProtectedEnvironment
type GroupProtectedEnvironmentsService ¶
type GroupProtectedEnvironmentsService interface { // ListGroupProtectedEnvironments returns a list of protected environments from // a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_protected_environments.html#list-group-level-protected-environments ListGroupProtectedEnvironments(gid interface{}, opt *ListGroupProtectedEnvironmentsOptions, options ...RequestOptionFunc) ([]*GroupProtectedEnvironment, *Response, error) // GetGroupProtectedEnvironment returns a single group-level protected // environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_protected_environments.html#get-a-single-protected-environment GetGroupProtectedEnvironment(gid interface{}, environment string, options ...RequestOptionFunc) (*GroupProtectedEnvironment, *Response, error) // ProtectGroupEnvironment protects a single group-level environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_protected_environments.html#protect-a-single-environment ProtectGroupEnvironment(gid interface{}, opt *ProtectGroupEnvironmentOptions, options ...RequestOptionFunc) (*GroupProtectedEnvironment, *Response, error) // UpdateGroupProtectedEnvironment updates a single group-level protected // environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_protected_environments.html#update-a-protected-environment UpdateGroupProtectedEnvironment(gid interface{}, environment string, opt *UpdateGroupProtectedEnvironmentOptions, options ...RequestOptionFunc) (*GroupProtectedEnvironment, *Response, error) // UnprotectGroupEnvironment unprotects the given protected group-level // environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_protected_environments.html#unprotect-a-single-environment UnprotectGroupEnvironment(gid interface{}, environment string, options ...RequestOptionFunc) (*Response, error) }
GroupProtectedEnvironmentsService is an interface for gitlab.Client.GroupProtectedEnvironments
type GroupPushRules ¶
type GroupPushRules = gitlab.GroupPushRules
GroupPushRules is an alias to gitlab.GroupPushRules
type GroupReleasesService ¶
type GroupReleasesService interface { // ListGroupReleases gets a list of releases for a group. // // GitLab API docs: // https://docs.gitlab.com/api/group_releases.html#list-group-releases ListGroupReleases(gid interface{}, opts *ListGroupReleasesOptions, options ...RequestOptionFunc) ([]*Release, *Response, error) }
GroupReleasesService is an interface for gitlab.Client.GroupReleases
type GroupRepositoryStorageMove ¶
type GroupRepositoryStorageMove = gitlab.GroupRepositoryStorageMove
GroupRepositoryStorageMove is an alias to gitlab.GroupRepositoryStorageMove
type GroupRepositoryStorageMoveService ¶
type GroupRepositoryStorageMoveService interface { // RetrieveAllStorageMoves retrieves all group repository storage moves // accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#retrieve-all-group-repository-storage-moves RetrieveAllStorageMoves(opts RetrieveAllGroupStorageMovesOptions, options ...RequestOptionFunc) ([]*GroupRepositoryStorageMove, *Response, error) // RetrieveAllStorageMovesForGroup retrieves all repository storage moves for // a single group accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#retrieve-all-repository-storage-moves-for-a-single-group RetrieveAllStorageMovesForGroup(group int, opts RetrieveAllGroupStorageMovesOptions, options ...RequestOptionFunc) ([]*GroupRepositoryStorageMove, *Response, error) // GetStorageMove gets a single group repository storage move. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#get-a-single-group-repository-storage-move GetStorageMove(repositoryStorage int, options ...RequestOptionFunc) (*GroupRepositoryStorageMove, *Response, error) // GetStorageMoveForGroup gets a single repository storage move for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#get-a-single-repository-storage-move-for-a-group GetStorageMoveForGroup(group int, repositoryStorage int, options ...RequestOptionFunc) (*GroupRepositoryStorageMove, *Response, error) // ScheduleStorageMoveForGroup schedule a repository to be moved for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#schedule-a-repository-storage-move-for-a-group ScheduleStorageMoveForGroup(group int, opts ScheduleStorageMoveForGroupOptions, options ...RequestOptionFunc) (*GroupRepositoryStorageMove, *Response, error) // ScheduleAllStorageMoves schedules all group repositories to be moved. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_repository_storage_moves.html#schedule-repository-storage-moves-for-all-groups-on-a-storage-shard ScheduleAllStorageMoves(opts ScheduleAllGroupStorageMovesOptions, options ...RequestOptionFunc) (*Response, error) }
GroupRepositoryStorageMoveService is an interface for gitlab.Client.GroupRepositoryStorageMove
type GroupResourceAccessTokenEvent ¶
type GroupResourceAccessTokenEvent = gitlab.GroupResourceAccessTokenEvent
GroupResourceAccessTokenEvent is an alias to gitlab.GroupResourceAccessTokenEvent
type GroupSCIMIdentity ¶
type GroupSCIMIdentity = gitlab.GroupSCIMIdentity
GroupSCIMIdentity is an alias to gitlab.GroupSCIMIdentity
type GroupSCIMService ¶
type GroupSCIMService interface { // GetSCIMIdentitiesForGroup gets all SCIM identities for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/scim.html#get-scim-identities-for-a-group GetSCIMIdentitiesForGroup(gid interface{}, options ...RequestOptionFunc) ([]*GroupSCIMIdentity, *Response, error) // GetSCIMIdentity gets a SCIM identity for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/scim.html#get-a-single-scim-identity GetSCIMIdentity(gid interface{}, uid string, options ...RequestOptionFunc) (*GroupSCIMIdentity, *Response, error) // UpdateSCIMIdentity updates a SCIM identity. // // GitLab API docs: // https://docs.gitlab.com/ee/api/scim.html#update-extern_uid-field-for-a-scim-identity UpdateSCIMIdentity(gid interface{}, uid string, opt *UpdateSCIMIdentityOptions, options ...RequestOptionFunc) (*Response, error) // DeleteSCIMIdentity deletes a SCIM identity. // // GitLab API docs: // https://docs.gitlab.com/ee/api/scim.html#delete-a-single-scim-identity DeleteSCIMIdentity(gid interface{}, uid string, options ...RequestOptionFunc) (*Response, error) }
GroupSCIMService is an interface for gitlab.Client.GroupSCIM
type GroupSSHCertificate ¶
type GroupSSHCertificate = gitlab.GroupSSHCertificate
GroupSSHCertificate is an alias to gitlab.GroupSSHCertificate
type GroupSSHCertificatesService ¶
type GroupSSHCertificatesService interface { // ListGroupSSHCertificates gets a list of SSH certificates for a specified // group. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/group_ssh_certificates.html#get-all-ssh-certificates-for-a-particular-group ListGroupSSHCertificates(gid interface{}, options ...RequestOptionFunc) ([]*GroupSSHCertificate, *Response, error) // CreateMemberRole creates a new member role for a specified group. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/group_ssh_certificates.html#create-ssh-certificate CreateGroupSSHCertificate(gid interface{}, opt *CreateGroupSSHCertificateOptions, options ...RequestOptionFunc) (*GroupSSHCertificate, *Response, error) // DeleteGroupSSHCertificate deletes a SSH certificate from a specified group. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/group_ssh_certificates.html#delete-group-ssh-certificate DeleteGroupSSHCertificate(gid interface{}, cert int, options ...RequestOptionFunc) (*Response, error) }
GroupSSHCertificatesService is an interface for gitlab.Client.GroupSSHCertificates
type GroupSecuritySettings ¶
type GroupSecuritySettings = gitlab.GroupSecuritySettings
GroupSecuritySettings is an alias to gitlab.GroupSecuritySettings
type GroupSecuritySettingsService ¶
type GroupSecuritySettingsService interface { // UpdateSecretPushProtectionEnabledSetting updates the secret_push_protection_enabled // setting for the all projects in a group to the provided value. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/group_security_settings.html#update-secret_push_protection_enabled-setting UpdateSecretPushProtectionEnabledSetting(gid interface{}, opt UpdateGroupSecuritySettingsOptions, options ...RequestOptionFunc) (*GroupSecuritySettings, *Response, error) }
GroupSecuritySettingsService is an interface for gitlab.Client.GroupSecuritySettings
type GroupServiceAccount ¶
type GroupServiceAccount = gitlab.GroupServiceAccount
GroupServiceAccount is an alias to gitlab.GroupServiceAccount
type GroupSystemEvent ¶
type GroupSystemEvent = gitlab.GroupSystemEvent
GroupSystemEvent is an alias to gitlab.GroupSystemEvent
type GroupVariable ¶
type GroupVariable = gitlab.GroupVariable
GroupVariable is an alias to gitlab.GroupVariable
type GroupVariablesService ¶
type GroupVariablesService interface { // ListVariables gets a list of all variables for a group. // // GitLab API docs: // https://docs.gitlab.com/api/group_level_variables/#list-group-variables ListVariables(gid interface{}, opt *ListGroupVariablesOptions, options ...RequestOptionFunc) ([]*GroupVariable, *Response, error) // GetVariable gets a variable. // // GitLab API docs: // https://docs.gitlab.com/api/group_level_variables/#show-variable-details GetVariable(gid interface{}, key string, opt *GetGroupVariableOptions, options ...RequestOptionFunc) (*GroupVariable, *Response, error) // CreateVariable creates a new group variable. // // GitLab API docs: // https://docs.gitlab.com/api/group_level_variables/#create-variable CreateVariable(gid interface{}, opt *CreateGroupVariableOptions, options ...RequestOptionFunc) (*GroupVariable, *Response, error) // UpdateVariable updates the position of an existing // group issue board list. // // GitLab API docs: // https://docs.gitlab.com/api/group_level_variables/#update-variable UpdateVariable(gid interface{}, key string, opt *UpdateGroupVariableOptions, options ...RequestOptionFunc) (*GroupVariable, *Response, error) // RemoveVariable removes a group's variable. // // GitLab API docs: // https://docs.gitlab.com/api/group_level_variables/#remove-variable RemoveVariable(gid interface{}, key string, opt *RemoveGroupVariableOptions, options ...RequestOptionFunc) (*Response, error) }
GroupVariablesService is an interface for gitlab.Client.GroupVariables
type GroupWikisService ¶
type GroupWikisService interface { // ListGroupWikis lists all pages of the wiki of the given group id. // When with_content is set, it also returns the content of the pages. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_wikis.html#list-wiki-pages ListGroupWikis(gid interface{}, opt *ListGroupWikisOptions, options ...RequestOptionFunc) ([]*GroupWiki, *Response, error) // GetGroupWikiPage gets a wiki page for a given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_wikis.html#get-a-wiki-page GetGroupWikiPage(gid interface{}, slug string, opt *GetGroupWikiPageOptions, options ...RequestOptionFunc) (*GroupWiki, *Response, error) // CreateGroupWikiPage creates a new wiki page for the given group with // the given title, slug, and content. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_wikis.html#create-a-new-wiki-page CreateGroupWikiPage(gid interface{}, opt *CreateGroupWikiPageOptions, options ...RequestOptionFunc) (*GroupWiki, *Response, error) // EditGroupWikiPage Updates an existing wiki page. At least one parameter is // required to update the wiki page. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_wikis.html#edit-an-existing-wiki-page EditGroupWikiPage(gid interface{}, slug string, opt *EditGroupWikiPageOptions, options ...RequestOptionFunc) (*GroupWiki, *Response, error) // DeleteGroupWikiPage deletes a wiki page with a given slug. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_wikis.html#delete-a-wiki-page DeleteGroupWikiPage(gid interface{}, slug string, options ...RequestOptionFunc) (*Response, error) }
GroupWikisService is an interface for gitlab.Client.GroupWikis
type GroupsService ¶
type GroupsService interface { // ListGroupHooks gets a list of group hooks. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#list-group-hooks ListGroupHooks(gid interface{}, opt *ListGroupHooksOptions, options ...RequestOptionFunc) ([]*GroupHook, *Response, error) // GetGroupHook gets a specific hook for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#get-a-group-hook GetGroupHook(gid interface{}, hook int, options ...RequestOptionFunc) (*GroupHook, *Response, error) // ResendGroupHookEvent resends a specific hook event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#resend-group-hook-event ResendGroupHookEvent(gid interface{}, hook int, hookEventID int, options ...RequestOptionFunc) (*Response, error) // AddGroupHook creates a new group scoped webhook. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#add-a-group-hook AddGroupHook(gid interface{}, opt *AddGroupHookOptions, options ...RequestOptionFunc) (*GroupHook, *Response, error) // EditGroupHook edits a hook for a specified group. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#edit-group-hook EditGroupHook(gid interface{}, hook int, opt *EditGroupHookOptions, options ...RequestOptionFunc) (*GroupHook, *Response, error) // DeleteGroupHook removes a hook from a group. This is an idempotent // method and can be called multiple times. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#delete-a-group-hook DeleteGroupHook(gid interface{}, hook int, options ...RequestOptionFunc) (*Response, error) // TriggerTestGroupHook triggers a test hook for a specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#trigger-a-test-group-hook TriggerTestGroupHook(pid interface{}, hook int, trigger GroupHookTrigger, options ...RequestOptionFunc) (*Response, error) // SetGroupCustomHeader creates or updates a group custom webhook header. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#set-a-custom-header SetGroupCustomHeader(gid interface{}, hook int, key string, opt *SetHookCustomHeaderOptions, options ...RequestOptionFunc) (*Response, error) // DeleteGroupCustomHeader deletes a group custom webhook header. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#delete-a-custom-header DeleteGroupCustomHeader(gid interface{}, hook int, key string, options ...RequestOptionFunc) (*Response, error) // SetGroupHookURLVariable sets a group hook URL variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#set-a-url-variable SetGroupHookURLVariable(gid interface{}, hook int, key string, opt *SetHookURLVariableOptions, options ...RequestOptionFunc) (*Response, error) // DeleteGroupHookURLVariable sets a group hook URL variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_webhooks.html#delete-a-url-variable DeleteGroupHookURLVariable(gid interface{}, hook int, key string, options ...RequestOptionFunc) (*Response, error) // ListGroupMembers get a list of group members viewable by the authenticated // user. Inherited members through ancestor groups are not included. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project ListGroupMembers(gid interface{}, opt *ListGroupMembersOptions, options ...RequestOptionFunc) ([]*GroupMember, *Response, error) // ListAllGroupMembers get a list of group members viewable by the authenticated // user. Returns a list including inherited members through ancestor groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-and-invited-members ListAllGroupMembers(gid interface{}, opt *ListGroupMembersOptions, options ...RequestOptionFunc) ([]*GroupMember, *Response, error) // ListBillableGroupMembers Gets a list of group members that count as billable. // The list includes members in the subgroup or subproject. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-all-billable-members-of-a-group ListBillableGroupMembers(gid interface{}, opt *ListBillableGroupMembersOptions, options ...RequestOptionFunc) ([]*BillableGroupMember, *Response, error) // ListMembershipsForBillableGroupMember gets a list of memberships for a // billable member of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-memberships-for-a-billable-member-of-a-group ListMembershipsForBillableGroupMember(gid interface{}, user int, opt *ListMembershipsForBillableGroupMemberOptions, options ...RequestOptionFunc) ([]*BillableUserMembership, *Response, error) // RemoveBillableGroupMember removes a given group members that count as billable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#remove-a-billable-member-from-a-group RemoveBillableGroupMember(gid interface{}, user int, options ...RequestOptionFunc) (*Response, error) // ListServiceAccounts gets a list of service acxcounts. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_service_accounts.html#list-service-account-users ListServiceAccounts(gid interface{}, opt *ListServiceAccountsOptions, options ...RequestOptionFunc) ([]*GroupServiceAccount, *Response, error) // Creates a service account user. // // This API endpoint works on top-level groups only. It does not work on subgroups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#create-service-account-user CreateServiceAccount(gid interface{}, opt *CreateServiceAccountOptions, options ...RequestOptionFunc) (*GroupServiceAccount, *Response, error) // DeleteServiceAccount Deletes a service account user. // // This API endpoint works on top-level groups only. It does not work on subgroups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_service_accounts.html#delete-a-service-account-user DeleteServiceAccount(gid interface{}, serviceAccount int, opt *DeleteServiceAccountOptions, options ...RequestOptionFunc) (*Response, error) // CreateServiceAccountPersonalAccessToken add a new Personal Access Token for a // service account user for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/group_service_accounts.html#create-a-personal-access-token-for-a-service-account-user CreateServiceAccountPersonalAccessToken(gid interface{}, serviceAccount int, opt *CreateServiceAccountPersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // RotateServiceAccountPersonalAccessToken rotates a Personal Access Token for a // service account user for a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#create-personal-access-token-for-service-account-user RotateServiceAccountPersonalAccessToken(gid interface{}, serviceAccount, token int, opt *RotateServiceAccountPersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // ListGroups gets a list of groups (as user: my groups, as admin: all groups). // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-groups ListGroups(opt *ListGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error) // ListSubGroups gets a list of subgroups for a given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-a-groups-subgroups ListSubGroups(gid interface{}, opt *ListSubGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error) // ListDescendantGroups gets a list of subgroups for a given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-a-groups-descendant-groups ListDescendantGroups(gid interface{}, opt *ListDescendantGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error) // ListGroupProjects get a list of group projects // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects ListGroupProjects(gid interface{}, opt *ListGroupProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // GetGroup gets all details of a group. // // GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#details-of-a-group GetGroup(gid interface{}, opt *GetGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // DownloadAvatar downloads a group avatar. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#download-a-group-avatar DownloadAvatar(gid interface{}, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // CreateGroup creates a new project group. Available only for users who can // create groups. // // GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#new-group CreateGroup(opt *CreateGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // TransferGroup transfers a project to the Group namespace. Available only // for admin. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#transfer-project-to-group TransferGroup(gid interface{}, pid interface{}, options ...RequestOptionFunc) (*Group, *Response, error) // TransferSubGroup transfers a group to a new parent group or turn a subgroup // to a top-level group. Available to administrators and users. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#transfer-a-group-to-a-new-parent-group--turn-a-subgroup-to-a-top-level-group TransferSubGroup(gid interface{}, opt *TransferSubGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // UpdateGroup updates an existing group; only available to group owners and // administrators. // // GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#update-group UpdateGroup(gid interface{}, opt *UpdateGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // UploadAvatar uploads a group avatar. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#upload-a-group-avatar UploadAvatar(gid interface{}, avatar io.Reader, filename string, options ...RequestOptionFunc) (*Group, *Response, error) // DeleteGroup removes group with all projects inside. // // GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#remove-group DeleteGroup(gid interface{}, opt *DeleteGroupOptions, options ...RequestOptionFunc) (*Response, error) // RestoreGroup restores a previously deleted group // // GitLap API docs: // https://docs.gitlab.com/ee/api/groups.html#restore-group-marked-for-deletion RestoreGroup(gid interface{}, options ...RequestOptionFunc) (*Group, *Response, error) // SearchGroup get all groups that match your string in their name or path. // // GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#search-for-group SearchGroup(query string, options ...RequestOptionFunc) ([]*Group, *Response, error) // ListProvisionedUsers gets a list of users provisioned by the given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-provisioned-users ListProvisionedUsers(gid interface{}, opt *ListProvisionedUsersOptions, options ...RequestOptionFunc) ([]*User, *Response, error) // ListGroupLDAPLinks lists the group's LDAP links. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-ldap-group-links ListGroupLDAPLinks(gid interface{}, options ...RequestOptionFunc) ([]*LDAPGroupLink, *Response, error) // AddGroupLDAPLink creates a new group LDAP link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#add-ldap-group-link-with-cn-or-filter AddGroupLDAPLink(gid interface{}, opt *AddGroupLDAPLinkOptions, options ...RequestOptionFunc) (*LDAPGroupLink, *Response, error) // DeleteGroupLDAPLink deletes a group LDAP link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-ldap-group-link DeleteGroupLDAPLink(gid interface{}, cn string, options ...RequestOptionFunc) (*Response, error) // DeleteGroupLDAPLinkWithCNOrFilter deletes a group LDAP link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-ldap-group-link-with-cn-or-filter DeleteGroupLDAPLinkWithCNOrFilter(gid interface{}, opts *DeleteGroupLDAPLinkWithCNOrFilterOptions, options ...RequestOptionFunc) (*Response, error) // DeleteGroupLDAPLinkForProvider deletes a group LDAP link from a specific // provider. Available only for users who can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-ldap-group-link DeleteGroupLDAPLinkForProvider(gid interface{}, provider, cn string, options ...RequestOptionFunc) (*Response, error) // ListGroupSAMLLinks lists the group's SAML links. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#list-saml-group-links ListGroupSAMLLinks(gid interface{}, options ...RequestOptionFunc) ([]*SAMLGroupLink, *Response, error) // GetGroupSAMLLink get a specific group SAML link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#get-saml-group-link GetGroupSAMLLink(gid interface{}, samlGroupName string, options ...RequestOptionFunc) (*SAMLGroupLink, *Response, error) // AddGroupSAMLLink creates a new group SAML link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#add-saml-group-link AddGroupSAMLLink(gid interface{}, opt *AddGroupSAMLLinkOptions, options ...RequestOptionFunc) (*SAMLGroupLink, *Response, error) // DeleteGroupSAMLLink deletes a group SAML link. Available only for users who // can edit groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-saml-group-link DeleteGroupSAMLLink(gid interface{}, samlGroupName string, options ...RequestOptionFunc) (*Response, error) // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#create-a-link-to-share-a-group-with-another-group ShareGroupWithGroup(gid interface{}, opt *ShareGroupWithGroupOptions, options ...RequestOptionFunc) (*Group, *Response, error) // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-link-sharing-group-with-another-group UnshareGroupFromGroup(gid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error) // GetGroupPushRules gets the push rules of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#get-group-push-rules GetGroupPushRules(gid interface{}, options ...RequestOptionFunc) (*GroupPushRules, *Response, error) // AddGroupPushRule adds push rules to the specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#add-group-push-rule AddGroupPushRule(gid interface{}, opt *AddGroupPushRuleOptions, options ...RequestOptionFunc) (*GroupPushRules, *Response, error) // EditGroupPushRule edits a push rule for a specified group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#edit-group-push-rule EditGroupPushRule(gid interface{}, opt *EditGroupPushRuleOptions, options ...RequestOptionFunc) (*GroupPushRules, *Response, error) // DeleteGroupPushRule deletes the push rules of a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/groups.html#delete-group-push-rule DeleteGroupPushRule(gid interface{}, options ...RequestOptionFunc) (*Response, error) }
GroupsService is an interface for gitlab.Client.Groups
type HarborService ¶
type HarborService = gitlab.HarborService
HarborService is an alias to gitlab.HarborService
type HarborServiceProperties ¶
type HarborServiceProperties = gitlab.HarborServiceProperties
HarborServiceProperties is an alias to gitlab.HarborServiceProperties
type HookCustomHeader ¶
type HookCustomHeader = gitlab.HookCustomHeader
HookCustomHeader is an alias to gitlab.HookCustomHeader
type ImpersonationToken ¶
type ImpersonationToken = gitlab.ImpersonationToken
ImpersonationToken is an alias to gitlab.ImpersonationToken
type ImportFileOptions ¶
type ImportFileOptions = gitlab.ImportFileOptions
ImportFileOptions is an alias to gitlab.ImportFileOptions
type ImportGitHubGistsIntoGitLabSnippetsOptions ¶
type ImportGitHubGistsIntoGitLabSnippetsOptions = gitlab.ImportGitHubGistsIntoGitLabSnippetsOptions
ImportGitHubGistsIntoGitLabSnippetsOptions is an alias to gitlab.ImportGitHubGistsIntoGitLabSnippetsOptions
type ImportRepositoryFromBitbucketCloudOptions ¶
type ImportRepositoryFromBitbucketCloudOptions = gitlab.ImportRepositoryFromBitbucketCloudOptions
ImportRepositoryFromBitbucketCloudOptions is an alias to gitlab.ImportRepositoryFromBitbucketCloudOptions
type ImportRepositoryFromBitbucketServerOptions ¶
type ImportRepositoryFromBitbucketServerOptions = gitlab.ImportRepositoryFromBitbucketServerOptions
ImportRepositoryFromBitbucketServerOptions is an alias to gitlab.ImportRepositoryFromBitbucketServerOptions
type ImportRepositoryFromGitHubOptions ¶
type ImportRepositoryFromGitHubOptions = gitlab.ImportRepositoryFromGitHubOptions
ImportRepositoryFromGitHubOptions is an alias to gitlab.ImportRepositoryFromGitHubOptions
type ImportService ¶
type ImportService interface { // Import a repository from GitHub. // // GitLab API docs: // https://docs.gitlab.com/ee/api/import.html#import-repository-from-github ImportRepositoryFromGitHub(opt *ImportRepositoryFromGitHubOptions, options ...RequestOptionFunc) (*GitHubImport, *Response, error) // Cancel an import of a repository from GitHub. // // GitLab API docs: // https://docs.gitlab.com/ee/api/import.html#cancel-github-project-import CancelGitHubProjectImport(opt *CancelGitHubProjectImportOptions, options ...RequestOptionFunc) (*CancelledGitHubImport, *Response, error) // Import personal GitHub Gists into personal GitLab Snippets. // // GitLab API docs: // https://docs.gitlab.com/ee/api/import.html#import-github-gists-into-gitlab-snippets ImportGitHubGistsIntoGitLabSnippets(opt *ImportGitHubGistsIntoGitLabSnippetsOptions, options ...RequestOptionFunc) (*Response, error) // Import a repository from Bitbucket Server. // // GitLab API docs: // https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-server ImportRepositoryFromBitbucketServer(opt *ImportRepositoryFromBitbucketServerOptions, options ...RequestOptionFunc) (*BitbucketServerImport, *Response, error) // Import a repository from Bitbucket Cloud. // // GitLab API docs: // https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-cloud ImportRepositoryFromBitbucketCloud(opt *ImportRepositoryFromBitbucketCloudOptions, options ...RequestOptionFunc) (*BitbucketCloudImport, *Response, error) }
ImportService is an interface for gitlab.Client.Import
type ImportStatus ¶
type ImportStatus = gitlab.ImportStatus
ImportStatus is an alias to gitlab.ImportStatus
type InstanceCluster ¶
type InstanceCluster = gitlab.InstanceCluster
InstanceCluster is an alias to gitlab.InstanceCluster
type InstanceClustersService ¶
type InstanceClustersService interface { // ListClusters gets a list of all instance clusters. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_clusters.html#list-instance-clusters ListClusters(options ...RequestOptionFunc) ([]*InstanceCluster, *Response, error) // GetCluster gets an instance cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_clusters.html#get-a-single-instance-cluster GetCluster(cluster int, options ...RequestOptionFunc) (*InstanceCluster, *Response, error) // AddCluster adds an existing cluster to the instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_clusters.html#add-existing-instance-cluster AddCluster(opt *AddClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error) // EditCluster updates an existing instance cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_clusters.html#edit-instance-cluster EditCluster(cluster int, opt *EditClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error) // DeleteCluster deletes an existing instance cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_clusters.html#delete-instance-cluster DeleteCluster(cluster int, options ...RequestOptionFunc) (*Response, error) }
InstanceClustersService is an interface for gitlab.Client.InstanceCluster
type InstanceDeployKey ¶
type InstanceDeployKey = gitlab.InstanceDeployKey
InstanceDeployKey is an alias to gitlab.InstanceDeployKey
type InstanceVariable ¶
type InstanceVariable = gitlab.InstanceVariable
InstanceVariable is an alias to gitlab.InstanceVariable
type InstanceVariablesService ¶
type InstanceVariablesService interface { // ListVariables gets a list of all variables for an instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_level_ci_variables.html#list-all-instance-variables ListVariables(opt *ListInstanceVariablesOptions, options ...RequestOptionFunc) ([]*InstanceVariable, *Response, error) // GetVariable gets a variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_level_ci_variables.html#show-instance-variable-details GetVariable(key string, options ...RequestOptionFunc) (*InstanceVariable, *Response, error) // CreateVariable creates a new instance level CI variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_level_ci_variables.html#create-instance-variable CreateVariable(opt *CreateInstanceVariableOptions, options ...RequestOptionFunc) (*InstanceVariable, *Response, error) // UpdateVariable updates the position of an existing // instance level CI variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_level_ci_variables.html#update-instance-variable UpdateVariable(key string, opt *UpdateInstanceVariableOptions, options ...RequestOptionFunc) (*InstanceVariable, *Response, error) // RemoveVariable removes an instance level CI variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/instance_level_ci_variables.html#remove-instance-variable RemoveVariable(key string, options ...RequestOptionFunc) (*Response, error) }
InstanceVariablesService is an interface for gitlab.Client.InstanceVariables
type InvitesOptions ¶
type InvitesOptions = gitlab.InvitesOptions
InvitesOptions is an alias to gitlab.InvitesOptions
type InvitesResult ¶
type InvitesResult = gitlab.InvitesResult
InvitesResult is an alias to gitlab.InvitesResult
type InvitesService ¶
type InvitesService interface { // ListPendingGroupInvitations gets a list of invited group members. // // GitLab API docs: // https://docs.gitlab.com/ee/api/invitations.html#list-all-invitations-pending-for-a-group-or-project ListPendingGroupInvitations(gid interface{}, opt *ListPendingInvitationsOptions, options ...RequestOptionFunc) ([]*PendingInvite, *Response, error) // ListPendingProjectInvitations gets a list of invited project members. // // GitLab API docs: // https://docs.gitlab.com/ee/api/invitations.html#list-all-invitations-pending-for-a-group-or-project ListPendingProjectInvitations(pid interface{}, opt *ListPendingInvitationsOptions, options ...RequestOptionFunc) ([]*PendingInvite, *Response, error) // GroupInvites invites new users by email to join a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/invitations.html#add-a-member-to-a-group-or-project GroupInvites(gid interface{}, opt *InvitesOptions, options ...RequestOptionFunc) (*InvitesResult, *Response, error) // ProjectInvites invites new users by email to join a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/invitations.html#add-a-member-to-a-group-or-project ProjectInvites(pid interface{}, opt *InvitesOptions, options ...RequestOptionFunc) (*InvitesResult, *Response, error) }
InvitesService is an interface for gitlab.Client.Invites
type IssueAssignee ¶
type IssueAssignee = gitlab.IssueAssignee
IssueAssignee is an alias to gitlab.IssueAssignee
type IssueAuthor ¶
type IssueAuthor = gitlab.IssueAuthor
IssueAuthor is an alias to gitlab.IssueAuthor
type IssueBoardsService ¶
type IssueBoardsService interface { // CreateIssueBoard creates a new issue board. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#create-an-issue-board CreateIssueBoard(pid interface{}, opt *CreateIssueBoardOptions, options ...RequestOptionFunc) (*IssueBoard, *Response, error) // UpdateIssueBoard update an issue board. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#update-an-issue-board UpdateIssueBoard(pid interface{}, board int, opt *UpdateIssueBoardOptions, options ...RequestOptionFunc) (*IssueBoard, *Response, error) // DeleteIssueBoard deletes an issue board. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#delete-an-issue-board DeleteIssueBoard(pid interface{}, board int, options ...RequestOptionFunc) (*Response, error) // ListIssueBoards gets a list of all issue boards in a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#list-project-issue-boards ListIssueBoards(pid interface{}, opt *ListIssueBoardsOptions, options ...RequestOptionFunc) ([]*IssueBoard, *Response, error) // GetIssueBoard gets a single issue board of a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#show-a-single-issue-board GetIssueBoard(pid interface{}, board int, options ...RequestOptionFunc) (*IssueBoard, *Response, error) // GetIssueBoardLists gets a list of the issue board's lists. Does not include // backlog and closed lists. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#list-board-lists-in-a-project-issue-board GetIssueBoardLists(pid interface{}, board int, opt *GetIssueBoardListsOptions, options ...RequestOptionFunc) ([]*BoardList, *Response, error) // GetIssueBoardList gets a single issue board list. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#show-a-single-board-list GetIssueBoardList(pid interface{}, board, list int, options ...RequestOptionFunc) (*BoardList, *Response, error) // CreateIssueBoardList creates a new issue board list. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#create-a-board-list CreateIssueBoardList(pid interface{}, board int, opt *CreateIssueBoardListOptions, options ...RequestOptionFunc) (*BoardList, *Response, error) // UpdateIssueBoardList updates the position of an existing issue board list. // // GitLab API docs: https://docs.gitlab.com/ee/api/boards.html#reorder-a-list-in-a-board UpdateIssueBoardList(pid interface{}, board, list int, opt *UpdateIssueBoardListOptions, options ...RequestOptionFunc) (*BoardList, *Response, error) // DeleteIssueBoardList soft deletes an issue board list. Only for admins and // project owners. // // GitLab API docs: // https://docs.gitlab.com/ee/api/boards.html#delete-a-board-list-from-a-board DeleteIssueBoardList(pid interface{}, board, list int, options ...RequestOptionFunc) (*Response, error) }
IssueBoardsService is an interface for gitlab.Client.Boards
type IssueCloser ¶
type IssueCloser = gitlab.IssueCloser
IssueCloser is an alias to gitlab.IssueCloser
type IssueCommentEvent ¶
type IssueCommentEvent = gitlab.IssueCommentEvent
IssueCommentEvent is an alias to gitlab.IssueCommentEvent
type IssueLinksService ¶
type IssueLinksService interface { // ListIssueRelations gets a list of related issues of a given issue, // sorted by the relationship creation datetime (ascending). // // Issues will be filtered according to the user authorizations. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issue_links.html#list-issue-relations ListIssueRelations(pid interface{}, issue int, options ...RequestOptionFunc) ([]*IssueRelation, *Response, error) // GetIssueLink gets a specific issue link. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issue_links.html#get-an-issue-link GetIssueLink(pid interface{}, issue, issueLink int, options ...RequestOptionFunc) (*IssueLink, *Response, error) // CreateIssueLink creates a two-way relation between two issues. // User must be allowed to update both issues in order to succeed. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issue_links.html#create-an-issue-link CreateIssueLink(pid interface{}, issue int, opt *CreateIssueLinkOptions, options ...RequestOptionFunc) (*IssueLink, *Response, error) // DeleteIssueLink deletes an issue link, thus removes the two-way relationship. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issue_links.html#delete-an-issue-link DeleteIssueLink(pid interface{}, issue, issueLink int, options ...RequestOptionFunc) (*IssueLink, *Response, error) }
IssueLinksService is an interface for gitlab.Client.IssueLinks
type IssueReferences ¶
type IssueReferences = gitlab.IssueReferences
IssueReferences is an alias to gitlab.IssueReferences
type IssueRelation ¶
type IssueRelation = gitlab.IssueRelation
IssueRelation is an alias to gitlab.IssueRelation
type IssuesService ¶
type IssuesService interface { // ListIssues gets all issues created by authenticated user. This function // takes pagination parameters page and per_page to restrict the list of issues. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#list-issues ListIssues(opt *ListIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // ListGroupIssues gets a list of group issues. This function accepts // pagination parameters page and per_page to return the list of group issues. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#list-group-issues ListGroupIssues(pid interface{}, opt *ListGroupIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // ListProjectIssues gets a list of project issues. This function accepts // pagination parameters page and per_page to return the list of project issues. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#list-project-issues ListProjectIssues(pid interface{}, opt *ListProjectIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // GetIssueByID gets a single issue. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#single-issue GetIssueByID(issue int, options ...RequestOptionFunc) (*Issue, *Response, error) // GetIssue gets a single project issue. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#single-project-issue GetIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error) // CreateIssue creates a new project issue. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#new-issue CreateIssue(pid interface{}, opt *CreateIssueOptions, options ...RequestOptionFunc) (*Issue, *Response, error) // UpdateIssue updates an existing project issue. This function is also used // to mark an issue as closed. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#edit-issues UpdateIssue(pid interface{}, issue int, opt *UpdateIssueOptions, options ...RequestOptionFunc) (*Issue, *Response, error) // DeleteIssue deletes a single project issue. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#delete-an-issue DeleteIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Response, error) // ReorderIssue reorders an issue. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#reorder-an-issue ReorderIssue(pid interface{}, issue int, opt *ReorderIssueOptions, options ...RequestOptionFunc) (*Issue, *Response, error) // MoveIssue updates an existing project issue. This function is also used // to mark an issue as closed. // // GitLab API docs: https://docs.gitlab.com/ee/api/issues.html#move-an-issue MoveIssue(pid interface{}, issue int, opt *MoveIssueOptions, options ...RequestOptionFunc) (*Issue, *Response, error) // SubscribeToIssue subscribes the authenticated user to the given issue to // receive notifications. If the user is already subscribed to the issue, the // status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#subscribe-to-an-issue SubscribeToIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error) // UnsubscribeFromIssue unsubscribes the authenticated user from the given // issue to not receive notifications from that merge request. If the user // is not subscribed to the issue, status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#unsubscribe-from-an-issue UnsubscribeFromIssue(pid interface{}, issue int, options ...RequestOptionFunc) (*Issue, *Response, error) // CreateTodo creates a todo for the current user for an issue. // If there already exists a todo for the user on that issue, status code // 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#create-a-to-do-item CreateTodo(pid interface{}, issue int, options ...RequestOptionFunc) (*Todo, *Response, error) // ListMergeRequestsClosingIssue gets all the merge requests that will close // issue when merged. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#list-merge-requests-that-close-a-particular-issue-on-merge ListMergeRequestsClosingIssue(pid interface{}, issue int, opt *ListMergeRequestsClosingIssueOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // ListMergeRequestsRelatedToIssue gets all the merge requests that are // related to the issue // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#list-merge-requests-related-to-issue ListMergeRequestsRelatedToIssue(pid interface{}, issue int, opt *ListMergeRequestsRelatedToIssueOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // SetTimeEstimate sets the time estimate for a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#set-a-time-estimate-for-an-issue SetTimeEstimate(pid interface{}, issue int, opt *SetTimeEstimateOptions, options ...RequestOptionFunc) (*TimeStats, *Response, error) // ResetTimeEstimate resets the time estimate for a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#reset-the-time-estimate-for-an-issue ResetTimeEstimate(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // AddSpentTime adds spent time for a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#add-spent-time-for-an-issue AddSpentTime(pid interface{}, issue int, opt *AddSpentTimeOptions, options ...RequestOptionFunc) (*TimeStats, *Response, error) // ResetSpentTime resets the spent time for a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#reset-spent-time-for-an-issue ResetSpentTime(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // GetTimeSpent gets the spent time for a single project issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#get-time-tracking-stats GetTimeSpent(pid interface{}, issue int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // GetParticipants gets a list of issue participants. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues.html#participants-on-issues GetParticipants(pid interface{}, issue int, options ...RequestOptionFunc) ([]*BasicUser, *Response, error) }
IssuesService is an interface for gitlab.Client.Issues
type IssuesStatistics ¶
type IssuesStatistics = gitlab.IssuesStatistics
IssuesStatistics is an alias to gitlab.IssuesStatistics
type IssuesStatisticsService ¶
type IssuesStatisticsService interface { // GetIssuesStatistics gets issues statistics on all issues the authenticated // user has access to. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues_statistics.html#get-issues-statistics GetIssuesStatistics(opt *GetIssuesStatisticsOptions, options ...RequestOptionFunc) (*IssuesStatistics, *Response, error) // GetGroupIssuesStatistics gets issues count statistics for given group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues_statistics.html#get-group-issues-statistics GetGroupIssuesStatistics(gid interface{}, opt *GetGroupIssuesStatisticsOptions, options ...RequestOptionFunc) (*IssuesStatistics, *Response, error) // GetProjectIssuesStatistics gets issues count statistics for given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/issues_statistics.html#get-project-issues-statistics GetProjectIssuesStatistics(pid interface{}, opt *GetProjectIssuesStatisticsOptions, options ...RequestOptionFunc) (*IssuesStatistics, *Response, error) }
IssuesStatisticsService is an interface for gitlab.Client.IssuesStatistics
type IterationEvent ¶
type IterationEvent = gitlab.IterationEvent
IterationEvent is an alias to gitlab.IterationEvent
type JenkinsCIService ¶
type JenkinsCIService = gitlab.JenkinsCIService
JenkinsCIService is an alias to gitlab.JenkinsCIService
type JenkinsCIServiceProperties ¶
type JenkinsCIServiceProperties = gitlab.JenkinsCIServiceProperties
JenkinsCIServiceProperties is an alias to gitlab.JenkinsCIServiceProperties
type JiraService ¶
type JiraService = gitlab.JiraService
JiraService is an alias to gitlab.JiraService
type JiraServiceProperties ¶
type JiraServiceProperties = gitlab.JiraServiceProperties
JiraServiceProperties is an alias to gitlab.JiraServiceProperties
type JobTokenAccessSettings ¶
type JobTokenAccessSettings = gitlab.JobTokenAccessSettings
JobTokenAccessSettings is an alias to gitlab.JobTokenAccessSettings
type JobTokenAllowlistItem ¶
type JobTokenAllowlistItem = gitlab.JobTokenAllowlistItem
JobTokenAllowlistItem is an alias to gitlab.JobTokenAllowlistItem
type JobTokenInboundAllowItem ¶
type JobTokenInboundAllowItem = gitlab.JobTokenInboundAllowItem
JobTokenInboundAllowItem is an alias to gitlab.JobTokenInboundAllowItem
type JobTokenInboundAllowOptions ¶
type JobTokenInboundAllowOptions = gitlab.JobTokenInboundAllowOptions
JobTokenInboundAllowOptions is an alias to gitlab.JobTokenInboundAllowOptions
type JobTokenScopeService ¶
type JobTokenScopeService interface { // GetProjectJobTokenAccessSettings fetch the CI/CD job token access settings (job token scope) of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-access-settings GetProjectJobTokenAccessSettings(pid interface{}, options ...RequestOptionFunc) (*JobTokenAccessSettings, *Response, error) // PatchProjectJobTokenAccessSettings patch the Limit access to this project setting (job token scope) of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#patch-a-projects-cicd-job-token-access-settings PatchProjectJobTokenAccessSettings(pid interface{}, opt *PatchProjectJobTokenAccessSettingsOptions, options ...RequestOptionFunc) (*Response, error) // GetProjectJobTokenInboundAllowList fetches the CI/CD job token inbound // allowlist (job token scope) of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-inbound-allowlist GetProjectJobTokenInboundAllowList(pid interface{}, opt *GetJobTokenInboundAllowListOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // AddProjectToJobScopeAllowList adds a new project to a project's job token // inbound allow list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#create-a-new-project-to-a-projects-cicd-job-token-inbound-allowlist AddProjectToJobScopeAllowList(pid interface{}, opt *JobTokenInboundAllowOptions, options ...RequestOptionFunc) (*JobTokenInboundAllowItem, *Response, error) // RemoveProjectFromJobScopeAllowList removes a project from a project's job // token inbound allow list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#remove-a-project-from-a-projects-cicd-job-token-inbound-allowlist RemoveProjectFromJobScopeAllowList(pid interface{}, targetProject int, options ...RequestOptionFunc) (*Response, error) // GetJobTokenAllowListGroups fetches the CI/CD job token allowlist groups // (job token scopes) of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-allowlist-of-groups GetJobTokenAllowlistGroups(pid interface{}, opt *GetJobTokenAllowlistGroupsOptions, options ...RequestOptionFunc) ([]*Group, *Response, error) // AddProjectToJobScopeGroupsAllowList adds a new group to a project's job token // inbound groups allow list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#add-a-group-to-a-cicd-job-token-allowlist AddGroupToJobTokenAllowlist(pid interface{}, opt *AddGroupToJobTokenAllowlistOptions, options ...RequestOptionFunc) (*JobTokenAllowlistItem, *Response, error) // RemoveGroupFromJopTokenAllowlist removes a group from a project's job // token inbound groups allow list. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_job_token_scopes.html#remove-a-group-from-a-cicd-job-token-allowlist RemoveGroupFromJobTokenAllowlist(pid interface{}, targetGroup int, options ...RequestOptionFunc) (*Response, error) }
JobTokenScopeService is an interface for gitlab.Client.JobTokenScope
type JobVariableOptions ¶
type JobVariableOptions = gitlab.JobVariableOptions
JobVariableOptions is an alias to gitlab.JobVariableOptions
type JobsService ¶
type JobsService interface { // ListProjectJobs gets a list of jobs in a project. // // The scope of jobs to show, one or array of: created, pending, running, // failed, success, canceled, skipped; showing all jobs if none provided // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#list-project-jobs ListProjectJobs(pid interface{}, opts *ListJobsOptions, options ...RequestOptionFunc) ([]*Job, *Response, error) // ListPipelineJobs gets a list of jobs for specific pipeline in a // project. If the pipeline ID is not found, it will respond with 404. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#list-pipeline-jobs ListPipelineJobs(pid interface{}, pipelineID int, opts *ListJobsOptions, options ...RequestOptionFunc) ([]*Job, *Response, error) // ListPipelineBridges gets a list of bridges for specific pipeline in a // project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#list-pipeline-jobs ListPipelineBridges(pid interface{}, pipelineID int, opts *ListJobsOptions, options ...RequestOptionFunc) ([]*Bridge, *Response, error) // GetJobTokensJob retrieves the job that generated a job token. // // GitLab API docs: https://docs.gitlab.com/ee/api/jobs.html#get-job-tokens-job GetJobTokensJob(opts *GetJobTokensJobOptions, options ...RequestOptionFunc) (*Job, *Response, error) // GetJob gets a single job of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#get-a-single-job GetJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error) // GetJobArtifacts get jobs artifacts of a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#get-job-artifacts GetJobArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // DownloadArtifactsFile download the artifacts file from the given // reference name and job provided the job finished successfully. // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#download-the-artifacts-archive DownloadArtifactsFile(pid interface{}, refName string, opt *DownloadArtifactsFileOptions, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // DownloadSingleArtifactsFile download a file from the artifacts from the // given reference name and job provided the job finished successfully. // Only a single file is going to be extracted from the archive and streamed // to a client. // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-by-job-id DownloadSingleArtifactsFile(pid interface{}, jobID int, artifactPath string, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // DownloadSingleArtifactsFile download a single artifact file for a specific // job of the latest successful pipeline for the given reference name from // inside the job’s artifacts archive. The file is extracted from the archive // and streamed to the client. // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch DownloadSingleArtifactsFileByTagOrBranch(pid interface{}, refName string, artifactPath string, opt *DownloadArtifactsFileOptions, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // GetTraceFile gets a trace of a specific job of a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#get-a-log-file GetTraceFile(pid interface{}, jobID int, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // CancelJob cancels a single job of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#cancel-a-job CancelJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error) // RetryJob retries a single job of a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#retry-a-job RetryJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error) // EraseJob erases a single job of a project, removes a job // artifacts and a job trace. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#erase-a-job EraseJob(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error) // KeepArtifacts prevents artifacts from being deleted when // expiration is set. // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#keep-artifacts KeepArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*Job, *Response, error) // PlayJob triggers a manual action to start a job. // // GitLab API docs: // https://docs.gitlab.com/ee/api/jobs.html#run-a-job PlayJob(pid interface{}, jobID int, opt *PlayJobOptions, options ...RequestOptionFunc) (*Job, *Response, error) // DeleteArtifacts delete artifacts of a job // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#delete-job-artifacts DeleteArtifacts(pid interface{}, jobID int, options ...RequestOptionFunc) (*Response, error) // DeleteProjectArtifacts delete artifacts eligible for deletion in a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/job_artifacts.html#delete-project-artifacts DeleteProjectArtifacts(pid interface{}, options ...RequestOptionFunc) (*Response, error) }
JobsService is an interface for gitlab.Client.Jobs
type KeySystemEvent ¶
type KeySystemEvent = gitlab.KeySystemEvent
KeySystemEvent is an alias to gitlab.KeySystemEvent
type KeysService ¶
type KeysService interface { // GetKeyWithUser gets a single key by id along with the associated // user information. // // GitLab API docs: // https://docs.gitlab.com/ee/api/keys.html#get-ssh-key-with-user-by-id-of-an-ssh-key GetKeyWithUser(key int, options ...RequestOptionFunc) (*Key, *Response, error) // GetKeyByFingerprint gets a specific SSH key or deploy key by fingerprint // along with the associated user information. // // GitLab API docs: // https://docs.gitlab.com/ee/api/keys.html#get-user-by-fingerprint-of-ssh-key // https://docs.gitlab.com/ee/api/keys.html#get-user-by-deploy-key-fingerprint GetKeyByFingerprint(opt *GetKeyByFingerprintOptions, options ...RequestOptionFunc) (*Key, *Response, error) }
KeysService is an interface for gitlab.Client.Keys
type LDAPGroupLink ¶
type LDAPGroupLink = gitlab.LDAPGroupLink
LDAPGroupLink is an alias to gitlab.LDAPGroupLink
type LabelDetails ¶
type LabelDetails = gitlab.LabelDetails
LabelDetails is an alias to gitlab.LabelDetails
type LabelOptions ¶
type LabelOptions = gitlab.LabelOptions
LabelOptions is an alias to gitlab.LabelOptions
type LabelsService ¶
type LabelsService interface { // ListLabels gets all labels for given project. // // GitLab API docs: https://docs.gitlab.com/ee/api/labels.html#list-labels ListLabels(pid interface{}, opt *ListLabelsOptions, options ...RequestOptionFunc) ([]*Label, *Response, error) // GetLabel get a single label for a given project. // // GitLab API docs: https://docs.gitlab.com/ee/api/labels.html#get-a-single-project-label GetLabel(pid interface{}, lid interface{}, options ...RequestOptionFunc) (*Label, *Response, error) // CreateLabel creates a new label for given repository with given name and // color. // // GitLab API docs: https://docs.gitlab.com/ee/api/labels.html#create-a-new-label CreateLabel(pid interface{}, opt *CreateLabelOptions, options ...RequestOptionFunc) (*Label, *Response, error) // DeleteLabel deletes a label given by its name or ID. // // GitLab API docs: https://docs.gitlab.com/ee/api/labels.html#delete-a-label DeleteLabel(pid interface{}, lid interface{}, opt *DeleteLabelOptions, options ...RequestOptionFunc) (*Response, error) // UpdateLabel updates an existing label with new name or now color. At least // one parameter is required, to update the label. // // GitLab API docs: https://docs.gitlab.com/ee/api/labels.html#edit-an-existing-label UpdateLabel(pid interface{}, lid interface{}, opt *UpdateLabelOptions, options ...RequestOptionFunc) (*Label, *Response, error) // SubscribeToLabel subscribes the authenticated user to a label to receive // notifications. If the user is already subscribed to the label, the status // code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/labels.html#subscribe-to-a-label SubscribeToLabel(pid interface{}, lid interface{}, options ...RequestOptionFunc) (*Label, *Response, error) // UnsubscribeFromLabel unsubscribes the authenticated user from a label to not // receive notifications from it. If the user is not subscribed to the label, the // status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/labels.html#unsubscribe-from-a-label UnsubscribeFromLabel(pid interface{}, lid interface{}, options ...RequestOptionFunc) (*Response, error) // PromoteLabel Promotes a project label to a group label. // // GitLab API docs: // https://docs.gitlab.com/ee/api/labels.html#promote-a-project-label-to-a-group-label PromoteLabel(pid interface{}, lid interface{}, options ...RequestOptionFunc) (*Response, error) }
LabelsService is an interface for gitlab.Client.Labels
type LastPipeline ¶
type LastPipeline = gitlab.LastPipeline
LastPipeline is an alias to gitlab.LastPipeline
type LicenseApprovalStatusValue ¶
type LicenseApprovalStatusValue = gitlab.LicenseApprovalStatusValue
LicenseApprovalStatusValue is an alias to gitlab.LicenseApprovalStatusValue
type LicenseService ¶
type LicenseService interface { // GetLicense retrieves information about the current license. // // GitLab API docs: // https://docs.gitlab.com/ee/api/license.html#retrieve-information-about-the-current-license GetLicense(options ...RequestOptionFunc) (*License, *Response, error) // AddLicense adds a new license. // // GitLab API docs: // https://docs.gitlab.com/ee/api/license.html#add-a-new-license AddLicense(opt *AddLicenseOptions, options ...RequestOptionFunc) (*License, *Response, error) // DeleteLicense deletes an existing license. // // GitLab API docs: // https://docs.gitlab.com/ee/api/license.html#delete-a-license DeleteLicense(licenseID int, options ...RequestOptionFunc) (*Response, error) }
LicenseService is an interface for gitlab.Client.License
type LicenseTemplate ¶
type LicenseTemplate = gitlab.LicenseTemplate
LicenseTemplate is an alias to gitlab.LicenseTemplate
type LicenseTemplatesService ¶
type LicenseTemplatesService interface { // ListLicenseTemplates get all license templates. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/licenses.html#list-license-templates ListLicenseTemplates(opt *ListLicenseTemplatesOptions, options ...RequestOptionFunc) ([]*LicenseTemplate, *Response, error) // GetLicenseTemplate get a single license template. You can pass parameters // to replace the license placeholder. // // GitLab API docs: // https://docs.gitlab.com/ee/api/templates/licenses.html#single-license-template GetLicenseTemplate(template string, opt *GetLicenseTemplateOptions, options ...RequestOptionFunc) (*LicenseTemplate, *Response, error) }
LicenseTemplatesService is an interface for gitlab.Client.LicenseTemplates
type LinePosition ¶
type LinePosition = gitlab.LinePosition
LinePosition is an alias to gitlab.LinePosition
type LinePositionOptions ¶
type LinePositionOptions = gitlab.LinePositionOptions
LinePositionOptions is an alias to gitlab.LinePositionOptions
type LineRangeOptions ¶
type LineRangeOptions = gitlab.LineRangeOptions
LineRangeOptions is an alias to gitlab.LineRangeOptions
type LinkTypeValue ¶
type LinkTypeValue = gitlab.LinkTypeValue
LinkTypeValue is an alias to gitlab.LinkTypeValue
type LintOptions ¶
type LintOptions = gitlab.LintOptions
LintOptions is an alias to gitlab.LintOptions
type ListAccessRequestsOptions ¶
type ListAccessRequestsOptions = gitlab.ListAccessRequestsOptions
ListAccessRequestsOptions is an alias to gitlab.ListAccessRequestsOptions
type ListAgentTokensOptions ¶
type ListAgentTokensOptions = gitlab.ListAgentTokensOptions
ListAgentTokensOptions is an alias to gitlab.ListAgentTokensOptions
type ListAgentsOptions ¶
type ListAgentsOptions = gitlab.ListAgentsOptions
ListAgentsOptions is an alias to gitlab.ListAgentsOptions
type ListAllSnippetsOptions ¶
type ListAllSnippetsOptions = gitlab.ListAllSnippetsOptions
ListAllSnippetsOptions is an alias to gitlab.ListAllSnippetsOptions
type ListApplicationsOptions ¶
type ListApplicationsOptions = gitlab.ListApplicationsOptions
ListApplicationsOptions is an alias to gitlab.ListApplicationsOptions
type ListAuditEventsOptions ¶
type ListAuditEventsOptions = gitlab.ListAuditEventsOptions
ListAuditEventsOptions is an alias to gitlab.ListAuditEventsOptions
type ListAwardEmojiOptions ¶
type ListAwardEmojiOptions = gitlab.ListAwardEmojiOptions
ListAwardEmojiOptions is an alias to gitlab.ListAwardEmojiOptions
type ListBillableGroupMembersOptions ¶
type ListBillableGroupMembersOptions = gitlab.ListBillableGroupMembersOptions
ListBillableGroupMembersOptions is an alias to gitlab.ListBillableGroupMembersOptions
type ListBranchesOptions ¶
type ListBranchesOptions = gitlab.ListBranchesOptions
ListBranchesOptions is an alias to gitlab.ListBranchesOptions
type ListBroadcastMessagesOptions ¶
type ListBroadcastMessagesOptions = gitlab.ListBroadcastMessagesOptions
ListBroadcastMessagesOptions is an alias to gitlab.ListBroadcastMessagesOptions
type ListCIYMLTemplatesOptions ¶
type ListCIYMLTemplatesOptions = gitlab.ListCIYMLTemplatesOptions
ListCIYMLTemplatesOptions is an alias to gitlab.ListCIYMLTemplatesOptions
type ListClientKeysOptions ¶
type ListClientKeysOptions = gitlab.ListClientKeysOptions
ListClientKeysOptions is an alias to gitlab.ListClientKeysOptions
type ListCommitDiscussionsOptions ¶
type ListCommitDiscussionsOptions = gitlab.ListCommitDiscussionsOptions
ListCommitDiscussionsOptions is an alias to gitlab.ListCommitDiscussionsOptions
type ListCommitsOptions ¶
type ListCommitsOptions = gitlab.ListCommitsOptions
ListCommitsOptions is an alias to gitlab.ListCommitsOptions
type ListContributionEventsOptions ¶
type ListContributionEventsOptions = gitlab.ListContributionEventsOptions
ListContributionEventsOptions is an alias to gitlab.ListContributionEventsOptions
type ListContributorsOptions ¶
type ListContributorsOptions = gitlab.ListContributorsOptions
ListContributorsOptions is an alias to gitlab.ListContributorsOptions
type ListDescendantGroupsOptions ¶
type ListDescendantGroupsOptions = gitlab.ListDescendantGroupsOptions
ListDescendantGroupsOptions is an alias to gitlab.ListDescendantGroupsOptions
type ListDockerfileTemplatesOptions ¶
type ListDockerfileTemplatesOptions = gitlab.ListDockerfileTemplatesOptions
ListDockerfileTemplatesOptions is an alias to gitlab.ListDockerfileTemplatesOptions
type ListDraftNotesOptions ¶
type ListDraftNotesOptions = gitlab.ListDraftNotesOptions
ListDraftNotesOptions is an alias to gitlab.ListDraftNotesOptions
type ListEmailsForUserOptions ¶
type ListEmailsForUserOptions = gitlab.ListEmailsForUserOptions
ListEmailsForUserOptions is an alias to gitlab.ListEmailsForUserOptions
type ListEnvironmentsOptions ¶
type ListEnvironmentsOptions = gitlab.ListEnvironmentsOptions
ListEnvironmentsOptions is an alias to gitlab.ListEnvironmentsOptions
type ListEpicNotesOptions ¶
type ListEpicNotesOptions = gitlab.ListEpicNotesOptions
ListEpicNotesOptions is an alias to gitlab.ListEpicNotesOptions
type ListFreezePeriodsOptions ¶
type ListFreezePeriodsOptions = gitlab.ListFreezePeriodsOptions
ListFreezePeriodsOptions is an alias to gitlab.ListFreezePeriodsOptions
type ListGeoNodesOptions ¶
type ListGeoNodesOptions = gitlab.ListGeoNodesOptions
ListGeoNodesOptions is an alias to gitlab.ListGeoNodesOptions
type ListGroupAccessTokensOptions ¶
type ListGroupAccessTokensOptions = gitlab.ListGroupAccessTokensOptions
ListGroupAccessTokensOptions is an alias to gitlab.ListGroupAccessTokensOptions
type ListGroupBadgesOptions ¶
type ListGroupBadgesOptions = gitlab.ListGroupBadgesOptions
ListGroupBadgesOptions is an alias to gitlab.ListGroupBadgesOptions
type ListGroupDeployTokensOptions ¶
type ListGroupDeployTokensOptions = gitlab.ListGroupDeployTokensOptions
ListGroupDeployTokensOptions is an alias to gitlab.ListGroupDeployTokensOptions
type ListGroupEpicBoardsOptions ¶
type ListGroupEpicBoardsOptions = gitlab.ListGroupEpicBoardsOptions
ListGroupEpicBoardsOptions is an alias to gitlab.ListGroupEpicBoardsOptions
type ListGroupEpicDiscussionsOptions ¶
type ListGroupEpicDiscussionsOptions = gitlab.ListGroupEpicDiscussionsOptions
ListGroupEpicDiscussionsOptions is an alias to gitlab.ListGroupEpicDiscussionsOptions
type ListGroupEpicsOptions ¶
type ListGroupEpicsOptions = gitlab.ListGroupEpicsOptions
ListGroupEpicsOptions is an alias to gitlab.ListGroupEpicsOptions
type ListGroupHooksOptions ¶
type ListGroupHooksOptions = gitlab.ListGroupHooksOptions
ListGroupHooksOptions is an alias to gitlab.ListGroupHooksOptions
type ListGroupIssueBoardListsOptions ¶
type ListGroupIssueBoardListsOptions = gitlab.ListGroupIssueBoardListsOptions
ListGroupIssueBoardListsOptions is an alias to gitlab.ListGroupIssueBoardListsOptions
type ListGroupIssueBoardsOptions ¶
type ListGroupIssueBoardsOptions = gitlab.ListGroupIssueBoardsOptions
ListGroupIssueBoardsOptions is an alias to gitlab.ListGroupIssueBoardsOptions
type ListGroupIssuesOptions ¶
type ListGroupIssuesOptions = gitlab.ListGroupIssuesOptions
ListGroupIssuesOptions is an alias to gitlab.ListGroupIssuesOptions
type ListGroupIterationsOptions ¶
type ListGroupIterationsOptions = gitlab.ListGroupIterationsOptions
ListGroupIterationsOptions is an alias to gitlab.ListGroupIterationsOptions
type ListGroupLabelsOptions ¶
type ListGroupLabelsOptions = gitlab.ListGroupLabelsOptions
ListGroupLabelsOptions is an alias to gitlab.ListGroupLabelsOptions
type ListGroupMembersOptions ¶
type ListGroupMembersOptions = gitlab.ListGroupMembersOptions
ListGroupMembersOptions is an alias to gitlab.ListGroupMembersOptions
type ListGroupMergeRequestsOptions ¶
type ListGroupMergeRequestsOptions = gitlab.ListGroupMergeRequestsOptions
ListGroupMergeRequestsOptions is an alias to gitlab.ListGroupMergeRequestsOptions
type ListGroupMilestonesOptions ¶
type ListGroupMilestonesOptions = gitlab.ListGroupMilestonesOptions
ListGroupMilestonesOptions is an alias to gitlab.ListGroupMilestonesOptions
type ListGroupPackagesOptions ¶
type ListGroupPackagesOptions = gitlab.ListGroupPackagesOptions
ListGroupPackagesOptions is an alias to gitlab.ListGroupPackagesOptions
type ListGroupProjectsOptions ¶
type ListGroupProjectsOptions = gitlab.ListGroupProjectsOptions
ListGroupProjectsOptions is an alias to gitlab.ListGroupProjectsOptions
type ListGroupProtectedEnvironmentsOptions ¶
type ListGroupProtectedEnvironmentsOptions = gitlab.ListGroupProtectedEnvironmentsOptions
ListGroupProtectedEnvironmentsOptions is an alias to gitlab.ListGroupProtectedEnvironmentsOptions
type ListGroupReleasesOptions ¶
type ListGroupReleasesOptions = gitlab.ListGroupReleasesOptions
ListGroupReleasesOptions is an alias to gitlab.ListGroupReleasesOptions
type ListGroupVariablesOptions ¶
type ListGroupVariablesOptions = gitlab.ListGroupVariablesOptions
ListGroupVariablesOptions is an alias to gitlab.ListGroupVariablesOptions
type ListGroupWikisOptions ¶
type ListGroupWikisOptions = gitlab.ListGroupWikisOptions
ListGroupWikisOptions is an alias to gitlab.ListGroupWikisOptions
type ListGroupsOptions ¶
type ListGroupsOptions = gitlab.ListGroupsOptions
ListGroupsOptions is an alias to gitlab.ListGroupsOptions
type ListGroupsRunnersOptions ¶
type ListGroupsRunnersOptions = gitlab.ListGroupsRunnersOptions
ListGroupsRunnersOptions is an alias to gitlab.ListGroupsRunnersOptions
type ListInstanceDeployKeysOptions ¶
type ListInstanceDeployKeysOptions = gitlab.ListInstanceDeployKeysOptions
ListInstanceDeployKeysOptions is an alias to gitlab.ListInstanceDeployKeysOptions
type ListInstanceVariablesOptions ¶
type ListInstanceVariablesOptions = gitlab.ListInstanceVariablesOptions
ListInstanceVariablesOptions is an alias to gitlab.ListInstanceVariablesOptions
type ListIssueBoardsOptions ¶
type ListIssueBoardsOptions = gitlab.ListIssueBoardsOptions
ListIssueBoardsOptions is an alias to gitlab.ListIssueBoardsOptions
type ListIssueDiscussionsOptions ¶
type ListIssueDiscussionsOptions = gitlab.ListIssueDiscussionsOptions
ListIssueDiscussionsOptions is an alias to gitlab.ListIssueDiscussionsOptions
type ListIssueNotesOptions ¶
type ListIssueNotesOptions = gitlab.ListIssueNotesOptions
ListIssueNotesOptions is an alias to gitlab.ListIssueNotesOptions
type ListIssuesOptions ¶
type ListIssuesOptions = gitlab.ListIssuesOptions
ListIssuesOptions is an alias to gitlab.ListIssuesOptions
type ListIterationEventsOptions ¶
type ListIterationEventsOptions = gitlab.ListIterationEventsOptions
ListIterationEventsOptions is an alias to gitlab.ListIterationEventsOptions
type ListJobsOptions ¶
type ListJobsOptions = gitlab.ListJobsOptions
ListJobsOptions is an alias to gitlab.ListJobsOptions
type ListLabelEventsOptions ¶
type ListLabelEventsOptions = gitlab.ListLabelEventsOptions
ListLabelEventsOptions is an alias to gitlab.ListLabelEventsOptions
type ListLabelsOptions ¶
type ListLabelsOptions = gitlab.ListLabelsOptions
ListLabelsOptions is an alias to gitlab.ListLabelsOptions
type ListLicenseTemplatesOptions ¶
type ListLicenseTemplatesOptions = gitlab.ListLicenseTemplatesOptions
ListLicenseTemplatesOptions is an alias to gitlab.ListLicenseTemplatesOptions
type ListMembershipsForBillableGroupMemberOptions ¶
type ListMembershipsForBillableGroupMemberOptions = gitlab.ListMembershipsForBillableGroupMemberOptions
ListMembershipsForBillableGroupMemberOptions is an alias to gitlab.ListMembershipsForBillableGroupMemberOptions
type ListMergeRequestDiffsOptions ¶
type ListMergeRequestDiffsOptions = gitlab.ListMergeRequestDiffsOptions
ListMergeRequestDiffsOptions is an alias to gitlab.ListMergeRequestDiffsOptions
type ListMergeRequestDiscussionsOptions ¶
type ListMergeRequestDiscussionsOptions = gitlab.ListMergeRequestDiscussionsOptions
ListMergeRequestDiscussionsOptions is an alias to gitlab.ListMergeRequestDiscussionsOptions
type ListMergeRequestNotesOptions ¶
type ListMergeRequestNotesOptions = gitlab.ListMergeRequestNotesOptions
ListMergeRequestNotesOptions is an alias to gitlab.ListMergeRequestNotesOptions
type ListMergeRequestsClosingIssueOptions ¶
type ListMergeRequestsClosingIssueOptions = gitlab.ListMergeRequestsClosingIssueOptions
ListMergeRequestsClosingIssueOptions is an alias to gitlab.ListMergeRequestsClosingIssueOptions
type ListMergeRequestsOptions ¶
type ListMergeRequestsOptions = gitlab.ListMergeRequestsOptions
ListMergeRequestsOptions is an alias to gitlab.ListMergeRequestsOptions
type ListMergeRequestsRelatedToIssueOptions ¶
type ListMergeRequestsRelatedToIssueOptions = gitlab.ListMergeRequestsRelatedToIssueOptions
ListMergeRequestsRelatedToIssueOptions is an alias to gitlab.ListMergeRequestsRelatedToIssueOptions
type ListMergeTrainsOptions ¶
type ListMergeTrainsOptions = gitlab.ListMergeTrainsOptions
ListMergeTrainsOptions is an alias to gitlab.ListMergeTrainsOptions
type ListMilestoneEventsOptions ¶
type ListMilestoneEventsOptions = gitlab.ListMilestoneEventsOptions
ListMilestoneEventsOptions is an alias to gitlab.ListMilestoneEventsOptions
type ListMilestonesOptions ¶
type ListMilestonesOptions = gitlab.ListMilestonesOptions
ListMilestonesOptions is an alias to gitlab.ListMilestonesOptions
type ListNamespacesOptions ¶
type ListNamespacesOptions = gitlab.ListNamespacesOptions
ListNamespacesOptions is an alias to gitlab.ListNamespacesOptions
type ListOptions ¶
type ListOptions = gitlab.ListOptions
ListOptions is an alias to gitlab.ListOptions
type ListPackageFilesOptions ¶
type ListPackageFilesOptions = gitlab.ListPackageFilesOptions
ListPackageFilesOptions is an alias to gitlab.ListPackageFilesOptions
type ListPagesDomainsOptions ¶
type ListPagesDomainsOptions = gitlab.ListPagesDomainsOptions
ListPagesDomainsOptions is an alias to gitlab.ListPagesDomainsOptions
type ListPendingInvitationsOptions ¶
type ListPendingInvitationsOptions = gitlab.ListPendingInvitationsOptions
ListPendingInvitationsOptions is an alias to gitlab.ListPendingInvitationsOptions
type ListPersonalAccessTokensOptions ¶
type ListPersonalAccessTokensOptions = gitlab.ListPersonalAccessTokensOptions
ListPersonalAccessTokensOptions is an alias to gitlab.ListPersonalAccessTokensOptions
type ListPipelineSchedulesOptions ¶
type ListPipelineSchedulesOptions = gitlab.ListPipelineSchedulesOptions
ListPipelineSchedulesOptions is an alias to gitlab.ListPipelineSchedulesOptions
type ListPipelineTriggersOptions ¶
type ListPipelineTriggersOptions = gitlab.ListPipelineTriggersOptions
ListPipelineTriggersOptions is an alias to gitlab.ListPipelineTriggersOptions
type ListPipelinesTriggeredByScheduleOptions ¶
type ListPipelinesTriggeredByScheduleOptions = gitlab.ListPipelinesTriggeredByScheduleOptions
ListPipelinesTriggeredByScheduleOptions is an alias to gitlab.ListPipelinesTriggeredByScheduleOptions
type ListProjectAccessTokensOptions ¶
type ListProjectAccessTokensOptions = gitlab.ListProjectAccessTokensOptions
ListProjectAccessTokensOptions is an alias to gitlab.ListProjectAccessTokensOptions
type ListProjectBadgesOptions ¶
type ListProjectBadgesOptions = gitlab.ListProjectBadgesOptions
ListProjectBadgesOptions is an alias to gitlab.ListProjectBadgesOptions
type ListProjectDeployKeysOptions ¶
type ListProjectDeployKeysOptions = gitlab.ListProjectDeployKeysOptions
ListProjectDeployKeysOptions is an alias to gitlab.ListProjectDeployKeysOptions
type ListProjectDeployTokensOptions ¶
type ListProjectDeployTokensOptions = gitlab.ListProjectDeployTokensOptions
ListProjectDeployTokensOptions is an alias to gitlab.ListProjectDeployTokensOptions
type ListProjectDeploymentsOptions ¶
type ListProjectDeploymentsOptions = gitlab.ListProjectDeploymentsOptions
ListProjectDeploymentsOptions is an alias to gitlab.ListProjectDeploymentsOptions
type ListProjectFeatureFlagOptions ¶
type ListProjectFeatureFlagOptions = gitlab.ListProjectFeatureFlagOptions
ListProjectFeatureFlagOptions is an alias to gitlab.ListProjectFeatureFlagOptions
type ListProjectGroupOptions ¶
type ListProjectGroupOptions = gitlab.ListProjectGroupOptions
ListProjectGroupOptions is an alias to gitlab.ListProjectGroupOptions
type ListProjectHooksOptions ¶
type ListProjectHooksOptions = gitlab.ListProjectHooksOptions
ListProjectHooksOptions is an alias to gitlab.ListProjectHooksOptions
type ListProjectInvidedGroupOptions ¶
type ListProjectInvidedGroupOptions = gitlab.ListProjectInvidedGroupOptions
ListProjectInvidedGroupOptions is an alias to gitlab.ListProjectInvidedGroupOptions
type ListProjectIssuesOptions ¶
type ListProjectIssuesOptions = gitlab.ListProjectIssuesOptions
ListProjectIssuesOptions is an alias to gitlab.ListProjectIssuesOptions
type ListProjectIterationsOptions ¶
type ListProjectIterationsOptions = gitlab.ListProjectIterationsOptions
ListProjectIterationsOptions is an alias to gitlab.ListProjectIterationsOptions
type ListProjectMembersOptions ¶
type ListProjectMembersOptions = gitlab.ListProjectMembersOptions
ListProjectMembersOptions is an alias to gitlab.ListProjectMembersOptions
type ListProjectMergeRequestsOptions ¶
type ListProjectMergeRequestsOptions = gitlab.ListProjectMergeRequestsOptions
ListProjectMergeRequestsOptions is an alias to gitlab.ListProjectMergeRequestsOptions
type ListProjectMirrorOptions ¶
type ListProjectMirrorOptions = gitlab.ListProjectMirrorOptions
ListProjectMirrorOptions is an alias to gitlab.ListProjectMirrorOptions
type ListProjectPackagesOptions ¶
type ListProjectPackagesOptions = gitlab.ListProjectPackagesOptions
ListProjectPackagesOptions is an alias to gitlab.ListProjectPackagesOptions
type ListProjectPipelinesOptions ¶
type ListProjectPipelinesOptions = gitlab.ListProjectPipelinesOptions
ListProjectPipelinesOptions is an alias to gitlab.ListProjectPipelinesOptions
type ListProjectRunnersOptions ¶
type ListProjectRunnersOptions = gitlab.ListProjectRunnersOptions
ListProjectRunnersOptions is an alias to gitlab.ListProjectRunnersOptions
type ListProjectSecureFilesOptions ¶
type ListProjectSecureFilesOptions = gitlab.ListProjectSecureFilesOptions
ListProjectSecureFilesOptions is an alias to gitlab.ListProjectSecureFilesOptions
type ListProjectSnippetsOptions ¶
type ListProjectSnippetsOptions = gitlab.ListProjectSnippetsOptions
ListProjectSnippetsOptions is an alias to gitlab.ListProjectSnippetsOptions
type ListProjectTemplatesOptions ¶
type ListProjectTemplatesOptions = gitlab.ListProjectTemplatesOptions
ListProjectTemplatesOptions is an alias to gitlab.ListProjectTemplatesOptions
type ListProjectUserOptions ¶
type ListProjectUserOptions = gitlab.ListProjectUserOptions
ListProjectUserOptions is an alias to gitlab.ListProjectUserOptions
type ListProjectVariablesOptions ¶
type ListProjectVariablesOptions = gitlab.ListProjectVariablesOptions
ListProjectVariablesOptions is an alias to gitlab.ListProjectVariablesOptions
type ListProjectVisibleEventsOptions ¶
type ListProjectVisibleEventsOptions = gitlab.ListProjectVisibleEventsOptions
ListProjectVisibleEventsOptions is an alias to gitlab.ListProjectVisibleEventsOptions
type ListProjectVulnerabilitiesOptions ¶
type ListProjectVulnerabilitiesOptions = gitlab.ListProjectVulnerabilitiesOptions
ListProjectVulnerabilitiesOptions is an alias to gitlab.ListProjectVulnerabilitiesOptions
type ListProjectsOptions ¶
type ListProjectsOptions = gitlab.ListProjectsOptions
ListProjectsOptions is an alias to gitlab.ListProjectsOptions
type ListProtectedBranchesOptions ¶
type ListProtectedBranchesOptions = gitlab.ListProtectedBranchesOptions
ListProtectedBranchesOptions is an alias to gitlab.ListProtectedBranchesOptions
type ListProtectedEnvironmentsOptions ¶
type ListProtectedEnvironmentsOptions = gitlab.ListProtectedEnvironmentsOptions
ListProtectedEnvironmentsOptions is an alias to gitlab.ListProtectedEnvironmentsOptions
type ListProtectedTagsOptions ¶
type ListProtectedTagsOptions = gitlab.ListProtectedTagsOptions
ListProtectedTagsOptions is an alias to gitlab.ListProtectedTagsOptions
type ListProvisionedUsersOptions ¶
type ListProvisionedUsersOptions = gitlab.ListProvisionedUsersOptions
ListProvisionedUsersOptions is an alias to gitlab.ListProvisionedUsersOptions
type ListRegistryRepositoriesOptions ¶
type ListRegistryRepositoriesOptions = gitlab.ListRegistryRepositoriesOptions
ListRegistryRepositoriesOptions is an alias to gitlab.ListRegistryRepositoriesOptions
type ListRegistryRepositoryTagsOptions ¶
type ListRegistryRepositoryTagsOptions = gitlab.ListRegistryRepositoryTagsOptions
ListRegistryRepositoryTagsOptions is an alias to gitlab.ListRegistryRepositoryTagsOptions
type ListReleaseLinksOptions ¶
type ListReleaseLinksOptions = gitlab.ListReleaseLinksOptions
ListReleaseLinksOptions is an alias to gitlab.ListReleaseLinksOptions
type ListReleasesOptions ¶
type ListReleasesOptions = gitlab.ListReleasesOptions
ListReleasesOptions is an alias to gitlab.ListReleasesOptions
type ListRunnerJobsOptions ¶
type ListRunnerJobsOptions = gitlab.ListRunnerJobsOptions
ListRunnerJobsOptions is an alias to gitlab.ListRunnerJobsOptions
type ListRunnersOptions ¶
type ListRunnersOptions = gitlab.ListRunnersOptions
ListRunnersOptions is an alias to gitlab.ListRunnersOptions
type ListSSHKeysForUserOptions ¶
type ListSSHKeysForUserOptions = gitlab.ListSSHKeysForUserOptions
ListSSHKeysForUserOptions is an alias to gitlab.ListSSHKeysForUserOptions
type ListSSHKeysOptions ¶
type ListSSHKeysOptions = gitlab.ListSSHKeysOptions
ListSSHKeysOptions is an alias to gitlab.ListSSHKeysOptions
type ListServiceAccountsOptions ¶
type ListServiceAccountsOptions = gitlab.ListServiceAccountsOptions
ListServiceAccountsOptions is an alias to gitlab.ListServiceAccountsOptions
type ListSnippetDiscussionsOptions ¶
type ListSnippetDiscussionsOptions = gitlab.ListSnippetDiscussionsOptions
ListSnippetDiscussionsOptions is an alias to gitlab.ListSnippetDiscussionsOptions
type ListSnippetNotesOptions ¶
type ListSnippetNotesOptions = gitlab.ListSnippetNotesOptions
ListSnippetNotesOptions is an alias to gitlab.ListSnippetNotesOptions
type ListSnippetsOptions ¶
type ListSnippetsOptions = gitlab.ListSnippetsOptions
ListSnippetsOptions is an alias to gitlab.ListSnippetsOptions
type ListStateEventsOptions ¶
type ListStateEventsOptions = gitlab.ListStateEventsOptions
ListStateEventsOptions is an alias to gitlab.ListStateEventsOptions
type ListSubGroupsOptions ¶
type ListSubGroupsOptions = gitlab.ListSubGroupsOptions
ListSubGroupsOptions is an alias to gitlab.ListSubGroupsOptions
type ListTagsOptions ¶
type ListTagsOptions = gitlab.ListTagsOptions
ListTagsOptions is an alias to gitlab.ListTagsOptions
type ListTemplatesOptions ¶
type ListTemplatesOptions = gitlab.ListTemplatesOptions
ListTemplatesOptions is an alias to gitlab.ListTemplatesOptions
type ListTodosOptions ¶
type ListTodosOptions = gitlab.ListTodosOptions
ListTodosOptions is an alias to gitlab.ListTodosOptions
type ListTopicsOptions ¶
type ListTopicsOptions = gitlab.ListTopicsOptions
ListTopicsOptions is an alias to gitlab.ListTopicsOptions
type ListTreeOptions ¶
type ListTreeOptions = gitlab.ListTreeOptions
ListTreeOptions is an alias to gitlab.ListTreeOptions
type ListUsersOptions ¶
type ListUsersOptions = gitlab.ListUsersOptions
ListUsersOptions is an alias to gitlab.ListUsersOptions
type ListWeightEventsOptions ¶
type ListWeightEventsOptions = gitlab.ListWeightEventsOptions
ListWeightEventsOptions is an alias to gitlab.ListWeightEventsOptions
type ListWikisOptions ¶
type ListWikisOptions = gitlab.ListWikisOptions
ListWikisOptions is an alias to gitlab.ListWikisOptions
type ManagedLicense ¶
type ManagedLicense = gitlab.ManagedLicense
ManagedLicense is an alias to gitlab.ManagedLicense
type ManagedLicensesService ¶
type ManagedLicensesService interface { // ListManagedLicenses returns a list of managed licenses from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/managed_licenses.html#list-managed-licenses ListManagedLicenses(pid interface{}, options ...RequestOptionFunc) ([]*ManagedLicense, *Response, error) // GetManagedLicense returns an existing managed license. // // GitLab API docs: // https://docs.gitlab.com/ee/api/managed_licenses.html#show-an-existing-managed-license GetManagedLicense(pid, mlid interface{}, options ...RequestOptionFunc) (*ManagedLicense, *Response, error) // AddManagedLicense adds a managed license to a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/managed_licenses.html#create-a-new-managed-license AddManagedLicense(pid interface{}, opt *AddManagedLicenseOptions, options ...RequestOptionFunc) (*ManagedLicense, *Response, error) // DeleteManagedLicense deletes a managed license with a given ID. // // GitLab API docs: // https://docs.gitlab.com/ee/api/managed_licenses.html#delete-a-managed-license DeleteManagedLicense(pid, mlid interface{}, options ...RequestOptionFunc) (*Response, error) // EditManagedLicense updates an existing managed license with a new approval // status. // // GitLab API docs: // https://docs.gitlab.com/ee/api/managed_licenses.html#edit-an-existing-managed-license EditManagedLicense(pid, mlid interface{}, opt *EditManagedLicenceOptions, options ...RequestOptionFunc) (*ManagedLicense, *Response, error) }
ManagedLicensesService is an interface for gitlab.Client.ManagedLicenses
type ManagementProject ¶
type ManagementProject = gitlab.ManagementProject
ManagementProject is an alias to gitlab.ManagementProject
type MarkdownService ¶
type MarkdownService interface { // Render an arbitrary markdown document. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/markdown.html#render-an-arbitrary-markdown-document Render(opt *RenderOptions, options ...RequestOptionFunc) (*Markdown, *Response, error) }
MarkdownService is an interface for gitlab.Client.Markdown
type MattermostService ¶
type MattermostService = gitlab.MattermostService
MattermostService is an alias to gitlab.MattermostService
type MattermostServiceProperties ¶
type MattermostServiceProperties = gitlab.MattermostServiceProperties
MattermostServiceProperties is an alias to gitlab.MattermostServiceProperties
type MattermostSlashCommandsProperties ¶
type MattermostSlashCommandsProperties = gitlab.MattermostSlashCommandsProperties
MattermostSlashCommandsProperties is an alias to gitlab.MattermostSlashCommandsProperties
type MattermostSlashCommandsService ¶
type MattermostSlashCommandsService = gitlab.MattermostSlashCommandsService
MattermostSlashCommandsService is an alias to gitlab.MattermostSlashCommandsService
type MemberEvent ¶
type MemberEvent = gitlab.MemberEvent
MemberEvent is an alias to gitlab.MemberEvent
type MemberRolesService ¶
type MemberRolesService interface { // ListInstanceMemberRoles gets all member roles in an instance. // Authentication as Administrator is required. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#get-all-instance-member-roles ListInstanceMemberRoles(options ...RequestOptionFunc) ([]*MemberRole, *Response, error) // CreateInstanceMemberRole creates an instance-wide member role. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#create-a-instance-member-role CreateInstanceMemberRole(opt *CreateMemberRoleOptions, options ...RequestOptionFunc) (*MemberRole, *Response, error) // DeleteInstanceMemberRole deletes a member role from a specified group. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#delete-an-instance-member-role DeleteInstanceMemberRole(memberRoleID int, options ...RequestOptionFunc) (*Response, error) // ListMemberRoles gets a list of member roles for a specified group. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#get-all-group-member-roles ListMemberRoles(gid interface{}, options ...RequestOptionFunc) ([]*MemberRole, *Response, error) // CreateMemberRole creates a new member role for a specified group. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#add-a-member-role-to-a-group CreateMemberRole(gid interface{}, opt *CreateMemberRoleOptions, options ...RequestOptionFunc) (*MemberRole, *Response, error) // DeleteMemberRole deletes a member role from a specified group. // // Gitlab API docs: // https://docs.gitlab.com/api/member_roles/#remove-member-role-of-a-group DeleteMemberRole(gid interface{}, memberRole int, options ...RequestOptionFunc) (*Response, error) }
MemberRolesService is an interface for gitlab.Client.MemberRolesService
type MergeBaseOptions ¶
type MergeBaseOptions = gitlab.MergeBaseOptions
MergeBaseOptions is an alias to gitlab.MergeBaseOptions
type MergeCommentEvent ¶
type MergeCommentEvent = gitlab.MergeCommentEvent
MergeCommentEvent is an alias to gitlab.MergeCommentEvent
type MergeEventChanges ¶
type MergeEventChanges struct { Assignees struct { Previous []*EventUser `json:"previous"` Current []*EventUser `json:"current"` } `json:"assignees"` Reviewers struct { Previous []*EventUser `json:"previous"` Current []*EventUser `json:"current"` } `json:"reviewers"` Description struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"description"` Draft struct { Previous bool `json:"previous"` Current bool `json:"current"` } `json:"draft"` Labels struct { Previous []*EventLabel `json:"previous"` Current []*EventLabel `json:"current"` } `json:"labels"` LastEditedAt struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"last_edited_at"` LastEditedByID struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"last_edited_by_id"` MergeStatus struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"merge_status"` MilestoneID struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"milestone_id"` SourceBranch struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"source_branch"` SourceProjectID struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"source_project_id"` StateID struct { Previous StateID `json:"previous"` Current StateID `json:"current"` } `json:"state_id"` TargetBranch struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"target_branch"` TargetProjectID struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"target_project_id"` Title struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"title"` UpdatedAt struct { Previous string `json:"previous"` Current string `json:"current"` } `json:"updated_at"` UpdatedByID struct { Previous int `json:"previous"` Current int `json:"current"` } `json:"updated_by_id"` }
MergeEventChanges is a duplicate of the embedded struct at [MergeEvent.Changes].
type MergeEventChangesBool ¶
MergeEventChangesBool is a duplicate of multiple embedded structs that were under [MergeEvent.Changes]. This is for bool types.
type MergeEventChangesInt ¶
MergeEventChangesInt is a duplicate of multiple embedded structs that were under [MergeEvent.Changes]. This is for int types.
type MergeEventChangesString ¶
type MergeEventChangesString struct { Previous string `json:"previous"` Current string `json:"current"` }
MergeEventChangesString is a duplicate of multiple embedded structs that were under [MergeEvent.Changes]. This is for string types.
type MergeEventObjectAttributes ¶
type MergeEventObjectAttributes struct { ID int "json:\"id\"" TargetBranch string "json:\"target_branch\"" SourceBranch string "json:\"source_branch\"" SourceProjectID int "json:\"source_project_id\"" AuthorID int "json:\"author_id\"" AssigneeID int "json:\"assignee_id\"" AssigneeIDs []int "json:\"assignee_ids\"" ReviewerIDs []int "json:\"reviewer_ids\"" Title string "json:\"title\"" CreatedAt string "json:\"created_at\"" UpdatedAt string "json:\"updated_at\"" StCommits []*Commit "json:\"st_commits\"" StDiffs []*Diff "json:\"st_diffs\"" LastEditedAt string "json:\"last_edited_at\"" LastEditedByID int "json:\"last_edited_by_id\"" MilestoneID int "json:\"milestone_id\"" StateID StateID "json:\"state_id\"" State string "json:\"state\"" MergeStatus string "json:\"merge_status\"" TargetProjectID int "json:\"target_project_id\"" IID int "json:\"iid\"" Description string "json:\"description\"" Position int "json:\"position\"" LockedAt string "json:\"locked_at\"" UpdatedByID int "json:\"updated_by_id\"" MergeError string "json:\"merge_error\"" MergeParams *MergeParams "json:\"merge_params\"" MergeWhenBuildSucceeds bool "json:\"merge_when_build_succeeds\"" MergeUserID int "json:\"merge_user_id\"" MergeCommitSHA string "json:\"merge_commit_sha\"" DeletedAt string "json:\"deleted_at\"" ApprovalsBeforeMerge string "json:\"approvals_before_merge\"" RebaseCommitSHA string "json:\"rebase_commit_sha\"" InProgressMergeCommitSHA string "json:\"in_progress_merge_commit_sha\"" LockVersion int "json:\"lock_version\"" TimeEstimate int "json:\"time_estimate\"" Source *Repository "json:\"source\"" Target *Repository "json:\"target\"" HeadPipelineID *int "json:\"head_pipeline_id\"" LastCommit struct { ID string "json:\"id\"" Message string "json:\"message\"" Title string "json:\"title\"" Timestamp *time.Time "json:\"timestamp\"" URL string "json:\"url\"" Author struct { Name string "json:\"name\"" Email string "json:\"email\"" } "json:\"author\"" } "json:\"last_commit\"" BlockingDiscussionsResolved bool "json:\"blocking_discussions_resolved\"" WorkInProgress bool "json:\"work_in_progress\"" Draft bool "json:\"draft\"" TotalTimeSpent int "json:\"total_time_spent\"" TimeChange int "json:\"time_change\"" HumanTotalTimeSpent string "json:\"human_total_time_spent\"" HumanTimeChange string "json:\"human_time_change\"" HumanTimeEstimate string "json:\"human_time_estimate\"" FirstContribution bool "json:\"first_contribution\"" URL string "json:\"url\"" Labels []*EventLabel "json:\"labels\"" Action string "json:\"action\"" DetailedMergeStatus string "json:\"detailed_merge_status\"" OldRev string "json:\"oldrev\"" }
MergeEventObjectAttributes is a duplicate of the embedded struct at [MergeEvent.ObjectAttributes].
type MergeEventProject ¶
type MergeEventProject struct { ID int "json:\"id\"" Name string "json:\"name\"" Description string "json:\"description\"" AvatarURL string "json:\"avatar_url\"" GitSSHURL string "json:\"git_ssh_url\"" GitHTTPURL string "json:\"git_http_url\"" Namespace string "json:\"namespace\"" PathWithNamespace string "json:\"path_with_namespace\"" DefaultBranch string "json:\"default_branch\"" CIConfigPath string "json:\"ci_config_path\"" Homepage string "json:\"homepage\"" URL string "json:\"url\"" SSHURL string "json:\"ssh_url\"" HTTPURL string "json:\"http_url\"" WebURL string "json:\"web_url\"" Visibility VisibilityValue "json:\"visibility\"" }
MergeEventProject is a duplicate of the embedded struct at [MergeEvent.Project].
type MergeMethodValue ¶
type MergeMethodValue = gitlab.MergeMethodValue
MergeMethodValue is an alias to gitlab.MergeMethodValue
type MergeParams ¶
type MergeParams = gitlab.MergeParams
MergeParams is an alias to gitlab.MergeParams
type MergeRequest ¶
type MergeRequest = gitlab.MergeRequest
MergeRequest is an alias to gitlab.MergeRequest
type MergeRequestApprovalRule ¶
type MergeRequestApprovalRule = gitlab.MergeRequestApprovalRule
MergeRequestApprovalRule is an alias to gitlab.MergeRequestApprovalRule
type MergeRequestApprovalState ¶
type MergeRequestApprovalState = gitlab.MergeRequestApprovalState
MergeRequestApprovalState is an alias to gitlab.MergeRequestApprovalState
type MergeRequestApprovals ¶
type MergeRequestApprovals = gitlab.MergeRequestApprovals
MergeRequestApprovals is an alias to gitlab.MergeRequestApprovals
type MergeRequestApprovalsService ¶
type MergeRequestApprovalsService interface { // ApproveMergeRequest approves a merge request on GitLab. If a non-empty sha // is provided then it must match the sha at the HEAD of the MR. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#approve-merge-request ApproveMergeRequest(pid interface{}, mr int, opt *ApproveMergeRequestOptions, options ...RequestOptionFunc) (*MergeRequestApprovals, *Response, error) // UnapproveMergeRequest unapproves a previously approved merge request on GitLab. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#unapprove-merge-request UnapproveMergeRequest(pid interface{}, mr int, options ...RequestOptionFunc) (*Response, error) // ResetApprovalsOfMergeRequest clear all approvals of merge request on GitLab. // Available only for bot users based on project or group tokens. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#reset-approvals-of-a-merge-request ResetApprovalsOfMergeRequest(pid interface{}, mr int, options ...RequestOptionFunc) (*Response, error) // GetConfiguration shows information about single merge request approvals // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-configuration-1 GetConfiguration(pid interface{}, mr int, options ...RequestOptionFunc) (*MergeRequestApprovals, *Response, error) // ChangeApprovalConfiguration updates the approval configuration of a merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-approval-configuration-deprecated ChangeApprovalConfiguration(pid interface{}, mergeRequest int, opt *ChangeMergeRequestApprovalConfigurationOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // ChangeAllowedApprovers updates the approvers for a merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-allowed-approvers-for-merge-request ChangeAllowedApprovers(pid interface{}, mergeRequest int, opt *ChangeMergeRequestAllowedApproversOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // GetApprovalRules requests information about a merge request’s approval rules // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-merge-request-level-rules GetApprovalRules(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*MergeRequestApprovalRule, *Response, error) // GetApprovalState requests information about a merge request’s approval state // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-the-approval-state-of-merge-requests GetApprovalState(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequestApprovalState, *Response, error) // CreateApprovalRule creates a new MR level approval rule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-merge-request-level-rule CreateApprovalRule(pid interface{}, mergeRequest int, opt *CreateMergeRequestApprovalRuleOptions, options ...RequestOptionFunc) (*MergeRequestApprovalRule, *Response, error) // UpdateApprovalRule updates an existing approval rule with new options. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#update-merge-request-level-rule UpdateApprovalRule(pid interface{}, mergeRequest int, approvalRule int, opt *UpdateMergeRequestApprovalRuleOptions, options ...RequestOptionFunc) (*MergeRequestApprovalRule, *Response, error) // DeleteApprovalRule deletes a mr level approval rule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#delete-merge-request-level-rule DeleteApprovalRule(pid interface{}, mergeRequest int, approvalRule int, options ...RequestOptionFunc) (*Response, error) }
MergeRequestApprovalsService is an interface for gitlab.Client.MergeRequestApprovals
type MergeRequestApproverGroup ¶
type MergeRequestApproverGroup = gitlab.MergeRequestApproverGroup
MergeRequestApproverGroup is an alias to gitlab.MergeRequestApproverGroup
type MergeRequestApproverUser ¶
type MergeRequestApproverUser = gitlab.MergeRequestApproverUser
MergeRequestApproverUser is an alias to gitlab.MergeRequestApproverUser
type MergeRequestDependency ¶
type MergeRequestDependency = gitlab.MergeRequestDependency
MergeRequestDependency is an alias to gitlab.MergeRequestDependency
type MergeRequestDiff ¶
type MergeRequestDiff = gitlab.MergeRequestDiff
MergeRequestDiff is an alias to gitlab.MergeRequestDiff
type MergeRequestDiffVersion ¶
type MergeRequestDiffVersion = gitlab.MergeRequestDiffVersion
MergeRequestDiffVersion is an alias to gitlab.MergeRequestDiffVersion
type MergeRequestReviewer ¶
type MergeRequestReviewer = gitlab.MergeRequestReviewer
MergeRequestReviewer is an alias to gitlab.MergeRequestReviewer
type MergeRequestsService ¶
type MergeRequestsService interface { // ListMergeRequests gets all merge requests. The state parameter can be used // to get only merge requests with a given state (opened, closed, or merged) // or all of them (all). The pagination parameters page and per_page can be // used to restrict the list of merge requests. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-requests ListMergeRequests(opt *ListMergeRequestsOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // ListProjectMergeRequests gets all merge requests for this project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-project-merge-requests ListProjectMergeRequests(pid interface{}, opt *ListProjectMergeRequestsOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // ListGroupMergeRequests gets all merge requests for this group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-group-merge-requests ListGroupMergeRequests(gid interface{}, opt *ListGroupMergeRequestsOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) // GetMergeRequest shows information about a single merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr GetMergeRequest(pid interface{}, mergeRequest int, opt *GetMergeRequestsOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // GetMergeRequestApprovals gets information about a merge requests approvals // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#merge-request-level-mr-approvals GetMergeRequestApprovals(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequestApprovals, *Response, error) // GetMergeRequestCommits gets a list of merge request commits. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-single-merge-request-commits GetMergeRequestCommits(pid interface{}, mergeRequest int, opt *GetMergeRequestCommitsOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error) // GetMergeRequestChanges shows information about the merge request including // its files and changes. // // Deprecated: This endpoint has been replaced by // MergeRequestsService.ListMergeRequestDiffs() // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-single-merge-request-changes GetMergeRequestChanges(pid interface{}, mergeRequest int, opt *GetMergeRequestChangesOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // ListMergeRequestDiffs List diffs of the files changed in a merge request // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-request-diffs ListMergeRequestDiffs(pid interface{}, mergeRequest int, opt *ListMergeRequestDiffsOptions, options ...RequestOptionFunc) ([]*MergeRequestDiff, *Response, error) // ShowMergeRequestRawDiffs Show raw diffs of the files changed in a merge request // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#show-merge-request-raw-diffs ShowMergeRequestRawDiffs(pid interface{}, mergeRequest int, opt *ShowMergeRequestRawDiffsOptions, options ...RequestOptionFunc) ([]byte, *Response, error) // GetMergeRequestParticipants gets a list of merge request participants. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-single-merge-request-participants GetMergeRequestParticipants(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*BasicUser, *Response, error) // GetMergeRequestReviewers gets a list of merge request reviewers. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-single-merge-request-reviewers GetMergeRequestReviewers(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*MergeRequestReviewer, *Response, error) // ListMergeRequestPipelines gets all pipelines for the provided merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-request-pipelines ListMergeRequestPipelines(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]*PipelineInfo, *Response, error) // CreateMergeRequestPipeline creates a new pipeline for a merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#create-merge-request-pipeline CreateMergeRequestPipeline(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*PipelineInfo, *Response, error) // GetIssuesClosedOnMerge gets all the issues that would be closed by merging the // provided merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#list-issues-that-close-on-merge GetIssuesClosedOnMerge(pid interface{}, mergeRequest int, opt *GetIssuesClosedOnMergeOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // CreateMergeRequest creates a new merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#create-mr CreateMergeRequest(pid interface{}, opt *CreateMergeRequestOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // UpdateMergeRequest updates an existing project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#update-mr UpdateMergeRequest(pid interface{}, mergeRequest int, opt *UpdateMergeRequestOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // DeleteMergeRequest deletes a merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#delete-a-merge-request DeleteMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Response, error) // AcceptMergeRequest merges changes submitted with MR using this API. If merge // success you get 200 OK. If it has some conflicts and can not be merged - you // get 405 and error message 'Branch cannot be merged'. If merge request is // already merged or closed - you get 405 and error message 'Method Not Allowed' // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#merge-a-merge-request AcceptMergeRequest(pid interface{}, mergeRequest int, opt *AcceptMergeRequestOptions, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // CancelMergeWhenPipelineSucceeds cancels a merge when pipeline succeeds. If // you don't have permissions to accept this merge request - you'll get a 401. // If the merge request is already merged or closed - you get 405 and error // message 'Method Not Allowed'. In case the merge request is not set to be // merged when the pipeline succeeds, you'll also get a 406 error. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#cancel-merge-when-pipeline-succeeds CancelMergeWhenPipelineSucceeds(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // RebaseMergeRequest automatically rebases the source_branch of the merge // request against its target_branch. If you don’t have permissions to push // to the merge request’s source branch, you’ll get a 403 Forbidden response. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#rebase-a-merge-request RebaseMergeRequest(pid interface{}, mergeRequest int, opt *RebaseMergeRequestOptions, options ...RequestOptionFunc) (*Response, error) // GetMergeRequestDiffVersions get a list of merge request diff versions. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-merge-request-diff-versions GetMergeRequestDiffVersions(pid interface{}, mergeRequest int, opt *GetMergeRequestDiffVersionsOptions, options ...RequestOptionFunc) ([]*MergeRequestDiffVersion, *Response, error) // GetSingleMergeRequestDiffVersion get a single MR diff version // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-a-single-merge-request-diff-version GetSingleMergeRequestDiffVersion(pid interface{}, mergeRequest, version int, opt *GetSingleMergeRequestDiffVersionOptions, options ...RequestOptionFunc) (*MergeRequestDiffVersion, *Response, error) // SubscribeToMergeRequest subscribes the authenticated user to the given merge // request to receive notifications. If the user is already subscribed to the // merge request, the status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#subscribe-to-a-merge-request SubscribeToMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // UnsubscribeFromMergeRequest unsubscribes the authenticated user from the // given merge request to not receive notifications from that merge request. // If the user is not subscribed to the merge request, status code 304 is // returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#unsubscribe-from-a-merge-request UnsubscribeFromMergeRequest(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeRequest, *Response, error) // CreateTodo manually creates a todo for the current user on a merge request. // If there already exists a todo for the user on that merge request, // status code 304 is returned. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#create-a-to-do-item CreateTodo(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*Todo, *Response, error) // SetTimeEstimate sets the time estimate for a single project merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#set-a-time-estimate-for-a-merge-request SetTimeEstimate(pid interface{}, mergeRequest int, opt *SetTimeEstimateOptions, options ...RequestOptionFunc) (*TimeStats, *Response, error) // ResetTimeEstimate resets the time estimate for a single project merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#reset-the-time-estimate-for-a-merge-request ResetTimeEstimate(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // AddSpentTime adds spent time for a single project merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#add-spent-time-for-a-merge-request AddSpentTime(pid interface{}, mergeRequest int, opt *AddSpentTimeOptions, options ...RequestOptionFunc) (*TimeStats, *Response, error) // ResetSpentTime resets the spent time for a single project merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#reset-spent-time-for-a-merge-request ResetSpentTime(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // GetTimeSpent gets the spent time for a single project merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-time-tracking-stats GetTimeSpent(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*TimeStats, *Response, error) // CreateMergeRequestDependency creates a new merge request dependency for a given // merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#create-a-merge-request-dependency CreateMergeRequestDependency(pid interface{}, mergeRequest int, opts CreateMergeRequestDependencyOptions, options ...RequestOptionFunc) (*MergeRequestDependency, *Response, error) // DeleteMergeRequestDependency deletes a merge request dependency for a given // merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#delete-a-merge-request-dependency DeleteMergeRequestDependency(pid interface{}, mergeRequest int, blockingMergeRequest int, options ...RequestOptionFunc) (*Response, error) // GetMergeRequestDependencies gets a list of merge request dependencies. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_requests.html#get-merge-request-dependencies GetMergeRequestDependencies(pid interface{}, mergeRequest int, options ...RequestOptionFunc) ([]MergeRequestDependency, *Response, error) }
MergeRequestsService is an interface for gitlab.Client.MergeRequests
type MergeStatusCheck ¶
type MergeStatusCheck = gitlab.MergeStatusCheck
MergeStatusCheck is an alias to gitlab.MergeStatusCheck
type MergeTrainMergeRequest ¶
type MergeTrainMergeRequest = gitlab.MergeTrainMergeRequest
MergeTrainMergeRequest is an alias to gitlab.MergeTrainMergeRequest
type MergeTrainsService ¶
type MergeTrainsService interface { // ListProjectMergeTrains get a list of merge trains in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_trains.html#list-merge-trains-for-a-project ListProjectMergeTrains(pid interface{}, opt *ListMergeTrainsOptions, options ...RequestOptionFunc) ([]*MergeTrain, *Response, error) // ListMergeRequestInMergeTrain gets a list of merge requests added to a merge // train for the requested target branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_trains.html#list-merge-requests-in-a-merge-train ListMergeRequestInMergeTrain(pid interface{}, targetBranch string, opts *ListMergeTrainsOptions, options ...RequestOptionFunc) ([]*MergeTrain, *Response, error) // GetMergeRequestOnAMergeTrain Get merge train information for the requested // merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_trains.html#get-the-status-of-a-merge-request-on-a-merge-train GetMergeRequestOnAMergeTrain(pid interface{}, mergeRequest int, options ...RequestOptionFunc) (*MergeTrain, *Response, error) // AddMergeRequestToMergeTrain Add a merge request to the merge train targeting // the merge request’s target branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_trains.html#add-a-merge-request-to-a-merge-train AddMergeRequestToMergeTrain(pid interface{}, mergeRequest int, opts *AddMergeRequestToMergeTrainOptions, options ...RequestOptionFunc) ([]*MergeTrain, *Response, error) }
MergeTrainsService is an interface for gitlab.Client.MergeTrains
type MetadataService ¶
type MetadataService interface { // GetMetadata gets a GitLab server instance meteadata. // // GitLab API docs: https://docs.gitlab.com/ee/api/metadata.html GetMetadata(options ...RequestOptionFunc) (*Metadata, *Response, error) }
MetadataService is an interface for gitlab.Client.Metadata
type MicrosoftTeamsService ¶
type MicrosoftTeamsService = gitlab.MicrosoftTeamsService
MicrosoftTeamsService is an alias to gitlab.MicrosoftTeamsService
type MicrosoftTeamsServiceProperties ¶
type MicrosoftTeamsServiceProperties = gitlab.MicrosoftTeamsServiceProperties
MicrosoftTeamsServiceProperties is an alias to gitlab.MicrosoftTeamsServiceProperties
type MilestoneEvent ¶
type MilestoneEvent = gitlab.MilestoneEvent
MilestoneEvent is an alias to gitlab.MilestoneEvent
type MilestonesService ¶
type MilestonesService interface { // ListMilestones returns a list of project milestones. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#list-project-milestones ListMilestones(pid interface{}, opt *ListMilestonesOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error) // GetMilestone gets a single project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#get-single-milestone GetMilestone(pid interface{}, milestone int, options ...RequestOptionFunc) (*Milestone, *Response, error) // CreateMilestone creates a new project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#create-new-milestone CreateMilestone(pid interface{}, opt *CreateMilestoneOptions, options ...RequestOptionFunc) (*Milestone, *Response, error) // UpdateMilestone updates an existing project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#edit-milestone UpdateMilestone(pid interface{}, milestone int, opt *UpdateMilestoneOptions, options ...RequestOptionFunc) (*Milestone, *Response, error) // DeleteMilestone deletes a specified project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#delete-project-milestone DeleteMilestone(pid interface{}, milestone int, options ...RequestOptionFunc) (*Response, error) // GetMilestoneIssues gets all issues assigned to a single project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#get-all-issues-assigned-to-a-single-milestone GetMilestoneIssues(pid interface{}, milestone int, opt *GetMilestoneIssuesOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // GetMilestoneMergeRequests gets all merge requests assigned to a single // project milestone. // // GitLab API docs: // https://docs.gitlab.com/ee/api/milestones.html#get-all-merge-requests-assigned-to-a-single-milestone GetMilestoneMergeRequests(pid interface{}, milestone int, opt *GetMilestoneMergeRequestsOptions, options ...RequestOptionFunc) ([]*BasicMergeRequest, *Response, error) }
MilestonesService is an interface for gitlab.Client.Milestones
type MockClient ¶
type MockClient struct { AccessRequestsServiceM *mocks.MockAccessRequestsService AppearanceServiceM *mocks.MockAppearanceService ApplicationsServiceM *mocks.MockApplicationsService AuditEventsServiceM *mocks.MockAuditEventsService AvatarRequestsServiceM *mocks.MockAvatarRequestsService AwardEmojiServiceM *mocks.MockAwardEmojiService BranchesServiceM *mocks.MockBranchesService BroadcastMessagesServiceM *mocks.MockBroadcastMessagesService BulkImportsServiceM *mocks.MockBulkImportsService CIYMLTemplatesServiceM *mocks.MockCIYMLTemplatesService ClusterAgentsServiceM *mocks.MockClusterAgentsService CommitsServiceM *mocks.MockCommitsService ContainerRegistryServiceM *mocks.MockContainerRegistryService CustomAttributesServiceM *mocks.MockCustomAttributesService DORAMetricsServiceM *mocks.MockDORAMetricsService DependencyListExportServiceM *mocks.MockDependencyListExportService DeployKeysServiceM *mocks.MockDeployKeysService DeployTokensServiceM *mocks.MockDeployTokensService DeploymentMergeRequestsServiceM *mocks.MockDeploymentMergeRequestsService DeploymentsServiceM *mocks.MockDeploymentsService DiscussionsServiceM *mocks.MockDiscussionsService DockerfileTemplatesServiceM *mocks.MockDockerfileTemplatesService DraftNotesServiceM *mocks.MockDraftNotesService EnvironmentsServiceM *mocks.MockEnvironmentsService EpicIssuesServiceM *mocks.MockEpicIssuesService EpicsServiceM *mocks.MockEpicsService ErrorTrackingServiceM *mocks.MockErrorTrackingService EventsServiceM *mocks.MockEventsService ExternalStatusChecksServiceM *mocks.MockExternalStatusChecksService FeaturesServiceM *mocks.MockFeaturesService FreezePeriodsServiceM *mocks.MockFreezePeriodsService GenericPackagesServiceM *mocks.MockGenericPackagesService GeoNodesServiceM *mocks.MockGeoNodesService GitIgnoreTemplatesServiceM *mocks.MockGitIgnoreTemplatesService GroupAccessTokensServiceM *mocks.MockGroupAccessTokensService GroupBadgesServiceM *mocks.MockGroupBadgesService GroupClustersServiceM *mocks.MockGroupClustersService GroupEpicBoardsServiceM *mocks.MockGroupEpicBoardsService GroupImportExportServiceM *mocks.MockGroupImportExportService GroupIssueBoardsServiceM *mocks.MockGroupIssueBoardsService GroupIterationsServiceM *mocks.MockGroupIterationsService GroupLabelsServiceM *mocks.MockGroupLabelsService GroupMembersServiceM *mocks.MockGroupMembersService GroupMilestonesServiceM *mocks.MockGroupMilestonesService GroupProtectedEnvironmentsServiceM *mocks.MockGroupProtectedEnvironmentsService GroupReleasesServiceM *mocks.MockGroupReleasesService GroupRepositoryStorageMoveServiceM *mocks.MockGroupRepositoryStorageMoveService GroupSCIMServiceM *mocks.MockGroupSCIMService GroupSSHCertificatesServiceM *mocks.MockGroupSSHCertificatesService GroupSecuritySettingsServiceM *mocks.MockGroupSecuritySettingsService GroupVariablesServiceM *mocks.MockGroupVariablesService GroupWikisServiceM *mocks.MockGroupWikisService GroupsServiceM *mocks.MockGroupsService ImportServiceM *mocks.MockImportService InstanceClustersServiceM *mocks.MockInstanceClustersService InstanceVariablesServiceM *mocks.MockInstanceVariablesService InvitesServiceM *mocks.MockInvitesService IssueBoardsServiceM *mocks.MockIssueBoardsService IssueLinksServiceM *mocks.MockIssueLinksService IssuesServiceM *mocks.MockIssuesService IssuesStatisticsServiceM *mocks.MockIssuesStatisticsService JobTokenScopeServiceM *mocks.MockJobTokenScopeService JobsServiceM *mocks.MockJobsService KeysServiceM *mocks.MockKeysService LabelsServiceM *mocks.MockLabelsService LicenseServiceM *mocks.MockLicenseService LicenseTemplatesServiceM *mocks.MockLicenseTemplatesService ManagedLicensesServiceM *mocks.MockManagedLicensesService MarkdownServiceM *mocks.MockMarkdownService MemberRolesServiceM *mocks.MockMemberRolesService MergeRequestApprovalsServiceM *mocks.MockMergeRequestApprovalsService MergeRequestsServiceM *mocks.MockMergeRequestsService MergeTrainsServiceM *mocks.MockMergeTrainsService MetadataServiceM *mocks.MockMetadataService MilestonesServiceM *mocks.MockMilestonesService NamespacesServiceM *mocks.MockNamespacesService NotesServiceM *mocks.MockNotesService NotificationSettingsServiceM *mocks.MockNotificationSettingsService PackagesServiceM *mocks.MockPackagesService PagesDomainsServiceM *mocks.MockPagesDomainsService PagesServiceM *mocks.MockPagesService PersonalAccessTokensServiceM *mocks.MockPersonalAccessTokensService PipelineSchedulesServiceM *mocks.MockPipelineSchedulesService PipelineTriggersServiceM *mocks.MockPipelineTriggersService PipelinesServiceM *mocks.MockPipelinesService PlanLimitsServiceM *mocks.MockPlanLimitsService ProjectAccessTokensServiceM *mocks.MockProjectAccessTokensService ProjectBadgesServiceM *mocks.MockProjectBadgesService ProjectClustersServiceM *mocks.MockProjectClustersService ProjectFeatureFlagServiceM *mocks.MockProjectFeatureFlagService ProjectImportExportServiceM *mocks.MockProjectImportExportService ProjectIterationsServiceM *mocks.MockProjectIterationsService ProjectMarkdownUploadsServiceM *mocks.MockProjectMarkdownUploadsService ProjectMembersServiceM *mocks.MockProjectMembersService ProjectMirrorServiceM *mocks.MockProjectMirrorService ProjectRepositoryStorageMoveServiceM *mocks.MockProjectRepositoryStorageMoveService ProjectSecuritySettingsServiceM *mocks.MockProjectSecuritySettingsService ProjectSnippetsServiceM *mocks.MockProjectSnippetsService ProjectTemplatesServiceM *mocks.MockProjectTemplatesService ProjectVariablesServiceM *mocks.MockProjectVariablesService ProjectVulnerabilitiesServiceM *mocks.MockProjectVulnerabilitiesService ProjectsServiceM *mocks.MockProjectsService ProtectedBranchesServiceM *mocks.MockProtectedBranchesService ProtectedEnvironmentsServiceM *mocks.MockProtectedEnvironmentsService ProtectedTagsServiceM *mocks.MockProtectedTagsService ReleaseLinksServiceM *mocks.MockReleaseLinksService ReleasesServiceM *mocks.MockReleasesService RepositoriesServiceM *mocks.MockRepositoriesService RepositoryFilesServiceM *mocks.MockRepositoryFilesService RepositorySubmodulesServiceM *mocks.MockRepositorySubmodulesService ResourceGroupServiceM *mocks.MockResourceGroupService ResourceIterationEventsServiceM *mocks.MockResourceIterationEventsService ResourceLabelEventsServiceM *mocks.MockResourceLabelEventsService ResourceMilestoneEventsServiceM *mocks.MockResourceMilestoneEventsService ResourceStateEventsServiceM *mocks.MockResourceStateEventsService ResourceWeightEventsServiceM *mocks.MockResourceWeightEventsService RunnersServiceM *mocks.MockRunnersService SearchServiceM *mocks.MockSearchService SecureFilesServiceM *mocks.MockSecureFilesService ServicesServiceM *mocks.MockServicesService SettingsServiceM *mocks.MockSettingsService SidekiqServiceM *mocks.MockSidekiqService SnippetRepositoryStorageMoveServiceM *mocks.MockSnippetRepositoryStorageMoveService SnippetsServiceM *mocks.MockSnippetsService SystemHooksServiceM *mocks.MockSystemHooksService TagsServiceM *mocks.MockTagsService TodosServiceM *mocks.MockTodosService TopicsServiceM *mocks.MockTopicsService UsersServiceM *mocks.MockUsersService ValidateServiceM *mocks.MockValidateService VersionServiceM *mocks.MockVersionService WikisServiceM *mocks.MockWikisService }
MockClient is a mock of Client interface. Create with NewMockClient.
func NewMockClient ¶
func NewMockClient(t *testing.T) *MockClient
NewMockClient creates a new mock client for testing. This should be used in place of NewClient when testing.
Example ¶
package main import ( "testing" "github.com/1password/gitlab" "gotest.tools/v3/assert" ) func main() { t := &testing.T{} gl := gitlab.NewMockClient(t) // Should be called once w/ the given arguments and return the given // result. gl.MergeRequestsServiceM.EXPECT(). GetMergeRequest(1, 1, &gitlab.GetMergeRequestsOptions{}). Return(&gitlab.MergeRequest{ BasicMergeRequest: gitlab.BasicMergeRequest{ ID: 1, }, }, nil, nil) mr, _, err := gl.MergeRequests().GetMergeRequest(1, 1, &gitlab.GetMergeRequestsOptions{}) assert.NilError(t, err) assert.Equal(t, mr.ID, 1) }
func (*MockClient) AccessRequests ¶
func (m *MockClient) AccessRequests() AccessRequestsService
AccessRequests returns a mocked AccessRequestsService service.
func (*MockClient) Appearance ¶
func (m *MockClient) Appearance() AppearanceService
Appearance returns a mocked AppearanceService service.
func (*MockClient) Applications ¶
func (m *MockClient) Applications() ApplicationsService
Applications returns a mocked ApplicationsService service.
func (*MockClient) AuditEvents ¶
func (m *MockClient) AuditEvents() AuditEventsService
AuditEvents returns a mocked AuditEventsService service.
func (*MockClient) Avatar ¶
func (m *MockClient) Avatar() AvatarRequestsService
Avatar returns a mocked AvatarRequestsService service.
func (*MockClient) AwardEmoji ¶
func (m *MockClient) AwardEmoji() AwardEmojiService
AwardEmoji returns a mocked AwardEmojiService service.
func (*MockClient) Boards ¶
func (m *MockClient) Boards() IssueBoardsService
Boards returns a mocked IssueBoardsService service.
func (*MockClient) Branches ¶
func (m *MockClient) Branches() BranchesService
Branches returns a mocked BranchesService service.
func (*MockClient) BroadcastMessage ¶
func (m *MockClient) BroadcastMessage() BroadcastMessagesService
BroadcastMessage returns a mocked BroadcastMessagesService service.
func (*MockClient) BulkImports ¶
func (m *MockClient) BulkImports() BulkImportsService
BulkImports returns a mocked BulkImportsService service.
func (*MockClient) CIYMLTemplate ¶
func (m *MockClient) CIYMLTemplate() CIYMLTemplatesService
CIYMLTemplate returns a mocked CIYMLTemplatesService service.
func (*MockClient) ClusterAgents ¶
func (m *MockClient) ClusterAgents() ClusterAgentsService
ClusterAgents returns a mocked ClusterAgentsService service.
func (*MockClient) Commits ¶
func (m *MockClient) Commits() CommitsService
Commits returns a mocked CommitsService service.
func (*MockClient) ContainerRegistry ¶
func (m *MockClient) ContainerRegistry() ContainerRegistryService
ContainerRegistry returns a mocked ContainerRegistryService service.
func (*MockClient) CustomAttribute ¶
func (m *MockClient) CustomAttribute() CustomAttributesService
CustomAttribute returns a mocked CustomAttributesService service.
func (*MockClient) DORAMetrics ¶
func (m *MockClient) DORAMetrics() DORAMetricsService
DORAMetrics returns a mocked DORAMetricsService service.
func (*MockClient) DependencyListExport ¶
func (m *MockClient) DependencyListExport() DependencyListExportService
DependencyListExport returns a mocked DependencyListExportService service.
func (*MockClient) DeployKeys ¶
func (m *MockClient) DeployKeys() DeployKeysService
DeployKeys returns a mocked DeployKeysService service.
func (*MockClient) DeployTokens ¶
func (m *MockClient) DeployTokens() DeployTokensService
DeployTokens returns a mocked DeployTokensService service.
func (*MockClient) DeploymentMergeRequests ¶
func (m *MockClient) DeploymentMergeRequests() DeploymentMergeRequestsService
DeploymentMergeRequests returns a mocked DeploymentMergeRequestsService service.
func (*MockClient) Deployments ¶
func (m *MockClient) Deployments() DeploymentsService
Deployments returns a mocked DeploymentsService service.
func (*MockClient) Discussions ¶
func (m *MockClient) Discussions() DiscussionsService
Discussions returns a mocked DiscussionsService service.
func (*MockClient) DockerfileTemplate ¶
func (m *MockClient) DockerfileTemplate() DockerfileTemplatesService
DockerfileTemplate returns a mocked DockerfileTemplatesService service.
func (*MockClient) DraftNotes ¶
func (m *MockClient) DraftNotes() DraftNotesService
DraftNotes returns a mocked DraftNotesService service.
func (*MockClient) Environments ¶
func (m *MockClient) Environments() EnvironmentsService
Environments returns a mocked EnvironmentsService service.
func (*MockClient) EpicIssues ¶
func (m *MockClient) EpicIssues() EpicIssuesService
EpicIssues returns a mocked EpicIssuesService service.
func (*MockClient) Epics ¶
func (m *MockClient) Epics() EpicsService
Epics returns a mocked EpicsService service.
func (*MockClient) ErrorTracking ¶
func (m *MockClient) ErrorTracking() ErrorTrackingService
ErrorTracking returns a mocked ErrorTrackingService service.
func (*MockClient) Events ¶
func (m *MockClient) Events() EventsService
Events returns a mocked EventsService service.
func (*MockClient) ExternalStatusChecks ¶
func (m *MockClient) ExternalStatusChecks() ExternalStatusChecksService
ExternalStatusChecks returns a mocked ExternalStatusChecksService service.
func (*MockClient) Features ¶
func (m *MockClient) Features() FeaturesService
Features returns a mocked FeaturesService service.
func (*MockClient) FreezePeriods ¶
func (m *MockClient) FreezePeriods() FreezePeriodsService
FreezePeriods returns a mocked FreezePeriodsService service.
func (*MockClient) GenericPackages ¶
func (m *MockClient) GenericPackages() GenericPackagesService
GenericPackages returns a mocked GenericPackagesService service.
func (*MockClient) GeoNodes ¶
func (m *MockClient) GeoNodes() GeoNodesService
GeoNodes returns a mocked GeoNodesService service.
func (*MockClient) GitIgnoreTemplates ¶
func (m *MockClient) GitIgnoreTemplates() GitIgnoreTemplatesService
GitIgnoreTemplates returns a mocked GitIgnoreTemplatesService service.
func (*MockClient) GroupAccessTokens ¶
func (m *MockClient) GroupAccessTokens() GroupAccessTokensService
GroupAccessTokens returns a mocked GroupAccessTokensService service.
func (*MockClient) GroupBadges ¶
func (m *MockClient) GroupBadges() GroupBadgesService
GroupBadges returns a mocked GroupBadgesService service.
func (*MockClient) GroupCluster ¶
func (m *MockClient) GroupCluster() GroupClustersService
GroupCluster returns a mocked GroupClustersService service.
func (*MockClient) GroupEpicBoards ¶
func (m *MockClient) GroupEpicBoards() GroupEpicBoardsService
GroupEpicBoards returns a mocked GroupEpicBoardsService service.
func (*MockClient) GroupImportExport ¶
func (m *MockClient) GroupImportExport() GroupImportExportService
GroupImportExport returns a mocked GroupImportExportService service.
func (*MockClient) GroupIssueBoards ¶
func (m *MockClient) GroupIssueBoards() GroupIssueBoardsService
GroupIssueBoards returns a mocked GroupIssueBoardsService service.
func (*MockClient) GroupIterations ¶
func (m *MockClient) GroupIterations() GroupIterationsService
GroupIterations returns a mocked GroupIterationsService service.
func (*MockClient) GroupLabels ¶
func (m *MockClient) GroupLabels() GroupLabelsService
GroupLabels returns a mocked GroupLabelsService service.
func (*MockClient) GroupMembers ¶
func (m *MockClient) GroupMembers() GroupMembersService
GroupMembers returns a mocked GroupMembersService service.
func (*MockClient) GroupMilestones ¶
func (m *MockClient) GroupMilestones() GroupMilestonesService
GroupMilestones returns a mocked GroupMilestonesService service.
func (*MockClient) GroupProtectedEnvironments ¶
func (m *MockClient) GroupProtectedEnvironments() GroupProtectedEnvironmentsService
GroupProtectedEnvironments returns a mocked GroupProtectedEnvironmentsService service.
func (*MockClient) GroupReleases ¶
func (m *MockClient) GroupReleases() GroupReleasesService
GroupReleases returns a mocked GroupReleasesService service.
func (*MockClient) GroupRepositoryStorageMove ¶
func (m *MockClient) GroupRepositoryStorageMove() GroupRepositoryStorageMoveService
GroupRepositoryStorageMove returns a mocked GroupRepositoryStorageMoveService service.
func (*MockClient) GroupSCIM ¶
func (m *MockClient) GroupSCIM() GroupSCIMService
GroupSCIM returns a mocked GroupSCIMService service.
func (*MockClient) GroupSSHCertificates ¶
func (m *MockClient) GroupSSHCertificates() GroupSSHCertificatesService
GroupSSHCertificates returns a mocked GroupSSHCertificatesService service.
func (*MockClient) GroupSecuritySettings ¶
func (m *MockClient) GroupSecuritySettings() GroupSecuritySettingsService
GroupSecuritySettings returns a mocked GroupSecuritySettingsService service.
func (*MockClient) GroupVariables ¶
func (m *MockClient) GroupVariables() GroupVariablesService
GroupVariables returns a mocked GroupVariablesService service.
func (*MockClient) GroupWikis ¶
func (m *MockClient) GroupWikis() GroupWikisService
GroupWikis returns a mocked GroupWikisService service.
func (*MockClient) Groups ¶
func (m *MockClient) Groups() GroupsService
Groups returns a mocked GroupsService service.
func (*MockClient) Import ¶
func (m *MockClient) Import() ImportService
Import returns a mocked ImportService service.
func (*MockClient) InstanceCluster ¶
func (m *MockClient) InstanceCluster() InstanceClustersService
InstanceCluster returns a mocked InstanceClustersService service.
func (*MockClient) InstanceVariables ¶
func (m *MockClient) InstanceVariables() InstanceVariablesService
InstanceVariables returns a mocked InstanceVariablesService service.
func (*MockClient) Invites ¶
func (m *MockClient) Invites() InvitesService
Invites returns a mocked InvitesService service.
func (*MockClient) IssueLinks ¶
func (m *MockClient) IssueLinks() IssueLinksService
IssueLinks returns a mocked IssueLinksService service.
func (*MockClient) Issues ¶
func (m *MockClient) Issues() IssuesService
Issues returns a mocked IssuesService service.
func (*MockClient) IssuesStatistics ¶
func (m *MockClient) IssuesStatistics() IssuesStatisticsService
IssuesStatistics returns a mocked IssuesStatisticsService service.
func (*MockClient) JobTokenScope ¶
func (m *MockClient) JobTokenScope() JobTokenScopeService
JobTokenScope returns a mocked JobTokenScopeService service.
func (*MockClient) Jobs ¶
func (m *MockClient) Jobs() JobsService
Jobs returns a mocked JobsService service.
func (*MockClient) Keys ¶
func (m *MockClient) Keys() KeysService
Keys returns a mocked KeysService service.
func (*MockClient) Labels ¶
func (m *MockClient) Labels() LabelsService
Labels returns a mocked LabelsService service.
func (*MockClient) License ¶
func (m *MockClient) License() LicenseService
License returns a mocked LicenseService service.
func (*MockClient) LicenseTemplates ¶
func (m *MockClient) LicenseTemplates() LicenseTemplatesService
LicenseTemplates returns a mocked LicenseTemplatesService service.
func (*MockClient) ManagedLicenses ¶
func (m *MockClient) ManagedLicenses() ManagedLicensesService
ManagedLicenses returns a mocked ManagedLicensesService service.
func (*MockClient) Markdown ¶
func (m *MockClient) Markdown() MarkdownService
Markdown returns a mocked MarkdownService service.
func (*MockClient) MemberRolesService ¶
func (m *MockClient) MemberRolesService() MemberRolesService
MemberRolesService returns a mocked MemberRolesService service.
func (*MockClient) MergeRequestApprovals ¶
func (m *MockClient) MergeRequestApprovals() MergeRequestApprovalsService
MergeRequestApprovals returns a mocked MergeRequestApprovalsService service.
func (*MockClient) MergeRequests ¶
func (m *MockClient) MergeRequests() MergeRequestsService
MergeRequests returns a mocked MergeRequestsService service.
func (*MockClient) MergeTrains ¶
func (m *MockClient) MergeTrains() MergeTrainsService
MergeTrains returns a mocked MergeTrainsService service.
func (*MockClient) Metadata ¶
func (m *MockClient) Metadata() MetadataService
Metadata returns a mocked MetadataService service.
func (*MockClient) Milestones ¶
func (m *MockClient) Milestones() MilestonesService
Milestones returns a mocked MilestonesService service.
func (*MockClient) Namespaces ¶
func (m *MockClient) Namespaces() NamespacesService
Namespaces returns a mocked NamespacesService service.
func (*MockClient) Notes ¶
func (m *MockClient) Notes() NotesService
Notes returns a mocked NotesService service.
func (*MockClient) NotificationSettings ¶
func (m *MockClient) NotificationSettings() NotificationSettingsService
NotificationSettings returns a mocked NotificationSettingsService service.
func (*MockClient) Packages ¶
func (m *MockClient) Packages() PackagesService
Packages returns a mocked PackagesService service.
func (*MockClient) Pages ¶
func (m *MockClient) Pages() PagesService
Pages returns a mocked PagesService service.
func (*MockClient) PagesDomains ¶
func (m *MockClient) PagesDomains() PagesDomainsService
PagesDomains returns a mocked PagesDomainsService service.
func (*MockClient) PersonalAccessTokens ¶
func (m *MockClient) PersonalAccessTokens() PersonalAccessTokensService
PersonalAccessTokens returns a mocked PersonalAccessTokensService service.
func (*MockClient) PipelineSchedules ¶
func (m *MockClient) PipelineSchedules() PipelineSchedulesService
PipelineSchedules returns a mocked PipelineSchedulesService service.
func (*MockClient) PipelineTriggers ¶
func (m *MockClient) PipelineTriggers() PipelineTriggersService
PipelineTriggers returns a mocked PipelineTriggersService service.
func (*MockClient) Pipelines ¶
func (m *MockClient) Pipelines() PipelinesService
Pipelines returns a mocked PipelinesService service.
func (*MockClient) PlanLimits ¶
func (m *MockClient) PlanLimits() PlanLimitsService
PlanLimits returns a mocked PlanLimitsService service.
func (*MockClient) ProjectAccessTokens ¶
func (m *MockClient) ProjectAccessTokens() ProjectAccessTokensService
ProjectAccessTokens returns a mocked ProjectAccessTokensService service.
func (*MockClient) ProjectBadges ¶
func (m *MockClient) ProjectBadges() ProjectBadgesService
ProjectBadges returns a mocked ProjectBadgesService service.
func (*MockClient) ProjectCluster ¶
func (m *MockClient) ProjectCluster() ProjectClustersService
ProjectCluster returns a mocked ProjectClustersService service.
func (*MockClient) ProjectFeatureFlags ¶
func (m *MockClient) ProjectFeatureFlags() ProjectFeatureFlagService
ProjectFeatureFlags returns a mocked ProjectFeatureFlagService service.
func (*MockClient) ProjectImportExport ¶
func (m *MockClient) ProjectImportExport() ProjectImportExportService
ProjectImportExport returns a mocked ProjectImportExportService service.
func (*MockClient) ProjectIterations ¶
func (m *MockClient) ProjectIterations() ProjectIterationsService
ProjectIterations returns a mocked ProjectIterationsService service.
func (*MockClient) ProjectMarkdownUploads ¶
func (m *MockClient) ProjectMarkdownUploads() ProjectMarkdownUploadsService
ProjectMarkdownUploads returns a mocked ProjectMarkdownUploadsService service.
func (*MockClient) ProjectMembers ¶
func (m *MockClient) ProjectMembers() ProjectMembersService
ProjectMembers returns a mocked ProjectMembersService service.
func (*MockClient) ProjectMirrors ¶
func (m *MockClient) ProjectMirrors() ProjectMirrorService
ProjectMirrors returns a mocked ProjectMirrorService service.
func (*MockClient) ProjectRepositoryStorageMove ¶
func (m *MockClient) ProjectRepositoryStorageMove() ProjectRepositoryStorageMoveService
ProjectRepositoryStorageMove returns a mocked ProjectRepositoryStorageMoveService service.
func (*MockClient) ProjectSecuritySettings ¶
func (m *MockClient) ProjectSecuritySettings() ProjectSecuritySettingsService
ProjectSecuritySettings returns a mocked ProjectSecuritySettingsService service.
func (*MockClient) ProjectSnippets ¶
func (m *MockClient) ProjectSnippets() ProjectSnippetsService
ProjectSnippets returns a mocked ProjectSnippetsService service.
func (*MockClient) ProjectTemplates ¶
func (m *MockClient) ProjectTemplates() ProjectTemplatesService
ProjectTemplates returns a mocked ProjectTemplatesService service.
func (*MockClient) ProjectVariables ¶
func (m *MockClient) ProjectVariables() ProjectVariablesService
ProjectVariables returns a mocked ProjectVariablesService service.
func (*MockClient) ProjectVulnerabilities ¶
func (m *MockClient) ProjectVulnerabilities() ProjectVulnerabilitiesService
ProjectVulnerabilities returns a mocked ProjectVulnerabilitiesService service.
func (*MockClient) Projects ¶
func (m *MockClient) Projects() ProjectsService
Projects returns a mocked ProjectsService service.
func (*MockClient) ProtectedBranches ¶
func (m *MockClient) ProtectedBranches() ProtectedBranchesService
ProtectedBranches returns a mocked ProtectedBranchesService service.
func (*MockClient) ProtectedEnvironments ¶
func (m *MockClient) ProtectedEnvironments() ProtectedEnvironmentsService
ProtectedEnvironments returns a mocked ProtectedEnvironmentsService service.
func (*MockClient) ProtectedTags ¶
func (m *MockClient) ProtectedTags() ProtectedTagsService
ProtectedTags returns a mocked ProtectedTagsService service.
func (*MockClient) ReleaseLinks ¶
func (m *MockClient) ReleaseLinks() ReleaseLinksService
ReleaseLinks returns a mocked ReleaseLinksService service.
func (*MockClient) Releases ¶
func (m *MockClient) Releases() ReleasesService
Releases returns a mocked ReleasesService service.
func (*MockClient) Repositories ¶
func (m *MockClient) Repositories() RepositoriesService
Repositories returns a mocked RepositoriesService service.
func (*MockClient) RepositoryFiles ¶
func (m *MockClient) RepositoryFiles() RepositoryFilesService
RepositoryFiles returns a mocked RepositoryFilesService service.
func (*MockClient) RepositorySubmodules ¶
func (m *MockClient) RepositorySubmodules() RepositorySubmodulesService
RepositorySubmodules returns a mocked RepositorySubmodulesService service.
func (*MockClient) ResourceGroup ¶
func (m *MockClient) ResourceGroup() ResourceGroupService
ResourceGroup returns a mocked ResourceGroupService service.
func (*MockClient) ResourceIterationEvents ¶
func (m *MockClient) ResourceIterationEvents() ResourceIterationEventsService
ResourceIterationEvents returns a mocked ResourceIterationEventsService service.
func (*MockClient) ResourceLabelEvents ¶
func (m *MockClient) ResourceLabelEvents() ResourceLabelEventsService
ResourceLabelEvents returns a mocked ResourceLabelEventsService service.
func (*MockClient) ResourceMilestoneEvents ¶
func (m *MockClient) ResourceMilestoneEvents() ResourceMilestoneEventsService
ResourceMilestoneEvents returns a mocked ResourceMilestoneEventsService service.
func (*MockClient) ResourceStateEvents ¶
func (m *MockClient) ResourceStateEvents() ResourceStateEventsService
ResourceStateEvents returns a mocked ResourceStateEventsService service.
func (*MockClient) ResourceWeightEvents ¶
func (m *MockClient) ResourceWeightEvents() ResourceWeightEventsService
ResourceWeightEvents returns a mocked ResourceWeightEventsService service.
func (*MockClient) Runners ¶
func (m *MockClient) Runners() RunnersService
Runners returns a mocked RunnersService service.
func (*MockClient) Search ¶
func (m *MockClient) Search() SearchService
Search returns a mocked SearchService service.
func (*MockClient) SecureFiles ¶
func (m *MockClient) SecureFiles() SecureFilesService
SecureFiles returns a mocked SecureFilesService service.
func (*MockClient) Services ¶
func (m *MockClient) Services() ServicesService
Services returns a mocked ServicesService service.
func (*MockClient) Settings ¶
func (m *MockClient) Settings() SettingsService
Settings returns a mocked SettingsService service.
func (*MockClient) Sidekiq ¶
func (m *MockClient) Sidekiq() SidekiqService
Sidekiq returns a mocked SidekiqService service.
func (*MockClient) SnippetRepositoryStorageMove ¶
func (m *MockClient) SnippetRepositoryStorageMove() SnippetRepositoryStorageMoveService
SnippetRepositoryStorageMove returns a mocked SnippetRepositoryStorageMoveService service.
func (*MockClient) Snippets ¶
func (m *MockClient) Snippets() SnippetsService
Snippets returns a mocked SnippetsService service.
func (*MockClient) SystemHooks ¶
func (m *MockClient) SystemHooks() SystemHooksService
SystemHooks returns a mocked SystemHooksService service.
func (*MockClient) Tags ¶
func (m *MockClient) Tags() TagsService
Tags returns a mocked TagsService service.
func (*MockClient) Todos ¶
func (m *MockClient) Todos() TodosService
Todos returns a mocked TodosService service.
func (*MockClient) Topics ¶
func (m *MockClient) Topics() TopicsService
Topics returns a mocked TopicsService service.
func (*MockClient) Users ¶
func (m *MockClient) Users() UsersService
Users returns a mocked UsersService service.
func (*MockClient) Validate ¶
func (m *MockClient) Validate() ValidateService
Validate returns a mocked ValidateService service.
func (*MockClient) Version ¶
func (m *MockClient) Version() VersionService
Version returns a mocked VersionService service.
func (*MockClient) Wikis ¶
func (m *MockClient) Wikis() WikisService
Wikis returns a mocked WikisService service.
type ModifyUserOptions ¶
type ModifyUserOptions = gitlab.ModifyUserOptions
ModifyUserOptions is an alias to gitlab.ModifyUserOptions
type MoveIssueOptions ¶
type MoveIssueOptions = gitlab.MoveIssueOptions
MoveIssueOptions is an alias to gitlab.MoveIssueOptions
type NamespaceExistance ¶
type NamespaceExistance = gitlab.NamespaceExistance
NamespaceExistance is an alias to gitlab.NamespaceExistance
type NamespaceExistsOptions ¶
type NamespaceExistsOptions = gitlab.NamespaceExistsOptions
NamespaceExistsOptions is an alias to gitlab.NamespaceExistsOptions
type NamespacesService ¶
type NamespacesService interface { // ListNamespaces gets a list of projects accessible by the authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/namespaces.html#list-namespaces ListNamespaces(opt *ListNamespacesOptions, options ...RequestOptionFunc) ([]*Namespace, *Response, error) // SearchNamespace gets all namespaces that match your string in their name // or path. // // GitLab API docs: // https://docs.gitlab.com/ee/api/namespaces.html#list-namespaces SearchNamespace(query string, options ...RequestOptionFunc) ([]*Namespace, *Response, error) // GetNamespace gets a namespace by id. // // GitLab API docs: // https://docs.gitlab.com/ee/api/namespaces.html#get-namespace-by-id GetNamespace(id interface{}, options ...RequestOptionFunc) (*Namespace, *Response, error) // NamespaceExists checks the existence of a namespace. // // GitLab API docs: // https://docs.gitlab.com/ee/api/namespaces.html#get-existence-of-a-namespace NamespaceExists(id interface{}, opt *NamespaceExistsOptions, options ...RequestOptionFunc) (*NamespaceExistance, *Response, error) }
NamespacesService is an interface for gitlab.Client.Namespaces
type NotePosition ¶
type NotePosition = gitlab.NotePosition
NotePosition is an alias to gitlab.NotePosition
type NoteTypeValue ¶
type NoteTypeValue = gitlab.NoteTypeValue
NoteTypeValue is an alias to gitlab.NoteTypeValue
type NotesService ¶
type NotesService interface { // ListIssueNotes gets a list of all notes for a single issue. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#list-project-issue-notes ListIssueNotes(pid interface{}, issue int, opt *ListIssueNotesOptions, options ...RequestOptionFunc) ([]*Note, *Response, error) // GetIssueNote returns a single note for a specific project issue. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#get-single-issue-note GetIssueNote(pid interface{}, issue, note int, options ...RequestOptionFunc) (*Note, *Response, error) // CreateIssueNote creates a new note to a single project issue. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#create-new-issue-note CreateIssueNote(pid interface{}, issue int, opt *CreateIssueNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateIssueNote modifies existing note of an issue. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#modify-existing-issue-note UpdateIssueNote(pid interface{}, issue, note int, opt *UpdateIssueNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteIssueNote deletes an existing note of an issue. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#delete-an-issue-note DeleteIssueNote(pid interface{}, issue, note int, options ...RequestOptionFunc) (*Response, error) // ListSnippetNotes gets a list of all notes for a single snippet. Snippet // notes are comments users can post to a snippet. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#list-all-snippet-notes ListSnippetNotes(pid interface{}, snippet int, opt *ListSnippetNotesOptions, options ...RequestOptionFunc) ([]*Note, *Response, error) // GetSnippetNote returns a single note for a given snippet. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#get-single-snippet-note GetSnippetNote(pid interface{}, snippet, note int, options ...RequestOptionFunc) (*Note, *Response, error) // CreateSnippetNote creates a new note for a single snippet. Snippet notes are // comments users can post to a snippet. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#create-new-snippet-note CreateSnippetNote(pid interface{}, snippet int, opt *CreateSnippetNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateSnippetNote modifies existing note of a snippet. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#modify-existing-snippet-note UpdateSnippetNote(pid interface{}, snippet, note int, opt *UpdateSnippetNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteSnippetNote deletes an existing note of a snippet. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#delete-a-snippet-note DeleteSnippetNote(pid interface{}, snippet, note int, options ...RequestOptionFunc) (*Response, error) // ListMergeRequestNotes gets a list of all notes for a single merge request. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#list-all-merge-request-notes ListMergeRequestNotes(pid interface{}, mergeRequest int, opt *ListMergeRequestNotesOptions, options ...RequestOptionFunc) ([]*Note, *Response, error) // GetMergeRequestNote returns a single note for a given merge request. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#get-single-merge-request-note GetMergeRequestNote(pid interface{}, mergeRequest, note int, options ...RequestOptionFunc) (*Note, *Response, error) // CreateMergeRequestNote creates a new note for a single merge request. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#create-new-merge-request-note CreateMergeRequestNote(pid interface{}, mergeRequest int, opt *CreateMergeRequestNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateMergeRequestNote modifies existing note of a merge request. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#modify-existing-merge-request-note UpdateMergeRequestNote(pid interface{}, mergeRequest, note int, opt *UpdateMergeRequestNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteMergeRequestNote deletes an existing note of a merge request. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#delete-a-merge-request-note DeleteMergeRequestNote(pid interface{}, mergeRequest, note int, options ...RequestOptionFunc) (*Response, error) // ListEpicNotes gets a list of all notes for a single epic. // Deprecated: use Work Items API instead. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#list-all-epic-notes ListEpicNotes(gid interface{}, epic int, opt *ListEpicNotesOptions, options ...RequestOptionFunc) ([]*Note, *Response, error) // GetEpicNote returns a single note for an epic. // Deprecated: use Work Items API instead. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#get-single-epic-note GetEpicNote(gid interface{}, epic, note int, options ...RequestOptionFunc) (*Note, *Response, error) // CreateEpicNote creates a new note for a single merge request. // Deprecated: use Work Items API instead. // // GitLab API docs: // https://docs.gitlab.com/api/notes/#create-new-epic-note CreateEpicNote(gid interface{}, epic int, opt *CreateEpicNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // UpdateEpicNote modifies existing note of an epic. // Deprecated: use Work Items API instead. // // https://docs.gitlab.com/api/notes/#modify-existing-epic-note UpdateEpicNote(gid interface{}, epic, note int, opt *UpdateEpicNoteOptions, options ...RequestOptionFunc) (*Note, *Response, error) // DeleteEpicNote deletes an existing note of a merge request. // Deprecated: use Work Items API instead. // // https://docs.gitlab.com/api/notes/#delete-an-epic-note DeleteEpicNote(gid interface{}, epic, note int, options ...RequestOptionFunc) (*Response, error) }
NotesService is an interface for gitlab.Client.Notes
type NotificationEvents ¶
type NotificationEvents = gitlab.NotificationEvents
NotificationEvents is an alias to gitlab.NotificationEvents
type NotificationLevelValue ¶
type NotificationLevelValue = gitlab.NotificationLevelValue
NotificationLevelValue is an alias to gitlab.NotificationLevelValue
type NotificationSettings ¶
type NotificationSettings = gitlab.NotificationSettings
NotificationSettings is an alias to gitlab.NotificationSettings
type NotificationSettingsOptions ¶
type NotificationSettingsOptions = gitlab.NotificationSettingsOptions
NotificationSettingsOptions is an alias to gitlab.NotificationSettingsOptions
type NotificationSettingsService ¶
type NotificationSettingsService interface { // GetGlobalSettings returns current notification settings and email address. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#global-notification-settings GetGlobalSettings(options ...RequestOptionFunc) (*NotificationSettings, *Response, error) // UpdateGlobalSettings updates current notification settings and email address. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#update-global-notification-settings UpdateGlobalSettings(opt *NotificationSettingsOptions, options ...RequestOptionFunc) (*NotificationSettings, *Response, error) // GetSettingsForGroup returns current group notification settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#group--project-level-notification-settings GetSettingsForGroup(gid interface{}, options ...RequestOptionFunc) (*NotificationSettings, *Response, error) // GetSettingsForProject returns current project notification settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#group--project-level-notification-settings GetSettingsForProject(pid interface{}, options ...RequestOptionFunc) (*NotificationSettings, *Response, error) // UpdateSettingsForGroup updates current group notification settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#update-groupproject-level-notification-settings UpdateSettingsForGroup(gid interface{}, opt *NotificationSettingsOptions, options ...RequestOptionFunc) (*NotificationSettings, *Response, error) // UpdateSettingsForProject updates current project notification settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/notification_settings.html#update-groupproject-level-notification-settings UpdateSettingsForProject(pid interface{}, opt *NotificationSettingsOptions, options ...RequestOptionFunc) (*NotificationSettings, *Response, error) }
NotificationSettingsService is an interface for gitlab.Client.NotificationSettings
type PackageFile ¶
type PackageFile = gitlab.PackageFile
PackageFile is an alias to gitlab.PackageFile
type PackageLinks ¶
type PackageLinks = gitlab.PackageLinks
PackageLinks is an alias to gitlab.PackageLinks
type PackagesService ¶
type PackagesService interface { // ListProjectPackages gets a list of packages in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/packages.html#within-a-project ListProjectPackages(pid interface{}, opt *ListProjectPackagesOptions, options ...RequestOptionFunc) ([]*Package, *Response, error) // ListGroupPackages gets a list of packages in a group. // // GitLab API docs: // https://docs.gitlab.com/ee/api/packages.html#within-a-group ListGroupPackages(gid interface{}, opt *ListGroupPackagesOptions, options ...RequestOptionFunc) ([]*GroupPackage, *Response, error) // ListPackageFiles gets a list of files that are within a package // // GitLab API docs: // https://docs.gitlab.com/ee/api/packages.html#list-package-files ListPackageFiles(pid interface{}, pkg int, opt *ListPackageFilesOptions, options ...RequestOptionFunc) ([]*PackageFile, *Response, error) // DeleteProjectPackage deletes a package in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/packages.html#delete-a-project-package DeleteProjectPackage(pid interface{}, pkg int, options ...RequestOptionFunc) (*Response, error) // DeletePackageFile deletes a file in project package // // GitLab API docs: // https://docs.gitlab.com/ee/api/packages.html#delete-a-package-file DeletePackageFile(pid interface{}, pkg, file int, options ...RequestOptionFunc) (*Response, error) }
PackagesService is an interface for gitlab.Client.Packages
type PagesDeployment ¶
type PagesDeployment = gitlab.PagesDeployment
PagesDeployment is an alias to gitlab.PagesDeployment
type PagesDomain ¶
type PagesDomain = gitlab.PagesDomain
PagesDomain is an alias to gitlab.PagesDomain
type PagesDomainsService ¶
type PagesDomainsService interface { // ListPagesDomains gets a list of project pages domains. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#list-pages-domains ListPagesDomains(pid interface{}, opt *ListPagesDomainsOptions, options ...RequestOptionFunc) ([]*PagesDomain, *Response, error) // ListAllPagesDomains gets a list of all pages domains. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#list-all-pages-domains ListAllPagesDomains(options ...RequestOptionFunc) ([]*PagesDomain, *Response, error) // GetPagesDomain get a specific pages domain for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#single-pages-domain GetPagesDomain(pid interface{}, domain string, options ...RequestOptionFunc) (*PagesDomain, *Response, error) // CreatePagesDomain creates a new project pages domain. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#create-new-pages-domain CreatePagesDomain(pid interface{}, opt *CreatePagesDomainOptions, options ...RequestOptionFunc) (*PagesDomain, *Response, error) // UpdatePagesDomain updates an existing project pages domain. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#update-pages-domain UpdatePagesDomain(pid interface{}, domain string, opt *UpdatePagesDomainOptions, options ...RequestOptionFunc) (*PagesDomain, *Response, error) // DeletePagesDomain deletes an existing prject pages domain. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages_domains.html#delete-pages-domain DeletePagesDomain(pid interface{}, domain string, options ...RequestOptionFunc) (*Response, error) }
PagesDomainsService is an interface for gitlab.Client.PagesDomains
type PagesService ¶
type PagesService interface { // UnpublishPages unpublished pages. The user must have admin privileges. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pages.html#unpublish-pages UnpublishPages(gid interface{}, options ...RequestOptionFunc) (*Response, error) // GetPages lists Pages settings for a project. The user must have at least // maintainer privileges. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/pages.html#get-pages-settings-for-a-project GetPages(gid interface{}, options ...RequestOptionFunc) (*Pages, *Response, error) // UpdatePages updates Pages settings for a project. The user must have // administrator privileges. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/pages.html#update-pages-settings-for-a-project UpdatePages(pid interface{}, opt UpdatePagesOptions, options ...RequestOptionFunc) (*Pages, *Response, error) }
PagesService is an interface for gitlab.Client.Pages
type PatchProjectJobTokenAccessSettingsOptions ¶
type PatchProjectJobTokenAccessSettingsOptions = gitlab.PatchProjectJobTokenAccessSettingsOptions
PatchProjectJobTokenAccessSettingsOptions is an alias to gitlab.PatchProjectJobTokenAccessSettingsOptions
type PendingInvite ¶
type PendingInvite = gitlab.PendingInvite
PendingInvite is an alias to gitlab.PendingInvite
type Permissions ¶
type Permissions = gitlab.Permissions
Permissions is an alias to gitlab.Permissions
type PersonalAccessToken ¶
type PersonalAccessToken = gitlab.PersonalAccessToken
PersonalAccessToken is an alias to gitlab.PersonalAccessToken
type PersonalAccessTokensService ¶
type PersonalAccessTokensService interface { // ListPersonalAccessTokens gets a list of all personal access tokens. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens ListPersonalAccessTokens(opt *ListPersonalAccessTokensOptions, options ...RequestOptionFunc) ([]*PersonalAccessToken, *Response, error) // GetSinglePersonalAccessTokenByID get a single personal access token by its ID. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#get-details-on-a-personal-access-token GetSinglePersonalAccessTokenByID(token int, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // GetSinglePersonalAccessToken get a single personal access token by using // passing the token in a header. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#self-inform GetSinglePersonalAccessToken(options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // RotatePersonalAccessToken is a backwards-compat shim for RotatePersonalAccessTokenByID. RotatePersonalAccessToken(token int, opt *RotatePersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // RotatePersonalAccessTokenByID revokes a token and returns a new token that // expires in one week per default. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#rotate-a-personal-access-token RotatePersonalAccessTokenByID(token int, opt *RotatePersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // RotatePersonalAccessTokenSelf revokes the currently authenticated token // and returns a new token that expires in one week per default. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#self-rotate RotatePersonalAccessTokenSelf(opt *RotatePersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // RevokePersonalAccessToken is a backwards-compat shim for RevokePersonalAccessTokenByID. RevokePersonalAccessToken(token int, options ...RequestOptionFunc) (*Response, error) // RevokePersonalAccessTokenByID revokes a personal access token by its ID. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#revoke-a-personal-access-token RevokePersonalAccessTokenByID(token int, options ...RequestOptionFunc) (*Response, error) // RevokePersonalAccessTokenSelf revokes the currently authenticated // personal access token. // // GitLab API docs: // https://docs.gitlab.com/api/personal_access_tokens/#self-revoke RevokePersonalAccessTokenSelf(options ...RequestOptionFunc) (*Response, error) }
PersonalAccessTokensService is an interface for gitlab.Client.PersonalAccessTokens
type PipelineEvent ¶
type PipelineEvent = gitlab.PipelineEvent
PipelineEvent is an alias to gitlab.PipelineEvent
type PipelineInfo ¶
type PipelineInfo = gitlab.PipelineInfo
PipelineInfo is an alias to gitlab.PipelineInfo
type PipelineSchedule ¶
type PipelineSchedule = gitlab.PipelineSchedule
PipelineSchedule is an alias to gitlab.PipelineSchedule
type PipelineSchedulesService ¶
type PipelineSchedulesService interface { // ListPipelineSchedules gets a list of project triggers. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#get-all-pipeline-schedules ListPipelineSchedules(pid interface{}, opt *ListPipelineSchedulesOptions, options ...RequestOptionFunc) ([]*PipelineSchedule, *Response, error) // GetPipelineSchedule gets a pipeline schedule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#get-a-single-pipeline-schedule GetPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error) // ListPipelinesTriggeredBySchedule gets all pipelines triggered by a pipeline // schedule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#get-all-pipelines-triggered-by-a-pipeline-schedule ListPipelinesTriggeredBySchedule(pid interface{}, schedule int, opt *ListPipelinesTriggeredByScheduleOptions, options ...RequestOptionFunc) ([]*Pipeline, *Response, error) // CreatePipelineSchedule creates a pipeline schedule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#create-a-new-pipeline-schedule CreatePipelineSchedule(pid interface{}, opt *CreatePipelineScheduleOptions, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error) // EditPipelineSchedule edits a pipeline schedule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#edit-a-pipeline-schedule EditPipelineSchedule(pid interface{}, schedule int, opt *EditPipelineScheduleOptions, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error) // TakeOwnershipOfPipelineSchedule sets the owner of the specified // pipeline schedule to the user issuing the request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#take-ownership-of-a-pipeline-schedule TakeOwnershipOfPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*PipelineSchedule, *Response, error) // DeletePipelineSchedule deletes a pipeline schedule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#delete-a-pipeline-schedule DeletePipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*Response, error) // RunPipelineSchedule triggers a new scheduled pipeline to run immediately. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#run-a-scheduled-pipeline-immediately RunPipelineSchedule(pid interface{}, schedule int, options ...RequestOptionFunc) (*Response, error) // CreatePipelineScheduleVariable creates a pipeline schedule variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#create-a-new-pipeline-schedule CreatePipelineScheduleVariable(pid interface{}, schedule int, opt *CreatePipelineScheduleVariableOptions, options ...RequestOptionFunc) (*PipelineVariable, *Response, error) // EditPipelineScheduleVariable creates a pipeline schedule variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#edit-a-pipeline-schedule-variable EditPipelineScheduleVariable(pid interface{}, schedule int, key string, opt *EditPipelineScheduleVariableOptions, options ...RequestOptionFunc) (*PipelineVariable, *Response, error) // DeletePipelineScheduleVariable creates a pipeline schedule variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_schedules.html#delete-a-pipeline-schedule-variable DeletePipelineScheduleVariable(pid interface{}, schedule int, key string, options ...RequestOptionFunc) (*PipelineVariable, *Response, error) }
PipelineSchedulesService is an interface for gitlab.Client.PipelineSchedules
type PipelineTestCases ¶
type PipelineTestCases = gitlab.PipelineTestCases
PipelineTestCases is an alias to gitlab.PipelineTestCases
type PipelineTestReport ¶
type PipelineTestReport = gitlab.PipelineTestReport
PipelineTestReport is an alias to gitlab.PipelineTestReport
type PipelineTestSuites ¶
type PipelineTestSuites = gitlab.PipelineTestSuites
PipelineTestSuites is an alias to gitlab.PipelineTestSuites
type PipelineTrigger ¶
type PipelineTrigger = gitlab.PipelineTrigger
PipelineTrigger is an alias to gitlab.PipelineTrigger
type PipelineTriggersService ¶
type PipelineTriggersService interface { // ListPipelineTriggers gets a list of project triggers. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#list-project-trigger-tokens ListPipelineTriggers(pid interface{}, opt *ListPipelineTriggersOptions, options ...RequestOptionFunc) ([]*PipelineTrigger, *Response, error) // GetPipelineTrigger gets a specific pipeline trigger for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#get-trigger-token-details GetPipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error) // AddPipelineTrigger adds a pipeline trigger to a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#create-a-trigger-token AddPipelineTrigger(pid interface{}, opt *AddPipelineTriggerOptions, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error) // EditPipelineTrigger edits a trigger for a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#update-a-project-trigger-token EditPipelineTrigger(pid interface{}, trigger int, opt *EditPipelineTriggerOptions, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error) // TakeOwnershipOfPipelineTrigger sets the owner of the specified // pipeline trigger to the user issuing the request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#take-ownership-of-a-project-trigger TakeOwnershipOfPipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*PipelineTrigger, *Response, error) // DeletePipelineTrigger removes a trigger from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#remove-a-project-trigger-token DeletePipelineTrigger(pid interface{}, trigger int, options ...RequestOptionFunc) (*Response, error) // RunPipelineTrigger starts a trigger from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipeline_triggers.html#trigger-a-pipeline-with-a-token RunPipelineTrigger(pid interface{}, opt *RunPipelineTriggerOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error) }
PipelineTriggersService is an interface for gitlab.Client.PipelineTriggers
type PipelineVariable ¶
type PipelineVariable = gitlab.PipelineVariable
PipelineVariable is an alias to gitlab.PipelineVariable
type PipelineVariableOptions ¶
type PipelineVariableOptions = gitlab.PipelineVariableOptions
PipelineVariableOptions is an alias to gitlab.PipelineVariableOptions
type PipelinesEmailProperties ¶
type PipelinesEmailProperties = gitlab.PipelinesEmailProperties
PipelinesEmailProperties is an alias to gitlab.PipelinesEmailProperties
type PipelinesEmailService ¶
type PipelinesEmailService = gitlab.PipelinesEmailService
PipelinesEmailService is an alias to gitlab.PipelinesEmailService
type PipelinesService ¶
type PipelinesService interface { // ListProjectPipelines gets a list of project piplines. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines ListProjectPipelines(pid interface{}, opt *ListProjectPipelinesOptions, options ...RequestOptionFunc) ([]*PipelineInfo, *Response, error) // GetPipeline gets a single project pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#get-a-single-pipeline GetPipeline(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error) // GetPipelineVariables gets the variables of a single project pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#get-variables-of-a-pipeline GetPipelineVariables(pid interface{}, pipeline int, options ...RequestOptionFunc) ([]*PipelineVariable, *Response, error) // GetPipelineTestReport gets the test report of a single project pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#get-a-pipelines-test-report GetPipelineTestReport(pid interface{}, pipeline int, options ...RequestOptionFunc) (*PipelineTestReport, *Response, error) // GetLatestPipeline gets the latest pipeline for a specific ref in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#get-the-latest-pipeline GetLatestPipeline(pid interface{}, opt *GetLatestPipelineOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error) // CreatePipeline creates a new project pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#create-a-new-pipeline CreatePipeline(pid interface{}, opt *CreatePipelineOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error) // RetryPipelineBuild retries failed builds in a pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#retry-jobs-in-a-pipeline RetryPipelineBuild(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error) // CancelPipelineBuild cancels a pipeline builds. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#cancel-a-pipelines-jobs CancelPipelineBuild(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Pipeline, *Response, error) // DeletePipeline deletes an existing pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#delete-a-pipeline DeletePipeline(pid interface{}, pipeline int, options ...RequestOptionFunc) (*Response, error) // UpdatePipelineMetadata You can update the metadata of a pipeline. The metadata // contains the name of the pipeline. // // GitLab API docs: // https://docs.gitlab.com/ee/api/pipelines.html#update-pipeline-metadata UpdatePipelineMetadata(pid interface{}, pipeline int, opt *UpdatePipelineMetadataOptions, options ...RequestOptionFunc) (*Pipeline, *Response, error) }
PipelinesService is an interface for gitlab.Client.Pipelines
type PlanLimitsService ¶
type PlanLimitsService interface { // List the current limits of a plan on the GitLab instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/plan_limits.html#get-current-plan-limits GetCurrentPlanLimits(opt *GetCurrentPlanLimitsOptions, options ...RequestOptionFunc) (*PlanLimit, *Response, error) // ChangePlanLimits modifies the limits of a plan on the GitLab instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/plan_limits.html#change-plan-limits ChangePlanLimits(opt *ChangePlanLimitOptions, options ...RequestOptionFunc) (*PlanLimit, *Response, error) }
PlanLimitsService is an interface for gitlab.Client.PlanLimits
type PlatformKubernetes ¶
type PlatformKubernetes = gitlab.PlatformKubernetes
PlatformKubernetes is an alias to gitlab.PlatformKubernetes
type PlayJobOptions ¶
type PlayJobOptions = gitlab.PlayJobOptions
PlayJobOptions is an alias to gitlab.PlayJobOptions
type PositionOptions ¶
type PositionOptions = gitlab.PositionOptions
PositionOptions is an alias to gitlab.PositionOptions
type PostCommitCommentOptions ¶
type PostCommitCommentOptions = gitlab.PostCommitCommentOptions
PostCommitCommentOptions is an alias to gitlab.PostCommitCommentOptions
type ProcessMetrics ¶
type ProcessMetrics = gitlab.ProcessMetrics
ProcessMetrics is an alias to gitlab.ProcessMetrics
type ProjectAccess ¶
type ProjectAccess = gitlab.ProjectAccess
ProjectAccess is an alias to gitlab.ProjectAccess
type ProjectAccessToken ¶
type ProjectAccessToken = gitlab.ProjectAccessToken
ProjectAccessToken is an alias to gitlab.ProjectAccessToken
type ProjectAccessTokensService ¶
type ProjectAccessTokensService interface { // ListProjectAccessTokens gets a list of all project access tokens in a // project. // // GitLab API docs: // https://docs.gitlab.com/api/project_access_tokens/#list-all-project-access-tokens ListProjectAccessTokens(pid interface{}, opt *ListProjectAccessTokensOptions, options ...RequestOptionFunc) ([]*ProjectAccessToken, *Response, error) // GetProjectAccessToken gets a single project access tokens in a project. // // GitLab API docs: // https://docs.gitlab.com/api/project_access_tokens/#get-details-on-a-project-access-token GetProjectAccessToken(pid interface{}, id int, options ...RequestOptionFunc) (*ProjectAccessToken, *Response, error) // CreateProjectAccessToken creates a new project access token. // // GitLab API docs: // https://docs.gitlab.com/api/project_access_tokens/#create-a-project-access-token CreateProjectAccessToken(pid interface{}, opt *CreateProjectAccessTokenOptions, options ...RequestOptionFunc) (*ProjectAccessToken, *Response, error) // RotateProjectAccessToken revokes a project access token and returns a new // project access token that expires in one week per default. // // GitLab API docs: // https://docs.gitlab.com/api/project_access_tokens/#rotate-a-project-access-token RotateProjectAccessToken(pid interface{}, id int, opt *RotateProjectAccessTokenOptions, options ...RequestOptionFunc) (*ProjectAccessToken, *Response, error) // RevokeProjectAccessToken revokes a project access token. // // GitLab API docs: // https://docs.gitlab.com/api/project_access_tokens/#revoke-a-project-access-token RevokeProjectAccessToken(pid interface{}, id int, options ...RequestOptionFunc) (*Response, error) }
ProjectAccessTokensService is an interface for gitlab.Client.ProjectAccessTokens
type ProjectApprovalRule ¶
type ProjectApprovalRule = gitlab.ProjectApprovalRule
ProjectApprovalRule is an alias to gitlab.ProjectApprovalRule
type ProjectApprovals ¶
type ProjectApprovals = gitlab.ProjectApprovals
ProjectApprovals is an alias to gitlab.ProjectApprovals
type ProjectAvatar ¶
type ProjectAvatar = gitlab.ProjectAvatar
ProjectAvatar is an alias to gitlab.ProjectAvatar
type ProjectBadge ¶
type ProjectBadge = gitlab.ProjectBadge
ProjectBadge is an alias to gitlab.ProjectBadge
type ProjectBadgePreviewOptions ¶
type ProjectBadgePreviewOptions = gitlab.ProjectBadgePreviewOptions
ProjectBadgePreviewOptions is an alias to gitlab.ProjectBadgePreviewOptions
type ProjectBadgesService ¶
type ProjectBadgesService interface { // ListProjectBadges gets a list of a project's badges and its group badges. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#list-all-badges-of-a-project ListProjectBadges(pid interface{}, opt *ListProjectBadgesOptions, options ...RequestOptionFunc) ([]*ProjectBadge, *Response, error) // GetProjectBadge gets a project badge. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#get-a-badge-of-a-project GetProjectBadge(pid interface{}, badge int, options ...RequestOptionFunc) (*ProjectBadge, *Response, error) // AddProjectBadge adds a badge to a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#add-a-badge-to-a-project AddProjectBadge(pid interface{}, opt *AddProjectBadgeOptions, options ...RequestOptionFunc) (*ProjectBadge, *Response, error) // EditProjectBadge updates a badge of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#edit-a-badge-of-a-project EditProjectBadge(pid interface{}, badge int, opt *EditProjectBadgeOptions, options ...RequestOptionFunc) (*ProjectBadge, *Response, error) // DeleteProjectBadge removes a badge from a project. Only project's // badges will be removed by using this endpoint. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#remove-a-badge-from-a-project DeleteProjectBadge(pid interface{}, badge int, options ...RequestOptionFunc) (*Response, error) // PreviewProjectBadge returns how the link_url and image_url final URLs would be after // resolving the placeholder interpolation. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_badges.html#preview-a-badge-from-a-project PreviewProjectBadge(pid interface{}, opt *ProjectBadgePreviewOptions, options ...RequestOptionFunc) (*ProjectBadge, *Response, error) }
ProjectBadgesService is an interface for gitlab.Client.ProjectBadges
type ProjectCluster ¶
type ProjectCluster = gitlab.ProjectCluster
ProjectCluster is an alias to gitlab.ProjectCluster
type ProjectClustersService ¶
type ProjectClustersService interface { // ListClusters gets a list of all clusters in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_clusters.html#list-project-clusters ListClusters(pid interface{}, options ...RequestOptionFunc) ([]*ProjectCluster, *Response, error) // GetCluster gets a cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_clusters.html#get-a-single-project-cluster GetCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*ProjectCluster, *Response, error) // AddCluster adds an existing cluster to the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_clusters.html#add-existing-cluster-to-project AddCluster(pid interface{}, opt *AddClusterOptions, options ...RequestOptionFunc) (*ProjectCluster, *Response, error) // EditCluster updates an existing project cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_clusters.html#edit-project-cluster EditCluster(pid interface{}, cluster int, opt *EditClusterOptions, options ...RequestOptionFunc) (*ProjectCluster, *Response, error) // DeleteCluster deletes an existing project cluster. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_clusters.html#delete-project-cluster DeleteCluster(pid interface{}, cluster int, options ...RequestOptionFunc) (*Response, error) }
ProjectClustersService is an interface for gitlab.Client.ProjectCluster
type ProjectCreationLevelValue ¶
type ProjectCreationLevelValue = gitlab.ProjectCreationLevelValue
ProjectCreationLevelValue is an alias to gitlab.ProjectCreationLevelValue
type ProjectDeployKey ¶
type ProjectDeployKey = gitlab.ProjectDeployKey
ProjectDeployKey is an alias to gitlab.ProjectDeployKey
type ProjectEvent ¶
type ProjectEvent = gitlab.ProjectEvent
ProjectEvent is an alias to gitlab.ProjectEvent
type ProjectFeatureFlag ¶
type ProjectFeatureFlag = gitlab.ProjectFeatureFlag
ProjectFeatureFlag is an alias to gitlab.ProjectFeatureFlag
type ProjectFeatureFlagScope ¶
type ProjectFeatureFlagScope = gitlab.ProjectFeatureFlagScope
ProjectFeatureFlagScope is an alias to gitlab.ProjectFeatureFlagScope
type ProjectFeatureFlagScopeOptions ¶
type ProjectFeatureFlagScopeOptions = gitlab.ProjectFeatureFlagScopeOptions
ProjectFeatureFlagScopeOptions is an alias to gitlab.ProjectFeatureFlagScopeOptions
type ProjectFeatureFlagService ¶
type ProjectFeatureFlagService interface { // ListProjectFeatureFlags returns a list with the feature flags of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/feature_flags.html#list-feature-flags-for-a-project ListProjectFeatureFlags(pid interface{}, opt *ListProjectFeatureFlagOptions, options ...RequestOptionFunc) ([]*ProjectFeatureFlag, *Response, error) // GetProjectFeatureFlag gets a single feature flag for the specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/feature_flags.html#get-a-single-feature-flag GetProjectFeatureFlag(pid interface{}, name string, options ...RequestOptionFunc) (*ProjectFeatureFlag, *Response, error) // CreateProjectFeatureFlag creates a feature flag // // Gitlab API docs: // https://docs.gitlab.com/ee/api/feature_flags.html#create-a-feature-flag CreateProjectFeatureFlag(pid interface{}, opt *CreateProjectFeatureFlagOptions, options ...RequestOptionFunc) (*ProjectFeatureFlag, *Response, error) // UpdateProjectFeatureFlag updates a feature flag // // Gitlab API docs: // https://docs.gitlab.com/ee/api/feature_flags.html#update-a-feature-flag UpdateProjectFeatureFlag(pid interface{}, name string, opt *UpdateProjectFeatureFlagOptions, options ...RequestOptionFunc) (*ProjectFeatureFlag, *Response, error) // DeleteProjectFeatureFlag deletes a feature flag // // Gitlab API docs: // https://docs.gitlab.com/ee/api/feature_flags.html#delete-a-feature-flag DeleteProjectFeatureFlag(pid interface{}, name string, options ...RequestOptionFunc) (*Response, error) }
ProjectFeatureFlagService is an interface for gitlab.Client.ProjectFeatureFlags
type ProjectFeatureFlagStrategy ¶
type ProjectFeatureFlagStrategy = gitlab.ProjectFeatureFlagStrategy
ProjectFeatureFlagStrategy is an alias to gitlab.ProjectFeatureFlagStrategy
type ProjectFeatureFlagStrategyParameter ¶
type ProjectFeatureFlagStrategyParameter = gitlab.ProjectFeatureFlagStrategyParameter
ProjectFeatureFlagStrategyParameter is an alias to gitlab.ProjectFeatureFlagStrategyParameter
type ProjectFile ¶
type ProjectFile = gitlab.ProjectFile
ProjectFile is an alias to gitlab.ProjectFile
type ProjectForkRelation ¶
type ProjectForkRelation = gitlab.ProjectForkRelation
ProjectForkRelation is an alias to gitlab.ProjectForkRelation
type ProjectGroup ¶
type ProjectGroup = gitlab.ProjectGroup
ProjectGroup is an alias to gitlab.ProjectGroup
type ProjectHook ¶
type ProjectHook = gitlab.ProjectHook
ProjectHook is an alias to gitlab.ProjectHook
type ProjectHookEvent ¶
type ProjectHookEvent = gitlab.ProjectHookEvent
ProjectHookEvent is an alias to gitlab.ProjectHookEvent
type ProjectImportExportService ¶
type ProjectImportExportService interface { // ScheduleExport schedules a project export. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_import_export.html#schedule-an-export ScheduleExport(pid interface{}, opt *ScheduleExportOptions, options ...RequestOptionFunc) (*Response, error) // ExportStatus get the status of export. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_import_export.html#export-status ExportStatus(pid interface{}, options ...RequestOptionFunc) (*ExportStatus, *Response, error) // ExportDownload download the finished export. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_import_export.html#export-download ExportDownload(pid interface{}, options ...RequestOptionFunc) ([]byte, *Response, error) // Import a project from an archive file. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_import_export.html#import-a-file ImportFromFile(archive io.Reader, opt *ImportFileOptions, options ...RequestOptionFunc) (*ImportStatus, *Response, error) // ImportStatus get the status of an import. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_import_export.html#import-status ImportStatus(pid interface{}, options ...RequestOptionFunc) (*ImportStatus, *Response, error) }
ProjectImportExportService is an interface for gitlab.Client.ProjectImportExport
type ProjectIteration ¶
type ProjectIteration = gitlab.ProjectIteration
ProjectIteration is an alias to gitlab.ProjectIteration
type ProjectIterationsService ¶
type ProjectIterationsService interface { // ListProjectIterations returns a list of projects iterations. // // GitLab API docs: // https://docs.gitlab.com/ee/api/iterations.html#list-project-iterations ListProjectIterations(pid interface{}, opt *ListProjectIterationsOptions, options ...RequestOptionFunc) ([]*ProjectIteration, *Response, error) }
ProjectIterationsService is an interface for gitlab.Client.ProjectIterations
type ProjectLanguages ¶
type ProjectLanguages = gitlab.ProjectLanguages
ProjectLanguages is an alias to gitlab.ProjectLanguages
type ProjectLicense ¶
type ProjectLicense = gitlab.ProjectLicense
ProjectLicense is an alias to gitlab.ProjectLicense
type ProjectLintOptions ¶
type ProjectLintOptions = gitlab.ProjectLintOptions
ProjectLintOptions is an alias to gitlab.ProjectLintOptions
type ProjectLintResult ¶
type ProjectLintResult = gitlab.ProjectLintResult
ProjectLintResult is an alias to gitlab.ProjectLintResult
type ProjectMarkdownUpload ¶
type ProjectMarkdownUpload = gitlab.ProjectMarkdownUpload
ProjectMarkdownUpload is an alias to gitlab.ProjectMarkdownUpload
type ProjectMarkdownUploadedFile ¶
type ProjectMarkdownUploadedFile = gitlab.ProjectMarkdownUploadedFile
ProjectMarkdownUploadedFile is an alias to gitlab.ProjectMarkdownUploadedFile
type ProjectMarkdownUploadsService ¶
type ProjectMarkdownUploadsService interface { // UploadProjectMarkdown uploads a markdown file to a project. // // GitLab docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#upload-a-file UploadProjectMarkdown(pid interface{}, content io.Reader, filename string, options ...RequestOptionFunc) (*ProjectMarkdownUploadedFile, *Response, error) // ListProjectMarkdownUploads gets all markdown uploads for a project. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#list-uploads ListProjectMarkdownUploads(pid interface{}, options ...RequestOptionFunc) ([]*ProjectMarkdownUpload, *Response, error) // DownloadProjectMarkdownUploadByID downloads a specific upload by ID. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#download-an-uploaded-file-by-id DownloadProjectMarkdownUploadByID(pid interface{}, uploadID int, options ...RequestOptionFunc) ([]byte, *Response, error) // DownloadProjectMarkdownUploadBySecretAndFilename downloads a specific upload // by secret and filename. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#download-an-uploaded-file-by-secret-and-filename DownloadProjectMarkdownUploadBySecretAndFilename(pid interface{}, secret string, filename string, options ...RequestOptionFunc) ([]byte, *Response, error) // DeleteProjectMarkdownUploadByID deletes an upload by ID. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#delete-an-uploaded-file-by-id DeleteProjectMarkdownUploadByID(pid interface{}, uploadID int, options ...RequestOptionFunc) (*Response, error) // DeleteProjectMarkdownUploadBySecretAndFilename deletes an upload // by secret and filename. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_markdown_uploads.html#delete-an-uploaded-file-by-secret-and-filename DeleteProjectMarkdownUploadBySecretAndFilename(pid interface{}, secret string, filename string, options ...RequestOptionFunc) (*Response, error) }
ProjectMarkdownUploadsService is an interface for gitlab.Client.ProjectMarkdownUploads
type ProjectMember ¶
type ProjectMember = gitlab.ProjectMember
ProjectMember is an alias to gitlab.ProjectMember
type ProjectMembersService ¶
type ProjectMembersService interface { // ListProjectMembers gets a list of a project's team members viewable by the // authenticated user. Returns only direct members and not inherited members // through ancestors groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project ListProjectMembers(pid interface{}, opt *ListProjectMembersOptions, options ...RequestOptionFunc) ([]*ProjectMember, *Response, error) // ListAllProjectMembers gets a list of a project's team members viewable by the // authenticated user. Returns a list including inherited members through // ancestor groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-and-invited-members ListAllProjectMembers(pid interface{}, opt *ListProjectMembersOptions, options ...RequestOptionFunc) ([]*ProjectMember, *Response, error) // GetProjectMember gets a project team member. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project GetProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*ProjectMember, *Response, error) // GetInheritedProjectMember gets a project team member, including inherited // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project-including-inherited-and-invited-members GetInheritedProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*ProjectMember, *Response, error) // AddProjectMember adds a user to a project team. This is an idempotent // method and can be called multiple times with the same parameters. Adding // team membership to a user that is already a member does not affect the // existing membership. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#add-a-member-to-a-group-or-project AddProjectMember(pid interface{}, opt *AddProjectMemberOptions, options ...RequestOptionFunc) (*ProjectMember, *Response, error) // EditProjectMember updates a project team member to a specified access level.. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#edit-a-member-of-a-group-or-project EditProjectMember(pid interface{}, user int, opt *EditProjectMemberOptions, options ...RequestOptionFunc) (*ProjectMember, *Response, error) // DeleteProjectMember removes a user from a project team. // // GitLab API docs: // https://docs.gitlab.com/ee/api/members.html#remove-a-member-from-a-group-or-project DeleteProjectMember(pid interface{}, user int, options ...RequestOptionFunc) (*Response, error) }
ProjectMembersService is an interface for gitlab.Client.ProjectMembers
type ProjectMirror ¶
type ProjectMirror = gitlab.ProjectMirror
ProjectMirror is an alias to gitlab.ProjectMirror
type ProjectMirrorService ¶
type ProjectMirrorService interface { // ListProjectMirror gets a list of mirrors configured on the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/remote_mirrors.html#list-a-projects-remote-mirrors ListProjectMirror(pid interface{}, opt *ListProjectMirrorOptions, options ...RequestOptionFunc) ([]*ProjectMirror, *Response, error) // GetProjectMirror gets a single mirror configured on the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/remote_mirrors.html#get-a-single-projects-remote-mirror GetProjectMirror(pid interface{}, mirror int, options ...RequestOptionFunc) (*ProjectMirror, *Response, error) // AddProjectMirror creates a new mirror on the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/remote_mirrors.html#create-a-push-mirror AddProjectMirror(pid interface{}, opt *AddProjectMirrorOptions, options ...RequestOptionFunc) (*ProjectMirror, *Response, error) // EditProjectMirror updates a project team member to a specified access level.. // // GitLab API docs: // https://docs.gitlab.com/ee/api/remote_mirrors.html#update-a-remote-mirrors-attributes EditProjectMirror(pid interface{}, mirror int, opt *EditProjectMirrorOptions, options ...RequestOptionFunc) (*ProjectMirror, *Response, error) // DeleteProjectMirror deletes a project mirror. // // GitLab API docs: // https://docs.gitlab.com/ee/api/remote_mirrors.html#delete-a-remote-mirror DeleteProjectMirror(pid interface{}, mirror int, options ...RequestOptionFunc) (*Response, error) }
ProjectMirrorService is an interface for gitlab.Client.ProjectMirrors
type ProjectNamespace ¶
type ProjectNamespace = gitlab.ProjectNamespace
ProjectNamespace is an alias to gitlab.ProjectNamespace
type ProjectNamespaceLintOptions ¶
type ProjectNamespaceLintOptions = gitlab.ProjectNamespaceLintOptions
ProjectNamespaceLintOptions is an alias to gitlab.ProjectNamespaceLintOptions
type ProjectPullMirrorDetails ¶
type ProjectPullMirrorDetails = gitlab.ProjectPullMirrorDetails
ProjectPullMirrorDetails is an alias to gitlab.ProjectPullMirrorDetails
type ProjectPushRules ¶
type ProjectPushRules = gitlab.ProjectPushRules
ProjectPushRules is an alias to gitlab.ProjectPushRules
type ProjectRepositoryStorageMove ¶
type ProjectRepositoryStorageMove = gitlab.ProjectRepositoryStorageMove
ProjectRepositoryStorageMove is an alias to gitlab.ProjectRepositoryStorageMove
type ProjectRepositoryStorageMoveService ¶
type ProjectRepositoryStorageMoveService interface { // RetrieveAllStorageMoves retrieves all project repository storage moves // accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#retrieve-all-project-repository-storage-moves RetrieveAllStorageMoves(opts RetrieveAllProjectStorageMovesOptions, options ...RequestOptionFunc) ([]*ProjectRepositoryStorageMove, *Response, error) // RetrieveAllStorageMovesForProject retrieves all repository storage moves for // a single project accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#retrieve-all-repository-storage-moves-for-a-project RetrieveAllStorageMovesForProject(project int, opts RetrieveAllProjectStorageMovesOptions, options ...RequestOptionFunc) ([]*ProjectRepositoryStorageMove, *Response, error) // GetStorageMove gets a single project repository storage move. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#get-a-single-project-repository-storage-move GetStorageMove(repositoryStorage int, options ...RequestOptionFunc) (*ProjectRepositoryStorageMove, *Response, error) // GetStorageMoveForProject gets a single repository storage move for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#get-a-single-repository-storage-move-for-a-project GetStorageMoveForProject(project int, repositoryStorage int, options ...RequestOptionFunc) (*ProjectRepositoryStorageMove, *Response, error) // ScheduleStorageMoveForProject schedule a repository to be moved for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#schedule-a-repository-storage-move-for-a-project ScheduleStorageMoveForProject(project int, opts ScheduleStorageMoveForProjectOptions, options ...RequestOptionFunc) (*ProjectRepositoryStorageMove, *Response, error) // ScheduleAllStorageMoves schedules all repositories to be moved. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_repository_storage_moves.html#schedule-repository-storage-moves-for-all-projects-on-a-storage-shard ScheduleAllStorageMoves(opts ScheduleAllProjectStorageMovesOptions, options ...RequestOptionFunc) (*Response, error) }
ProjectRepositoryStorageMoveService is an interface for gitlab.Client.ProjectRepositoryStorageMove
type ProjectReposityStorage ¶
type ProjectReposityStorage = gitlab.ProjectReposityStorage
ProjectReposityStorage is an alias to gitlab.ProjectReposityStorage
type ProjectResourceAccessTokenEvent ¶
type ProjectResourceAccessTokenEvent = gitlab.ProjectResourceAccessTokenEvent
ProjectResourceAccessTokenEvent is an alias to gitlab.ProjectResourceAccessTokenEvent
type ProjectSecuritySettings ¶
type ProjectSecuritySettings = gitlab.ProjectSecuritySettings
ProjectSecuritySettings is an alias to gitlab.ProjectSecuritySettings
type ProjectSecuritySettingsService ¶
type ProjectSecuritySettingsService interface { // ListProjectSecuritySettings lists all of a project's security settings. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_security_settings.html#list-project-security-settings ListProjectSecuritySettings(pid interface{}, options ...RequestOptionFunc) (*ProjectSecuritySettings, *Response, error) // UpdateSecretPushProtectionEnabledSetting updates the secret_push_protection_enabled // setting for the all projects in a project to the provided value. // // GitLab API Docs: // https://docs.gitlab.com/ee/api/project_security_settings.html#update-secret_push_protection_enabled-setting UpdateSecretPushProtectionEnabledSetting(pid interface{}, opt UpdateProjectSecuritySettingsOptions, options ...RequestOptionFunc) (*ProjectSecuritySettings, *Response, error) }
ProjectSecuritySettingsService is an interface for gitlab.Client.ProjectSecuritySettings
type ProjectSnippetsService ¶
type ProjectSnippetsService interface { // ListSnippets gets a list of project snippets. // // GitLab API docs: https://docs.gitlab.com/ee/api/project_snippets.html#list-snippets ListSnippets(pid interface{}, opt *ListProjectSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) // GetSnippet gets a single project snippet // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_snippets.html#single-snippet GetSnippet(pid interface{}, snippet int, options ...RequestOptionFunc) (*Snippet, *Response, error) // CreateSnippet creates a new project snippet. The user must have permission // to create new snippets. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_snippets.html#create-new-snippet CreateSnippet(pid interface{}, opt *CreateProjectSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error) // UpdateSnippet updates an existing project snippet. The user must have // permission to change an existing snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_snippets.html#update-snippet UpdateSnippet(pid interface{}, snippet int, opt *UpdateProjectSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error) // DeleteSnippet deletes an existing project snippet. This is an idempotent // function and deleting a non-existent snippet still returns a 200 OK status // code. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_snippets.html#delete-snippet DeleteSnippet(pid interface{}, snippet int, options ...RequestOptionFunc) (*Response, error) // SnippetContent returns the raw project snippet as plain text. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_snippets.html#snippet-content SnippetContent(pid interface{}, snippet int, options ...RequestOptionFunc) ([]byte, *Response, error) }
ProjectSnippetsService is an interface for gitlab.Client.ProjectSnippets
type ProjectStatusCheck ¶
type ProjectStatusCheck = gitlab.ProjectStatusCheck
ProjectStatusCheck is an alias to gitlab.ProjectStatusCheck
type ProjectSystemEvent ¶
type ProjectSystemEvent = gitlab.ProjectSystemEvent
ProjectSystemEvent is an alias to gitlab.ProjectSystemEvent
type ProjectTemplate ¶
type ProjectTemplate = gitlab.ProjectTemplate
ProjectTemplate is an alias to gitlab.ProjectTemplate
type ProjectTemplatesService ¶
type ProjectTemplatesService interface { // ListTemplates gets a list of project templates. // // GitLab API docs: https://docs.gitlab.com/ee/api/project_templates.html#get-all-templates-of-a-particular-type ListTemplates(pid interface{}, templateType string, opt *ListProjectTemplatesOptions, options ...RequestOptionFunc) ([]*ProjectTemplate, *Response, error) // GetProjectTemplate gets a single project template. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_templates.html#get-one-template-of-a-particular-type GetProjectTemplate(pid interface{}, templateType string, templateName string, options ...RequestOptionFunc) (*ProjectTemplate, *Response, error) }
ProjectTemplatesService is an interface for gitlab.Client.ProjectTemplates
type ProjectUser ¶
type ProjectUser = gitlab.ProjectUser
ProjectUser is an alias to gitlab.ProjectUser
type ProjectVariable ¶
type ProjectVariable = gitlab.ProjectVariable
ProjectVariable is an alias to gitlab.ProjectVariable
type ProjectVariablesService ¶
type ProjectVariablesService interface { // ListVariables gets a list of all variables in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_level_variables.html#list-project-variables ListVariables(pid interface{}, opt *ListProjectVariablesOptions, options ...RequestOptionFunc) ([]*ProjectVariable, *Response, error) // GetVariable gets a variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_level_variables.html#get-a-single-variable GetVariable(pid interface{}, key string, opt *GetProjectVariableOptions, options ...RequestOptionFunc) (*ProjectVariable, *Response, error) // CreateVariable creates a new project variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_level_variables.html#create-a-variable CreateVariable(pid interface{}, opt *CreateProjectVariableOptions, options ...RequestOptionFunc) (*ProjectVariable, *Response, error) // UpdateVariable updates a project's variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_level_variables.html#update-a-variable UpdateVariable(pid interface{}, key string, opt *UpdateProjectVariableOptions, options ...RequestOptionFunc) (*ProjectVariable, *Response, error) // RemoveVariable removes a project's variable. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_level_variables.html#delete-a-variable RemoveVariable(pid interface{}, key string, opt *RemoveProjectVariableOptions, options ...RequestOptionFunc) (*Response, error) }
ProjectVariablesService is an interface for gitlab.Client.ProjectVariables
type ProjectVulnerabilitiesService ¶
type ProjectVulnerabilitiesService interface { // ListProjectVulnerabilities gets a list of all project vulnerabilities. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_vulnerabilities.html#list-project-vulnerabilities ListProjectVulnerabilities(pid interface{}, opt *ListProjectVulnerabilitiesOptions, options ...RequestOptionFunc) ([]*ProjectVulnerability, *Response, error) // CreateVulnerability creates a new vulnerability on the selected project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/project_vulnerabilities.html#new-vulnerability CreateVulnerability(pid interface{}, opt *CreateVulnerabilityOptions, options ...RequestOptionFunc) (*ProjectVulnerability, *Response, error) }
ProjectVulnerabilitiesService is an interface for gitlab.Client.ProjectVulnerabilities
type ProjectVulnerability ¶
type ProjectVulnerability = gitlab.ProjectVulnerability
ProjectVulnerability is an alias to gitlab.ProjectVulnerability
type ProjectsService ¶
type ProjectsService interface { // ListProjects gets a list of projects accessible by the authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#list-all-projects ListProjects(opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // ListUserProjects gets a list of projects for the given user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-user-projects ListUserProjects(uid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // ListUserContributedProjects gets a list of visible projects a given user has contributed to. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-projects-a-user-has-contributed-to ListUserContributedProjects(uid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // ListUserStarredProjects gets a list of projects starred by the given user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-projects-starred-by-a-user ListUserStarredProjects(uid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // ListProjectsUsers gets a list of users for the given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#get-project-users ListProjectsUsers(pid interface{}, opt *ListProjectUserOptions, options ...RequestOptionFunc) ([]*ProjectUser, *Response, error) // ListProjectsGroups gets a list of groups for the given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-a-projects-groups ListProjectsGroups(pid interface{}, opt *ListProjectGroupOptions, options ...RequestOptionFunc) ([]*ProjectGroup, *Response, error) // GetProjectLanguages gets a list of languages used by the project // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#languages GetProjectLanguages(pid interface{}, options ...RequestOptionFunc) (*ProjectLanguages, *Response, error) // GetProject gets a specific project, identified by project ID or // NAMESPACE/PROJECT_NAME, which is owned by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#get-single-project GetProject(pid interface{}, opt *GetProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error) // CreateProject creates a new project owned by the authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#create-project CreateProject(opt *CreateProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error) // CreateProjectForUser creates a new project owned by the specified user. // Available only for admins. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#create-project-for-user CreateProjectForUser(user int, opt *CreateProjectForUserOptions, options ...RequestOptionFunc) (*Project, *Response, error) // EditProject updates an existing project. // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#edit-project EditProject(pid interface{}, opt *EditProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error) // ForkProject forks a project into the user namespace of the authenticated // user. // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#fork-project ForkProject(pid interface{}, opt *ForkProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error) // StarProject stars a given the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#star-a-project StarProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error) // ListProjectsInvitedGroups lists invited groups of a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-a-projects-invited-groups ListProjectsInvitedGroups(pid interface{}, opt *ListProjectInvidedGroupOptions, options ...RequestOptionFunc) ([]*ProjectGroup, *Response, error) // UnstarProject unstars a given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#unstar-a-project UnstarProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error) // ArchiveProject archives the project if the user is either admin or the // project owner of this project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#archive-a-project ArchiveProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error) // UnarchiveProject unarchives the project if the user is either admin or // the project owner of this project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#unarchive-a-project UnarchiveProject(pid interface{}, options ...RequestOptionFunc) (*Project, *Response, error) // DeleteProject removes a project including all associated resources // (issues, merge requests etc.) // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#delete-project DeleteProject(pid interface{}, opt *DeleteProjectOptions, options ...RequestOptionFunc) (*Response, error) // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#share-project-with-group ShareProjectWithGroup(pid interface{}, opt *ShareWithGroupOptions, options ...RequestOptionFunc) (*Response, error) // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#delete-a-shared-project-link-within-a-group DeleteSharedProjectFromGroup(pid interface{}, groupID int, options ...RequestOptionFunc) (*Response, error) // ListProjectHooks gets a list of project hooks. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-project-hooks ListProjectHooks(pid interface{}, opt *ListProjectHooksOptions, options ...RequestOptionFunc) ([]*ProjectHook, *Response, error) // GetProjectHook gets a specific hook for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#get-project-hook GetProjectHook(pid interface{}, hook int, options ...RequestOptionFunc) (*ProjectHook, *Response, error) // AddProjectHook adds a hook to a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#add-project-hook AddProjectHook(pid interface{}, opt *AddProjectHookOptions, options ...RequestOptionFunc) (*ProjectHook, *Response, error) // EditProjectHook edits a hook for a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#edit-project-hook EditProjectHook(pid interface{}, hook int, opt *EditProjectHookOptions, options ...RequestOptionFunc) (*ProjectHook, *Response, error) // DeleteProjectHook removes a hook from a project. This is an idempotent // method and can be called multiple times. Either the hook is available or not. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#delete-project-hook DeleteProjectHook(pid interface{}, hook int, options ...RequestOptionFunc) (*Response, error) // TriggerTestProjectHook Trigger a test hook for a specified project. // // In GitLab 17.0 and later, this endpoint has a special rate limit. // In GitLab 17.0 the rate was three requests per minute for each project hook. // In GitLab 17.1 this was changed to five requests per minute for each project // and authenticated user. // // To disable this limit on self-managed GitLab and GitLab Dedicated, // an administrator can disable the feature flag named web_hook_test_api_endpoint_rate_limit. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#trigger-a-test-project-hook TriggerTestProjectHook(pid interface{}, hook int, event ProjectHookEvent, options ...RequestOptionFunc) (*Response, error) // SetProjectCustomHeader creates or updates a project custom webhook header. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#set-a-custom-header SetProjectCustomHeader(pid interface{}, hook int, key string, opt *SetHookCustomHeaderOptions, options ...RequestOptionFunc) (*Response, error) // DeleteProjectCustomHeader deletes a project custom webhook header. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#delete-a-custom-header DeleteProjectCustomHeader(pid interface{}, hook int, key string, options ...RequestOptionFunc) (*Response, error) // CreateProjectForkRelation creates a forked from/to relation between // existing projects. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#create-a-forked-fromto-relation-between-existing-projects. CreateProjectForkRelation(pid interface{}, fork int, options ...RequestOptionFunc) (*ProjectForkRelation, *Response, error) // DeleteProjectForkRelation deletes an existing forked from relationship. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#delete-an-existing-forked-from-relationship DeleteProjectForkRelation(pid interface{}, options ...RequestOptionFunc) (*Response, error) // UploadFile uploads a file. // // Deprecated: UploadFile is deprecated and will be removed in a future release. // Use [ProjectMarkdownUploadsService.UploadProjectMarkdown] instead for uploading // markdown files to a project. // // GitLab API docs: https://docs.gitlab.com/ee/api/project_markdown_uploads.html#upload-a-file UploadFile(pid interface{}, content io.Reader, filename string, options ...RequestOptionFunc) (*ProjectFile, *Response, error) // UploadAvatar uploads an avatar. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#upload-a-project-avatar UploadAvatar(pid interface{}, avatar io.Reader, filename string, options ...RequestOptionFunc) (*Project, *Response, error) // DownloadAvatar downloads an avatar. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#download-a-project-avatar DownloadAvatar(pid interface{}, options ...RequestOptionFunc) (*bytes.Reader, *Response, error) // ListProjectForks gets a list of project forks. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#list-forks-of-a-project ListProjectForks(pid interface{}, opt *ListProjectsOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // GetProjectPushRules gets the push rules of a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#get-project-push-rules GetProjectPushRules(pid interface{}, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error) // AddProjectPushRule adds a push rule to a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#add-project-push-rule AddProjectPushRule(pid interface{}, opt *AddProjectPushRuleOptions, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error) // EditProjectPushRule edits a push rule for a specified project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#edit-project-push-rule EditProjectPushRule(pid interface{}, opt *EditProjectPushRuleOptions, options ...RequestOptionFunc) (*ProjectPushRules, *Response, error) // DeleteProjectPushRule removes a push rule from a project. This is an // idempotent method and can be called multiple times. Either the push rule is // available or not. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#delete-project-push-rule DeleteProjectPushRule(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetApprovalConfiguration get the approval configuration for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-configuration GetApprovalConfiguration(pid interface{}, options ...RequestOptionFunc) (*ProjectApprovals, *Response, error) // ChangeApprovalConfiguration updates the approval configuration for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-configuration ChangeApprovalConfiguration(pid interface{}, opt *ChangeApprovalConfigurationOptions, options ...RequestOptionFunc) (*ProjectApprovals, *Response, error) // GetProjectApprovalRules looks up the list of project level approver rules. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-project-level-rules GetProjectApprovalRules(pid interface{}, opt *GetProjectApprovalRulesListsOptions, options ...RequestOptionFunc) ([]*ProjectApprovalRule, *Response, error) // GetProjectApprovalRule gets the project level approvers. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-a-single-project-level-rule GetProjectApprovalRule(pid interface{}, ruleID int, options ...RequestOptionFunc) (*ProjectApprovalRule, *Response, error) // CreateProjectApprovalRule creates a new project-level approval rule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule CreateProjectApprovalRule(pid interface{}, opt *CreateProjectLevelRuleOptions, options ...RequestOptionFunc) (*ProjectApprovalRule, *Response, error) // UpdateProjectApprovalRule updates an existing approval rule with new options. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#update-project-level-rule UpdateProjectApprovalRule(pid interface{}, approvalRule int, opt *UpdateProjectLevelRuleOptions, options ...RequestOptionFunc) (*ProjectApprovalRule, *Response, error) // DeleteProjectApprovalRule deletes a project-level approval rule. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#delete-project-level-rule DeleteProjectApprovalRule(pid interface{}, approvalRule int, options ...RequestOptionFunc) (*Response, error) // ChangeAllowedApprovers updates the list of approvers and approver groups. // // GitLab API docs: // https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-allowed-approvers ChangeAllowedApprovers(pid interface{}, opt *ChangeAllowedApproversOptions, options ...RequestOptionFunc) (*ProjectApprovals, *Response, error) // GetProjectPullMirrorDetails returns the pull mirror details. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#get-a-projects-pull-mirror-details GetProjectPullMirrorDetails(pid interface{}, options ...RequestOptionFunc) (*ProjectPullMirrorDetails, *Response, error) // StartMirroringProject start the pull mirroring process for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#start-the-pull-mirroring-process-for-a-project StartMirroringProject(pid interface{}, options ...RequestOptionFunc) (*Response, error) // TransferProject transfer a project into the specified namespace // // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#transfer-a-project-to-a-new-namespace TransferProject(pid interface{}, opt *TransferProjectOptions, options ...RequestOptionFunc) (*Project, *Response, error) // StartHousekeepingProject start the Housekeeping task for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/projects.html#start-the-housekeeping-task-for-a-project StartHousekeepingProject(pid interface{}, options ...RequestOptionFunc) (*Response, error) GetRepositoryStorage(pid interface{}, options ...RequestOptionFunc) (*ProjectReposityStorage, *Response, error) }
ProjectsService is an interface for gitlab.Client.Projects
type PrometheusService ¶
type PrometheusService = gitlab.PrometheusService
PrometheusService is an alias to gitlab.PrometheusService
type PrometheusServiceProperties ¶
type PrometheusServiceProperties = gitlab.PrometheusServiceProperties
PrometheusServiceProperties is an alias to gitlab.PrometheusServiceProperties
type ProtectBranchOptions ¶
type ProtectBranchOptions = gitlab.ProtectBranchOptions
ProtectBranchOptions is an alias to gitlab.ProtectBranchOptions
type ProtectGroupEnvironmentOptions ¶
type ProtectGroupEnvironmentOptions = gitlab.ProtectGroupEnvironmentOptions
ProtectGroupEnvironmentOptions is an alias to gitlab.ProtectGroupEnvironmentOptions
type ProtectRepositoryBranchesOptions ¶
type ProtectRepositoryBranchesOptions = gitlab.ProtectRepositoryBranchesOptions
ProtectRepositoryBranchesOptions is an alias to gitlab.ProtectRepositoryBranchesOptions
type ProtectRepositoryEnvironmentsOptions ¶
type ProtectRepositoryEnvironmentsOptions = gitlab.ProtectRepositoryEnvironmentsOptions
ProtectRepositoryEnvironmentsOptions is an alias to gitlab.ProtectRepositoryEnvironmentsOptions
type ProtectRepositoryTagsOptions ¶
type ProtectRepositoryTagsOptions = gitlab.ProtectRepositoryTagsOptions
ProtectRepositoryTagsOptions is an alias to gitlab.ProtectRepositoryTagsOptions
type ProtectedBranch ¶
type ProtectedBranch = gitlab.ProtectedBranch
ProtectedBranch is an alias to gitlab.ProtectedBranch
type ProtectedBranchesService ¶
type ProtectedBranchesService interface { // ListProtectedBranches gets a list of protected branches from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#list-protected-branches ListProtectedBranches(pid interface{}, opt *ListProtectedBranchesOptions, options ...RequestOptionFunc) ([]*ProtectedBranch, *Response, error) // GetProtectedBranch gets a single protected branch or wildcard protected branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#get-a-single-protected-branch-or-wildcard-protected-branch GetProtectedBranch(pid interface{}, branch string, options ...RequestOptionFunc) (*ProtectedBranch, *Response, error) // ProtectRepositoryBranches protects a single repository branch or several // project repository branches using a wildcard protected branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches ProtectRepositoryBranches(pid interface{}, opt *ProtectRepositoryBranchesOptions, options ...RequestOptionFunc) (*ProtectedBranch, *Response, error) // UnprotectRepositoryBranches unprotects the given protected branch or wildcard // protected branch. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#unprotect-repository-branches UnprotectRepositoryBranches(pid interface{}, branch string, options ...RequestOptionFunc) (*Response, error) // UpdateProtectedBranch updates a protected branch. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#update-a-protected-branch UpdateProtectedBranch(pid interface{}, branch string, opt *UpdateProtectedBranchOptions, options ...RequestOptionFunc) (*ProtectedBranch, *Response, error) // RequireCodeOwnerApprovals updates the code owner approval option. // // Deprecated: Use UpdateProtectedBranch() instead. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/protected_branches.html#update-a-protected-branch RequireCodeOwnerApprovals(pid interface{}, branch string, opt *RequireCodeOwnerApprovalsOptions, options ...RequestOptionFunc) (*Response, error) }
ProtectedBranchesService is an interface for gitlab.Client.ProtectedBranches
type ProtectedEnvironment ¶
type ProtectedEnvironment = gitlab.ProtectedEnvironment
ProtectedEnvironment is an alias to gitlab.ProtectedEnvironment
type ProtectedEnvironmentsService ¶
type ProtectedEnvironmentsService interface { // ListProtectedEnvironments returns a list of protected environments from a // project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_environments.html#list-protected-environments ListProtectedEnvironments(pid interface{}, opt *ListProtectedEnvironmentsOptions, options ...RequestOptionFunc) ([]*ProtectedEnvironment, *Response, error) // GetProtectedEnvironment returns a single protected environment or wildcard // protected environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_environments.html#get-a-single-protected-environment GetProtectedEnvironment(pid interface{}, environment string, options ...RequestOptionFunc) (*ProtectedEnvironment, *Response, error) // ProtectRepositoryEnvironments protects a single repository environment or // several project repository environments using wildcard protected environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_environments.html#protect-a-single-environment ProtectRepositoryEnvironments(pid interface{}, opt *ProtectRepositoryEnvironmentsOptions, options ...RequestOptionFunc) (*ProtectedEnvironment, *Response, error) // UpdateProtectedEnvironments updates a single repository environment or // several project repository environments using wildcard protected environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_environments.html#update-a-protected-environment UpdateProtectedEnvironments(pid interface{}, environment string, opt *UpdateProtectedEnvironmentsOptions, options ...RequestOptionFunc) (*ProtectedEnvironment, *Response, error) // UnprotectEnvironment unprotects the given protected environment or wildcard // protected environment. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_environments.html#unprotect-a-single-environment UnprotectEnvironment(pid interface{}, environment string, options ...RequestOptionFunc) (*Response, error) }
ProtectedEnvironmentsService is an interface for gitlab.Client.ProtectedEnvironments
type ProtectedTag ¶
type ProtectedTag = gitlab.ProtectedTag
ProtectedTag is an alias to gitlab.ProtectedTag
type ProtectedTagsService ¶
type ProtectedTagsService interface { // ListProtectedTags returns a list of protected tags from a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_tags.html#list-protected-tags ListProtectedTags(pid interface{}, opt *ListProtectedTagsOptions, options ...RequestOptionFunc) ([]*ProtectedTag, *Response, error) // GetProtectedTag returns a single protected tag or wildcard protected tag. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_tags.html#get-a-single-protected-tag-or-wildcard-protected-tag GetProtectedTag(pid interface{}, tag string, options ...RequestOptionFunc) (*ProtectedTag, *Response, error) // ProtectRepositoryTags protects a single repository tag or several project // repository tags using a wildcard protected tag. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_tags.html#protect-repository-tags ProtectRepositoryTags(pid interface{}, opt *ProtectRepositoryTagsOptions, options ...RequestOptionFunc) (*ProtectedTag, *Response, error) // UnprotectRepositoryTags unprotects the given protected tag or wildcard // protected tag. // // GitLab API docs: // https://docs.gitlab.com/ee/api/protected_tags.html#unprotect-repository-tags UnprotectRepositoryTags(pid interface{}, tag string, options ...RequestOptionFunc) (*Response, error) }
ProtectedTagsService is an interface for gitlab.Client.ProtectedTags
type PublishPackageFileOptions ¶
type PublishPackageFileOptions = gitlab.PublishPackageFileOptions
PublishPackageFileOptions is an alias to gitlab.PublishPackageFileOptions
type PushSystemEvent ¶
type PushSystemEvent = gitlab.PushSystemEvent
PushSystemEvent is an alias to gitlab.PushSystemEvent
type QueueMetrics ¶
type QueueMetrics = gitlab.QueueMetrics
QueueMetrics is an alias to gitlab.QueueMetrics
type RateLimiter ¶
type RateLimiter = gitlab.RateLimiter
RateLimiter is an alias to gitlab.RateLimiter
type RebaseMergeRequestOptions ¶
type RebaseMergeRequestOptions = gitlab.RebaseMergeRequestOptions
RebaseMergeRequestOptions is an alias to gitlab.RebaseMergeRequestOptions
type RecentFailures ¶
type RecentFailures = gitlab.RecentFailures
RecentFailures is an alias to gitlab.RecentFailures
type RedmineService ¶
type RedmineService = gitlab.RedmineService
RedmineService is an alias to gitlab.RedmineService
type RedmineServiceProperties ¶
type RedmineServiceProperties = gitlab.RedmineServiceProperties
RedmineServiceProperties is an alias to gitlab.RedmineServiceProperties
type RegisterAgentOptions ¶
type RegisterAgentOptions = gitlab.RegisterAgentOptions
RegisterAgentOptions is an alias to gitlab.RegisterAgentOptions
type RegisterNewRunnerInfoOptions ¶
type RegisterNewRunnerInfoOptions = gitlab.RegisterNewRunnerInfoOptions
RegisterNewRunnerInfoOptions is an alias to gitlab.RegisterNewRunnerInfoOptions
type RegisterNewRunnerOptions ¶
type RegisterNewRunnerOptions = gitlab.RegisterNewRunnerOptions
RegisterNewRunnerOptions is an alias to gitlab.RegisterNewRunnerOptions
type RegistryRepository ¶
type RegistryRepository = gitlab.RegistryRepository
RegistryRepository is an alias to gitlab.RegistryRepository
type RegistryRepositoryTag ¶
type RegistryRepositoryTag = gitlab.RegistryRepositoryTag
RegistryRepositoryTag is an alias to gitlab.RegistryRepositoryTag
type ReleaseAssetLinkOptions ¶
type ReleaseAssetLinkOptions = gitlab.ReleaseAssetLinkOptions
ReleaseAssetLinkOptions is an alias to gitlab.ReleaseAssetLinkOptions
type ReleaseAssetsOptions ¶
type ReleaseAssetsOptions = gitlab.ReleaseAssetsOptions
ReleaseAssetsOptions is an alias to gitlab.ReleaseAssetsOptions
type ReleaseEvent ¶
type ReleaseEvent = gitlab.ReleaseEvent
ReleaseEvent is an alias to gitlab.ReleaseEvent
type ReleaseEvidence ¶
type ReleaseEvidence = gitlab.ReleaseEvidence
ReleaseEvidence is an alias to gitlab.ReleaseEvidence
type ReleaseLink ¶
type ReleaseLink = gitlab.ReleaseLink
ReleaseLink is an alias to gitlab.ReleaseLink
type ReleaseLinksService ¶
type ReleaseLinksService interface { // ListReleaseLinks gets assets as links from a Release. // // GitLab API docs: https://docs.gitlab.com/ee/api/releases/links.html#list-links-of-a-release ListReleaseLinks(pid interface{}, tagName string, opt *ListReleaseLinksOptions, options ...RequestOptionFunc) ([]*ReleaseLink, *Response, error) // GetReleaseLink returns a link from release assets. // // GitLab API docs: https://docs.gitlab.com/ee/api/releases/links.html#get-a-release-link GetReleaseLink(pid interface{}, tagName string, link int, options ...RequestOptionFunc) (*ReleaseLink, *Response, error) // CreateReleaseLink creates a link. // // GitLab API docs: https://docs.gitlab.com/ee/api/releases/links.html#create-a-release-link CreateReleaseLink(pid interface{}, tagName string, opt *CreateReleaseLinkOptions, options ...RequestOptionFunc) (*ReleaseLink, *Response, error) // UpdateReleaseLink updates an asset link. // // GitLab API docs: https://docs.gitlab.com/ee/api/releases/links.html#update-a-release-link UpdateReleaseLink(pid interface{}, tagName string, link int, opt *UpdateReleaseLinkOptions, options ...RequestOptionFunc) (*ReleaseLink, *Response, error) // DeleteReleaseLink deletes a link from release. // // GitLab API docs: https://docs.gitlab.com/ee/api/releases/links.html#delete-a-release-link DeleteReleaseLink(pid interface{}, tagName string, link int, options ...RequestOptionFunc) (*ReleaseLink, *Response, error) }
ReleaseLinksService is an interface for gitlab.Client.ReleaseLinks
type ReleaseMilestone ¶
type ReleaseMilestone = gitlab.ReleaseMilestone
ReleaseMilestone is an alias to gitlab.ReleaseMilestone
type ReleaseMilestoneIssueStats ¶
type ReleaseMilestoneIssueStats = gitlab.ReleaseMilestoneIssueStats
ReleaseMilestoneIssueStats is an alias to gitlab.ReleaseMilestoneIssueStats
type ReleaseNote ¶
type ReleaseNote = gitlab.ReleaseNote
ReleaseNote is an alias to gitlab.ReleaseNote
type ReleasesService ¶
type ReleasesService interface { // ListReleases gets a pagenated of releases accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/index.html#list-releases ListReleases(pid interface{}, opt *ListReleasesOptions, options ...RequestOptionFunc) ([]*Release, *Response, error) // GetRelease returns a single release, identified by a tag name. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/index.html#get-a-release-by-a-tag-name GetRelease(pid interface{}, tagName string, options ...RequestOptionFunc) (*Release, *Response, error) // GetLatestRelease returns the latest release for the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/#get-the-latest-release GetLatestRelease(pid interface{}, options ...RequestOptionFunc) (*Release, *Response, error) // CreateRelease creates a release. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/index.html#create-a-release CreateRelease(pid interface{}, opts *CreateReleaseOptions, options ...RequestOptionFunc) (*Release, *Response, error) // UpdateRelease updates a release. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/index.html#update-a-release UpdateRelease(pid interface{}, tagName string, opts *UpdateReleaseOptions, options ...RequestOptionFunc) (*Release, *Response, error) // DeleteRelease deletes a release. // // GitLab API docs: // https://docs.gitlab.com/ee/api/releases/index.html#delete-a-release DeleteRelease(pid interface{}, tagName string, options ...RequestOptionFunc) (*Release, *Response, error) }
ReleasesService is an interface for gitlab.Client.Releases
type RemoveGroupMemberOptions ¶
type RemoveGroupMemberOptions = gitlab.RemoveGroupMemberOptions
RemoveGroupMemberOptions is an alias to gitlab.RemoveGroupMemberOptions
type RemoveGroupVariableOptions ¶
type RemoveGroupVariableOptions = gitlab.RemoveGroupVariableOptions
RemoveGroupVariableOptions is an alias to gitlab.RemoveGroupVariableOptions
type RemoveProjectVariableOptions ¶
type RemoveProjectVariableOptions = gitlab.RemoveProjectVariableOptions
RemoveProjectVariableOptions is an alias to gitlab.RemoveProjectVariableOptions
type RenderOptions ¶
type RenderOptions = gitlab.RenderOptions
RenderOptions is an alias to gitlab.RenderOptions
type ReorderIssueOptions ¶
type ReorderIssueOptions = gitlab.ReorderIssueOptions
ReorderIssueOptions is an alias to gitlab.ReorderIssueOptions
type RepositoriesService ¶
type RepositoriesService interface { // ListTree gets a list of repository files and directories in a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#list-repository-tree ListTree(pid interface{}, opt *ListTreeOptions, options ...RequestOptionFunc) ([]*TreeNode, *Response, error) // Blob gets information about blob in repository like size and content. Note // that blob content is Base64 encoded. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#get-a-blob-from-repository Blob(pid interface{}, sha string, options ...RequestOptionFunc) ([]byte, *Response, error) // RawBlobContent gets the raw file contents for a blob by blob SHA. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#raw-blob-content RawBlobContent(pid interface{}, sha string, options ...RequestOptionFunc) ([]byte, *Response, error) // Archive gets an archive of the repository. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#get-file-archive Archive(pid interface{}, opt *ArchiveOptions, options ...RequestOptionFunc) ([]byte, *Response, error) // StreamArchive streams an archive of the repository to the provided // io.Writer. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#get-file-archive StreamArchive(pid interface{}, w io.Writer, opt *ArchiveOptions, options ...RequestOptionFunc) (*Response, error) // Compare compares branches, tags or commits. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#compare-branches-tags-or-commits Compare(pid interface{}, opt *CompareOptions, options ...RequestOptionFunc) (*Compare, *Response, error) // Contributors gets the repository contributors list. // // GitLab API docs: https://docs.gitlab.com/ee/api/repositories.html#contributors Contributors(pid interface{}, opt *ListContributorsOptions, options ...RequestOptionFunc) ([]*Contributor, *Response, error) // MergeBase gets the common ancestor for 2 refs (commit SHAs, branch // names or tags). // // GitLab API docs: // https://docs.gitlab.com/ee/api/repositories.html#merge-base MergeBase(pid interface{}, opt *MergeBaseOptions, options ...RequestOptionFunc) (*Commit, *Response, error) // AddChangelog generates changelog data based on commits in a repository. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/repositories.html#add-changelog-data-to-a-changelog-file AddChangelog(pid interface{}, opt *AddChangelogOptions, options ...RequestOptionFunc) (*Response, error) // GenerateChangelogData generates changelog data based on commits in a // repository, without committing them to a changelog file. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/repositories.html#generate-changelog-data GenerateChangelogData(pid interface{}, opt GenerateChangelogDataOptions, options ...RequestOptionFunc) (*ChangelogData, *Response, error) }
RepositoriesService is an interface for gitlab.Client.Repositories
type RepositoryFilesService ¶
type RepositoryFilesService interface { // GetFile allows you to receive information about a file in repository like // name, size, content. Note that file content is Base64 encoded. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository GetFile(pid interface{}, fileName string, opt *GetFileOptions, options ...RequestOptionFunc) (*File, *Response, error) // GetFileMetaData allows you to receive meta information about a file in // repository like name, size. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository GetFileMetaData(pid interface{}, fileName string, opt *GetFileMetaDataOptions, options ...RequestOptionFunc) (*File, *Response, error) // GetFileBlame allows you to receive blame information. Each blame range // contains lines and corresponding commit info. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#get-file-blame-from-repository GetFileBlame(pid interface{}, file string, opt *GetFileBlameOptions, options ...RequestOptionFunc) ([]*FileBlameRange, *Response, error) // GetRawFile allows you to receive the raw file in repository. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#get-raw-file-from-repository GetRawFile(pid interface{}, fileName string, opt *GetRawFileOptions, options ...RequestOptionFunc) ([]byte, *Response, error) // CreateFile creates a new file in a repository. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#create-new-file-in-repository CreateFile(pid interface{}, fileName string, opt *CreateFileOptions, options ...RequestOptionFunc) (*FileInfo, *Response, error) // UpdateFile updates an existing file in a repository // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#update-existing-file-in-repository UpdateFile(pid interface{}, fileName string, opt *UpdateFileOptions, options ...RequestOptionFunc) (*FileInfo, *Response, error) // DeleteFile deletes an existing file in a repository // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_files.html#delete-existing-file-in-repository DeleteFile(pid interface{}, fileName string, opt *DeleteFileOptions, options ...RequestOptionFunc) (*Response, error) }
RepositoryFilesService is an interface for gitlab.Client.RepositoryFiles
type RepositoryGroup ¶
type RepositoryGroup = gitlab.RepositoryGroup
RepositoryGroup is an alias to gitlab.RepositoryGroup
type RepositoryProject ¶
type RepositoryProject = gitlab.RepositoryProject
RepositoryProject is an alias to gitlab.RepositoryProject
type RepositorySnippet ¶
type RepositorySnippet = gitlab.RepositorySnippet
RepositorySnippet is an alias to gitlab.RepositorySnippet
type RepositorySubmodulesService ¶
type RepositorySubmodulesService interface { // UpdateSubmodule updates an existing submodule reference. // // GitLab API docs: // https://docs.gitlab.com/ee/api/repository_submodules.html#update-existing-submodule-reference-in-repository UpdateSubmodule(pid interface{}, submodule string, opt *UpdateSubmoduleOptions, options ...RequestOptionFunc) (*SubmoduleCommit, *Response, error) }
RepositorySubmodulesService is an interface for gitlab.Client.RepositorySubmodules
type RepositoryUpdateSystemEvent ¶
type RepositoryUpdateSystemEvent = gitlab.RepositoryUpdateSystemEvent
RepositoryUpdateSystemEvent is an alias to gitlab.RepositoryUpdateSystemEvent
type RequestOptionFunc ¶
type RequestOptionFunc = gitlab.RequestOptionFunc
RequestOptionFunc is an alias to gitlab.RequestOptionFunc
type RequireCodeOwnerApprovalsOptions ¶
type RequireCodeOwnerApprovalsOptions = gitlab.RequireCodeOwnerApprovalsOptions
RequireCodeOwnerApprovalsOptions is an alias to gitlab.RequireCodeOwnerApprovalsOptions
type ResolveMergeRequestDiscussionOptions ¶
type ResolveMergeRequestDiscussionOptions = gitlab.ResolveMergeRequestDiscussionOptions
ResolveMergeRequestDiscussionOptions is an alias to gitlab.ResolveMergeRequestDiscussionOptions
type ResourceGroup ¶
type ResourceGroup = gitlab.ResourceGroup
ResourceGroup is an alias to gitlab.ResourceGroup
type ResourceGroupProcessMode ¶
type ResourceGroupProcessMode = gitlab.ResourceGroupProcessMode
ResourceGroupProcessMode is an alias to gitlab.ResourceGroupProcessMode
type ResourceGroupService ¶
type ResourceGroupService interface { // GetAllResourceGroupsForAProject allows you to get all resource // groups associated with a given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_groups.html#get-all-resource-groups-for-a-project GetAllResourceGroupsForAProject(pid interface{}, options ...RequestOptionFunc) ([]*ResourceGroup, *Response, error) // GetASpecificResourceGroup allows you to get a specific // resource group for a given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_groups.html#get-a-specific-resource-group GetASpecificResourceGroup(pid interface{}, key string, options ...RequestOptionFunc) (*ResourceGroup, *Response, error) // ListUpcomingJobsForASpecificResourceGroup allows you to get all // upcoming jobs for a specific resource group for a given project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_groups.html#list-upcoming-jobs-for-a-specific-resource-group ListUpcomingJobsForASpecificResourceGroup(pid interface{}, key string, options ...RequestOptionFunc) ([]*Job, *Response, error) // EditAnExistingResourceGroup allows you to edit a specific // resource group for a given project // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_groups.html#edit-an-existing-resource-group EditAnExistingResourceGroup(pid interface{}, key string, opts *EditAnExistingResourceGroupOptions, options ...RequestOptionFunc) (*ResourceGroup, *Response, error) }
ResourceGroupService is an interface for gitlab.Client.ResourceGroup
type ResourceIterationEventsService ¶
type ResourceIterationEventsService interface { // ListIssueIterationEvents retrieves resource iteration events for the // specified project and issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_iteration_events.html#list-project-issue-iteration-events ListIssueIterationEvents(pid interface{}, issue int, opt *ListIterationEventsOptions, options ...RequestOptionFunc) ([]*IterationEvent, *Response, error) // GetIssueIterationEvent gets a single issue iteration event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_iteration_events.html#get-single-issue-iteration-event GetIssueIterationEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*IterationEvent, *Response, error) }
ResourceIterationEventsService is an interface for gitlab.Client.ResourceIterationEvents
type ResourceLabelEventsService ¶
type ResourceLabelEventsService interface { // ListIssueLabelEvents retrieves resource label events for the // specified project and issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#list-project-issue-label-events ListIssueLabelEvents(pid interface{}, issue int, opt *ListLabelEventsOptions, options ...RequestOptionFunc) ([]*LabelEvent, *Response, error) // GetIssueLabelEvent gets a single issue-label-event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#get-single-issue-label-event GetIssueLabelEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error) // ListGroupEpicLabelEvents retrieves resource label events for the specified // group and epic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#list-group-epic-label-events ListGroupEpicLabelEvents(gid interface{}, epic int, opt *ListLabelEventsOptions, options ...RequestOptionFunc) ([]*LabelEvent, *Response, error) // GetGroupEpicLabelEvent gets a single group epic label event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#get-single-epic-label-event GetGroupEpicLabelEvent(gid interface{}, epic int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error) // ListMergeRequestsLabelEvents retrieves resource label events for the specified // project and merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#list-project-merge-request-label-events ListMergeRequestsLabelEvents(pid interface{}, request int, opt *ListLabelEventsOptions, options ...RequestOptionFunc) ([]*LabelEvent, *Response, error) // GetMergeRequestLabelEvent gets a single merge request label event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_label_events.html#get-single-merge-request-label-event GetMergeRequestLabelEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*LabelEvent, *Response, error) }
ResourceLabelEventsService is an interface for gitlab.Client.ResourceLabelEvents
type ResourceMilestoneEventsService ¶
type ResourceMilestoneEventsService interface { // ListIssueMilestoneEvents retrieves resource milestone events for the specified // project and issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_milestone_events.html#list-project-issue-milestone-events ListIssueMilestoneEvents(pid interface{}, issue int, opt *ListMilestoneEventsOptions, options ...RequestOptionFunc) ([]*MilestoneEvent, *Response, error) // GetIssueMilestoneEvent gets a single issue milestone event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_milestone_events.html#get-single-issue-milestone-event GetIssueMilestoneEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*MilestoneEvent, *Response, error) // ListMergeMilestoneEvents retrieves resource milestone events for the specified // project and merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_milestone_events.html#list-project-merge-request-milestone-events ListMergeMilestoneEvents(pid interface{}, request int, opt *ListMilestoneEventsOptions, options ...RequestOptionFunc) ([]*MilestoneEvent, *Response, error) // GetMergeRequestMilestoneEvent gets a single merge request milestone event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_milestone_events.html#get-single-merge-request-milestone-event GetMergeRequestMilestoneEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*MilestoneEvent, *Response, error) }
ResourceMilestoneEventsService is an interface for gitlab.Client.ResourceMilestoneEvents
type ResourceStateEventsService ¶
type ResourceStateEventsService interface { // ListIssueStateEvents retrieves resource state events for the specified // project and issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_state_events.html#list-project-issue-state-events ListIssueStateEvents(pid interface{}, issue int, opt *ListStateEventsOptions, options ...RequestOptionFunc) ([]*StateEvent, *Response, error) // GetIssueStateEvent gets a single issue-state-event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_state_events.html#get-single-issue-state-event GetIssueStateEvent(pid interface{}, issue int, event int, options ...RequestOptionFunc) (*StateEvent, *Response, error) // ListMergeStateEvents retrieves resource state events for the specified // project and merge request. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_state_events.html#list-project-merge-request-state-events ListMergeStateEvents(pid interface{}, request int, opt *ListStateEventsOptions, options ...RequestOptionFunc) ([]*StateEvent, *Response, error) // GetMergeRequestStateEvent gets a single merge request state event. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_state_events.html#get-single-merge-request-state-event GetMergeRequestStateEvent(pid interface{}, request int, event int, options ...RequestOptionFunc) (*StateEvent, *Response, error) }
ResourceStateEventsService is an interface for gitlab.Client.ResourceStateEvents
type ResourceWeightEventsService ¶
type ResourceWeightEventsService interface { // ListIssueWeightEvents retrieves resource weight events for the specified // project and issue. // // GitLab API docs: // https://docs.gitlab.com/ee/api/resource_weight_events.html#list-project-issue-weight-events ListIssueWeightEvents(pid interface{}, issue int, opt *ListWeightEventsOptions, options ...RequestOptionFunc) ([]*WeightEvent, *Response, error) }
ResourceWeightEventsService is an interface for gitlab.Client.ResourceWeightEvents
type RetrieveAllGroupStorageMovesOptions ¶
type RetrieveAllGroupStorageMovesOptions = gitlab.RetrieveAllGroupStorageMovesOptions
RetrieveAllGroupStorageMovesOptions is an alias to gitlab.RetrieveAllGroupStorageMovesOptions
type RetrieveAllProjectStorageMovesOptions ¶
type RetrieveAllProjectStorageMovesOptions = gitlab.RetrieveAllProjectStorageMovesOptions
RetrieveAllProjectStorageMovesOptions is an alias to gitlab.RetrieveAllProjectStorageMovesOptions
type RetrieveAllSnippetStorageMovesOptions ¶
type RetrieveAllSnippetStorageMovesOptions = gitlab.RetrieveAllSnippetStorageMovesOptions
RetrieveAllSnippetStorageMovesOptions is an alias to gitlab.RetrieveAllSnippetStorageMovesOptions
type RevertCommitOptions ¶
type RevertCommitOptions = gitlab.RevertCommitOptions
RevertCommitOptions is an alias to gitlab.RevertCommitOptions
type ReviewerIDValue ¶
type ReviewerIDValue = gitlab.ReviewerIDValue
ReviewerIDValue is an alias to gitlab.ReviewerIDValue
type RotateGroupAccessTokenOptions ¶
type RotateGroupAccessTokenOptions = gitlab.RotateGroupAccessTokenOptions
RotateGroupAccessTokenOptions is an alias to gitlab.RotateGroupAccessTokenOptions
type RotatePersonalAccessTokenOptions ¶
type RotatePersonalAccessTokenOptions = gitlab.RotatePersonalAccessTokenOptions
RotatePersonalAccessTokenOptions is an alias to gitlab.RotatePersonalAccessTokenOptions
type RotateProjectAccessTokenOptions ¶
type RotateProjectAccessTokenOptions = gitlab.RotateProjectAccessTokenOptions
RotateProjectAccessTokenOptions is an alias to gitlab.RotateProjectAccessTokenOptions
type RotateServiceAccountPersonalAccessTokenOptions ¶
type RotateServiceAccountPersonalAccessTokenOptions = gitlab.RotateServiceAccountPersonalAccessTokenOptions
RotateServiceAccountPersonalAccessTokenOptions is an alias to gitlab.RotateServiceAccountPersonalAccessTokenOptions
type RunPipelineTriggerOptions ¶
type RunPipelineTriggerOptions = gitlab.RunPipelineTriggerOptions
RunPipelineTriggerOptions is an alias to gitlab.RunPipelineTriggerOptions
type RunnerAuthenticationToken ¶
type RunnerAuthenticationToken = gitlab.RunnerAuthenticationToken
RunnerAuthenticationToken is an alias to gitlab.RunnerAuthenticationToken
type RunnerDetails ¶
type RunnerDetails = gitlab.RunnerDetails
RunnerDetails is an alias to gitlab.RunnerDetails
type RunnerRegistrationToken ¶
type RunnerRegistrationToken = gitlab.RunnerRegistrationToken
RunnerRegistrationToken is an alias to gitlab.RunnerRegistrationToken
type RunnersService ¶
type RunnersService interface { // ListRunners gets a list of runners accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#list-owned-runners ListRunners(opt *ListRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error) // ListAllRunners gets a list of all runners in the GitLab instance. Access is // restricted to users with admin privileges. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#list-all-runners ListAllRunners(opt *ListRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error) // GetRunnerDetails returns details for given runner. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#get-runners-details GetRunnerDetails(rid interface{}, options ...RequestOptionFunc) (*RunnerDetails, *Response, error) // UpdateRunnerDetails updates details for a given runner. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#update-runners-details UpdateRunnerDetails(rid interface{}, opt *UpdateRunnerDetailsOptions, options ...RequestOptionFunc) (*RunnerDetails, *Response, error) // RemoveRunner removes a runner. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#delete-a-runner RemoveRunner(rid interface{}, options ...RequestOptionFunc) (*Response, error) // ListRunnerJobs gets a list of jobs that are being processed or were processed by specified Runner. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#list-runners-jobs ListRunnerJobs(rid interface{}, opt *ListRunnerJobsOptions, options ...RequestOptionFunc) ([]*Job, *Response, error) // ListProjectRunners gets a list of runners accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#list-projects-runners ListProjectRunners(pid interface{}, opt *ListProjectRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error) // EnableProjectRunner enables an available specific runner in the project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#enable-a-runner-in-project EnableProjectRunner(pid interface{}, opt *EnableProjectRunnerOptions, options ...RequestOptionFunc) (*Runner, *Response, error) // DisableProjectRunner disables a specific runner from project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#disable-a-runner-from-project DisableProjectRunner(pid interface{}, runner int, options ...RequestOptionFunc) (*Response, error) // ListGroupsRunners lists all runners (specific and shared) available in the // group as well it’s ancestor groups. Shared runners are listed if at least one // shared runner is defined. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#list-groups-runners ListGroupsRunners(gid interface{}, opt *ListGroupsRunnersOptions, options ...RequestOptionFunc) ([]*Runner, *Response, error) // RegisterNewRunner registers a new Runner for the instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#register-a-new-runner RegisterNewRunner(opt *RegisterNewRunnerOptions, options ...RequestOptionFunc) (*Runner, *Response, error) // DeleteRegisteredRunner deletes a Runner by Token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#delete-a-runner-by-authentication-token DeleteRegisteredRunner(opt *DeleteRegisteredRunnerOptions, options ...RequestOptionFunc) (*Response, error) // DeleteRegisteredRunnerByID deletes a runner by ID. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#delete-a-runner-by-id DeleteRegisteredRunnerByID(rid int, options ...RequestOptionFunc) (*Response, error) // VerifyRegisteredRunner registers a new runner for the instance. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#verify-authentication-for-a-registered-runner VerifyRegisteredRunner(opt *VerifyRegisteredRunnerOptions, options ...RequestOptionFunc) (*Response, error) // ResetInstanceRunnerRegistrationToken resets the instance runner registration // token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#reset-instances-runner-registration-token ResetInstanceRunnerRegistrationToken(options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error) // ResetGroupRunnerRegistrationToken resets a group's runner registration token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#reset-groups-runner-registration-token ResetGroupRunnerRegistrationToken(gid interface{}, options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error) // ResetGroupRunnerRegistrationToken resets a projects's runner registration token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#reset-projects-runner-registration-token ResetProjectRunnerRegistrationToken(pid interface{}, options ...RequestOptionFunc) (*RunnerRegistrationToken, *Response, error) // ResetRunnerAuthenticationToken resets a runner's authentication token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/runners.html#reset-runners-authentication-token-by-using-the-runner-id ResetRunnerAuthenticationToken(rid int, options ...RequestOptionFunc) (*RunnerAuthenticationToken, *Response, error) }
RunnersService is an interface for gitlab.Client.Runners
type SAMLGroupLink ¶
type SAMLGroupLink = gitlab.SAMLGroupLink
SAMLGroupLink is an alias to gitlab.SAMLGroupLink
type ScheduleAllGroupStorageMovesOptions ¶
type ScheduleAllGroupStorageMovesOptions = gitlab.ScheduleAllGroupStorageMovesOptions
ScheduleAllGroupStorageMovesOptions is an alias to gitlab.ScheduleAllGroupStorageMovesOptions
type ScheduleAllProjectStorageMovesOptions ¶
type ScheduleAllProjectStorageMovesOptions = gitlab.ScheduleAllProjectStorageMovesOptions
ScheduleAllProjectStorageMovesOptions is an alias to gitlab.ScheduleAllProjectStorageMovesOptions
type ScheduleAllSnippetStorageMovesOptions ¶
type ScheduleAllSnippetStorageMovesOptions = gitlab.ScheduleAllSnippetStorageMovesOptions
ScheduleAllSnippetStorageMovesOptions is an alias to gitlab.ScheduleAllSnippetStorageMovesOptions
type ScheduleExportOptions ¶
type ScheduleExportOptions = gitlab.ScheduleExportOptions
ScheduleExportOptions is an alias to gitlab.ScheduleExportOptions
type ScheduleStorageMoveForGroupOptions ¶
type ScheduleStorageMoveForGroupOptions = gitlab.ScheduleStorageMoveForGroupOptions
ScheduleStorageMoveForGroupOptions is an alias to gitlab.ScheduleStorageMoveForGroupOptions
type ScheduleStorageMoveForProjectOptions ¶
type ScheduleStorageMoveForProjectOptions = gitlab.ScheduleStorageMoveForProjectOptions
ScheduleStorageMoveForProjectOptions is an alias to gitlab.ScheduleStorageMoveForProjectOptions
type ScheduleStorageMoveForSnippetOptions ¶
type ScheduleStorageMoveForSnippetOptions = gitlab.ScheduleStorageMoveForSnippetOptions
ScheduleStorageMoveForSnippetOptions is an alias to gitlab.ScheduleStorageMoveForSnippetOptions
type SearchOptions ¶
type SearchOptions = gitlab.SearchOptions
SearchOptions is an alias to gitlab.SearchOptions
type SearchService ¶
type SearchService interface { // Projects searches the expression within projects // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-projects Projects(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // ProjectsByGroup searches the expression within projects for // the specified group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#group-search-api ProjectsByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Project, *Response, error) // Issues searches the expression within issues // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-issues Issues(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // IssuesByGroup searches the expression within issues for // the specified group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-issues-1 IssuesByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // IssuesByProject searches the expression within issues for // the specified project // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-issues-2 IssuesByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Issue, *Response, error) // MergeRequests searches the expression within merge requests // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-merge_requests MergeRequests(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error) // MergeRequestsByGroup searches the expression within merge requests for // the specified group // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-merge_requests-1 MergeRequestsByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error) // MergeRequestsByProject searches the expression within merge requests for // the specified project // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-merge_requests-2 MergeRequestsByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*MergeRequest, *Response, error) // Milestones searches the expression within milestones // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-milestones Milestones(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error) // MilestonesByGroup searches the expression within milestones for // the specified group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-milestones-1 MilestonesByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error) // MilestonesByProject searches the expression within milestones for // the specified project // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-milestones-2 MilestonesByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Milestone, *Response, error) // SnippetTitles searches the expression within snippet titles // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-snippet_titles SnippetTitles(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) // SnippetBlobs searches the expression within snippet blobs // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-snippet_blobs SnippetBlobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) // NotesByProject searches the expression within notes for the specified // project // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-notes NotesByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Note, *Response, error) // WikiBlobs searches the expression within all wiki blobs // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-wiki_blobs WikiBlobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error) // WikiBlobsByGroup searches the expression within wiki blobs for // specified group // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-wiki_blobs-premium-1 WikiBlobsByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error) // WikiBlobsByProject searches the expression within wiki blobs for // the specified project // // GitLab API docs: // https://docs.gitlab.com/ee/api/search.html#scope-wiki_blobs-premium-2 WikiBlobsByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error) // Commits searches the expression within all commits // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-commits Commits(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error) // CommitsByGroup searches the expression within commits for the specified // group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-commits-premium-1 CommitsByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error) // CommitsByProject searches the expression within commits for the // specified project // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-commits-premium-2 CommitsByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Commit, *Response, error) // Blobs searches the expression within all blobs // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-blobs Blobs(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Blob, *Response, error) // BlobsByGroup searches the expression within blobs for the specified // group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-blobs-premium-1 BlobsByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Blob, *Response, error) // BlobsByProject searches the expression within blobs for the specified // project // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-blobs-premium-2 BlobsByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*Blob, *Response, error) // Users searches the expression within all users // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-users Users(query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*User, *Response, error) // UsersByGroup searches the expression within users for the specified // group // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-users-1 UsersByGroup(gid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*User, *Response, error) // UsersByProject searches the expression within users for the // specified project // // GitLab API docs: https://docs.gitlab.com/ee/api/search.html#scope-users-2 UsersByProject(pid interface{}, query string, opt *SearchOptions, options ...RequestOptionFunc) ([]*User, *Response, error) }
SearchService is an interface for gitlab.Client.Search
type SecureFileIssuer ¶
type SecureFileIssuer = gitlab.SecureFileIssuer
SecureFileIssuer is an alias to gitlab.SecureFileIssuer
type SecureFileMetadata ¶
type SecureFileMetadata = gitlab.SecureFileMetadata
SecureFileMetadata is an alias to gitlab.SecureFileMetadata
type SecureFileSubject ¶
type SecureFileSubject = gitlab.SecureFileSubject
SecureFileSubject is an alias to gitlab.SecureFileSubject
type SecureFilesService ¶
type SecureFilesService interface { // ListProjectSecureFiles gets a list of secure files in a project. // // GitLab API docs: // https://docs.gitlab.com/api/secure_files/#list-project-secure-files ListProjectSecureFiles(pid interface{}, opt *ListProjectSecureFilesOptions, options ...RequestOptionFunc) ([]*SecureFile, *Response, error) // ShowSecureFileDetails gets the details of a specific secure file in a project. // // GitLab API docs: // https://docs.gitlab.com/api/secure_files/#show-secure-file-details ShowSecureFileDetails(pid interface{}, id int, options ...RequestOptionFunc) (*SecureFile, *Response, error) // CreateSecureFile creates a new secure file. // // GitLab API docs: // https://docs.gitlab.com/api/secure_files/#create-secure-file CreateSecureFile(pid interface{}, content io.Reader, filename string, options ...RequestOptionFunc) (*SecureFile, *Response, error) // DownloadSecureFile downloads the contents of a project's secure file. // // GitLab API docs: // https://docs.gitlab.com/api/secure_files/#download-secure-file DownloadSecureFile(pid interface{}, id int, options ...RequestOptionFunc) (io.Reader, *Response, error) // RemoveSecureFile removes a project's secure file. // // GitLab API docs: // https://docs.gitlab.com/api/secure_files/#remove-secure-file RemoveSecureFile(pid interface{}, id int, options ...RequestOptionFunc) (*Response, error) }
SecureFilesService is an interface for gitlab.Client.SecureFiles
type ServiceAccount ¶
type ServiceAccount = gitlab.ServiceAccount
ServiceAccount is an alias to gitlab.ServiceAccount
type ServicesService ¶
type ServicesService interface { // ListServices gets a list of all active services. // // GitLab API docs: https://docs.gitlab.com/ee/api/integrations.html#list-all-active-integrations ListServices(pid interface{}, options ...RequestOptionFunc) ([]*Service, *Response, error) // GetCustomIssueTrackerService gets Custom Issue Tracker service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-custom-issue-tracker-settings GetCustomIssueTrackerService(pid interface{}, options ...RequestOptionFunc) (*CustomIssueTrackerService, *Response, error) // SetCustomIssueTrackerService sets Custom Issue Tracker service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-a-custom-issue-tracker SetCustomIssueTrackerService(pid interface{}, opt *SetCustomIssueTrackerServiceOptions, options ...RequestOptionFunc) (*CustomIssueTrackerService, *Response, error) // DeleteCustomIssueTrackerService deletes Custom Issue Tracker service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-a-custom-issue-tracker DeleteCustomIssueTrackerService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetDataDogService gets DataDog service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-datadog-settings GetDataDogService(pid interface{}, options ...RequestOptionFunc) (*DataDogService, *Response, error) // SetDataDogService sets DataDog service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-datadog SetDataDogService(pid interface{}, opt *SetDataDogServiceOptions, options ...RequestOptionFunc) (*DataDogService, *Response, error) // DeleteDataDogService deletes the DataDog service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-datadog DeleteDataDogService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetDiscordService gets Discord service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-discord-notifications-settings GetDiscordService(pid interface{}, options ...RequestOptionFunc) (*DiscordService, *Response, error) // SetDiscordService sets Discord service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-discord-notifications SetDiscordService(pid interface{}, opt *SetDiscordServiceOptions, options ...RequestOptionFunc) (*DiscordService, *Response, error) // DeleteDiscordService deletes Discord service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-discord-notifications DeleteDiscordService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetDroneCIService gets Drone CI service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-drone-settings GetDroneCIService(pid interface{}, options ...RequestOptionFunc) (*DroneCIService, *Response, error) // SetDroneCIService sets Drone CI service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-drone SetDroneCIService(pid interface{}, opt *SetDroneCIServiceOptions, options ...RequestOptionFunc) (*DroneCIService, *Response, error) // DeleteDroneCIService deletes Drone CI service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-drone DeleteDroneCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetEmailsOnPushService gets Emails on Push service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-emails-on-push-integration-settings GetEmailsOnPushService(pid interface{}, options ...RequestOptionFunc) (*EmailsOnPushService, *Response, error) // SetEmailsOnPushService sets Emails on Push service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-emails-on-push SetEmailsOnPushService(pid interface{}, opt *SetEmailsOnPushServiceOptions, options ...RequestOptionFunc) (*EmailsOnPushService, *Response, error) // DeleteEmailsOnPushService deletes Emails on Push service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-emails-on-push DeleteEmailsOnPushService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetExternalWikiService gets External Wiki service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-external-wiki-settings GetExternalWikiService(pid interface{}, options ...RequestOptionFunc) (*ExternalWikiService, *Response, error) // SetExternalWikiService sets External Wiki service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-an-external-wiki SetExternalWikiService(pid interface{}, opt *SetExternalWikiServiceOptions, options ...RequestOptionFunc) (*ExternalWikiService, *Response, error) // DeleteExternalWikiService deletes External Wiki service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-an-external-wiki DeleteExternalWikiService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetGithubService gets Github service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-github-settings GetGithubService(pid interface{}, options ...RequestOptionFunc) (*GithubService, *Response, error) // SetGithubService sets Github service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-github SetGithubService(pid interface{}, opt *SetGithubServiceOptions, options ...RequestOptionFunc) (*GithubService, *Response, error) // DeleteGithubService deletes Github service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-github DeleteGithubService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetHarborService gets Harbor service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-harbor-settings GetHarborService(pid interface{}, options ...RequestOptionFunc) (*HarborService, *Response, error) // SetHarborService sets Harbor service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-harbor SetHarborService(pid interface{}, opt *SetHarborServiceOptions, options ...RequestOptionFunc) (*HarborService, *Response, error) // DeleteHarborService deletes Harbor service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-harbor DeleteHarborService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetSlackApplication gets the GitLab for Slack app integration settings for a // project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-gitlab-for-slack-app-settings GetSlackApplication(pid interface{}, options ...RequestOptionFunc) (*SlackApplication, *Response, error) // SetSlackApplication update the GitLab for Slack app integration for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-gitlab-for-slack-app SetSlackApplication(pid interface{}, opt *SetSlackApplicationOptions, options ...RequestOptionFunc) (*SlackApplication, *Response, error) // DisableSlackApplication disable the GitLab for Slack app integration for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-gitlab-for-slack-app DisableSlackApplication(pid interface{}, options ...RequestOptionFunc) (*Response, error) // SetGitLabCIService sets GitLab CI service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#edit-gitlab-ci-service SetGitLabCIService(pid interface{}, opt *SetGitLabCIServiceOptions, options ...RequestOptionFunc) (*Response, error) // DeleteGitLabCIService deletes GitLab CI service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-gitlab-ci-service DeleteGitLabCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // SetHipChatService sets HipChat service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#edit-hipchat-service SetHipChatService(pid interface{}, opt *SetHipChatServiceOptions, options ...RequestOptionFunc) (*Response, error) // DeleteHipChatService deletes HipChat service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-hipchat-service DeleteHipChatService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetJenkinsCIService gets Jenkins CI service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-jenkins-settings GetJenkinsCIService(pid interface{}, options ...RequestOptionFunc) (*JenkinsCIService, *Response, error) // SetJenkinsCIService sets Jenkins service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-jenkins SetJenkinsCIService(pid interface{}, opt *SetJenkinsCIServiceOptions, options ...RequestOptionFunc) (*JenkinsCIService, *Response, error) // DeleteJenkinsCIService deletes Jenkins CI service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-jenkins DeleteJenkinsCIService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetJiraService gets Jira service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-jira-service-settings GetJiraService(pid interface{}, options ...RequestOptionFunc) (*JiraService, *Response, error) // SetJiraService sets Jira service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#edit-jira-service SetJiraService(pid interface{}, opt *SetJiraServiceOptions, options ...RequestOptionFunc) (*JiraService, *Response, error) // DeleteJiraService deletes Jira service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-jira-service DeleteJiraService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetMattermostService gets Mattermost service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-slack-service-settings GetMattermostService(pid interface{}, options ...RequestOptionFunc) (*MattermostService, *Response, error) // SetMattermostService sets Mattermost service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#createedit-mattermost-notifications-service SetMattermostService(pid interface{}, opt *SetMattermostServiceOptions, options ...RequestOptionFunc) (*MattermostService, *Response, error) // DeleteMattermostService deletes Mattermost service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-mattermost-notifications-service DeleteMattermostService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetMattermostSlashCommandsService gets Slack Mattermost commands service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-mattermost-slash-command-integration-settings GetMattermostSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*MattermostSlashCommandsService, *Response, error) // SetMattermostSlashCommandsService sets Mattermost slash commands service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#createedit-mattermost-slash-command-integration SetMattermostSlashCommandsService(pid interface{}, opt *SetMattermostSlashCommandsServiceOptions, options ...RequestOptionFunc) (*MattermostSlashCommandsService, *Response, error) // DeleteMattermostSlashCommandsService deletes Mattermost slash commands service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-mattermost-slash-command-integration DeleteMattermostSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetMicrosoftTeamsService gets MicrosoftTeams service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-microsoft-teams-service-settings GetMicrosoftTeamsService(pid interface{}, options ...RequestOptionFunc) (*MicrosoftTeamsService, *Response, error) // SetMicrosoftTeamsService sets Microsoft Teams service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#create-edit-microsoft-teams-service SetMicrosoftTeamsService(pid interface{}, opt *SetMicrosoftTeamsServiceOptions, options ...RequestOptionFunc) (*MicrosoftTeamsService, *Response, error) // DeleteMicrosoftTeamsService deletes Microsoft Teams service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-microsoft-teams-service DeleteMicrosoftTeamsService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetPipelinesEmailService gets Pipelines Email service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-pipeline-emails-service-settings GetPipelinesEmailService(pid interface{}, options ...RequestOptionFunc) (*PipelinesEmailService, *Response, error) // SetPipelinesEmailService sets Pipelines Email service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#pipeline-emails SetPipelinesEmailService(pid interface{}, opt *SetPipelinesEmailServiceOptions, options ...RequestOptionFunc) (*PipelinesEmailService, *Response, error) // DeletePipelinesEmailService deletes Pipelines Email service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-pipeline-emails-service DeletePipelinesEmailService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetPrometheusService gets Prometheus service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-prometheus-service-settings GetPrometheusService(pid interface{}, options ...RequestOptionFunc) (*PrometheusService, *Response, error) // SetPrometheusService sets Prometheus service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#createedit-prometheus-service SetPrometheusService(pid interface{}, opt *SetPrometheusServiceOptions, options ...RequestOptionFunc) (*PrometheusService, *Response, error) // DeletePrometheusService deletes Prometheus service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-prometheus-service DeletePrometheusService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetRedmineService gets Redmine service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-redmine-settings GetRedmineService(pid interface{}, options ...RequestOptionFunc) (*RedmineService, *Response, error) // SetRedmineService sets Redmine service for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-redmine SetRedmineService(pid interface{}, opt *SetRedmineServiceOptions, options ...RequestOptionFunc) (*RedmineService, *Response, error) // DeleteRedmineService deletes Redmine service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-redmine DeleteRedmineService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetSlackService gets Slack service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-slack-service-settings GetSlackService(pid interface{}, options ...RequestOptionFunc) (*SlackService, *Response, error) // SetSlackService sets Slack service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#edit-slack-service SetSlackService(pid interface{}, opt *SetSlackServiceOptions, options ...RequestOptionFunc) (*SlackService, *Response, error) // DeleteSlackService deletes Slack service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-slack-service DeleteSlackService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetSlackSlashCommandsService gets Slack slash commands service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-slack-slash-command-integration-settings GetSlackSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*SlackSlashCommandsService, *Response, error) // SetSlackSlashCommandsService sets Slack slash commands service for a project // // GitLab API docs: // https://docs.gitlab.com/13.12/ee/api/integrations.html#createedit-slack-slash-command-service SetSlackSlashCommandsService(pid interface{}, opt *SetSlackSlashCommandsServiceOptions, options ...RequestOptionFunc) (*SlackSlashCommandsService, *Response, error) // DeleteSlackSlashCommandsService deletes Slack slash commands service for project. // // GitLab API docs: // https://docs.gitlab.com/13.12/ee/api/integrations.html#delete-slack-slash-command-service DeleteSlackSlashCommandsService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetTelegramService gets MicrosoftTeams service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-telegram-settings GetTelegramService(pid interface{}, options ...RequestOptionFunc) (*TelegramService, *Response, error) // SetTelegramService sets Telegram service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#set-up-telegram SetTelegramService(pid interface{}, opt *SetTelegramServiceOptions, options ...RequestOptionFunc) (*TelegramService, *Response, error) // DeleteTelegramService deletes Telegram service for project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#disable-telegram DeleteTelegramService(pid interface{}, options ...RequestOptionFunc) (*Response, error) // GetYouTrackService gets YouTrack service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#get-youtrack-service-settings GetYouTrackService(pid interface{}, options ...RequestOptionFunc) (*YouTrackService, *Response, error) // SetYouTrackService sets YouTrack service for a project // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#createedit-youtrack-service SetYouTrackService(pid interface{}, opt *SetYouTrackServiceOptions, options ...RequestOptionFunc) (*YouTrackService, *Response, error) // DeleteYouTrackService deletes YouTrack service settings for a project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/integrations.html#delete-youtrack-service DeleteYouTrackService(pid interface{}, options ...RequestOptionFunc) (*Response, error) }
ServicesService is an interface for gitlab.Client.Services
type SetCommitStatusOptions ¶
type SetCommitStatusOptions = gitlab.SetCommitStatusOptions
SetCommitStatusOptions is an alias to gitlab.SetCommitStatusOptions
type SetCustomIssueTrackerServiceOptions ¶
type SetCustomIssueTrackerServiceOptions = gitlab.SetCustomIssueTrackerServiceOptions
SetCustomIssueTrackerServiceOptions is an alias to gitlab.SetCustomIssueTrackerServiceOptions
type SetDataDogServiceOptions ¶
type SetDataDogServiceOptions = gitlab.SetDataDogServiceOptions
SetDataDogServiceOptions is an alias to gitlab.SetDataDogServiceOptions
type SetDiscordServiceOptions ¶
type SetDiscordServiceOptions = gitlab.SetDiscordServiceOptions
SetDiscordServiceOptions is an alias to gitlab.SetDiscordServiceOptions
type SetDroneCIServiceOptions ¶
type SetDroneCIServiceOptions = gitlab.SetDroneCIServiceOptions
SetDroneCIServiceOptions is an alias to gitlab.SetDroneCIServiceOptions
type SetEmailsOnPushServiceOptions ¶
type SetEmailsOnPushServiceOptions = gitlab.SetEmailsOnPushServiceOptions
SetEmailsOnPushServiceOptions is an alias to gitlab.SetEmailsOnPushServiceOptions
type SetExternalStatusCheckStatusOptions ¶
type SetExternalStatusCheckStatusOptions = gitlab.SetExternalStatusCheckStatusOptions
SetExternalStatusCheckStatusOptions is an alias to gitlab.SetExternalStatusCheckStatusOptions
type SetExternalWikiServiceOptions ¶
type SetExternalWikiServiceOptions = gitlab.SetExternalWikiServiceOptions
SetExternalWikiServiceOptions is an alias to gitlab.SetExternalWikiServiceOptions
type SetGitLabCIServiceOptions ¶
type SetGitLabCIServiceOptions = gitlab.SetGitLabCIServiceOptions
SetGitLabCIServiceOptions is an alias to gitlab.SetGitLabCIServiceOptions
type SetGithubServiceOptions ¶
type SetGithubServiceOptions = gitlab.SetGithubServiceOptions
SetGithubServiceOptions is an alias to gitlab.SetGithubServiceOptions
type SetHarborServiceOptions ¶
type SetHarborServiceOptions = gitlab.SetHarborServiceOptions
SetHarborServiceOptions is an alias to gitlab.SetHarborServiceOptions
type SetHipChatServiceOptions ¶
type SetHipChatServiceOptions = gitlab.SetHipChatServiceOptions
SetHipChatServiceOptions is an alias to gitlab.SetHipChatServiceOptions
type SetHookCustomHeaderOptions ¶
type SetHookCustomHeaderOptions = gitlab.SetHookCustomHeaderOptions
SetHookCustomHeaderOptions is an alias to gitlab.SetHookCustomHeaderOptions
type SetHookURLVariableOptions ¶
type SetHookURLVariableOptions = gitlab.SetHookURLVariableOptions
SetHookURLVariableOptions is an alias to gitlab.SetHookURLVariableOptions
type SetJenkinsCIServiceOptions ¶
type SetJenkinsCIServiceOptions = gitlab.SetJenkinsCIServiceOptions
SetJenkinsCIServiceOptions is an alias to gitlab.SetJenkinsCIServiceOptions
type SetJiraServiceOptions ¶
type SetJiraServiceOptions = gitlab.SetJiraServiceOptions
SetJiraServiceOptions is an alias to gitlab.SetJiraServiceOptions
type SetMattermostServiceOptions ¶
type SetMattermostServiceOptions = gitlab.SetMattermostServiceOptions
SetMattermostServiceOptions is an alias to gitlab.SetMattermostServiceOptions
type SetMattermostSlashCommandsServiceOptions ¶
type SetMattermostSlashCommandsServiceOptions = gitlab.SetMattermostSlashCommandsServiceOptions
SetMattermostSlashCommandsServiceOptions is an alias to gitlab.SetMattermostSlashCommandsServiceOptions
type SetMicrosoftTeamsServiceOptions ¶
type SetMicrosoftTeamsServiceOptions = gitlab.SetMicrosoftTeamsServiceOptions
SetMicrosoftTeamsServiceOptions is an alias to gitlab.SetMicrosoftTeamsServiceOptions
type SetPipelinesEmailServiceOptions ¶
type SetPipelinesEmailServiceOptions = gitlab.SetPipelinesEmailServiceOptions
SetPipelinesEmailServiceOptions is an alias to gitlab.SetPipelinesEmailServiceOptions
type SetPrometheusServiceOptions ¶
type SetPrometheusServiceOptions = gitlab.SetPrometheusServiceOptions
SetPrometheusServiceOptions is an alias to gitlab.SetPrometheusServiceOptions
type SetRedmineServiceOptions ¶
type SetRedmineServiceOptions = gitlab.SetRedmineServiceOptions
SetRedmineServiceOptions is an alias to gitlab.SetRedmineServiceOptions
type SetSlackApplicationOptions ¶
type SetSlackApplicationOptions = gitlab.SetSlackApplicationOptions
SetSlackApplicationOptions is an alias to gitlab.SetSlackApplicationOptions
type SetSlackServiceOptions ¶
type SetSlackServiceOptions = gitlab.SetSlackServiceOptions
SetSlackServiceOptions is an alias to gitlab.SetSlackServiceOptions
type SetSlackSlashCommandsServiceOptions ¶
type SetSlackSlashCommandsServiceOptions = gitlab.SetSlackSlashCommandsServiceOptions
SetSlackSlashCommandsServiceOptions is an alias to gitlab.SetSlackSlashCommandsServiceOptions
type SetTelegramServiceOptions ¶
type SetTelegramServiceOptions = gitlab.SetTelegramServiceOptions
SetTelegramServiceOptions is an alias to gitlab.SetTelegramServiceOptions
type SetTimeEstimateOptions ¶
type SetTimeEstimateOptions = gitlab.SetTimeEstimateOptions
SetTimeEstimateOptions is an alias to gitlab.SetTimeEstimateOptions
type SetYouTrackServiceOptions ¶
type SetYouTrackServiceOptions = gitlab.SetYouTrackServiceOptions
SetYouTrackServiceOptions is an alias to gitlab.SetYouTrackServiceOptions
type SettingsService ¶
type SettingsService interface { // GetSettings gets the current application settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/settings.html#get-current-application-settings GetSettings(options ...RequestOptionFunc) (*Settings, *Response, error) // UpdateSettings updates the application settings. // // GitLab API docs: // https://docs.gitlab.com/ee/api/settings.html#change-application-settings UpdateSettings(opt *UpdateSettingsOptions, options ...RequestOptionFunc) (*Settings, *Response, error) }
SettingsService is an interface for gitlab.Client.Settings
type ShareGroupWithGroupOptions ¶
type ShareGroupWithGroupOptions = gitlab.ShareGroupWithGroupOptions
ShareGroupWithGroupOptions is an alias to gitlab.ShareGroupWithGroupOptions
type ShareWithGroupOptions ¶
type ShareWithGroupOptions = gitlab.ShareWithGroupOptions
ShareWithGroupOptions is an alias to gitlab.ShareWithGroupOptions
type SharedRunnersSettingValue ¶
type SharedRunnersSettingValue = gitlab.SharedRunnersSettingValue
SharedRunnersSettingValue is an alias to gitlab.SharedRunnersSettingValue
type SharedWithGroup ¶
type SharedWithGroup = gitlab.SharedWithGroup
SharedWithGroup is an alias to gitlab.SharedWithGroup
type ShowMergeRequestRawDiffsOptions ¶
type ShowMergeRequestRawDiffsOptions = gitlab.ShowMergeRequestRawDiffsOptions
ShowMergeRequestRawDiffsOptions is an alias to gitlab.ShowMergeRequestRawDiffsOptions
type SidekiqService ¶
type SidekiqService interface { // GetQueueMetrics lists information about all the registered queues, // their backlog and their latency. // // GitLab API docs: // https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-the-current-queue-metrics GetQueueMetrics(options ...RequestOptionFunc) (*QueueMetrics, *Response, error) // GetProcessMetrics lists information about all the Sidekiq workers registered // to process your queues. // // GitLab API docs: // https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-the-current-process-metrics GetProcessMetrics(options ...RequestOptionFunc) (*ProcessMetrics, *Response, error) // GetJobStats list information about the jobs that Sidekiq has performed. // // GitLab API docs: // https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-the-current-job-statistics GetJobStats(options ...RequestOptionFunc) (*JobStats, *Response, error) // GetCompoundMetrics lists all the currently available information about Sidekiq. // Get a compound response of all the previously mentioned metrics // // GitLab API docs: https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-a-compound-response-of-all-the-previously-mentioned-metrics GetCompoundMetrics(options ...RequestOptionFunc) (*CompoundMetrics, *Response, error) }
SidekiqService is an interface for gitlab.Client.Sidekiq
type SlackApplication ¶
type SlackApplication = gitlab.SlackApplication
SlackApplication is an alias to gitlab.SlackApplication
type SlackApplicationProperties ¶
type SlackApplicationProperties = gitlab.SlackApplicationProperties
SlackApplicationProperties is an alias to gitlab.SlackApplicationProperties
type SlackService ¶
type SlackService = gitlab.SlackService
SlackService is an alias to gitlab.SlackService
type SlackServiceProperties ¶
type SlackServiceProperties = gitlab.SlackServiceProperties
SlackServiceProperties is an alias to gitlab.SlackServiceProperties
type SlackSlashCommandsProperties ¶
type SlackSlashCommandsProperties = gitlab.SlackSlashCommandsProperties
SlackSlashCommandsProperties is an alias to gitlab.SlackSlashCommandsProperties
type SlackSlashCommandsService ¶
type SlackSlashCommandsService = gitlab.SlackSlashCommandsService
SlackSlashCommandsService is an alias to gitlab.SlackSlashCommandsService
type SnippetCommentEvent ¶
type SnippetCommentEvent = gitlab.SnippetCommentEvent
SnippetCommentEvent is an alias to gitlab.SnippetCommentEvent
type SnippetRepositoryStorageMove ¶
type SnippetRepositoryStorageMove = gitlab.SnippetRepositoryStorageMove
SnippetRepositoryStorageMove is an alias to gitlab.SnippetRepositoryStorageMove
type SnippetRepositoryStorageMoveService ¶
type SnippetRepositoryStorageMoveService interface { // RetrieveAllStorageMoves retrieves all snippet repository storage moves // accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#retrieve-all-repository-storage-moves-for-a-snippet RetrieveAllStorageMoves(opts RetrieveAllSnippetStorageMovesOptions, options ...RequestOptionFunc) ([]*SnippetRepositoryStorageMove, *Response, error) // RetrieveAllStorageMovesForSnippet retrieves all repository storage moves for // a single snippet accessible by the authenticated user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#retrieve-all-repository-storage-moves-for-a-snippet RetrieveAllStorageMovesForSnippet(snippet int, opts RetrieveAllSnippetStorageMovesOptions, options ...RequestOptionFunc) ([]*SnippetRepositoryStorageMove, *Response, error) // GetStorageMove gets a single snippet repository storage move. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#get-a-single-snippet-repository-storage-move GetStorageMove(repositoryStorage int, options ...RequestOptionFunc) (*SnippetRepositoryStorageMove, *Response, error) // GetStorageMoveForSnippet gets a single repository storage move for a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#get-a-single-repository-storage-move-for-a-snippet GetStorageMoveForSnippet(snippet int, repositoryStorage int, options ...RequestOptionFunc) (*SnippetRepositoryStorageMove, *Response, error) // ScheduleStorageMoveForSnippet schedule a repository to be moved for a snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#schedule-a-repository-storage-move-for-a-snippet ScheduleStorageMoveForSnippet(snippet int, opts ScheduleStorageMoveForSnippetOptions, options ...RequestOptionFunc) (*SnippetRepositoryStorageMove, *Response, error) // ScheduleAllStorageMoves schedules all snippet repositories to be moved. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippet_repository_storage_moves.html#schedule-repository-storage-moves-for-all-snippets-on-a-storage-shard ScheduleAllStorageMoves(opts ScheduleAllSnippetStorageMovesOptions, options ...RequestOptionFunc) (*Response, error) }
SnippetRepositoryStorageMoveService is an interface for gitlab.Client.SnippetRepositoryStorageMove
type SnippetsService ¶
type SnippetsService interface { // ListSnippets gets a list of snippets. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#list-all-snippets-for-a-user ListSnippets(opt *ListSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) // GetSnippet gets a single snippet // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#get-a-single-snippet GetSnippet(snippet int, options ...RequestOptionFunc) (*Snippet, *Response, error) // SnippetContent gets a single snippet’s raw contents. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#single-snippet-contents SnippetContent(snippet int, options ...RequestOptionFunc) ([]byte, *Response, error) // SnippetFileContent returns the raw file content as plain text. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#snippet-repository-file-content SnippetFileContent(snippet int, ref, filename string, options ...RequestOptionFunc) ([]byte, *Response, error) // CreateSnippet creates a new snippet. The user must have permission // to create new snippets. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#create-new-snippet CreateSnippet(opt *CreateSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error) // UpdateSnippet updates an existing snippet. The user must have // permission to change an existing snippet. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#update-snippet UpdateSnippet(snippet int, opt *UpdateSnippetOptions, options ...RequestOptionFunc) (*Snippet, *Response, error) // DeleteSnippet deletes an existing snippet. This is an idempotent // function and deleting a non-existent snippet still returns a 200 OK status // code. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#delete-snippet DeleteSnippet(snippet int, options ...RequestOptionFunc) (*Response, error) // ExploreSnippets gets the list of public snippets. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#list-all-public-snippets ExploreSnippets(opt *ExploreSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) // ListAllSnippets gets all snippets the current user has access to. // // GitLab API docs: // https://docs.gitlab.com/ee/api/snippets.html#list-all-snippets ListAllSnippets(opt *ListAllSnippetsOptions, options ...RequestOptionFunc) ([]*Snippet, *Response, error) }
SnippetsService is an interface for gitlab.Client.Snippets
type SquashOptionValue ¶
type SquashOptionValue = gitlab.SquashOptionValue
SquashOptionValue is an alias to gitlab.SquashOptionValue
type StatusCheckProtectedBranch ¶
type StatusCheckProtectedBranch = gitlab.StatusCheckProtectedBranch
StatusCheckProtectedBranch is an alias to gitlab.StatusCheckProtectedBranch
type StopEnvironmentOptions ¶
type StopEnvironmentOptions = gitlab.StopEnvironmentOptions
StopEnvironmentOptions is an alias to gitlab.StopEnvironmentOptions
type SubGroupCreationLevelValue ¶
type SubGroupCreationLevelValue = gitlab.SubGroupCreationLevelValue
SubGroupCreationLevelValue is an alias to gitlab.SubGroupCreationLevelValue
type SubGroupEvent ¶
type SubGroupEvent = gitlab.SubGroupEvent
SubGroupEvent is an alias to gitlab.SubGroupEvent
type SubmoduleCommit ¶
type SubmoduleCommit = gitlab.SubmoduleCommit
SubmoduleCommit is an alias to gitlab.SubmoduleCommit
type SystemHooksService ¶
type SystemHooksService interface { // ListHooks gets a list of system hooks. // // GitLab API docs: // https://docs.gitlab.com/ee/api/system_hooks.html#list-system-hooks ListHooks(options ...RequestOptionFunc) ([]*Hook, *Response, error) // GetHook get a single system hook. // // GitLab API docs: // https://docs.gitlab.com/ee/api/system_hooks.html#get-system-hook GetHook(hook int, options ...RequestOptionFunc) (*Hook, *Response, error) // AddHook adds a new system hook hook. // // GitLab API docs: // https://docs.gitlab.com/ee/api/system_hooks.html#add-new-system-hook AddHook(opt *AddHookOptions, options ...RequestOptionFunc) (*Hook, *Response, error) // TestHook tests a system hook. // // GitLab API docs: // https://docs.gitlab.com/ee/api/system_hooks.html#test-system-hook TestHook(hook int, options ...RequestOptionFunc) (*HookEvent, *Response, error) // DeleteHook deletes a system hook. This is an idempotent API function and // returns 200 OK even if the hook is not available. If the hook is deleted it // is also returned as JSON. // // GitLab API docs: // https://docs.gitlab.com/ee/api/system_hooks.html#delete-system-hook DeleteHook(hook int, options ...RequestOptionFunc) (*Response, error) }
SystemHooksService is an interface for gitlab.Client.SystemHooks
type TagAccessDescription ¶
type TagAccessDescription = gitlab.TagAccessDescription
TagAccessDescription is an alias to gitlab.TagAccessDescription
type TagPushSystemEvent ¶
type TagPushSystemEvent = gitlab.TagPushSystemEvent
TagPushSystemEvent is an alias to gitlab.TagPushSystemEvent
type TagsPermissionOptions ¶
type TagsPermissionOptions = gitlab.TagsPermissionOptions
TagsPermissionOptions is an alias to gitlab.TagsPermissionOptions
type TagsService ¶
type TagsService interface { // ListTags gets a list of tags from a project, sorted by name in reverse // alphabetical order. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#list-project-repository-tags ListTags(pid interface{}, opt *ListTagsOptions, options ...RequestOptionFunc) ([]*Tag, *Response, error) // GetTag a specific repository tag determined by its name. It returns 200 together // with the tag information if the tag exists. It returns 404 if the tag does not exist. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#get-a-single-repository-tag GetTag(pid interface{}, tag string, options ...RequestOptionFunc) (*Tag, *Response, error) // CreateTag creates a new tag in the repository that points to the supplied ref. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#create-a-new-tag CreateTag(pid interface{}, opt *CreateTagOptions, options ...RequestOptionFunc) (*Tag, *Response, error) // DeleteTag deletes a tag of a repository with given name. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#delete-a-tag DeleteTag(pid interface{}, tag string, options ...RequestOptionFunc) (*Response, error) // CreateReleaseNote Add release notes to the existing git tag. // If there already exists a release for the given tag, status code 409 is returned. // // Deprecated: This feature was deprecated in GitLab 11.7. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#create-a-new-release CreateReleaseNote(pid interface{}, tag string, opt *CreateReleaseNoteOptions, options ...RequestOptionFunc) (*ReleaseNote, *Response, error) // UpdateReleaseNote Updates the release notes of a given release. // // Deprecated: This feature was deprecated in GitLab 11.7. // // GitLab API docs: // https://docs.gitlab.com/ee/api/tags.html#update-a-release UpdateReleaseNote(pid interface{}, tag string, opt *UpdateReleaseNoteOptions, options ...RequestOptionFunc) (*ReleaseNote, *Response, error) }
TagsService is an interface for gitlab.Client.Tags
type TasksCompletionStatus ¶
type TasksCompletionStatus = gitlab.TasksCompletionStatus
TasksCompletionStatus is an alias to gitlab.TasksCompletionStatus
type TelegramService ¶
type TelegramService = gitlab.TelegramService
TelegramService is an alias to gitlab.TelegramService
type TelegramServiceProperties ¶
type TelegramServiceProperties = gitlab.TelegramServiceProperties
TelegramServiceProperties is an alias to gitlab.TelegramServiceProperties
type TodoTargetType ¶
type TodoTargetType = gitlab.TodoTargetType
TodoTargetType is an alias to gitlab.TodoTargetType
type TodosService ¶
type TodosService interface { // ListTodos lists all todos created by authenticated user. // When no filter is applied, it returns all pending todos for the current user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/todos.html#get-a-list-of-to-do-items ListTodos(opt *ListTodosOptions, options ...RequestOptionFunc) ([]*Todo, *Response, error) // MarkTodoAsDone marks a single pending todo given by its ID for the current user as done. // // GitLab API docs: https://docs.gitlab.com/ee/api/todos.html#mark-a-to-do-item-as-done MarkTodoAsDone(id int, options ...RequestOptionFunc) (*Response, error) // MarkAllTodosAsDone marks all pending todos for the current user as done. // // GitLab API docs: https://docs.gitlab.com/ee/api/todos.html#mark-all-to-do-items-as-done MarkAllTodosAsDone(options ...RequestOptionFunc) (*Response, error) }
TodosService is an interface for gitlab.Client.Todos
type TopicAvatar ¶
type TopicAvatar = gitlab.TopicAvatar
TopicAvatar is an alias to gitlab.TopicAvatar
type TopicsService ¶
type TopicsService interface { // ListTopics returns a list of project topics in the GitLab instance ordered // by number of associated projects. // // GitLab API docs: https://docs.gitlab.com/ee/api/topics.html#list-topics ListTopics(opt *ListTopicsOptions, options ...RequestOptionFunc) ([]*Topic, *Response, error) // GetTopic gets a project topic by ID. // // GitLab API docs: https://docs.gitlab.com/ee/api/topics.html#get-a-topic GetTopic(topic int, options ...RequestOptionFunc) (*Topic, *Response, error) // CreateTopic creates a new project topic. // // GitLab API docs: // https://docs.gitlab.com/ee/api/topics.html#create-a-project-topic CreateTopic(opt *CreateTopicOptions, options ...RequestOptionFunc) (*Topic, *Response, error) // UpdateTopic updates a project topic. Only available to administrators. // // To remove a topic avatar set the TopicAvatar.Filename to an empty string // and set TopicAvatar.Image to nil. // // GitLab API docs: // https://docs.gitlab.com/ee/api/topics.html#update-a-project-topic UpdateTopic(topic int, opt *UpdateTopicOptions, options ...RequestOptionFunc) (*Topic, *Response, error) // DeleteTopic deletes a project topic. Only available to administrators. // // GitLab API docs: // https://docs.gitlab.com/ee/api/topics.html#delete-a-project-topic DeleteTopic(topic int, options ...RequestOptionFunc) (*Response, error) }
TopicsService is an interface for gitlab.Client.Topics
type TransferProjectOptions ¶
type TransferProjectOptions = gitlab.TransferProjectOptions
TransferProjectOptions is an alias to gitlab.TransferProjectOptions
type TransferSubGroupOptions ¶
type TransferSubGroupOptions = gitlab.TransferSubGroupOptions
TransferSubGroupOptions is an alias to gitlab.TransferSubGroupOptions
type UpdateBroadcastMessageOptions ¶
type UpdateBroadcastMessageOptions = gitlab.UpdateBroadcastMessageOptions
UpdateBroadcastMessageOptions is an alias to gitlab.UpdateBroadcastMessageOptions
type UpdateCommitDiscussionNoteOptions ¶
type UpdateCommitDiscussionNoteOptions = gitlab.UpdateCommitDiscussionNoteOptions
UpdateCommitDiscussionNoteOptions is an alias to gitlab.UpdateCommitDiscussionNoteOptions
type UpdateDeployKeyOptions ¶
type UpdateDeployKeyOptions = gitlab.UpdateDeployKeyOptions
UpdateDeployKeyOptions is an alias to gitlab.UpdateDeployKeyOptions
type UpdateDraftNoteOptions ¶
type UpdateDraftNoteOptions = gitlab.UpdateDraftNoteOptions
UpdateDraftNoteOptions is an alias to gitlab.UpdateDraftNoteOptions
type UpdateEnvironmentAccessOptions ¶
type UpdateEnvironmentAccessOptions = gitlab.UpdateEnvironmentAccessOptions
UpdateEnvironmentAccessOptions is an alias to gitlab.UpdateEnvironmentAccessOptions
type UpdateEnvironmentApprovalRuleOptions ¶
type UpdateEnvironmentApprovalRuleOptions = gitlab.UpdateEnvironmentApprovalRuleOptions
UpdateEnvironmentApprovalRuleOptions is an alias to gitlab.UpdateEnvironmentApprovalRuleOptions
type UpdateEpicDiscussionNoteOptions ¶
type UpdateEpicDiscussionNoteOptions = gitlab.UpdateEpicDiscussionNoteOptions
UpdateEpicDiscussionNoteOptions is an alias to gitlab.UpdateEpicDiscussionNoteOptions
type UpdateEpicIsssueAssignmentOptions ¶
type UpdateEpicIsssueAssignmentOptions = gitlab.UpdateEpicIsssueAssignmentOptions
UpdateEpicIsssueAssignmentOptions is an alias to gitlab.UpdateEpicIsssueAssignmentOptions
type UpdateEpicNoteOptions ¶
type UpdateEpicNoteOptions = gitlab.UpdateEpicNoteOptions
UpdateEpicNoteOptions is an alias to gitlab.UpdateEpicNoteOptions
type UpdateEpicOptions ¶
type UpdateEpicOptions = gitlab.UpdateEpicOptions
UpdateEpicOptions is an alias to gitlab.UpdateEpicOptions
type UpdateExternalStatusCheckOptions ¶
type UpdateExternalStatusCheckOptions = gitlab.UpdateExternalStatusCheckOptions
UpdateExternalStatusCheckOptions is an alias to gitlab.UpdateExternalStatusCheckOptions
type UpdateFileOptions ¶
type UpdateFileOptions = gitlab.UpdateFileOptions
UpdateFileOptions is an alias to gitlab.UpdateFileOptions
type UpdateFreezePeriodOptions ¶
type UpdateFreezePeriodOptions = gitlab.UpdateFreezePeriodOptions
UpdateFreezePeriodOptions is an alias to gitlab.UpdateFreezePeriodOptions
type UpdateGeoNodesOptions ¶
type UpdateGeoNodesOptions = gitlab.UpdateGeoNodesOptions
UpdateGeoNodesOptions is an alias to gitlab.UpdateGeoNodesOptions
type UpdateGroupEnvironmentAccessOptions ¶
type UpdateGroupEnvironmentAccessOptions = gitlab.UpdateGroupEnvironmentAccessOptions
UpdateGroupEnvironmentAccessOptions is an alias to gitlab.UpdateGroupEnvironmentAccessOptions
type UpdateGroupEnvironmentApprovalRuleOptions ¶
type UpdateGroupEnvironmentApprovalRuleOptions = gitlab.UpdateGroupEnvironmentApprovalRuleOptions
UpdateGroupEnvironmentApprovalRuleOptions is an alias to gitlab.UpdateGroupEnvironmentApprovalRuleOptions
type UpdateGroupIssueBoardListOptions ¶
type UpdateGroupIssueBoardListOptions = gitlab.UpdateGroupIssueBoardListOptions
UpdateGroupIssueBoardListOptions is an alias to gitlab.UpdateGroupIssueBoardListOptions
type UpdateGroupIssueBoardOptions ¶
type UpdateGroupIssueBoardOptions = gitlab.UpdateGroupIssueBoardOptions
UpdateGroupIssueBoardOptions is an alias to gitlab.UpdateGroupIssueBoardOptions
type UpdateGroupLabelOptions ¶
type UpdateGroupLabelOptions = gitlab.UpdateGroupLabelOptions
UpdateGroupLabelOptions is an alias to gitlab.UpdateGroupLabelOptions
type UpdateGroupMilestoneOptions ¶
type UpdateGroupMilestoneOptions = gitlab.UpdateGroupMilestoneOptions
UpdateGroupMilestoneOptions is an alias to gitlab.UpdateGroupMilestoneOptions
type UpdateGroupOptions ¶
type UpdateGroupOptions = gitlab.UpdateGroupOptions
UpdateGroupOptions is an alias to gitlab.UpdateGroupOptions
type UpdateGroupProtectedEnvironmentOptions ¶
type UpdateGroupProtectedEnvironmentOptions = gitlab.UpdateGroupProtectedEnvironmentOptions
UpdateGroupProtectedEnvironmentOptions is an alias to gitlab.UpdateGroupProtectedEnvironmentOptions
type UpdateGroupSecuritySettingsOptions ¶
type UpdateGroupSecuritySettingsOptions = gitlab.UpdateGroupSecuritySettingsOptions
UpdateGroupSecuritySettingsOptions is an alias to gitlab.UpdateGroupSecuritySettingsOptions
type UpdateGroupVariableOptions ¶
type UpdateGroupVariableOptions = gitlab.UpdateGroupVariableOptions
UpdateGroupVariableOptions is an alias to gitlab.UpdateGroupVariableOptions
type UpdateInstanceVariableOptions ¶
type UpdateInstanceVariableOptions = gitlab.UpdateInstanceVariableOptions
UpdateInstanceVariableOptions is an alias to gitlab.UpdateInstanceVariableOptions
type UpdateIssueBoardListOptions ¶
type UpdateIssueBoardListOptions = gitlab.UpdateIssueBoardListOptions
UpdateIssueBoardListOptions is an alias to gitlab.UpdateIssueBoardListOptions
type UpdateIssueBoardOptions ¶
type UpdateIssueBoardOptions = gitlab.UpdateIssueBoardOptions
UpdateIssueBoardOptions is an alias to gitlab.UpdateIssueBoardOptions
type UpdateIssueDiscussionNoteOptions ¶
type UpdateIssueDiscussionNoteOptions = gitlab.UpdateIssueDiscussionNoteOptions
UpdateIssueDiscussionNoteOptions is an alias to gitlab.UpdateIssueDiscussionNoteOptions
type UpdateIssueNoteOptions ¶
type UpdateIssueNoteOptions = gitlab.UpdateIssueNoteOptions
UpdateIssueNoteOptions is an alias to gitlab.UpdateIssueNoteOptions
type UpdateIssueOptions ¶
type UpdateIssueOptions = gitlab.UpdateIssueOptions
UpdateIssueOptions is an alias to gitlab.UpdateIssueOptions
type UpdateLabelOptions ¶
type UpdateLabelOptions = gitlab.UpdateLabelOptions
UpdateLabelOptions is an alias to gitlab.UpdateLabelOptions
type UpdateMergeRequestApprovalRuleOptions ¶
type UpdateMergeRequestApprovalRuleOptions = gitlab.UpdateMergeRequestApprovalRuleOptions
UpdateMergeRequestApprovalRuleOptions is an alias to gitlab.UpdateMergeRequestApprovalRuleOptions
type UpdateMergeRequestDiscussionNoteOptions ¶
type UpdateMergeRequestDiscussionNoteOptions = gitlab.UpdateMergeRequestDiscussionNoteOptions
UpdateMergeRequestDiscussionNoteOptions is an alias to gitlab.UpdateMergeRequestDiscussionNoteOptions
type UpdateMergeRequestNoteOptions ¶
type UpdateMergeRequestNoteOptions = gitlab.UpdateMergeRequestNoteOptions
UpdateMergeRequestNoteOptions is an alias to gitlab.UpdateMergeRequestNoteOptions
type UpdateMergeRequestOptions ¶
type UpdateMergeRequestOptions = gitlab.UpdateMergeRequestOptions
UpdateMergeRequestOptions is an alias to gitlab.UpdateMergeRequestOptions
type UpdateMilestoneOptions ¶
type UpdateMilestoneOptions = gitlab.UpdateMilestoneOptions
UpdateMilestoneOptions is an alias to gitlab.UpdateMilestoneOptions
type UpdatePagesDomainOptions ¶
type UpdatePagesDomainOptions = gitlab.UpdatePagesDomainOptions
UpdatePagesDomainOptions is an alias to gitlab.UpdatePagesDomainOptions
type UpdatePagesOptions ¶
type UpdatePagesOptions = gitlab.UpdatePagesOptions
UpdatePagesOptions is an alias to gitlab.UpdatePagesOptions
type UpdatePipelineMetadataOptions ¶
type UpdatePipelineMetadataOptions = gitlab.UpdatePipelineMetadataOptions
UpdatePipelineMetadataOptions is an alias to gitlab.UpdatePipelineMetadataOptions
type UpdateProjectDeploymentOptions ¶
type UpdateProjectDeploymentOptions = gitlab.UpdateProjectDeploymentOptions
UpdateProjectDeploymentOptions is an alias to gitlab.UpdateProjectDeploymentOptions
type UpdateProjectFeatureFlagOptions ¶
type UpdateProjectFeatureFlagOptions = gitlab.UpdateProjectFeatureFlagOptions
UpdateProjectFeatureFlagOptions is an alias to gitlab.UpdateProjectFeatureFlagOptions
type UpdateProjectLevelRuleOptions ¶
type UpdateProjectLevelRuleOptions = gitlab.UpdateProjectLevelRuleOptions
UpdateProjectLevelRuleOptions is an alias to gitlab.UpdateProjectLevelRuleOptions
type UpdateProjectSecuritySettingsOptions ¶
type UpdateProjectSecuritySettingsOptions = gitlab.UpdateProjectSecuritySettingsOptions
UpdateProjectSecuritySettingsOptions is an alias to gitlab.UpdateProjectSecuritySettingsOptions
type UpdateProjectSnippetOptions ¶
type UpdateProjectSnippetOptions = gitlab.UpdateProjectSnippetOptions
UpdateProjectSnippetOptions is an alias to gitlab.UpdateProjectSnippetOptions
type UpdateProjectVariableOptions ¶
type UpdateProjectVariableOptions = gitlab.UpdateProjectVariableOptions
UpdateProjectVariableOptions is an alias to gitlab.UpdateProjectVariableOptions
type UpdateProtectedBranchOptions ¶
type UpdateProtectedBranchOptions = gitlab.UpdateProtectedBranchOptions
UpdateProtectedBranchOptions is an alias to gitlab.UpdateProtectedBranchOptions
type UpdateProtectedEnvironmentsOptions ¶
type UpdateProtectedEnvironmentsOptions = gitlab.UpdateProtectedEnvironmentsOptions
UpdateProtectedEnvironmentsOptions is an alias to gitlab.UpdateProtectedEnvironmentsOptions
type UpdateReleaseLinkOptions ¶
type UpdateReleaseLinkOptions = gitlab.UpdateReleaseLinkOptions
UpdateReleaseLinkOptions is an alias to gitlab.UpdateReleaseLinkOptions
type UpdateReleaseNoteOptions ¶
type UpdateReleaseNoteOptions = gitlab.UpdateReleaseNoteOptions
UpdateReleaseNoteOptions is an alias to gitlab.UpdateReleaseNoteOptions
type UpdateReleaseOptions ¶
type UpdateReleaseOptions = gitlab.UpdateReleaseOptions
UpdateReleaseOptions is an alias to gitlab.UpdateReleaseOptions
type UpdateRunnerDetailsOptions ¶
type UpdateRunnerDetailsOptions = gitlab.UpdateRunnerDetailsOptions
UpdateRunnerDetailsOptions is an alias to gitlab.UpdateRunnerDetailsOptions
type UpdateSCIMIdentityOptions ¶
type UpdateSCIMIdentityOptions = gitlab.UpdateSCIMIdentityOptions
UpdateSCIMIdentityOptions is an alias to gitlab.UpdateSCIMIdentityOptions
type UpdateSettingsOptions ¶
type UpdateSettingsOptions = gitlab.UpdateSettingsOptions
UpdateSettingsOptions is an alias to gitlab.UpdateSettingsOptions
type UpdateSnippetDiscussionNoteOptions ¶
type UpdateSnippetDiscussionNoteOptions = gitlab.UpdateSnippetDiscussionNoteOptions
UpdateSnippetDiscussionNoteOptions is an alias to gitlab.UpdateSnippetDiscussionNoteOptions
type UpdateSnippetFileOptions ¶
type UpdateSnippetFileOptions = gitlab.UpdateSnippetFileOptions
UpdateSnippetFileOptions is an alias to gitlab.UpdateSnippetFileOptions
type UpdateSnippetNoteOptions ¶
type UpdateSnippetNoteOptions = gitlab.UpdateSnippetNoteOptions
UpdateSnippetNoteOptions is an alias to gitlab.UpdateSnippetNoteOptions
type UpdateSnippetOptions ¶
type UpdateSnippetOptions = gitlab.UpdateSnippetOptions
UpdateSnippetOptions is an alias to gitlab.UpdateSnippetOptions
type UpdateSubmoduleOptions ¶
type UpdateSubmoduleOptions = gitlab.UpdateSubmoduleOptions
UpdateSubmoduleOptions is an alias to gitlab.UpdateSubmoduleOptions
type UpdateTopicOptions ¶
type UpdateTopicOptions = gitlab.UpdateTopicOptions
UpdateTopicOptions is an alias to gitlab.UpdateTopicOptions
type UploadWikiAttachmentOptions ¶
type UploadWikiAttachmentOptions = gitlab.UploadWikiAttachmentOptions
UploadWikiAttachmentOptions is an alias to gitlab.UploadWikiAttachmentOptions
type UserActivity ¶
type UserActivity = gitlab.UserActivity
UserActivity is an alias to gitlab.UserActivity
type UserAssociationsCount ¶
type UserAssociationsCount = gitlab.UserAssociationsCount
UserAssociationsCount is an alias to gitlab.UserAssociationsCount
type UserGroupSystemEvent ¶
type UserGroupSystemEvent = gitlab.UserGroupSystemEvent
UserGroupSystemEvent is an alias to gitlab.UserGroupSystemEvent
type UserIDValue ¶
type UserIDValue = gitlab.UserIDValue
UserIDValue is an alias to gitlab.UserIDValue
type UserIdentity ¶
type UserIdentity = gitlab.UserIdentity
UserIdentity is an alias to gitlab.UserIdentity
type UserMembership ¶
type UserMembership = gitlab.UserMembership
UserMembership is an alias to gitlab.UserMembership
type UserStatusOptions ¶
type UserStatusOptions = gitlab.UserStatusOptions
UserStatusOptions is an alias to gitlab.UserStatusOptions
type UserSystemEvent ¶
type UserSystemEvent = gitlab.UserSystemEvent
UserSystemEvent is an alias to gitlab.UserSystemEvent
type UserTeamSystemEvent ¶
type UserTeamSystemEvent = gitlab.UserTeamSystemEvent
UserTeamSystemEvent is an alias to gitlab.UserTeamSystemEvent
type UsersService ¶
type UsersService interface { // ListUserContributionEvents retrieves user contribution events // for the specified user, sorted from newest to oldest. // // GitLab API docs: // https://docs.gitlab.com/ee/api/events.html#get-user-contribution-events ListUserContributionEvents(uid interface{}, opt *ListContributionEventsOptions, options ...RequestOptionFunc) ([]*ContributionEvent, *Response, error) // ListUsers gets a list of users. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#list-users ListUsers(opt *ListUsersOptions, options ...RequestOptionFunc) ([]*User, *Response, error) // GetUser gets a single user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#single-user GetUser(user int, opt GetUsersOptions, options ...RequestOptionFunc) (*User, *Response, error) // CreateUser creates a new user. Note only administrators can create new users. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#user-creation CreateUser(opt *CreateUserOptions, options ...RequestOptionFunc) (*User, *Response, error) // ModifyUser modifies an existing user. Only administrators can change attributes // of a user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#user-modification ModifyUser(user int, opt *ModifyUserOptions, options ...RequestOptionFunc) (*User, *Response, error) // DeleteUser deletes a user. Available only for administrators. This is an // idempotent function, calling this function for a non-existent user id still // returns a status code 200 OK. The JSON response differs if the user was // actually deleted or not. In the former the user is returned and in the // latter not. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#user-deletion DeleteUser(user int, options ...RequestOptionFunc) (*Response, error) // CurrentUser gets currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#list-current-user CurrentUser(options ...RequestOptionFunc) (*User, *Response, error) // CurrentUserStatus retrieves the user status // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#user-status CurrentUserStatus(options ...RequestOptionFunc) (*UserStatus, *Response, error) // GetUserStatus retrieves a user's status // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#get-the-status-of-a-user GetUserStatus(user int, options ...RequestOptionFunc) (*UserStatus, *Response, error) // SetUserStatus sets the user's status // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#set-user-status SetUserStatus(opt *UserStatusOptions, options ...RequestOptionFunc) (*UserStatus, *Response, error) // GetUserAssociationsCount gets a list of a specified user associations. // // Gitlab API docs: https://docs.gitlab.com/ee/api/users.html#list-associations-count-for-user GetUserAssociationsCount(user int, options ...RequestOptionFunc) (*UserAssociationsCount, *Response, error) // ListSSHKeys gets a list of currently authenticated user's SSH keys. // // GitLab API docs: https://docs.gitlab.com/ee/api/user_keys.html#list-all-ssh-keys ListSSHKeys(opt *ListSSHKeysOptions, options ...RequestOptionFunc) ([]*SSHKey, *Response, error) // ListSSHKeysForUser gets a list of a specified user's SSH keys. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#list-ssh-keys-for-user ListSSHKeysForUser(uid interface{}, opt *ListSSHKeysForUserOptions, options ...RequestOptionFunc) ([]*SSHKey, *Response, error) // GetSSHKey gets a single key. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#single-ssh-key GetSSHKey(key int, options ...RequestOptionFunc) (*SSHKey, *Response, error) // GetSSHKeyForUser gets a single key for a given user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#single-ssh-key-for-given-user GetSSHKeyForUser(user int, key int, options ...RequestOptionFunc) (*SSHKey, *Response, error) // AddSSHKey creates a new key owned by the currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/user_keys.html#add-an-ssh-key AddSSHKey(opt *AddSSHKeyOptions, options ...RequestOptionFunc) (*SSHKey, *Response, error) // AddSSHKeyForUser creates new key owned by specified user. Available only for // admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/user_keys.html#add-an-ssh-key-for-a-user AddSSHKeyForUser(user int, opt *AddSSHKeyOptions, options ...RequestOptionFunc) (*SSHKey, *Response, error) // DeleteSSHKey deletes key owned by currently authenticated user. This is an // idempotent function and calling it on a key that is already deleted or not // available results in 200 OK. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#delete-ssh-key-for-current-user DeleteSSHKey(key int, options ...RequestOptionFunc) (*Response, error) // DeleteSSHKeyForUser deletes key owned by a specified user. Available only // for admin. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#delete-ssh-key-for-given-user DeleteSSHKeyForUser(user, key int, options ...RequestOptionFunc) (*Response, error) // ListGPGKeys gets a list of currently authenticated user’s GPG keys. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#list-all-gpg-keys ListGPGKeys(options ...RequestOptionFunc) ([]*GPGKey, *Response, error) // GetGPGKey gets a specific GPG key of currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#get-a-specific-gpg-key GetGPGKey(key int, options ...RequestOptionFunc) (*GPGKey, *Response, error) // AddGPGKey creates a new GPG key owned by the currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#add-a-gpg-key AddGPGKey(opt *AddGPGKeyOptions, options ...RequestOptionFunc) (*GPGKey, *Response, error) // DeleteGPGKey deletes a GPG key owned by currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#delete-a-gpg-key DeleteGPGKey(key int, options ...RequestOptionFunc) (*Response, error) // ListGPGKeysForUser gets a list of a specified user’s GPG keys. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#list-all-gpg-keys-for-given-user ListGPGKeysForUser(user int, options ...RequestOptionFunc) ([]*GPGKey, *Response, error) // GetGPGKeyForUser gets a specific GPG key for a given user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#get-a-specific-gpg-key-for-a-given-user GetGPGKeyForUser(user, key int, options ...RequestOptionFunc) (*GPGKey, *Response, error) // AddGPGKeyForUser creates new GPG key owned by the specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#add-a-gpg-key-for-a-given-user AddGPGKeyForUser(user int, opt *AddGPGKeyOptions, options ...RequestOptionFunc) (*GPGKey, *Response, error) // DeleteGPGKeyForUser deletes a GPG key owned by a specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#delete-a-gpg-key-for-a-given-user DeleteGPGKeyForUser(user, key int, options ...RequestOptionFunc) (*Response, error) // ListEmails gets a list of currently authenticated user's Emails. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#list-emails ListEmails(options ...RequestOptionFunc) ([]*Email, *Response, error) // ListEmailsForUser gets a list of a specified user's Emails. Available // only for admin // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#list-emails-for-user ListEmailsForUser(user int, opt *ListEmailsForUserOptions, options ...RequestOptionFunc) ([]*Email, *Response, error) // GetEmail gets a single email. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#single-email GetEmail(email int, options ...RequestOptionFunc) (*Email, *Response, error) // AddEmail creates a new email owned by the currently authenticated user. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#add-email AddEmail(opt *AddEmailOptions, options ...RequestOptionFunc) (*Email, *Response, error) // AddEmailForUser creates new email owned by specified user. Available only for // admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#add-email-for-user AddEmailForUser(user int, opt *AddEmailOptions, options ...RequestOptionFunc) (*Email, *Response, error) // DeleteEmail deletes email owned by currently authenticated user. This is an // idempotent function and calling it on a key that is already deleted or not // available results in 200 OK. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#delete-email-for-current-user DeleteEmail(email int, options ...RequestOptionFunc) (*Response, error) // DeleteEmailForUser deletes email owned by a specified user. Available only // for admin. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#delete-email-for-given-user DeleteEmailForUser(user, email int, options ...RequestOptionFunc) (*Response, error) // BlockUser blocks the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#block-user BlockUser(user int, options ...RequestOptionFunc) error // UnblockUser unblocks the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#unblock-user UnblockUser(user int, options ...RequestOptionFunc) error // BanUser bans the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#ban-user BanUser(user int, options ...RequestOptionFunc) error // UnbanUser unbans the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#unban-user UnbanUser(user int, options ...RequestOptionFunc) error // DeactivateUser deactivate the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#deactivate-user DeactivateUser(user int, options ...RequestOptionFunc) error // ActivateUser activate the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#activate-user ActivateUser(user int, options ...RequestOptionFunc) error // ApproveUser approve the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#approve-user ApproveUser(user int, options ...RequestOptionFunc) error // RejectUser reject the specified user. Available only for admin. // // GitLab API docs: https://docs.gitlab.com/ee/api/users.html#reject-user RejectUser(user int, options ...RequestOptionFunc) error // GetAllImpersonationTokens retrieves all impersonation tokens of a user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#get-all-impersonation-tokens-of-a-user GetAllImpersonationTokens(user int, opt *GetAllImpersonationTokensOptions, options ...RequestOptionFunc) ([]*ImpersonationToken, *Response, error) // GetImpersonationToken retrieves an impersonation token of a user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#get-an-impersonation-token-of-a-user GetImpersonationToken(user, token int, options ...RequestOptionFunc) (*ImpersonationToken, *Response, error) // CreateImpersonationToken creates an impersonation token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#create-an-impersonation-token CreateImpersonationToken(user int, opt *CreateImpersonationTokenOptions, options ...RequestOptionFunc) (*ImpersonationToken, *Response, error) // RevokeImpersonationToken revokes an impersonation token. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#revoke-an-impersonation-token RevokeImpersonationToken(user, token int, options ...RequestOptionFunc) (*Response, error) // CreatePersonalAccessToken creates a personal access token. // // GitLab API docs: // https://docs.gitlab.com/api/user_tokens/#create-a-personal-access-token-for-a-user CreatePersonalAccessToken(user int, opt *CreatePersonalAccessTokenOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // CreatePersonalAccessTokenForCurrentUser creates a personal access token with limited scopes for the currently authenticated user. // // GitLab API docs: // https://docs.gitlab.com/api/user_tokens/#create-a-personal-access-token CreatePersonalAccessTokenForCurrentUser(opt *CreatePersonalAccessTokenForCurrentUserOptions, options ...RequestOptionFunc) (*PersonalAccessToken, *Response, error) // GetUserActivities retrieves user activities (admin only) // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#get-user-activities GetUserActivities(opt *GetUserActivitiesOptions, options ...RequestOptionFunc) ([]*UserActivity, *Response, error) // GetUserMemberships retrieves a list of the user's memberships. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#user-memberships GetUserMemberships(user int, opt *GetUserMembershipOptions, options ...RequestOptionFunc) ([]*UserMembership, *Response, error) // DisableTwoFactor disables two factor authentication for the specified user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#disable-two-factor-authentication DisableTwoFactor(user int, options ...RequestOptionFunc) error // CreateUserRunner creates a runner linked to the current user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#create-a-runner CreateUserRunner(opts *CreateUserRunnerOptions, options ...RequestOptionFunc) (*UserRunner, *Response, error) // CreateServiceAccountUser creates a new service account user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#create-service-account-user CreateServiceAccountUser(opts *CreateServiceAccountUserOptions, options ...RequestOptionFunc) (*User, *Response, error) // ListServiceAccounts lists all service accounts. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#create-service-account-user ListServiceAccounts(opt *ListServiceAccountsOptions, options ...RequestOptionFunc) ([]*ServiceAccount, *Response, error) // UploadAvatar uploads an avatar to the current user. // // GitLab API docs: // https://docs.gitlab.com/ee/api/users.html#upload-a-current-user-avatar UploadAvatar(avatar io.Reader, filename string, options ...RequestOptionFunc) (*User, *Response, error) }
UsersService is an interface for gitlab.Client.Users
type ValidateService ¶
type ValidateService interface { // Lint validates .gitlab-ci.yml content. // Deprecated: This endpoint was removed in GitLab 16.0. // // Gitlab API docs: // https://docs.gitlab.com/ee/api/lint.html#validate-the-ci-yaml-configuration-deprecated Lint(opts *LintOptions, options ...RequestOptionFunc) (*LintResult, *Response, error) // ProjectNamespaceLint validates .gitlab-ci.yml content by project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/lint.html#validate-a-ci-yaml-configuration-with-a-namespace ProjectNamespaceLint(pid interface{}, opt *ProjectNamespaceLintOptions, options ...RequestOptionFunc) (*ProjectLintResult, *Response, error) // ProjectLint validates .gitlab-ci.yml content by project. // // GitLab API docs: // https://docs.gitlab.com/ee/api/lint.html#validate-a-projects-ci-configuration ProjectLint(pid interface{}, opt *ProjectLintOptions, options ...RequestOptionFunc) (*ProjectLintResult, *Response, error) }
ValidateService is an interface for gitlab.Client.Validate
type VariableFilter ¶
type VariableFilter = gitlab.VariableFilter
VariableFilter is an alias to gitlab.VariableFilter
type VariableTypeValue ¶
type VariableTypeValue = gitlab.VariableTypeValue
VariableTypeValue is an alias to gitlab.VariableTypeValue
type VerifyRegisteredRunnerOptions ¶
type VerifyRegisteredRunnerOptions = gitlab.VerifyRegisteredRunnerOptions
VerifyRegisteredRunnerOptions is an alias to gitlab.VerifyRegisteredRunnerOptions
type VersionService ¶
type VersionService interface { // GetVersion gets a GitLab server instance version; it is only available to // authenticated users. // // GitLab API docs: https://docs.gitlab.com/ee/api/version.html GetVersion(options ...RequestOptionFunc) (*Version, *Response, error) }
VersionService is an interface for gitlab.Client.Version
type VisibilityValue ¶
type VisibilityValue = gitlab.VisibilityValue
VisibilityValue is an alias to gitlab.VisibilityValue
type WeightEvent ¶
type WeightEvent = gitlab.WeightEvent
WeightEvent is an alias to gitlab.WeightEvent
type WikiAttachment ¶
type WikiAttachment = gitlab.WikiAttachment
WikiAttachment is an alias to gitlab.WikiAttachment
type WikiAttachmentLink ¶
type WikiAttachmentLink = gitlab.WikiAttachmentLink
WikiAttachmentLink is an alias to gitlab.WikiAttachmentLink
type WikiFormatValue ¶
type WikiFormatValue = gitlab.WikiFormatValue
WikiFormatValue is an alias to gitlab.WikiFormatValue
type WikiPageEvent ¶
type WikiPageEvent = gitlab.WikiPageEvent
WikiPageEvent is an alias to gitlab.WikiPageEvent
type WikisService ¶
type WikisService interface { // ListWikis lists all pages of the wiki of the given project id. // When with_content is set, it also returns the content of the pages. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#list-wiki-pages ListWikis(pid interface{}, opt *ListWikisOptions, options ...RequestOptionFunc) ([]*Wiki, *Response, error) // GetWikiPage gets a wiki page for a given project. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#get-a-wiki-page GetWikiPage(pid interface{}, slug string, opt *GetWikiPageOptions, options ...RequestOptionFunc) (*Wiki, *Response, error) // CreateWikiPage creates a new wiki page for the given repository with // the given title, slug, and content. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#create-a-new-wiki-page CreateWikiPage(pid interface{}, opt *CreateWikiPageOptions, options ...RequestOptionFunc) (*Wiki, *Response, error) // EditWikiPage Updates an existing wiki page. At least one parameter is // required to update the wiki page. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#edit-an-existing-wiki-page EditWikiPage(pid interface{}, slug string, opt *EditWikiPageOptions, options ...RequestOptionFunc) (*Wiki, *Response, error) // DeleteWikiPage deletes a wiki page with a given slug. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#delete-a-wiki-page DeleteWikiPage(pid interface{}, slug string, options ...RequestOptionFunc) (*Response, error) // UploadWikiAttachment uploads a file to the attachment folder inside the wiki’s repository. The attachment folder is the uploads folder. // // GitLab API docs: // https://docs.gitlab.com/api/wikis/#upload-an-attachment-to-the-wiki-repository UploadWikiAttachment(pid interface{}, content io.Reader, filename string, opt *UploadWikiAttachmentOptions, options ...RequestOptionFunc) (*WikiAttachment, *Response, error) }
WikisService is an interface for gitlab.Client.Wikis
type YouTrackService ¶
type YouTrackService = gitlab.YouTrackService
YouTrackService is an alias to gitlab.YouTrackService
type YouTrackServiceProperties ¶
type YouTrackServiceProperties = gitlab.YouTrackServiceProperties
YouTrackServiceProperties is an alias to gitlab.YouTrackServiceProperties
Source Files
¶
- accessrequestsservice_inf.go
- aliases.go
- appearanceservice_inf.go
- applicationsservice_inf.go
- auditeventsservice_inf.go
- avatarrequestsservice_inf.go
- awardemojiservice_inf.go
- branchesservice_inf.go
- broadcastmessagesservice_inf.go
- bulkimportsservice_inf.go
- ciymltemplatesservice_inf.go
- client.go
- clusteragentsservice_inf.go
- commitsservice_inf.go
- containerregistryservice_inf.go
- customattributesservice_inf.go
- dependencylistexportservice_inf.go
- deploykeysservice_inf.go
- deploymentmergerequestsservice_inf.go
- deploymentsservice_inf.go
- deploytokensservice_inf.go
- discussionsservice_inf.go
- dockerfiletemplatesservice_inf.go
- dorametricsservice_inf.go
- draftnotesservice_inf.go
- embedded_structs.go
- environmentsservice_inf.go
- epicissuesservice_inf.go
- epicsservice_inf.go
- errortrackingservice_inf.go
- eventsservice_inf.go
- externalstatuschecksservice_inf.go
- featuresservice_inf.go
- freezeperiodsservice_inf.go
- functions.go
- genericpackagesservice_inf.go
- geonodesservice_inf.go
- gitignoretemplatesservice_inf.go
- groupaccesstokensservice_inf.go
- groupbadgesservice_inf.go
- groupclustersservice_inf.go
- groupepicboardsservice_inf.go
- groupimportexportservice_inf.go
- groupissueboardsservice_inf.go
- groupiterationsservice_inf.go
- grouplabelsservice_inf.go
- groupmembersservice_inf.go
- groupmilestonesservice_inf.go
- groupprotectedenvironmentsservice_inf.go
- groupreleasesservice_inf.go
- grouprepositorystoragemoveservice_inf.go
- groupscimservice_inf.go
- groupsecuritysettingsservice_inf.go
- groupsservice_inf.go
- groupsshcertificatesservice_inf.go
- groupvariablesservice_inf.go
- groupwikisservice_inf.go
- importservice_inf.go
- instanceclustersservice_inf.go
- instancevariablesservice_inf.go
- interface.go
- invitesservice_inf.go
- issueboardsservice_inf.go
- issuelinksservice_inf.go
- issuesservice_inf.go
- issuesstatisticsservice_inf.go
- jobsservice_inf.go
- jobtokenscopeservice_inf.go
- keysservice_inf.go
- labelsservice_inf.go
- licenseservice_inf.go
- licensetemplatesservice_inf.go
- managedlicensesservice_inf.go
- markdownservice_inf.go
- memberrolesservice_inf.go
- mergerequestapprovalsservice_inf.go
- mergerequestsservice_inf.go
- mergetrainsservice_inf.go
- metadataservice_inf.go
- milestonesservice_inf.go
- mock_client.go
- namespacesservice_inf.go
- notesservice_inf.go
- notificationsettingsservice_inf.go
- packagesservice_inf.go
- pagesdomainsservice_inf.go
- pagesservice_inf.go
- personalaccesstokensservice_inf.go
- pipelineschedulesservice_inf.go
- pipelinesservice_inf.go
- pipelinetriggersservice_inf.go
- planlimitsservice_inf.go
- projectaccesstokensservice_inf.go
- projectbadgesservice_inf.go
- projectclustersservice_inf.go
- projectfeatureflagservice_inf.go
- projectimportexportservice_inf.go
- projectiterationsservice_inf.go
- projectmarkdownuploadsservice_inf.go
- projectmembersservice_inf.go
- projectmirrorservice_inf.go
- projectrepositorystoragemoveservice_inf.go
- projectsecuritysettingsservice_inf.go
- projectsnippetsservice_inf.go
- projectsservice_inf.go
- projecttemplatesservice_inf.go
- projectvariablesservice_inf.go
- projectvulnerabilitiesservice_inf.go
- protectedbranchesservice_inf.go
- protectedenvironmentsservice_inf.go
- protectedtagsservice_inf.go
- releaselinksservice_inf.go
- releasesservice_inf.go
- repositoriesservice_inf.go
- repositoryfilesservice_inf.go
- repositorysubmodulesservice_inf.go
- resourcegroupservice_inf.go
- resourceiterationeventsservice_inf.go
- resourcelabeleventsservice_inf.go
- resourcemilestoneeventsservice_inf.go
- resourcestateeventsservice_inf.go
- resourceweighteventsservice_inf.go
- runnersservice_inf.go
- searchservice_inf.go
- securefilesservice_inf.go
- servicesservice_inf.go
- settingsservice_inf.go
- sidekiqservice_inf.go
- snippetrepositorystoragemoveservice_inf.go
- snippetsservice_inf.go
- systemhooksservice_inf.go
- tagsservice_inf.go
- todosservice_inf.go
- topicsservice_inf.go
- usersservice_inf.go
- validateservice_inf.go
- versionservice_inf.go
- wikisservice_inf.go