GitlabToken

mill.contrib.gitlab.GitlabTokenLookup.GitlabToken
trait GitlabToken

Possible types of a Gitlab authentication header.

  • Personal = "Private-Token" ->
  • Deploy = "Deploy-Token"->
  • CIJob = "Job-Token" ->
  • CustomHeader = Use with TokenSource/Custom to produce anything you like

Currently only one custom header is supported. If you need multiple override gitlabToken from GitlabPublishModule directly

Attributes

Source
GitlabTokenLookup.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CIJob
class CustomHeader
class Deploy
class Personal

Members list

Value members

Abstract methods

Attributes

Source
GitlabTokenLookup.scala