controlplane

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: 2 Imported by: 0

Documentation

Index

Constants

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

	// FinalizerName -
	FinalizerName = "controlplane.osp-director.openstack.org"

	// Count - controlplane count is atm fixed to 1
	Count = 1

	// Role - controlplane has not tripleo role, set it as const
	Role = "ControlPlane"

	// TripleoPasswordSecret - name of the generated tripleo password secret
	TripleoPasswordSecret = "tripleo-passwords"
)

Variables

This section is empty.

Functions

func CreateFencingConfigMapParams

func CreateFencingConfigMapParams(virtualMachineInstanceLists []*virtv1.VirtualMachineInstanceList) (map[string]interface{}, error)

CreateFencingConfigMapParams - creates a map of parameters for fencing data needed in tripleo-deploy-config config map

func GetFencingRoles

func GetFencingRoles() []string

GetFencingRoles - roles that normally require fencing

Types

type FencingConfig

type FencingConfig struct {
	HostMac   string
	Namespace string
	VMName    string
}

FencingConfig - stores the unique fencing configuration for a particular Kubevirt VM

Jump to

Keyboard shortcuts

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