# Functions
No description provided by the author
TODO: Reuse the actual configuration object above.
No description provided by the author
New returns a new HeadscaleInContainer instance.
WithConfigEnv takes a map of environment variables that can be used to override Headscale configuration.
WithExtraPorts exposes additional ports on the container (e.g.
WithFileInContainer adds a file to the container at the given path.
WithHostnameAsServerURL sets the Headscale ServerURL based on the Hostname.
No description provided by the author
WithPort sets the port on where to run Headscale.
WithTestName sets a name for the test, this will be reflected in the Docker container name.
WithTLS creates certificates and enables HTTPS.
# Structs
HeadscaleInContainer is an implementation of ControlServer which sets up a Headscale instance inside a container.
# Type aliases
Option represent optional settings that can be given to a Headscale instance.