Versions in this module Expand all Collapse all v0 v0.5.5 Nov 9, 2024 Changes in this version + const CloudweavWitnessNodeLabelKey + const KeyClusterNetworkLabel + const KeyLastClusterNetworkLabel + const KeyLastNetworkType + const KeyLastVlanLabel + const KeyMatchedNodes + const KeyNetworkReady + const KeyNetworkRoute + const KeyNetworkType + const KeyNodeLabel + const KeyVlanConfigLabel + const KeyVlanLabel + const ManagementClusterNetworkName + const ValueFalse + const ValueTrue + func EnsureSysctlValue(name, value string) error + func IsVlanNad(nad *nadv1.NetworkAttachmentDefinition) bool + func Name(prefix string, s ...string) string + func NewSelector(selector map[string]string) (labels.Selector, error) + type Connectivity string + const Connectable + const DHCPFailed + const PingFailed + const Unconnectable + type Layer3NetworkConf struct + CIDR string + Connectivity Connectivity + Gateway string + Mode Mode + Outdated bool + ServerIPAddr string + func NewLayer3NetworkConf(conf string) (*Layer3NetworkConf, error) + func (c *Layer3NetworkConf) ToString() (string, error) + type Mode string + const Auto + const Manual + type NadSelectedNetworks []nadv1.NetworkSelectionElement + func NewNADSelectedNetworks(conf string) (NadSelectedNetworks, error) + func (n NadSelectedNetworks) ToString() (string, error) + type NetConf struct + BrName string + ForceAddress bool + HairpinMode bool + IPMasq bool + IsDefaultGW bool + IsGW bool + MTU int + PromiscMode bool + Vlan int + type NetworkType string + const L2VlanNetwork + const UntaggedNetwork + type VmiGetter struct + VmiCache ctlkubevirtv1.VirtualMachineInstanceCache + func (v *VmiGetter) WhoUseNad(nad *nadv1.NetworkAttachmentDefinition, nodesFilter mapset.Set[string]) ([]*kubevirtv1.VirtualMachineInstance, error) v0.3.2-rc1 Nov 10, 2024