Documentation ¶
Index ¶
- Constants
- Variables
- func DbSyncJob(instance *cinderv1beta1.Cinder, labels map[string]string, ...) *batchv1.Job
- func GetOwningCinderName(instance client.Object) string
- func GetVolumeMounts(storageSvc bool, extraVol []cinderv1beta1.CinderExtraVolMounts, ...) []corev1.VolumeMount
- func GetVolumes(name string, storageSvc bool, extraVol []cinderv1beta1.CinderExtraVolMounts, ...) []corev1.Volume
Constants ¶
const ( // ServiceName - ServiceName = "cinder" // ServiceNameV3 - ServiceNameV3 = "cinderv3" // ServiceType - ServiceType = "cinder" // ServiceTypeV3 - ServiceTypeV3 = "volumev3" // DatabaseName - DatabaseName = "cinder" // DefaultsConfigFileName - DefaultsConfigFileName = "00-config.conf" // CustomConfigFileName - CustomConfigFileName = "01-config.conf" // CustomServiceConfigFileName - CustomServiceConfigFileName = "02-config.conf" // CustomServiceConfigSecretsFileName - CustomServiceConfigSecretsFileName = "03-config.conf" // CinderPublicPort - CinderPublicPort int32 = 8776 // CinderInternalPort - CinderInternalPort int32 = 8776 // CinderExtraVolTypeUndefined can be used to label an extraMount which // is not associated with a specific backend CinderExtraVolTypeUndefined storage.ExtraVolType = "Undefined" // CinderExtraVolTypeCeph can be used to label an extraMount which // is associated to a Ceph backend CinderExtraVolTypeCeph storage.ExtraVolType = "Ceph" // CinderBackup is the definition of the cinder-backup group CinderBackup storage.PropagationType = "CinderBackup" // CinderVolume is the definition of the cinder-volume group CinderVolume storage.PropagationType = "CinderVolume" // CinderScheduler is the definition of the cinder-scheduler group CinderScheduler storage.PropagationType = "CinderScheduler" // CinderAPI is the definition of the cinder-api group CinderAPI storage.PropagationType = "CinderAPI" // Cinder is the global ServiceType that refers to all the components deployed // by the cinder operator Cinder storage.PropagationType = "Cinder" //LogSnippet - LogSnippet = "[DEFAULT]\nlog_file=" )
const ( // DBSyncCommand - // TODO: Once we work on update/upgrades revisit the command in the // the db-sync-config.json file. // If we stop all services during the update/upgrade then we can keep // the --bump-versions flag. // If we are doing rolling upgrades we'll need to use the flag // conditionally (only for adoption) and do the restart cycle of // services as described in the upstream rolling upgrades process. DBSyncCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start" )
Variables ¶
var CinderAPIPropagation = []storage.PropagationType{Cinder, CinderAPI}
CinderAPIPropagation is the definition of the CinderAPI propagation group It allows the CinderAPI pod to mount volumes destined to Cinder and CinderAPI ServiceTypes
var CinderBackupPropagation = []storage.PropagationType{Cinder, CinderBackup}
CinderBackupPropagation is the definition of the CinderBackup propagation group It allows the CinderBackup pod to mount volumes destined to Cinder and CinderBackup ServiceTypes
var CinderSchedulerPropagation = []storage.PropagationType{Cinder, CinderScheduler}
CinderSchedulerPropagation is the definition of the CinderScheduler propagation group It allows the CinderScheduler pod to mount volumes destined to Cinder and CinderScheduler ServiceTypes
var CinderVolumePropagation = []storage.PropagationType{Cinder, CinderVolume}
CinderVolumePropagation is the definition of the CinderVolume propagation group It allows the CinderVolume pods to mount volumes destined to Cinder and CinderVolume ServiceTypes
var DbsyncPropagation = []storage.PropagationType{storage.DBSync}
DbsyncPropagation keeps track of the DBSync Service Propagation Type
Functions ¶
func DbSyncJob ¶
func DbSyncJob(instance *cinderv1beta1.Cinder, labels map[string]string, annotations map[string]string) *batchv1.Job
DbSyncJob func
func GetOwningCinderName ¶
GetOwningCinderName - Given a CinderAPI, CinderScheduler, CinderBackup or CinderVolume object, returning the parent Cinder object that created it (if any)
func GetVolumeMounts ¶
func GetVolumeMounts(storageSvc bool, extraVol []cinderv1beta1.CinderExtraVolMounts, svc []storage.PropagationType) []corev1.VolumeMount
GetVolumeMounts - Cinder Control Plane VolumeMounts
func GetVolumes ¶
func GetVolumes(name string, storageSvc bool, extraVol []cinderv1beta1.CinderExtraVolMounts, svc []storage.PropagationType) []corev1.Volume
GetVolumes -
Types ¶
This section is empty.