Documentation ¶
Index ¶
- Constants
- func APIDeployment(instance *openstackv1beta1.Keystone, env []corev1.EnvVar, ...) *appsv1.Deployment
- func APIIngress(instance *openstackv1beta1.Keystone) *netv1.Ingress
- func APIService(instance *openstackv1beta1.Keystone) *corev1.Service
- func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.Keystone)
- func AdminSecret(instance *openstackv1beta1.Keystone, password string) *corev1.Secret
- func BootstrapJob(instance *openstackv1beta1.Keystone, env []corev1.EnvVar, ...) *batchv1.Job
- func BrokerUser(instance *openstackv1beta1.Keystone) *openstackv1beta1.RabbitMQUser
- func ClientEnv(prefix, secret string) []corev1.EnvVar
- func CloudClient(svcUser *corev1.Secret) (*gophercloud.ProviderClient, error)
- func ConfigMap(instance *openstackv1beta1.Keystone) *corev1.ConfigMap
- func DBSyncJob(instance *openstackv1beta1.Keystone, env []corev1.EnvVar, ...) *batchv1.Job
- func Database(instance *openstackv1beta1.Keystone) *openstackv1beta1.MariaDBDatabase
- func EnsureKeystone(ctx context.Context, c client.Client, intended *openstackv1beta1.Keystone, ...) error
- func MiddlewareEnv(prefix, secret string) []corev1.EnvVar
- func NewIdentityServiceClient(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ServiceClient, error)
- func ReadyCondition(instance *openstackv1beta1.Keystone) *metav1.Condition
- func Secrets(instance *openstackv1beta1.Keystone) []*corev1.Secret
- func SetCondition(instance *openstackv1beta1.Keystone, conditionType string, ...)
- type Reporter
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 BrokerUser ¶
func BrokerUser(instance *openstackv1beta1.Keystone) *openstackv1beta1.RabbitMQUser
func CloudClient ¶
func CloudClient(svcUser *corev1.Secret) (*gophercloud.ProviderClient, error)
func Database ¶
func Database(instance *openstackv1beta1.Keystone) *openstackv1beta1.MariaDBDatabase
func EnsureKeystone ¶
func MiddlewareEnv ¶
func NewIdentityServiceClient ¶
func NewIdentityServiceClient(ctx context.Context, svcUser *corev1.Secret) (*gophercloud.ServiceClient, error)
func ReadyCondition ¶
func ReadyCondition(instance *openstackv1beta1.Keystone) *metav1.Condition
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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.