# Functions
New returns a new TailscaleInContainer instance.
WithCurlConnectionTimeout sets the timeout for each connection started by curl.
WithCurlMaxTime sets the max time for a transfer for each connection started by curl.
WithCurlRetry sets the number of retries a connection is attempted by curl.
WithDockerEntrypoint allows the docker entrypoint of the container to be overridden.
WithDockerWorkdir allows the docker working directory to be set.
No description provided by the author
WithHeadscaleName set the name of the headscale instance, mostly useful in combination with TLS and WithHeadscaleTLS.
WithHeadscaleTLS takes the certificate of the Headscale instance and adds it to the trusted surtificate of the Tailscale container.
WithOrCreateNetwork sets the Docker container network to use with the Tailscale instance, if the parameter is nil, a new network, isolating the TailscaleClient, will be created.
WithPingCount sets the count of pings to attempt.
WithPingTimeout sets the timeout for the ping command.
WithPingUntilDirect decides if the ping should only succeed if a direct connection is established or if successful DERP ping is sufficient.
WithSSH enables SSH for the Tailscale instance.
WithTags associates the given tags to the Tailscale instance.
# Structs
TailscaleInContainer is an implementation of TailscaleClient which sets up a Tailscale instance inside a container.
# Type aliases
No description provided by the author
Option represent optional settings that can be given to a Tailscale instance.
No description provided by the author