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

tailscale

package
v2.13.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package tailscale provides the Tailscale integration definition for integrations

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrClientIDMissing indicates the OAuth client ID is missing from the credential
	ErrClientIDMissing = errors.New("tailscale: oauth client id missing")
	// ErrClientSecretMissing indicates the OAuth client secret is missing from the credential
	ErrClientSecretMissing = errors.New("tailscale: oauth client secret missing")
	// ErrUsersFetchFailed indicates the Tailscale users list request failed
	ErrUsersFetchFailed = errors.New("tailscale: users fetch failed")
	// ErrTailnetUnresolved indicates no member user carried a tailnet name to identify the tailnet by
	ErrTailnetUnresolved = errors.New("tailscale: tailnet unresolved")
	// ErrDevicesFetchFailed indicates the Tailscale devices list request failed
	ErrDevicesFetchFailed = errors.New("tailscale: devices fetch failed")
	// ErrPayloadEncode indicates a collected Tailscale payload could not be serialized for ingest
	ErrPayloadEncode = errors.New("tailscale: ingest payload encode failed")
)

Functions

func Builder

func Builder() registry.Builder

Builder returns the Tailscale definition builder

Types

type AssetSync

type AssetSync struct {
	types.OperationSettings
}

AssetSync holds configuration for the Tailscale asset sync operation

type CredentialSchema

type CredentialSchema struct {
	// ClientID is the OAuth client ID generated in the Tailscale admin console
	ClientID string `json:"clientId" jsonschema:"required,title=Client ID,description=OAuth client ID from the Tailscale admin console."`
	// ClientSecret is the OAuth client secret paired with ClientID
	ClientSecret string `` /* 139-byte string literal not displayed */
}

CredentialSchema holds the Tailscale OAuth credentials for one installation

type InstallationMetadata

type InstallationMetadata struct {
	// ClientID is the OAuth client ID used to connect this installation
	ClientID string `json:"clientId,omitempty" jsonschema:"title=Client ID"`
	// Tailnet is the name of the tailnet the OAuth client is scoped to
	Tailnet string `json:"tailnet,omitempty" jsonschema:"title=Tailnet"`
}

InstallationMetadata holds the stable Tailscale identity for one installation

func (InstallationMetadata) InstallationIdentity

InstallationIdentity implements types.InstallationIdentifiable

Jump to

Keyboard shortcuts

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