Documentation ¶
Index ¶
- Constants
- func ConfigJob(cr *ospdirectorv1beta1.OpenStackConfigGenerator, configHash string, ...) *batchv1.Job
- func CreateConfigMapParams(r common.ReconcilerCommon, ...) (map[string]interface{}, map[string]*RoleType, error)
- func GetVolumeMounts(instance *ospdirectorv1beta1.OpenStackConfigGenerator) []corev1.VolumeMount
- func GetVolumes(instance *ospdirectorv1beta1.OpenStackConfigGenerator) []corev1.Volume
- type RoleType
Constants ¶
View Source
const ( // AppLabel - AppLabel = "osp-openstackconfiggenerator" // NicTemplateTrain - nic template file for train/16.2 NicTemplateTrain = "net-config-multi-nic.yaml" // RenderedNicFileTrain - suffix of the renered train/16.2 file RenderedNicFileTrain = "nic-template.yaml" // NicTemplateWallaby - nic template file for wallaby/17.0 and later NicTemplateWallaby = "multiple_nics_dvr.j2" // RenderedNicFileWallaby - suffix of the renered wallaby/17.0 file RenderedNicFileWallaby = "nic-template.j2" // NetworkDataFile - tripleo network data file name NetworkDataFile = "network_data.yaml" // ConfigGeneratorInputLabel - label set on objects which are input for the configgenerator // but not owned by the configgenerator ConfigGeneratorInputLabel = "playbook-generator-input" )
Variables ¶
This section is empty.
Functions ¶
func ConfigJob ¶
func ConfigJob(cr *ospdirectorv1beta1.OpenStackConfigGenerator, configHash string, ospVersion ospdirectorv1beta1.OSPVersion) *batchv1.Job
ConfigJob -
func CreateConfigMapParams ¶
func CreateConfigMapParams( r common.ReconcilerCommon, instance *ospdirectorv1beta1.OpenStackConfigGenerator, cond *ospdirectorv1beta1.Condition, ) (map[string]interface{}, map[string]*RoleType, error)
CreateConfigMapParams - creates a map of parameters to render the required overcloud parameter files
func GetVolumeMounts ¶
func GetVolumeMounts(instance *ospdirectorv1beta1.OpenStackConfigGenerator) []corev1.VolumeMount
GetVolumeMounts -
func GetVolumes ¶
func GetVolumes(instance *ospdirectorv1beta1.OpenStackConfigGenerator) []corev1.Volume
GetVolumes -
Types ¶
Click to show internal directories.
Click to hide internal directories.