o

izumi.distage.docker.bundled

PostgresFlyWayDocker

object PostgresFlyWayDocker extends ContainerDef

Linear Supertypes
ContainerDef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostgresFlyWayDocker
  2. ContainerDef
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Cfg(flyWaySqlPath: String = Cfg.defaultMigrationsResource, user: String = "postgres", password: String = "postgres", database: String = "postgres", schema: String = "public") extends Product with Serializable

    flyWaySqlPath

    path to the migrations directory, by default /sql in current resource directory if exists

  2. final type Config = ContainerConfig[Tag]
    Definition Classes
    ContainerDef
  3. final type Container = DockerContainer[Tag]
    Definition Classes
    ContainerDef
  4. abstract type Tag
    Definition Classes
    ContainerDef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final lazy val Config: ContainerConfig.type
    Definition Classes
    ContainerDef
  5. def applyCfg(cfg: Cfg): (Config) => Config
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def config: Config
    Definition Classes
    PostgresFlyWayDockerContainerDef
  9. final def copy(config: Config): Aux[Tag]
    Definition Classes
    ContainerDef
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def make[F[_]](implicit arg0: distage.TagK[F], tag: distage.Tag[Tag]): Functoid[ContainerResource[F, Tag] with Lifecycle[F, Container]]

    For binding in ModuleDef:

    For binding in ModuleDef:

    object KafkaDocker extends ContainerDef
    object ZookeeperDocker extends ContainerDef
    
    make[KafkaDocker.Container].fromResource {
      KafkaDocker
        .make[F]
        .dependOnContainer(ZookeeperDocker)
    }

    To kill all containers spawned by distage, use the following command:

    docker rm -f $(docker ps -q -a -f 'label=distage.type')
    Definition Classes
    ContainerDef
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val primaryPort: DockerPort
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. object Cfg extends Serializable
  27. object FlyWay extends ContainerDef
  28. object FlyWayNetwork extends ContainerNetworkDef

Inherited from ContainerDef

Inherited from AnyRef

Inherited from Any

Ungrouped