Documentation ¶
Index ¶
- Constants
- func FilterInterfacesSpec(ifaces []v1.Interface, predicate func(i v1.Interface) bool) []v1.Interface
- func FilterSRIOVInterfaces(ifaces []v1.Interface) []v1.Interface
- func FilterStatusInterfacesByNames(interfaces []v1.VirtualMachineInstanceNetworkInterface, names []string) []v1.VirtualMachineInstanceNetworkInterface
- func IndexInterfaceSpecByMac(interfaces []v1.Interface) map[string]v1.Interface
- func IndexInterfaceSpecByName(interfaces []v1.Interface) map[string]v1.Interface
- func InterfacesNames(interfaces []v1.Interface) []string
- func IsPodNetworkWithMasqueradeBindingInterface(networks []v1.Network, ifaces []v1.Interface) bool
- func LookupInterfaceByNetwork(ifaces []v1.Interface, network *v1.Network) *v1.Interface
- func LookupInterfaceStatusByMac(interfaces []v1.VirtualMachineInstanceNetworkInterface, macAddress string) *v1.VirtualMachineInstanceNetworkInterface
- func LookupInterfaceStatusByName(interfaces []v1.VirtualMachineInstanceNetworkInterface, name string) *v1.VirtualMachineInstanceNetworkInterface
Constants ¶
View Source
const ( InfoSourceDomain string = "domain" InfoSourceGuestAgent string = "guest-agent" InfoSourceDomainAndGA string = InfoSourceDomain + ", " + InfoSourceGuestAgent )
Variables ¶
This section is empty.
Functions ¶
func FilterInterfacesSpec ¶ added in v0.51.0
func FilterStatusInterfacesByNames ¶ added in v0.50.0
func FilterStatusInterfacesByNames(interfaces []v1.VirtualMachineInstanceNetworkInterface, names []string) []v1.VirtualMachineInstanceNetworkInterface
FilterStatusInterfacesByNames returns filtered slice of interfaces by the given slice of names. Matching by the interface 'Name' attribute.
func IndexInterfaceSpecByMac ¶ added in v0.50.0
func IndexInterfaceSpecByName ¶ added in v0.50.0
func InterfacesNames ¶ added in v0.50.0
InterfacesNames returns slice with the names of the given interfaces.
func LookupInterfaceByNetwork ¶ added in v0.50.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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.