Help us shape the future of Go! Take the 2026 Go Developer Survey

tailscaleadapter

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlStableNodeIDs

func ControlStableNodeIDs(ctx context.Context, client *local.Client) ([]string, error)

Types

type Authorizer

type Authorizer struct {
	// contains filtered or unexported fields
}

func NewAuthorizer

func NewAuthorizer(client *local.Client) *Authorizer

func (*Authorizer) Authorize

func (a *Authorizer) Authorize(ctx context.Context, remoteAddr string) (string, error)

type LocalSource

type LocalSource struct {
	// contains filtered or unexported fields
}

func NewLocalSource

func NewLocalSource(socket string) *LocalSource

func NewLocalSourceWithClient

func NewLocalSourceWithClient(client *local.Client) *LocalSource

func (*LocalSource) Diagnostic

func (s *LocalSource) Diagnostic(ctx context.Context) (collector.Diagnostic, error)

func (*LocalSource) PeerRelaySnapshot added in v0.4.0

func (s *LocalSource) PeerRelaySnapshot(ctx context.Context) (collector.RelaySnapshot, error)

func (*LocalSource) Snapshot

func (s *LocalSource) Snapshot(ctx context.Context) (exporter.Snapshot, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL