Documentation ¶
Index ¶
Constants ¶
View Source
const ( NetworkInfoAnnot = "kubevirt.io/network-info" MountPath = "/etc/podinfo" NetworkInfoVolumeName = "network-info-annotation" NetworkInfoVolumePath = "network-info" )
Variables ¶
This section is empty.
Functions ¶
func CreateNetworkInfoAnnotationValue ¶
func CreateNetworkInfoAnnotationValue(networkDeviceInfoMap map[string]*networkv1.DeviceInfo) string
Types ¶
type Interface ¶
type Interface struct { Network string `json:"network"` DeviceInfo *v1.DeviceInfo `json:"deviceInfo,omitempty"` }
type NetworkInfo ¶
type NetworkInfo struct {
Interfaces []Interface `json:"interfaces,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.