types

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package types provides common types used in cloudinit & ignition.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FIBRuleData

type FIBRuleData = infrav1.RoutingPolicySpec

FIBRuleData stores forward information base rules (routing policies).

type IPConfig added in v0.8.0

type IPConfig struct {
	IPAddress netip.Prefix
	Gateway   string
	Metric    *int32
	Default   bool
}

IPConfig stores IP configuration.

type NetworkConfigData

type NetworkConfigData struct {
	ProxName   infrav1.NetName // Device name in Proxmox
	MacAddress string
	DHCP4      bool
	DHCP6      bool
	IPConfigs  []IPConfig
	DNSServers []string
	Type       string
	Name       string
	Interfaces []string // Interfaces controlled by this one.
	Table      int32    // linux routing table number for VRF.
	Routes     []RoutingData
	FIBRules   []FIBRuleData // Forwarding information block for routing.
	LinkMTU    infrav1.MTU   // linux network device MTU
	VRF        string        // linux VRF name // only used in networkd config.
}

NetworkConfigData is used to render network-config.

type RoutingData

type RoutingData = infrav1.RouteSpec

RoutingData stores routing configuration.

Jump to

Keyboard shortcuts

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