Documentation ¶
Index ¶
- Constants
- func NewGitlabAuthUser(ctx context.Context, httpcli *http.Client, user, pass, baseUrl string, ...) (cli libart.Client, err error)
- func NewGitlabOAuth(ctx context.Context, httpcli *http.Client, oAuthToken, baseUrl string, ...) (cli libart.Client, err error)
- func NewGitlabPrivateToken(ctx context.Context, httpcli *http.Client, token, baseUrl string, ...) (cli libart.Client, err error)
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libart.MinArtifactGitlab ErrorURLParse ErrorClientInit ErrorGitlabList ErrorGitlabGetRelease ErrorGitlabNotFound ErrorGitlabRequestNew ErrorGitlabRequestRun ErrorGitlabResponse ErrorGitlabIOCopy ErrorDestinationStat ErrorDestinationSize )
View Source
const ( GitlabAPIBase = "/api" GitlabAPIVersion = "/v4" )
Variables ¶
This section is empty.
Functions ¶
func NewGitlabAuthUser ¶
func NewGitlabOAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.