rally

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

Documentation

Index

Constants

View Source
const (
	AppLabel = "rally"
)

Variables

This section is empty.

Functions

func AddReadyCheck

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

func ConfigMap

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

func DBSyncJob

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

func EnsureRally

func EnsureRally(ctx context.Context, c client.Client, intended *openstackv1beta1.Rally, log logr.Logger) error

func KeystoneUser

func KeystoneUser(instance *openstackv1beta1.Rally) *openstackv1beta1.KeystoneUser

func PersistentVolumeClaim

func PersistentVolumeClaim(instance *openstackv1beta1.Rally) *corev1.PersistentVolumeClaim

func ReadyCondition

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

func SetCondition

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

func TaskRunnerJob

func TaskRunnerJob(instance *openstackv1beta1.RallyTask, cluster *openstackv1beta1.Rally, env []corev1.EnvVar, volumes []corev1.Volume) *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.Rally, err error, eventReason, message string)

func (*Reporter) Succeeded

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

Jump to

Keyboard shortcuts

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