Documentation ¶
Index ¶
Constants ¶
View Source
const Backend = "gitlabci"
Backend name
View Source
const DefaultTimeout = time.Minute
DefaultTimeout for sub requests
View Source
const DefaultUsername = "gitlab-ci-token"
DefaultUsername to use when talking to gitlab
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabCI ¶
type GitlabCI struct {
// contains filtered or unexported fields
}
GitlabCI backend provides authentication against gitlab paths, primarily to make it easier to dynamically authenticate the gitlab-ci against gitlab permitting testing access to otherwise private resources without storing credentials in gitlab or gitlab-ci.yml
Authenticating against this backend should be done with the project path as the username and the token as the password.
Example: docker login docker.example.com -u "$CI_PROJECT_PATH" -p "$CI_BUILD_TOKEN"
Click to show internal directories.
Click to hide internal directories.