Documentation
¶
Overview ¶
Package tsnet adapts embedded Tailscale runtimes to Tailpath exporter snapshots.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source reads the passive runtime status of one embedded Tailscale identity.
func New ¶
func New(server *tailscaletsnet.Server) (*Source, error)
New obtains a LocalClient from server and returns a Source for that embedded identity. Tailscale may start an unstarted server while obtaining its LocalClient; the application remains responsible for all server lifecycle.
func NewLocalClient ¶
NewLocalClient returns a Source backed by an existing embedded LocalAPI client without changing the associated server lifecycle.
Click to show internal directories.
Click to hide internal directories.