# Functions
HashRegisterRequest generates the hash required sign or verify a tailcfg.RegisterRequest.
New creates and starts a new Auto.
NewDirect returns a new Direct client.
NewNoiseClient returns a new noiseClient for the provided server and machine key.
NewNoStart creates a new Auto, but without calling Start on it.
# Constants
LocalBackendStartKeyOSNeutral instructs NewLocalBackend to start the LocalBackend without any OS-dependent StateStore StartKey behavior.
No description provided by the author
set RegisterRequest.Ephemeral.
force user login and key refresh.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
connected and received map update.
No description provided by the author
# Variables
DevKnob contains temporary internal-only debug knobs.
No description provided by the author
# Structs
Auto connects to a tailcontrol server for a node.
Direct is the client that connects to a tailcontrol server for a node.
No description provided by the author
NoiseClient provides a http.Client to connect to tailcontrol over the ts2021 protocol.
NoiseOpts contains options for the NewNoiseClient function.
No description provided by the author
No description provided by the author
# Interfaces
Client represents a client connection to the control server.
ControlDialPlanner is the interface optionally supplied when creating a control client to control exactly how TCP connections to the control plane are dialed.
NetmapDeltaUpdater is an optional interface that can be implemented by NetmapUpdater implementations to receive delta updates from the controlclient rather than just full updates.
NetmapUpdater is the interface needed by the controlclient to enact change in the world as a function of updates received from the network.
Observer is implemented by users of the control client (such as LocalBackend) to get notified of changes in the control client's status.
Pinger is the LocalBackend.Ping method.
# Type aliases
LoginFlags is a bitmask of options to change the behavior of Client.Login and LocalBackend.
State is the high-level state of the client.
UserVisibleError is an error that should be shown to users.