paths

package
v0.100.0-107 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: BSD-3-Clause Imports: 3 Imported by: 31

Documentation

Overview

Package paths returns platform and user-specific default paths to Tailscale files and directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTailscaledSocket

func DefaultTailscaledSocket() string

DefaultTailscaledSocket returns the path to the tailscaled Unix socket or the empty string if there's no reasonable default.

func DefaultTailscaledStateFile

func DefaultTailscaledStateFile() string

DefaultTailscaledStateFile returns the default path to the tailscaled state file, or the empty string if there's no reasonable default value.

func LegacyConfigPath

func LegacyConfigPath() string

LegacyConfigPath returns the path used by the pre-tailscaled "relaynode" daemon's config file. It returns the empty string for platforms where relaynode never ran.

Types

This section is empty.

Jump to

Keyboard shortcuts

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