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: 2 modules, 3 packages

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