//
pkg.gl
Category
github.com/hernad/nomad
drivers
shared
hostnames
package
1.6.112
Repository:
https://github.com/hernad/nomad.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
6
Dependents
2
Files
73 SLOC
#
Functions
GenerateEtcHostsMount
GenerateEtcHostsMount writes a /etc/hosts file using the network spec's hosts configuration, and returns a mount config so that task drivers can bind-mount it into the resulting task's filesystem.