tailscale_gateway

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client interfaces.Tailscale) gateway.Tailnet

Types

type TailscaleGateway

type TailscaleGateway struct {
	// contains filtered or unexported fields
}

func (*TailscaleGateway) CreatePreauthKey

func (g *TailscaleGateway) CreatePreauthKey(ctx context.Context, ephemeral bool) (tailnet.PreauthKey, error)

func (*TailscaleGateway) DeleteDevice

func (g *TailscaleGateway) DeleteDevice(ctx context.Context, tid tailnet.DeviceIdentifier) error

func (*TailscaleGateway) DeletePreauthKey

func (g *TailscaleGateway) DeletePreauthKey(ctx context.Context, key tailnet.PreauthKey) error

func (*TailscaleGateway) EnableExitNode

func (g *TailscaleGateway) EnableExitNode(ctx context.Context, tid tailnet.DeviceIdentifier) error

func (*TailscaleGateway) GetDeviceId

Jump to

Keyboard shortcuts

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