package
0.23.0-beta3.patch5
Repository: https://github.com/tpuljak/headscale.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
New returns a new HeadscaleInContainer instance.
WithACLPolicy adds a hscontrol.ACLPolicy policy to the HeadscaleInContainer instance.
WithConfigEnv takes a map of environment variables that can be used to override Headscale configuration.
WithEmbeddedDERPServerOnly configures Headscale to start and only use the embedded DERP server.
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
WithIPAllocationStrategy sets the tests IP Allocation strategy.
WithPort sets the port on where to run Headscale.
WithPostgres spins up a Postgres container and sets it as the main database.
WithTestName sets a name for the test, this will be reflected in the Docker container name.
No description provided by the author
WithTLS creates certificates and enables HTTPS.
WithTuning allows changing the tuning settings easily.

# 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.