hostnetworkconfig

package
v1.8.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "harvester-network-hostnetworkconfig-controller"
	IPModeDHCP     = "dhcp"
	IPModeStatic   = "static"
)

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.Management) error

Types

type Handler

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

func (*Handler) OnChange

func (*Handler) OnRemove

type LeaseManager

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

func NewLeaseManager

func NewLeaseManager(iface string, link *iface.Link, vlanID uint16) (*LeaseManager, error)

func (*LeaseManager) Start

func (lm *LeaseManager) Start(ctx context.Context) error

func (*LeaseManager) Stop

func (lm *LeaseManager) Stop()

Jump to

Keyboard shortcuts

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