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: 0

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