siderolink

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MPL-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package siderolink provides controllers which manage file resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigController

type ConfigController struct {
	Cmdline      *procfs.Cmdline
	V1Alpha1Mode v1alpha1runtime.Mode
}

ConfigController interacts with SideroLink API and brings up the SideroLink Wireguard interface.

func (*ConfigController) Inputs

func (ctrl *ConfigController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*ConfigController) Name

func (ctrl *ConfigController) Name() string

Name implements controller.Controller interface.

func (*ConfigController) Outputs

func (ctrl *ConfigController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*ConfigController) Run

Run implements controller.Controller interface.

type ManagerController

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

ManagerController interacts with SideroLink API and brings up the SideroLink Wireguard interface.

func (*ManagerController) Inputs

func (ctrl *ManagerController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*ManagerController) Name

func (ctrl *ManagerController) Name() string

Name implements controller.Controller interface.

func (*ManagerController) Outputs

func (ctrl *ManagerController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*ManagerController) Run

func (ctrl *ManagerController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type UserspaceWireguardController

type UserspaceWireguardController struct {
	RelayRetryTimeout time.Duration
	DebugDataStream   bool
}

UserspaceWireguardController imlements a controller that manages a Wireguard over GRPC tunnel in userspace.

func (*UserspaceWireguardController) Inputs

Inputs implements controller.Controller interface.

func (*UserspaceWireguardController) Name

func (ctrl *UserspaceWireguardController) Name() string

Name implements controller.Controller interface.

func (*UserspaceWireguardController) Outputs

Outputs implements controller.Controller interface.

func (*UserspaceWireguardController) Run

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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