user

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.RabbitMQUser)

func Ensure

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

func ReadyCondition

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

func Secret

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

func SetCondition

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

func SetupJob

func SetupJob(instance *openstackv1beta1.RabbitMQUser, containerImage, databaseHostName, adminSecret string) *batchv1.Job

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.RabbitMQUser, err error, eventReason, message string)

func (*Reporter) Succeeded

func (r *Reporter) Succeeded(instance *openstackv1beta1.RabbitMQUser)

Jump to

Keyboard shortcuts

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