tailscale

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package tailscale contains a flower to install and configure Tailscale.

Index

Constants

View Source
const (
	BinDir      = "/usr/local/bin"
	SbinDir     = "/usr/sbin"
	DefaultsDir = "/etc/default"

	// relative to the Go embed FS
	UnitFile     = "embedded/tailscaled.service"
	DefaultsFile = "embedded/tailscaled.defaults"
	//
	DefaultsFileDst = "/etc/default/tailscaled"
)
View Source
const Name = "tailscale"

Variables

This section is empty.

Functions

This section is empty.

Types

type Flower

type Flower struct {
	Inst
	Conf
}

func (*Flower) Configure

func (fl *Flower) Configure() error

func (*Flower) Description

func (fl *Flower) Description() string

func (*Flower) Embedded

func (fl *Flower) Embedded() []string

func (*Flower) Init

func (fl *Flower) Init() error

func (*Flower) Install

func (fl *Flower) Install() error

func (*Flower) String

func (fl *Flower) String() string

type Inst

type Inst struct {
	Version string
	Hash    string
	Fsys    fs.FS
}

Jump to

Keyboard shortcuts

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