Documentation ¶
Index ¶
- Constants
- func APICertificate(instance *openstackv1beta1.Nova) *unstructured.Unstructured
- func APIDatabase(instance *openstackv1beta1.Nova) *openstackv1beta1.MariaDBDatabase
- func APIDeployment(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.Deployment
- func APIIngress(instance *openstackv1beta1.Nova) *netv1.Ingress
- func APIInternalURL(instance *openstackv1beta1.Nova) string
- func APIPublicURL(instance *openstackv1beta1.Nova) string
- func APIService(instance *openstackv1beta1.Nova) *corev1.Service
- func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.Nova)
- func BrokerUser(name, namespace string, spec openstackv1beta1.RabbitMQUserSpec) *openstackv1beta1.RabbitMQUser
- func BuildConfig(instance *openstackv1beta1.Nova, cinder *openstackv1beta1.Cinder) *ini.File
- func Cell(instance *openstackv1beta1.Nova, spec openstackv1beta1.NovaCellSpec) *openstackv1beta1.NovaCell
- func CellDatabase(instanceName, cellName, namespace string, ...) *openstackv1beta1.MariaDBDatabase
- func ComputeDaemonSet(instance *openstackv1beta1.NovaComputeSet, ...) *appsv1.DaemonSet
- func ComputeSSHDaemonSet(instance *openstackv1beta1.NovaComputeSet, env []corev1.EnvVar, ...) *appsv1.DaemonSet
- func ComputeSSHKeypairSecret(instance *openstackv1beta1.Nova) (*corev1.Secret, error)
- func ConductorService(name, namespace string) *corev1.Service
- func ConductorStatefulSet(name, namespace string, spec openstackv1beta1.NovaConductorSpec, ...) *appsv1.StatefulSet
- func ConfigMap(instance *openstackv1beta1.Nova, cinder *openstackv1beta1.Cinder) *corev1.ConfigMap
- func DBSyncJob(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *batchv1.Job
- func Ensure(ctx context.Context, c client.Client, instance *openstackv1beta1.Nova, ...) error
- func KeystoneService(instance *openstackv1beta1.Nova) *openstackv1beta1.KeystoneService
- func KeystoneUser(instance *openstackv1beta1.Nova) *openstackv1beta1.KeystoneUser
- func LibvirtdConfigMap(instance *openstackv1beta1.NovaComputeSet) *corev1.ConfigMap
- func LibvirtdDaemonSet(instance *openstackv1beta1.NovaComputeSet, env []corev1.EnvVar, ...) *appsv1.DaemonSet
- func MetadataDeployment(instance *openstackv1beta1.NovaCell, env []corev1.EnvVar, ...) *appsv1.Deployment
- func MetadataService(instance *openstackv1beta1.NovaCell) *corev1.Service
- func NewComputeServiceClient(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ServiceClient, error)
- func NoVNCProxyDeployment(instance *openstackv1beta1.NovaCell, env []corev1.EnvVar, ...) *appsv1.Deployment
- func NoVNCProxyIngress(instance *openstackv1beta1.NovaCell) *netv1.Ingress
- func NoVNCProxyService(instance *openstackv1beta1.NovaCell) *corev1.Service
- func PKIResources(instance *openstackv1beta1.Nova) []*unstructured.Unstructured
- func SchedulerService(instance *openstackv1beta1.Nova) *corev1.Service
- func SchedulerStatefulSet(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.StatefulSet
- func Secret(instance *openstackv1beta1.Nova) *corev1.Secret
- type HttpdParams
- type Reporter
Constants ¶
View Source
const ( APIComponentLabel = "api" APIBinary = "nova-api-wsgi" )
View Source
const ( ComputeSSHComponentLabel = "compute-ssh" ComputeSSHPort = 2022 )
View Source
const ( MetadataComponentLabel = "metadata" MetadataBinary = "nova-metadata-wsgi" )
View Source
const (
AppLabel = "nova"
)
View Source
const (
ComputeComponentLabel = "compute"
)
View Source
const (
ConductorComponentLabel = "conductor"
)
View Source
const (
LibvirtdComponentLabel = "libvirtd"
)
View Source
const (
NoVNCProxyComponentLabel = "novncproxy"
)
View Source
const (
SchedulerComponentLabel = "scheduler"
)
Variables ¶
This section is empty.
Functions ¶
func APICertificate ¶
func APICertificate(instance *openstackv1beta1.Nova) *unstructured.Unstructured
func APIDatabase ¶
func APIDatabase(instance *openstackv1beta1.Nova) *openstackv1beta1.MariaDBDatabase
func APIDeployment ¶
func APIDeployment(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.Deployment
func APIIngress ¶
func APIIngress(instance *openstackv1beta1.Nova) *netv1.Ingress
func APIInternalURL ¶
func APIInternalURL(instance *openstackv1beta1.Nova) string
func APIPublicURL ¶
func APIPublicURL(instance *openstackv1beta1.Nova) string
func APIService ¶
func APIService(instance *openstackv1beta1.Nova) *corev1.Service
func AddReadyCheck ¶
func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.Nova)
func BrokerUser ¶
func BrokerUser(name, namespace string, spec openstackv1beta1.RabbitMQUserSpec) *openstackv1beta1.RabbitMQUser
func BuildConfig ¶
func BuildConfig(instance *openstackv1beta1.Nova, cinder *openstackv1beta1.Cinder) *ini.File
func Cell ¶
func Cell(instance *openstackv1beta1.Nova, spec openstackv1beta1.NovaCellSpec) *openstackv1beta1.NovaCell
func CellDatabase ¶
func CellDatabase(instanceName, cellName, namespace string, spec openstackv1beta1.MariaDBDatabaseSpec) *openstackv1beta1.MariaDBDatabase
func ComputeDaemonSet ¶
func ComputeDaemonSet(instance *openstackv1beta1.NovaComputeSet, brokerSpec openstackv1beta1.RabbitMQUserSpec, env []corev1.EnvVar, volumeMounts []corev1.VolumeMount, volumes []corev1.Volume) *appsv1.DaemonSet
func ComputeSSHDaemonSet ¶
func ComputeSSHDaemonSet(instance *openstackv1beta1.NovaComputeSet, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.DaemonSet
func ComputeSSHKeypairSecret ¶
func ComputeSSHKeypairSecret(instance *openstackv1beta1.Nova) (*corev1.Secret, error)
func ConductorService ¶
func ConductorStatefulSet ¶
func ConductorStatefulSet(name, namespace string, spec openstackv1beta1.NovaConductorSpec, brokerSpec openstackv1beta1.RabbitMQUserSpec, tlsSpec openstackv1beta1.TLSClientSpec, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.StatefulSet
func ConfigMap ¶
func ConfigMap(instance *openstackv1beta1.Nova, cinder *openstackv1beta1.Cinder) *corev1.ConfigMap
func KeystoneService ¶
func KeystoneService(instance *openstackv1beta1.Nova) *openstackv1beta1.KeystoneService
func KeystoneUser ¶
func KeystoneUser(instance *openstackv1beta1.Nova) *openstackv1beta1.KeystoneUser
func LibvirtdConfigMap ¶
func LibvirtdConfigMap(instance *openstackv1beta1.NovaComputeSet) *corev1.ConfigMap
func LibvirtdDaemonSet ¶
func LibvirtdDaemonSet(instance *openstackv1beta1.NovaComputeSet, env []corev1.EnvVar, volumeMounts []corev1.VolumeMount, volumes []corev1.Volume) *appsv1.DaemonSet
func MetadataDeployment ¶
func MetadataDeployment(instance *openstackv1beta1.NovaCell, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.Deployment
func MetadataService ¶
func MetadataService(instance *openstackv1beta1.NovaCell) *corev1.Service
func NewComputeServiceClient ¶
func NewComputeServiceClient(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ServiceClient, error)
func NoVNCProxyDeployment ¶
func NoVNCProxyDeployment(instance *openstackv1beta1.NovaCell, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.Deployment
func NoVNCProxyIngress ¶
func NoVNCProxyIngress(instance *openstackv1beta1.NovaCell) *netv1.Ingress
func NoVNCProxyService ¶
func NoVNCProxyService(instance *openstackv1beta1.NovaCell) *corev1.Service
func PKIResources ¶
func PKIResources(instance *openstackv1beta1.Nova) []*unstructured.Unstructured
func SchedulerService ¶
func SchedulerService(instance *openstackv1beta1.Nova) *corev1.Service
func SchedulerStatefulSet ¶
func SchedulerStatefulSet(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.StatefulSet
Types ¶
type HttpdParams ¶
func HttpdParamsFrom ¶
func HttpdParamsFrom(port int32, binary string, tlsSpec openstackv1beta1.TLSServerSpec) HttpdParams
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func NewReporter(instance *openstackv1beta1.Nova, k8sClient client.Client, recorder record.EventRecorder) *Reporter
Source Files ¶
Click to show internal directories.
Click to hide internal directories.