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

View Source
var (
	ErrUnknownNode     = errors.New("unknown node")
	ErrInvalidLocation = errors.New("invalid location")
)
View Source
var (
	ErrUnknownDevice = errors.New("unknown device")
)

Functions

This section is empty.

Types

type Notification added in v0.0.8

type Notification interface {
	Type() notification.TopicType
	Endpoint() notification.Endpoint
	SendMessage(ctx context.Context, msg string) error
}

type Tailnet

type Tailnet interface {
	CreatePreauthKey(context.Context, bool) (tailnet.PreauthKey, error)
	DeletePreauthKey(context.Context, tailnet.PreauthKey) error
	EnableExitNode(context.Context, tailnet.DeviceIdentifier) error
	GetDeviceId(context.Context, tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
	DeleteDevice(context.Context, tailnet.DeviceIdentifier) error
}

type Workflow added in v0.0.6

type Workflow interface {
	ProvisionNode(ctx context.Context, input *workflow.ProvisionNodeInput) error
	DeprovisionNode(ctx context.Context, input *workflow.DeprovisionNodeInput) error
}

Jump to

Keyboard shortcuts

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