harness.docker.DockerAppName.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of harness-docker_3 Show documentation
Show all versions of harness-docker_3 Show documentation
Miscellaneous libraries/utilities for Scala.
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