Expand description
§ts_control
Client for the Tailscale control plane.
Structs§
- Async
Control Client - A client to communicate with control.
- Config
- Configuration for the control server.
- Control
Dialer - Manages state for control dial plan and handles selection of successive dial candidates.
- DEFAULT_
CONTROL_ SERVER - The default
Urlof the control plane server (aka “coordination server”). - Derp
Region - A single derp
Region, holding the region info and all the server info. - Dial
Candidate - A candidate endpoint for a control plane connection.
- Node
- A node in a tailnet.
- Stable
Node Id - The stable ID of a node.
- State
Update - An update to the netmap state produced from a mapresponse.
- Tailnet
Address - Addresses for a node within a tailnet.
Enums§
- Auth
Result - Result of authorizing with the control plane.
- Dial
Mode - The mode with which to connect to the control plane.
- Dial
Plan - A plan to connect to the control plane, supplied as part of a netmap update.
- Error
- Errors that may occur while communicating with control.
- Peer
Update - An update to the peers recorded in the netmap.
Statics§
Traits§
- TcpDialer
- Creates a TCP connection on the basis of a specific
DialCandidate.
Functions§
- complete_
connection - Complete a connection to control over the supplied I/O
stream. - convert_
derp_ map - Convert a derp map from the
ts_control_serderepresentation to thets_transport_derprepresentation.
Type Aliases§
- DerpMap
- The full derp state, a map of
ts_transport_derp::RegionIds toRegions. - Filter
Update - The components of a packet filter update.
- NodeId
- The unique id of a node.