mill.contrib.gitlab.GitlabTokenLookup
See theGitlabTokenLookup companion trait
object GitlabTokenLookup
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GitlabTokenLookup.type
Members list
Type members
Classlikes
case class CIJob(source: TokenSource) extends GitlabToken
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GitlabTokenclass Objecttrait Matchableclass AnyShow all
case class Custom(f: () => Result[String]) extends TokenSource
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TokenSourceclass Objecttrait Matchableclass AnyShow all
case class CustomHeader(header: String, source: TokenSource) extends GitlabToken
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GitlabTokenclass Objecttrait Matchableclass AnyShow all
case class Deploy(source: TokenSource) extends GitlabToken
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GitlabTokenclass Objecttrait Matchableclass AnyShow all
case class Env(name: String) extends TokenSource
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TokenSourceclass Objecttrait Matchableclass AnyShow all
case class File(path: Path) extends TokenSource
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TokenSourceclass Objecttrait Matchableclass AnyShow all
@Scaladoc(value = "/**\n * Possible types of a Gitlab authentication header.\n * - Personal = \"Private-Token\" ->\n * - Deploy = \"Deploy-Token\"->\n * - CIJob = \"Job-Token\" ->\n * - CustomHeader = Use with TokenSource/Custom to produce anything you like\n *\n * Currently only one custom header is supported. If you need multiple override gitlabToken from GitlabPublishModule\n * directly\n */")
trait GitlabToken
Possible types of a Gitlab authentication header.
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
case class Personal(source: TokenSource) extends GitlabToken
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GitlabTokenclass Objecttrait Matchableclass AnyShow all
case class Property(property: String) extends TokenSource
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TokenSourceclass Objecttrait Matchableclass AnyShow all
@Scaladoc(value = "/**\n * Possible source of token value. Either an\n * - Env = Environment variable\n * - Property = Javas system property\n * - File =Contents of a file on local disk.\n * - Custom = Own function\n *\n * Possible additions, that can now be supported with Custom: KeyVault, Yaml, etc.\n */")
Possible source of token value. Either an
Possible source of token value. Either an
- Env = Environment variable
- Property = Javas system property
- File =Contents of a file on local disk.
- Custom = Own function
Possible additions, that can now be supported with Custom: KeyVault, Yaml, etc.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
case class WorkspaceFile(path: RelPath) extends TokenSource
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TokenSourceclass Objecttrait Matchableclass AnyShow all
In this article