Documentation ¶
Index ¶
- Constants
- func AddInfoSource(infoSourceData, name string) string
- func BindingPluginNetworkWithDeviceInfoExist(ifaces []v1.Interface, bindingPlugins map[string]v1.InterfaceBindingPlugin) bool
- func ContainsInfoSource(infoSourceData, name string) bool
- func FilterInterfacesByNetworks(interfaces []v1.Interface, networks []v1.Network) []v1.Interface
- func FilterInterfacesSpec(ifaces []v1.Interface, predicate func(i v1.Interface) bool) []v1.Interface
- func FilterMultusNonDefaultNetworks(networks []v1.Network) []v1.Network
- func FilterNetworksByInterfaces(networks []v1.Network, interfaces []v1.Interface) []v1.Network
- func FilterNetworksSpec(nets []v1.Network, predicate func(i v1.Network) bool) []v1.Network
- func FilterSRIOVInterfaces(ifaces []v1.Interface) []v1.Interface
- func HasBindingPluginDeviceInfo(iface v1.Interface, bindingPlugins map[string]v1.InterfaceBindingPlugin) bool
- func IndexInterfaceSpecByName(interfaces []v1.Interface) map[string]v1.Interface
- func IndexInterfaceStatusByName(interfaces []v1.VirtualMachineInstanceNetworkInterface, ...) map[string]v1.VirtualMachineInstanceNetworkInterface
- func IndexNetworkSpecByName(networks []v1.Network) map[string]v1.Network
- func IsPodNetworkWithBridgeBindingInterface(networks []v1.Network, ifaces []v1.Interface) bool
- func IsPodNetworkWithMasqueradeBindingInterface(networks []v1.Network, ifaces []v1.Interface) bool
- func IsPodNetworkWithMigratableBindingPlugin(networks []v1.Network, ifaces []v1.Interface, ...) bool
- func IsSecondaryMultusNetwork(net v1.Network) bool
- func LookUpDefaultNetwork(networks []v1.Network) *v1.Network
- func LookupInterfaceByName(ifaces []v1.Interface, name string) *v1.Interface
- func LookupInterfaceStatusByMac(interfaces []v1.VirtualMachineInstanceNetworkInterface, macAddress string) *v1.VirtualMachineInstanceNetworkInterface
- func LookupInterfaceStatusByName(interfaces []v1.VirtualMachineInstanceNetworkInterface, name string) *v1.VirtualMachineInstanceNetworkInterface
- func LookupNetworkByName(networks []v1.Network, name string) *v1.Network
- func LookupPodNetwork(networks []v1.Network) *v1.Network
- func NetworksToHotplugWhosePodIfacesAreReady(vmi *v1.VirtualMachineInstance) []v1.Network
- func NewInfoSource(names ...string) string
- func PopInterfaceByNetwork(statusIfaces []v1.VirtualMachineInstanceNetworkInterface, network *v1.Network) (*v1.VirtualMachineInstanceNetworkInterface, ...)
- func RemoveInfoSource(infoSourceData, name string) string
- func SRIOVInterfaceExist(ifaces []v1.Interface) bool
- func VerifyVMIMigratable(vmi *v1.VirtualMachineInstance, ...) error
Constants ¶
View Source
const ( InfoSourceDomain string = "domain" InfoSourceGuestAgent string = "guest-agent" InfoSourceMultusStatus string = "multus-status" InfoSourceDomainAndGA string = InfoSourceDomain + ", " + InfoSourceGuestAgent )
Variables ¶
This section is empty.
Functions ¶
func AddInfoSource ¶ added in v1.0.0
func BindingPluginNetworkWithDeviceInfoExist ¶ added in v1.3.0
func ContainsInfoSource ¶ added in v1.0.0
func FilterInterfacesByNetworks ¶ added in v1.1.0
func FilterInterfacesSpec ¶ added in v0.51.0
func FilterMultusNonDefaultNetworks ¶ added in v0.55.2
func FilterNetworksByInterfaces ¶ added in v1.0.0
func FilterNetworksSpec ¶ added in v1.0.0
func HasBindingPluginDeviceInfo ¶ added in v1.3.0
func IndexInterfaceSpecByName ¶ added in v0.50.0
func IndexInterfaceStatusByName ¶ added in v1.1.0
func IndexInterfaceStatusByName(interfaces []v1.VirtualMachineInstanceNetworkInterface, p func(ifaceStatus v1.VirtualMachineInstanceNetworkInterface) bool) map[string]v1.VirtualMachineInstanceNetworkInterface
func IndexNetworkSpecByName ¶ added in v1.0.0
func IsPodNetworkWithBridgeBindingInterface ¶ added in v1.0.0
func IsPodNetworkWithMigratableBindingPlugin ¶ added in v1.2.0
func IsSecondaryMultusNetwork ¶ added in v0.55.2
func LookUpDefaultNetwork ¶ added in v0.55.2
func LookupInterfaceByName ¶ added in v1.0.0
func LookupInterfaceStatusByMac ¶ added in v0.49.1
func LookupInterfaceStatusByMac(interfaces []v1.VirtualMachineInstanceNetworkInterface, macAddress string) *v1.VirtualMachineInstanceNetworkInterface
func LookupInterfaceStatusByName ¶ added in v0.50.0
func LookupInterfaceStatusByName(interfaces []v1.VirtualMachineInstanceNetworkInterface, name string) *v1.VirtualMachineInstanceNetworkInterface
func LookupNetworkByName ¶ added in v1.1.0
func NetworksToHotplugWhosePodIfacesAreReady ¶ added in v1.0.0
func NetworksToHotplugWhosePodIfacesAreReady(vmi *v1.VirtualMachineInstance) []v1.Network
func NewInfoSource ¶ added in v1.0.0
func PopInterfaceByNetwork ¶ added in v0.57.0
func PopInterfaceByNetwork(statusIfaces []v1.VirtualMachineInstanceNetworkInterface, network *v1.Network) (*v1.VirtualMachineInstanceNetworkInterface, []v1.VirtualMachineInstanceNetworkInterface)
func RemoveInfoSource ¶ added in v1.0.0
func SRIOVInterfaceExist ¶ added in v0.55.2
func VerifyVMIMigratable ¶ added in v1.2.0
func VerifyVMIMigratable(vmi *v1.VirtualMachineInstance, bindingPlugins map[string]v1.InterfaceBindingPlugin) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.