Documentation ¶
Index ¶
- Constants
- func IsCodeError() bool
- func NewGitlabAuthUser(ctx context.Context, httpcli *http.Client, user, pass, baseUrl string, ...) (cli artifact.Client, err errors.Error)
- func NewGitlabOAuth(ctx context.Context, httpcli *http.Client, oAuthToken, baseUrl string, ...) (cli artifact.Client, err errors.Error)
- func NewGitlabPrivateToken(ctx context.Context, httpcli *http.Client, token, baseUrl string, ...) (cli artifact.Client, err errors.Error)
Constants ¶
View Source
const ( ErrorParamsEmpty errors.CodeError = iota + artifact.MIN_ARTIFACT_GITLAB 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 IsCodeError ¶
func IsCodeError() bool
func NewGitlabAuthUser ¶
func NewGitlabOAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.