All Downloads are FREE. Search and download functionalities are using the official Maven repository.

harness.docker.DockerAppName.scala Maven / Gradle / Ivy

There is a newer version: 3.1.14
Show newest version
package harness.docker

import harness.zio.*
import zio.*

final case class DockerAppName(value: String)
object DockerAppName {

  val value: URIO[DockerAppName, String] = ZIO.serviceWith[DockerAppName](_.value)

  def layer(value: String): ULayer[DockerAppName] = ZLayer.succeed(DockerAppName(value))

  def configLayer(jsonPath: String*): HRLayer[HConfig, DockerAppName] =
    HConfig.readLayer[String](jsonPath*).project(DockerAppName(_))

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy