placement

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

Documentation

Index

Constants

View Source
const (
	APIComponentLabel = "api"
)
View Source
const (
	AppLabel = "placement"
)

Variables

This section is empty.

Functions

func APICertificate

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

func APIDeployment

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

func APIIngress

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

func APIInternalURL

func APIInternalURL(instance *openstackv1beta1.Placement) string

func APIPublicURL

func APIPublicURL(instance *openstackv1beta1.Placement) string

func APIService

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

func AddReadyCheck

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

func ConfigMap

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

func DBSyncJob

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

func Ensure

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

func PKIResources

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

Types

type Reporter

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

func NewReporter

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