tailnet

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlServer

type ControlServer string

func ControlServerFromString

func ControlServerFromString(u string) (ControlServer, error)

func (ControlServer) String

func (i ControlServer) String() string

type DeviceIdentifier

type DeviceIdentifier string

func DeviceIdentifierFromString

func DeviceIdentifierFromString(id string) (DeviceIdentifier, error)

func (DeviceIdentifier) String

func (i DeviceIdentifier) String() string

type DeviceName

type DeviceName string

func DeviceNameFromString

func DeviceNameFromString(id string) (DeviceName, error)

func FormDeviceName

func FormDeviceName(location string, id string) DeviceName

func (DeviceName) String

func (i DeviceName) String() string

type Identifier

type Identifier string

func IdentifierFromString

func IdentifierFromString(s string) (Identifier, error)

func (Identifier) String

func (i Identifier) String() string

type PreauthKey

type PreauthKey string

func PreauthKeyFromString

func PreauthKeyFromString(s string) (PreauthKey, error)

func (PreauthKey) String

func (k PreauthKey) String() string

type Tailnet

type Tailnet struct {
	Name          Identifier
	Type          Type
	ControlServer ControlServer
}

type Type

type Type int
const (
	TypeUnknown Type = iota
	TypeTailscale
	TypeHeadscale
)

func TypeFromString

func TypeFromString(s string) (Type, error)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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