Skip to main content

Crate ts_control

Crate ts_control 

Source
Expand description

§ts_control

Client for the Tailscale control plane.

Structs§

AsyncControlClient
A client to communicate with control.
Config
Configuration for the control server.
ControlDialer
Manages state for control dial plan and handles selection of successive dial candidates.
DEFAULT_CONTROL_SERVER
The default Url of the control plane server (aka “coordination server”).
DerpRegion
A single derp Region, holding the region info and all the server info.
DialCandidate
A candidate endpoint for a control plane connection.
Node
A node in a tailnet.
StableNodeId
The stable ID of a node.
StateUpdate
An update to the netmap state produced from a mapresponse.
TailnetAddress
Addresses for a node within a tailnet.

Enums§

AuthResult
Result of authorizing with the control plane.
DialMode
The mode with which to connect to the control plane.
DialPlan
A plan to connect to the control plane, supplied as part of a netmap update.
Error
Errors that may occur while communicating with control.
PeerUpdate
An update to the peers recorded in the netmap.

Statics§

DEFAULT_CONTROL_SERVER

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_serde representation to the ts_transport_derp representation.

Type Aliases§

DerpMap
The full derp state, a map of ts_transport_derp::RegionIds to Regions.
FilterUpdate
The components of a packet filter update.
NodeId
The unique id of a node.