Documentation ¶
Index ¶
- Constants
- func BindingMigrationByInterfaceName(vmiSpecIfaces []v1.Interface, ...) map[string]*cmdv1.InterfaceBindingMigration
- func DomainAttachmentByInterfaceName(vmiSpecIfaces []v1.Interface, ...) map[string]string
- func LookupIfaceByAliasName(ifaces []api.Interface, name string) *api.Interface
- type LibvirtSpecGenerator
- type PasstLibvirtSpecGenerator
- type TapLibvirtSpecGenerator
Constants ¶
View Source
const (
PasstLogFile = "/var/run/kubevirt/passt.log" // #nosec G101
)
Variables ¶
This section is empty.
Functions ¶
func BindingMigrationByInterfaceName ¶ added in v1.2.0
func BindingMigrationByInterfaceName(vmiSpecIfaces []v1.Interface, networkBindings map[string]v1.InterfaceBindingPlugin) map[string]*cmdv1.InterfaceBindingMigration
func DomainAttachmentByInterfaceName ¶ added in v1.1.1
Types ¶
type LibvirtSpecGenerator ¶
type LibvirtSpecGenerator interface {
Generate() error
}
type PasstLibvirtSpecGenerator ¶ added in v0.56.0
type PasstLibvirtSpecGenerator struct {
// contains filtered or unexported fields
}
func NewPasstLibvirtSpecGenerator ¶ added in v0.56.0
func NewPasstLibvirtSpecGenerator( iface *v1.Interface, domain *api.Domain, podIfaceName string, vmi *v1.VirtualMachineInstance, ) *PasstLibvirtSpecGenerator
func (*PasstLibvirtSpecGenerator) Generate ¶ added in v0.56.0
func (b *PasstLibvirtSpecGenerator) Generate() error
type TapLibvirtSpecGenerator ¶ added in v1.1.1
type TapLibvirtSpecGenerator struct {
// contains filtered or unexported fields
}
func NewTapLibvirtSpecGenerator ¶ added in v1.1.1
func NewTapLibvirtSpecGenerator( iface *v1.Interface, domain *api.Domain, podInterfaceName string, handler netdriver.NetworkHandler, ) *TapLibvirtSpecGenerator
func (*TapLibvirtSpecGenerator) Generate ¶ added in v1.1.1
func (b *TapLibvirtSpecGenerator) Generate() error
Click to show internal directories.
Click to hide internal directories.