vnode_controller

package
v0.3.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VNodeController

type VNodeController struct {
	sync.Mutex
	// contains filtered or unexported fields
}

VNodeController is the main controller for the virtual node

func NewVNodeController

func NewVNodeController(config *model.BuildVNodeControllerConfig, tunnel tunnel.Tunnel) (*VNodeController, error)

NewVNodeController creates a new VNodeController

func (*VNodeController) Reconcile

func (vNodeController *VNodeController) Reconcile(_ context.Context, _ reconcile.Request) (reconcile.Result, error)

Reconcile is the main reconcile function for the controller

func (*VNodeController) SetupWithManager

func (vNodeController *VNodeController) SetupWithManager(ctx context.Context, mgr manager.Manager) (err error)

SetupWithManager sets up the controller with the manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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