capver

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MinSupportedCapabilityVersion tailcfg.CapabilityVersion = 88

Variables

This section is empty.

Functions

func CanOldCodeBeCleanedUp

func CanOldCodeBeCleanedUp()

CanOldCodeBeCleanedUp is intended to be called on startup to see if there are old code that can ble cleaned up, entries should contain a CapVer where something can be cleaned up and a panic if it can. This is only intended to catch things in tests.

All uses of Capability version checks should be listed here.

func CapVerLatest

func CapVerLatest(n int) []tailcfg.CapabilityVersion

CapVerLatest returns the n latest CapabilityVersions.

func CapabilityVersion

func CapabilityVersion(ver string) tailcfg.CapabilityVersion

CapabilityVersion returns the CapabilityVersion for the given Tailscale version.

func TailscaleLatest

func TailscaleLatest(n int) []string

TailscaleLatest returns the n latest Tailscale versions.

func TailscaleLatestMajorMinor

func TailscaleLatestMajorMinor(n int, stripV bool) []string

TailscaleLatestMajorMinor returns the n latest Tailscale versions (e.g. 1.80).

func TailscaleVersion

func TailscaleVersion(ver tailcfg.CapabilityVersion) string

TailscaleVersion returns the Tailscale version for the given CapabilityVersion.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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