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§

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
An error which occurred while connecting to the control server or control plane.
InternalErrorKind
What kind of internal error has occurred.
Operation
The phase of connecting the control plane to a Tailnet in which an error occurs.
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.