domainspec

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func DomainAttachmentByInterfaceName(vmiSpecIfaces []v1.Interface, networkBindings map[string]v1.InterfaceBindingPlugin) map[string]string

func LookupIfaceByAliasName added in v1.1.0

func LookupIfaceByAliasName(ifaces []api.Interface, name string) *api.Interface

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL