Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkInterface ¶
type NetworkInterface struct {
Handle string
HostDevice *HostDevice
Direct *Direct
Isolated *Isolated
ProviderNetwork *ProviderNetwork
}
type Plugin ¶
type Plugin interface {
Name() string
Init(host providerhost.LibvirtHost) error
Apply(ctx context.Context, spec *api.NetworkInterfaceSpec, machine *api.Machine) (*NetworkInterface, error)
Delete(ctx context.Context, computeNicName string, machineID string) error
}
type ProviderNetwork ¶
type ProviderNetwork struct {
NetworkName string
}
Click to show internal directories.
Click to hide internal directories.