vmset

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AppLabel -
	AppLabel = "osp-vmset"

	// FinalizerName -
	FinalizerName = "openstackvmsets.osp-director.openstack.org/virtualmachine"

	// KubevirtFencingServiceAccount -
	KubevirtFencingServiceAccount = "osp-director-operator-kubevirtagent"

	// KubevirtFencingServiceAccountSecret -
	KubevirtFencingServiceAccountSecret = "osp-director-operator-fencing-sa"

	// KubevirtFencingKubeconfigSecret -
	KubevirtFencingKubeconfigSecret = "osp-director-operator-fencing-kubeconfig"
)

Variables

This section is empty.

Functions

func MergeVMInterfaces

func MergeVMInterfaces(interfaces []virtv1.Interface, newInterfaces InterfaceSetterMap) []virtv1.Interface

MergeVMInterfaces - merge new Interface into existing []virtv1.Interface

func MergeVMNetworks

func MergeVMNetworks(networks []virtv1.Network, newNetworks NetSetterMap) []virtv1.Network

MergeVMNetworks - merge new Network into existing []virtv1.Network

Types

type InterfaceSetter

type InterfaceSetter func(*virtv1.Interface)

InterfaceSetter - interface setter for virtv1.Interface

func Interface

func Interface(ifName string, attachType ospdirectorv1beta1.AttachType) InterfaceSetter

Interface - create additional Intercface, ATM only bridge

type InterfaceSetterMap

type InterfaceSetterMap map[string]InterfaceSetter

InterfaceSetterMap -

type NetSetter

type NetSetter func(*virtv1.Network)

NetSetter - net setter for virtv1.Network

func Network

func Network(networkName string, attachType ospdirectorv1beta1.AttachType) NetSetter

Network - create additional multus virtv1.Network

type NetSetterMap

type NetSetterMap map[string]NetSetter

NetSetterMap -

Jump to

Keyboard shortcuts

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