http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-platform-docker
/
org.http4k.docker.config
/
fromDockerSwarmSecrets
from
Docker
Swarm
Secrets
fun
Environment.Companion
.
fromDockerSwarmSecrets
(
path
:
Path
=
File("/run/secrets").toPath()
,
mapName
:
(
String
)
->
String
=
{ it.uppercase().replace("-", "_") }
)
:
Environment
(
source
)