manila

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: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIComponentLabel = "api"
)
View Source
const (
	AppLabel = "manila"
)
View Source
const (
	SchedulerComponentLabel = "scheduler"
)
View Source
const (
	ShareComponentLabel = "share"
)

Variables

This section is empty.

Functions

func APICertificate

func APICertificate(instance *openstackv1beta1.Manila) *unstructured.Unstructured

func APIDeployment

func APIDeployment(instance *openstackv1beta1.Manila, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.Deployment

func APIIngress

func APIIngress(instance *openstackv1beta1.Manila) *netv1.Ingress

func APIInternalURL

func APIInternalURL(instance *openstackv1beta1.Manila, path string) string

func APIPublicURL

func APIPublicURL(instance *openstackv1beta1.Manila, path string) string

func APIService

func APIService(instance *openstackv1beta1.Manila) *corev1.Service

func AddReadyCheck

func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.Manila)

func ConfigMap

func ConfigMap(instance *openstackv1beta1.Manila) *corev1.ConfigMap

func DBSyncJob

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

func Ensure

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

func KeystoneServices

func KeystoneServices(instance *openstackv1beta1.Manila) []*openstackv1beta1.KeystoneService

func PKIResources

func PKIResources(instance *openstackv1beta1.Manila) []*unstructured.Unstructured

func RookCephResources

func RookCephResources(instance *openstackv1beta1.Manila) []*unstructured.Unstructured

func RookCephSecrets

func RookCephSecrets(ctx context.Context, c client.Client, instance *openstackv1beta1.Manila) ([]*corev1.Secret, error)

func SchedulerService

func SchedulerService(instance *openstackv1beta1.Manila) *corev1.Service

func SchedulerStatefulSet

func SchedulerStatefulSet(instance *openstackv1beta1.Manila, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.StatefulSet

func ShareService

func ShareService(instance *openstackv1beta1.Manila) *corev1.Service

func ShareStatefulSet

func ShareStatefulSet(instance *openstackv1beta1.Manila, env []corev1.EnvVar, volumes []corev1.Volume) *appsv1.StatefulSet

Types

type Reporter

type Reporter struct {
	// contains filtered or unexported fields
}

func NewReporter

func NewReporter(instance *openstackv1beta1.Manila, 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

Jump to

Keyboard shortcuts

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