keystone

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func APIDeployment

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

func APIIngress

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

func APIService

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

func AddReadyCheck

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

func AdminSecret

func AdminSecret(instance *openstackv1beta1.Keystone, password string) *corev1.Secret

func BootstrapJob

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

func ClientEnv

func ClientEnv(prefix, secret string) []corev1.EnvVar

func CloudClient

func CloudClient(svcUser *corev1.Secret) (*gophercloud.ProviderClient, error)

func ConfigMap

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

func DBSyncJob

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

func EnsureKeystone

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

func MiddlewareEnv

func MiddlewareEnv(prefix, secret string) []corev1.EnvVar

func NewIdentityServiceClient

func NewIdentityServiceClient(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ServiceClient, error)

func ReadyCondition

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

func Secrets

func Secrets(instance *openstackv1beta1.Keystone) []*corev1.Secret

func SetCondition

func SetCondition(instance *openstackv1beta1.Keystone, 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.Keystone, err error, eventReason, message string)

func (*Reporter) Running

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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