nad

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName      = "harvester-network-manager-nad-controller"
	DeprecatedFinalizer = "wrangler.cattle.io/harvester-network-nad-controller"

	JobEnvNadNetwork = "NAD_NETWORKS"
	JobEnvDHCPServer = "DHCP_SERVER"
)

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) CheckConnectivityPeriodically added in v0.2.6

func (h Handler) CheckConnectivityPeriodically()

func (Handler) EnsureJob2GetLayer3NetworkInfo added in v0.3.0

func (h Handler) EnsureJob2GetLayer3NetworkInfo(nad *cniv1.NetworkAttachmentDefinition, netconf *utils.NetConf) error

func (Handler) OnCNChange added in v1.6.0

Sync cluster network MTU value to all attached NADs

func (Handler) OnChange

nad manager controller ensures all labels and sync cn

func (Handler) UpdateClusterNetworkVlanSet added in v1.7.0

func (h Handler) UpdateClusterNetworkVlanSet(nad *cniv1.NetworkAttachmentDefinition) error

Jump to

Keyboard shortcuts

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