DockerAlias

com.typesafe.sbt.packager.docker.DockerAlias
case class DockerAlias(registryHost: Option[String], username: Option[String], name: String, tag: Option[String])

This class represents a Docker alias. It generates a string in the form of

[REGISTRY_HOST/][USERNAME/]NAME[:TAG]

, e.g. ''my-registry.com:1234/my-user/my-service:1.0.0'' or just ''my-service:1.0.0''.

Value parameters

name

Name of the image, e.g. the artifact name

registryHost

Optional hostname of the registry (including port if applicable)

tag

Optional tag for the image, e.g. the version

username

Optional username or other qualifier

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def withName(name: String): DockerAlias
def withRegistryHost(registryHost: Option[String]): DockerAlias
def withTag(tag: Option[String]): DockerAlias
def withUsername(username: Option[String]): DockerAlias

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product