Packages

c

izumi.distage.docker.DockerContainer

DockerProviderExtensions

implicit final class DockerProviderExtensions[F[_], T] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DockerProviderExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DockerProviderExtensions(self: Functoid[ContainerResource[F, T]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def connectToNetwork(networkDecl: ContainerNetworkDef)(implicit tag1: distage.Tag[ContainerNetwork[Tag]], tag2: distage.Tag[ContainerResource[F, T]], tag3: distage.Tag[ContainerConfig[T]]): Functoid[ContainerResource[F, T]]
  6. def connectToNetwork[T2](implicit tag1: distage.Tag[ContainerNetwork[T2]], tag2: distage.Tag[ContainerResource[F, T]], tag3: distage.Tag[ContainerConfig[T]]): Functoid[ContainerResource[F, T]]
  7. def dependOnDocker[T2](implicit tag: distage.Tag[DockerContainer[T2]]): Functoid[ContainerResource[F, T]]
  8. def dependOnDocker(containerDecl: ContainerDef)(implicit tag: distage.Tag[DockerContainer[Tag]]): Functoid[ContainerResource[F, T]]
  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def modifyConfig(modify: Functoid[(ContainerConfig[T]) => ContainerConfig[T]])(implicit tag: distage.Tag[ContainerResource[F, T]]): Functoid[ContainerResource[F, T]]

    Allows you to modify ContainerConfig while summoning additional dependencies from the object graph using Functoid.

    Allows you to modify ContainerConfig while summoning additional dependencies from the object graph using Functoid.

    Example:

    KafkaDocker
      .make[F]
      .modifyConfig {
        (zookeeperDocker: ZookeeperDocker.Container, net: KafkaZookeeperNetwork.Network) =>
          (old: KafkaDocker.Config) =>
            val zkEnv = KafkaDocker.config.env ++ Map("KAFKA_ZOOKEEPER_CONNECT" -> s"${zookeeperDocker.hostName}:2181")
            val zkNet = KafkaDocker.config.networks + net
            old.copy(env = zkEnv, networks = zkNet)
      }
  12. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped