Documentation ¶
Index ¶
- Constants
- func CellMappingJob(instance *novav1.Nova, cell *novav1.NovaCell, configMapName string, ...) *batchv1.Job
- func GetConfigVolume(secretName string) corev1.Volume
- func GetConfigVolumeMount() corev1.VolumeMount
- func GetLogVolume() corev1.Volume
- func GetLogVolumeMount() corev1.VolumeMount
- func GetScriptSecretName(crName string) string
- func GetScriptVolume(secretName string) corev1.Volume
- func GetScriptVolumeMount() corev1.VolumeMount
- func GetServiceConfigSecretName(crName string) string
- type CellDeploymentStatus
- type Database
- type DatabaseStatus
- type MessageBus
- type MessageBusStatus
Constants ¶
View Source
const ( // KollaServiceCommand - the command to start the service binary in the kolla container KollaServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start" // NovaAPIDatabaseName - the name of the DB to store tha API schema NovaAPIDatabaseName = "nova_api" // NovaCell0DatabaseName - the name of the DB to store the cell schema for // cell0 NovaCell0DatabaseName = "nova_cell0" )
Variables ¶
This section is empty.
Functions ¶
func CellMappingJob ¶
func GetConfigVolume ¶
func GetConfigVolumeMount ¶
func GetConfigVolumeMount() corev1.VolumeMount
func GetLogVolume ¶
func GetLogVolumeMount ¶
func GetLogVolumeMount() corev1.VolumeMount
func GetScriptSecretName ¶
GetScriptSecretName returns the name of the Secret used for the db sync scripts
func GetScriptVolume ¶
func GetScriptVolumeMount ¶
func GetScriptVolumeMount() corev1.VolumeMount
func GetServiceConfigSecretName ¶
GetServiceConfigSecretName returns the name of the Secret used to store the service configuration files
Types ¶
type CellDeploymentStatus ¶
type CellDeploymentStatus int
const ( // CellDeploying indicates that NovaCell is created and waiting to reach // Ready status CellDeploying CellDeploymentStatus = iota // CellMapping indicates that NovaCell reached the Ready status and it is // being mapped to the Nova API database CellMapping CellDeploymentStatus = iota // CellMappingFailed indicates that NovaCell reached the Ready status but // mapping it to the Nova API database failed CellMappingFailed CellDeploymentStatus = iota // CellMappingReady indicates that NovaCell reached the Ready status and // it is mapped to the Nova API database CellMappingReady CellDeploymentStatus = iota // CellReady indicates that the NovaCell is Ready and it is mapped to // Nova API database so it is accessible. CellReady CellDeploymentStatus = iota // CellFailed indicates that the NovaCell deployment failed. CellFailed CellDeploymentStatus = iota )
CellDeploymentStatus -
type Database ¶
type Database struct { Database *database.Database Status DatabaseStatus }
Database -
type DatabaseStatus ¶
type DatabaseStatus int
DatabaseStatus -
const ( // DBFailed - DBFailed DatabaseStatus = iota // DBCreating - DBCreating DatabaseStatus = iota // DBCompleted - DBCompleted DatabaseStatus = iota )
type MessageBusStatus ¶
type MessageBusStatus int
MessageBusStatus -
const ( // MQFailed - MQFailed MessageBusStatus = iota // MQCreating - MQCreating MessageBusStatus = iota // MQCompleted - MQCompleted MessageBusStatus = iota )
Click to show internal directories.
Click to hide internal directories.