package
0.6.7
Repository: https://github.com/aenix-io/talm.git
Documentation: pkg.go.dev

# Packages

Package operator implements network operators.
Package networkutils provides utilities for controllers to interact with network resources.
Package watch provides netlink watchers via multicast groups.

# Functions

ParseCmdlineNetwork parses `ip=` and Talos specific kernel cmdline argument producing all the available configuration options.
SetBondMaster sets the bond master spec.
SetBondSlave sets the bond slave spec.
SetBridgeMaster sets the bridge master spec.
SetBridgeSlave sets the bridge slave spec.
SortBonds sort resources in increasing order, except it places slave interfaces right after the bond in proper order.

# Constants

IngressChainName is the name of the ingress chain.

# Structs

AddressConfigController manages network.AddressSpec based on machine configuration, kernel cmdline and some built-in defaults.
AddressEventController reports aggregated enpoints state from hostname statuses and k8s endpoints to the events stream.
AddressMergeController merges network.AddressSpec in network.ConfigNamespace and produces final network.AddressSpec in network.Namespace.
AddressSpecController applies network.AddressSpec to the actual interfaces.
AddressStatusController manages secrets.Etcd based on configuration.
CmdlineLinkConfig contains parsed cmdline networking settings for a single link.
CmdlineNetworking contains parsed cmdline networking settings.
DeviceConfigController manages network.DeviceConfig based on configuration.
DNSResolveCacheController starts dns server on both udp and tcp ports based on finalized network configuration.
DNSUpstreamController is a controller that manages DNS upstreams.
EtcFileController creates /etc/hostname and /etc/resolv.conf files based on finalized network configuration.
HardwareAddrController manages secrets.Etcd based on configuration.
HostDNSConfigController manages network.HostDNSConfig based on machine configuration.
HostnameConfigController manages network.HostnameSpec based on machine configuration, kernel cmdline.
HostnameMergeController merges network.HostnameSpec in network.ConfigNamespace and produces final network.HostnameSpec in network.Namespace.
HostnameSpecController applies network.HostnameSpec to the actual interfaces.
LinkConfigController manages network.LinkSpec based on machine configuration, kernel cmdline.
LinkMergeController merges network.LinkSpec in network.ConfigNamespace and produces final network.LinkSpec in network.Namespace.
LinkSpecController applies network.LinkSpec to the actual interfaces.
LinkStatusController manages secrets.Etcd based on configuration.
NfTablesChainConfigController generates nftables rules based on machine configuration.
NfTablesChainController applies network.NfTablesChain to the Linux nftables interface.
NodeAddressController manages secrets.Etcd based on configuration.
OperatorConfigController manages network.OperatorSpec based on machine configuration, kernel cmdline.
OperatorMergeController merges network.OperatorSpec in network.ConfigNamespace and produces final network.OperatorSpec in network.Namespace.
OperatorSpecController applies network.OperatorSpec to the actual interfaces.
OperatorVIPConfigController manages network.OperatorSpec for virtual IPs based on machine configuration.
PlatformConfigController manages updates hostnames and addressstatuses based on platform information.
ProbeController runs network probes configured with ProbeSpecs and outputs ProbeStatuses.
ResolverConfigController manages network.ResolverSpec based on machine configuration, kernel cmdline.
ResolverMergeController merges network.ResolverSpec in network.ConfigNamespace and produces final network.ResolverSpec in network.Namespace.
ResolverSpecController applies network.ResolverSpec to the actual interfaces.
RouteConfigController manages network.RouteSpec based on machine configuration, kernel cmdline.
RouteMergeController merges network.RouteSpec in network.ConfigNamespace and produces final network.RouteSpec in network.Namespace.
RouteSpecController applies network.RouteSpec to the actual interfaces.
RouteStatusController manages secrets.Etcd based on configuration.
StatusController manages network.Status based on state of other resources.
TimeServerConfigController manages network.TimeServerSpec based on machine configuration, kernel cmdline.
TimeServerMergeController merges network.TimeServerSpec in network.ConfigNamespace and produces final network.TimeServerSpec in network.Namespace.
TimeServerSpecController applies network.TimeServerSpec to the actual interfaces.

# Type aliases

OperatorFactory creates operator based on the spec.