class PostgresFlyWayDockerModule[F[_]] extends distage.ModuleDef

By default PostgresFlyWayDocker will mount the resources/sql directory in the target docker, however, this cannot work if resources folder is virtual, i.e. inside the JAR - this module will only work in development mode when resources are represented by files on the filesystem.

If you need to run PostgresFlyWayDocker in a JAR, please use a custom cfg parameter

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostgresFlyWayDockerModule
  2. ModuleDef
  3. ModuleDefDSL
  4. TagsDSL
  5. IncludesDSL
  6. AbstractBindingDefDSL
  7. AbstractBindingDefDSLMacro
  8. Module
  9. ModuleBase
  10. CachedHashcode
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PostgresFlyWayDockerModule(cfg: => Cfg = PostgresFlyWayDocker.Cfg())(implicit arg0: distage.TagK[F])

    cfg

    Config with flyway migrations path

Type Members

  1. final class MutationContext extends AnyRef

    Use this to create utility functions that add bindings mutably to the current module, as opposed to creating new modules and including them.

    Use this to create utility functions that add bindings mutably to the current module, as opposed to creating new modules and including them.

    Example:

    import distage.{ClassConstructor, Tag, ModuleDef}
    import izumi.distage.model.definition.dsl.ModuleDefDSL
    
    trait RegisteredComponent
    class RegisteredComponentImpl extends RegisteredComponent
    
    def addAndRegister[T <: RegisteredComponent: Tag: ClassConstructor](implicit mutateModule: ModuleDefDSL#MutationContext): Unit = {
      new mutateModule.dsl {
        make[T]
    
        many[RegisteredComponent]
          .weak[T]
      }
    }
    
    new ModuleDef {
      addAndRegister[RegisteredComponentImpl]
    }
    Definition Classes
    AbstractBindingDefDSL

Value Members

  1. final def bindings: Set[Binding]
    Definition Classes
    ModuleDefDSL
  2. final def equals(obj: Any): Boolean
    Definition Classes
    ModuleBase → AnyRef → Any
  3. final lazy val hashCode: Int
    Definition Classes
    CachedHashcode → AnyRef → Any
  4. final def iterator: Iterator[Binding]
    Definition Classes
    ModuleDefDSL
  5. final def keys: Set[DIKey]
    Definition Classes
    ModuleBase
  6. final def keysIterator: Iterator[DIKey]
    Definition Classes
    ModuleDefDSL
  7. final def toString(): String
    Definition Classes
    ModuleBase → AnyRef → Any