nova

package
v0.0.0-...-3e7746c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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 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 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 ConductorService(name, namespace string) *corev1.Service

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 DBSyncJob

func DBSyncJob(instance *openstackv1beta1.Nova, env []corev1.EnvVar, volumes []corev1.Volume) *batchv1.Job

func Ensure

func Ensure(ctx context.Context, c client.Client, instance *openstackv1beta1.Nova, log logr.Logger) error

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

func Secret

func Secret(instance *openstackv1beta1.Nova) *corev1.Secret

Types

type HttpdParams

type HttpdParams struct {
	ListenPort int32
	Binary     string
	TLS        bool
}

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

func (*Reporter) Pending

func (r *Reporter) Pending(ctx context.Context, message string, args ...any) error

func (*Reporter) Running

func (r *Reporter) Running(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL