cell

package
v0.0.0-...-40cc410 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReadyCheck

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

func DBSyncJob

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

func Ensure

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

func ReadyCondition

func ReadyCondition(instance *openstackv1beta1.NovaCell) *metav1.Condition

func SetCondition

func SetCondition(instance *openstackv1beta1.NovaCell, conditionType string, status metav1.ConditionStatus, reason, message string)

Types

type Reporter

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

func NewReporter

func NewReporter(recorder record.EventRecorder) *Reporter

func (*Reporter) Pending

func (r *Reporter) Pending(instance *openstackv1beta1.NovaCell, err error, eventReason, message string)

func (*Reporter) Running

func (r *Reporter) Running(instance *openstackv1beta1.NovaCell)

Jump to

Keyboard shortcuts

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