crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
5a2f7533
ROOT
/
vendor
/
github.com
/
xanzy
/
go-gitlab
/
gitlab.go
Search
History
946 lines
|
ISO-8859-1
|
29 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
defaultBaseURL
apiVersionPath
userAgent
headerRateLimit
headerRateReset
AuthType
BasicAuth
:
AuthType
JobToken
OAuthToken
PrivateToken
Client
client
:
*retryablehttp.Client
baseURL
:
*url.URL
disableRetries
:
bool
configureLimiterOnce
:
sync.Once
limiter
:
RateLimiter
authType
:
AuthType
username
:
string
password
:
string
token
:
string
tokenLock
:
sync.RWMutex
UserAgent
:
string
AccessRequests
:
*AccessRequestsService
Applications
:
*ApplicationsService
AuditEvents
:
*AuditEventsService
Avatar
:
*AvatarRequestsService
AwardEmoji
:
*AwardEmojiService
Boards
:
*IssueBoardsService
Branches
:
*BranchesService
BroadcastMessage
:
*BroadcastMessagesService
CIYMLTemplate
:
*CIYMLTemplatesService
ClusterAgents
:
*ClusterAgentsService
Commits
:
*CommitsService
ContainerRegistry
:
*ContainerRegistryService
CustomAttribute
:
*CustomAttributesService
DeployKeys
:
*DeployKeysService
DeployTokens
:
*DeployTokensService
DeploymentMergeRequests
:
*DeploymentMergeRequestsService
Deployments
:
*DeploymentsService
Discussions
:
*DiscussionsService
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
GroupImportExport
:
*GroupImportExportService
GroupIssueBoards
:
*GroupIssueBoardsService
GroupIterations
:
*GroupIterationsService
GroupLabels
:
*GroupLabelsService
GroupMembers
:
*GroupMembersService
GroupMilestones
:
*GroupMilestonesService
GroupVariables
:
*GroupVariablesService
GroupWikis
:
*GroupWikisService
Groups
:
*GroupsService
InstanceCluster
:
*InstanceClustersService
InstanceVariables
:
*InstanceVariablesService
Invites
:
*InvitesService
IssueLinks
:
*IssueLinksService
Issues
:
*IssuesService
IssuesStatistics
:
*IssuesStatisticsService
Jobs
:
*JobsService
Keys
:
*KeysService
Labels
:
*LabelsService
License
:
*LicenseService
LicenseTemplates
:
*LicenseTemplatesService
ManagedLicenses
:
*ManagedLicensesService
Markdown
:
*MarkdownService
MergeRequestApprovals
:
*MergeRequestApprovalsService
MergeRequests
:
*MergeRequestsService
Milestones
:
*MilestonesService
Namespaces
:
*NamespacesService
Notes
:
*NotesService
NotificationSettings
:
*NotificationSettingsService
Packages
:
*PackagesService
Pages
:
*PagesService
PagesDomains
:
*PagesDomainsService
PersonalAccessTokens
:
*PersonalAccessTokensService
PipelineSchedules
:
*PipelineSchedulesService
PipelineTriggers
:
*PipelineTriggersService
Pipelines
:
*PipelinesService
PlanLimits
:
*PlanLimitsService
ProjectAccessTokens
:
*ProjectAccessTokensService
ProjectBadges
:
*ProjectBadgesService
ProjectCluster
:
*ProjectClustersService
ProjectImportExport
:
*ProjectImportExportService
ProjectIterations
:
*ProjectIterationsService
ProjectMembers
:
*ProjectMembersService
ProjectMirrors
:
*ProjectMirrorService
ProjectSnippets
:
*ProjectSnippetsService
ProjectVariables
:
*ProjectVariablesService
ProjectVulnerabilities
:
*ProjectVulnerabilitiesService
Projects
:
*ProjectsService
ProtectedBranches
:
*ProtectedBranchesService
ProtectedEnvironments
:
*ProtectedEnvironmentsService
ProtectedTags
:
*ProtectedTagsService
ReleaseLinks
:
*ReleaseLinksService
Releases
:
*ReleasesService
Repositories
:
*RepositoriesService
RepositoryFiles
:
*RepositoryFilesService
RepositorySubmodules
:
*RepositorySubmodulesService
ResourceLabelEvents
:
*ResourceLabelEventsService
ResourceMilestoneEvents
:
*ResourceMilestoneEventsService
ResourceStateEvents
:
*ResourceStateEventsService
Runners
:
*RunnersService
Search
:
*SearchService
Services
:
*ServicesService
Settings
:
*SettingsService
Sidekiq
:
*SidekiqService
Snippets
:
*SnippetsService
SystemHooks
:
*SystemHooksService
Tags
:
*TagsService
Todos
:
*TodosService
Topics
:
*TopicsService
Users
:
*UsersService
Validate
:
*ValidateService
Version
:
*VersionService
Wikis
:
*WikisService
ListOptions
Page
:
int
PerPage
:
int
RateLimiter
Wait
(context.Context)
:
error
NewClient
(token string, options ...ClientOptionFunc)
:
(*Client, error)
NewBasicAuthClient
(username, password string, options ...ClientOptionFunc)
:
(*Client, error)
NewJobClient
(token string, options ...ClientOptionFunc)
:
(*Client, error)
NewOAuthClient
(token string, options ...ClientOptionFunc)
:
(*Client, error)
newClient
(options ...ClientOptionFunc)
:
(*Client, error)
rateLimitBackoff
(min, max time.Duration, attemptNum int, resp *http.Response)
:
time.Duration
Response
http.Response
TotalItems
:
int
TotalPages
:
int
ItemsPerPage
:
int
CurrentPage
:
int
NextPage
:
int
PreviousPage
:
int
newResponse
(r *http.Response)
:
*Response
xTotal
xTotalPages
xPerPage
xPage
xNextPage
xPrevPage
parseID
(id interface{})
:
(string, error)
PathEscape
(s string)
:
string
ErrorResponse
Body
:
[]byte
Response
:
*http.Response
Message
:
string
CheckResponse
(r *http.Response)
:
error
parseError
(raw interface{})
:
string
*Client
retryHTTPCheck
(ctx context.Context, resp *http.Response, err error)
:
(bool, error)
retryHTTPBackoff
(min, max time.Duration, attemptNum int, resp *http.Response)
:
time.Duration
configureLimiter
(ctx context.Context)
:
error
BaseURL
()
:
*url.URL
setBaseURL
(urlStr string)
:
error
NewRequest
(method, path string, opt interface{}, options []RequestOptionFunc)
:
(*retryablehttp.Request, error)
UploadRequest
(method, path string, content io.Reader, filename string, uploadType UploadType, opt interface{}, options []RequestOptionFunc)
:
(*retryablehttp.Request, error)
Do
(req *retryablehttp.Request, v interface{})
:
(*Response, error)
requestOAuthToken
(ctx context.Context, token string)
:
(string, error)
*Response
populatePageValues
()
*ErrorResponse
Error
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover