controller

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(clientset kubernetes.Interface, wireguardManager wireguard.Manager, cniwriter cni.CNIConfigWriter, firewallUpdates chan firewall.FirewallConfig) *controller

func SetupNode

func SetupNode(ctx context.Context, nodeClient clientv1.NodeInterface, publicKey []byte) error

SetupNode sets up the node annotations on each start.

Types

type Controller

type Controller interface {
	Run(ctx context.Context)
}

Jump to

Keyboard shortcuts

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