keystone

package
v0.0.0-...-3cbb01b Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func APICertificate

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

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 APIInternalURL

func APIInternalURL(instance *openstackv1beta1.Keystone) string

func APIPublicURL

func APIPublicURL(instance *openstackv1beta1.Keystone) string

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(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ProviderClient, error)

func CloudEndpointOpts

func CloudEndpointOpts(svcUser *corev1.Secret) gophercloud.EndpointOpts

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 Ensure

func Ensure(ctx context.Context, c client.Client, instance *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 PKIResources

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

func Secrets

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

Types

type Reporter

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

func NewReporter

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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