Skip to main content

GitlabSource class

Retrieves available releases from a GitLab repository.

class GitlabSource

Constructors

ConstructorSummary
constructorCreate a new GitlabSource.

constructor(repoUrl, accessToken, prerelease)

constructor(repoUrl: string, accessToken?: string, prerelease?: boolean)

Create a new GitlabSource.

Parameters

NameTypeDescription
repoUrlstringThe GitLab API URL (e.g. "https://gitlab.com/api/v4/projects/ProjectId").
accessTokenstringOptional GitLab access token (sent as PRIVATE-TOKEN header). (optional)
prereleasebooleanIf true, upcoming/pre-releases will also be searched. (optional)

Properties

PropertySummary
accessToken
prerelease
repoUrl

accessToken

accessToken: string

readonly

prerelease

prerelease: boolean

readonly

repoUrl

repoUrl: string

readonly


Generated from velopack 1.2.110-ge826545