Documentation ¶
Index ¶
- Constants
- func MutateOIDCClientRepresentation(oidcClient lshcore.OIDCClient, state state.ClientState, ...) error
- func MutateSAMLClientRepresentation(ctx context.Context, client client.Client, samlClient lshcore.SAMLClient, ...) error
- func SAMLProcotolMappers() []gocloak.ProtocolMapperRepresentation
- type BucketReconciler
- type MailboxReconciler
- type OIDCClientReconciler
- type PostgresReconciler
- type RedisEndpointsReconciler
- type RedisReconciler
- func (r *RedisReconciler) CleanupPVCs(ctx context.Context, redis *lshcore.Redis) error
- func (r *RedisReconciler) Name() string
- func (r *RedisReconciler) OwnedConditions() []string
- func (r *RedisReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RedisReconciler) ReconcilePodDisruptionBudget(ctx context.Context, redis *lshcore.Redis) error
- func (r *RedisReconciler) ReconcilePodMonitor(ctx context.Context, redis *lshcore.Redis) (*monitoringv1.PodMonitor, error)
- func (r *RedisReconciler) ReconcileRole(ctx context.Context, namespace string) (*rbacv1.Role, error)
- func (r *RedisReconciler) ReconcileRoleBinding(ctx context.Context, namespace string, role *rbacv1.Role, ...) (*rbacv1.RoleBinding, error)
- func (r *RedisReconciler) ReconcileSecret(ctx context.Context, redis *lshcore.Redis, service *corev1.Service) (*corev1.Secret, error)
- func (r *RedisReconciler) ReconcileService(ctx context.Context, redis *lshcore.Redis) (*corev1.Service, error)
- func (r *RedisReconciler) ReconcileServiceAccount(ctx context.Context, namespace string) (*corev1.ServiceAccount, error)
- func (r *RedisReconciler) ReconcileStatefulSet(ctx context.Context, redis *lshcore.Redis, service *corev1.Service, ...) (*appv1.StatefulSet, error)
- func (r *RedisReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SAMLClientReconciler
- func (r *SAMLClientReconciler) CreateOrPatchCertificate(ctx context.Context, samlclient lshcore.SAMLClient) (*certmanager.Certificate, error)
- func (r *SAMLClientReconciler) Name() string
- func (r *SAMLClientReconciler) OwnedConditions() []string
- func (r *SAMLClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SAMLClientReconciler) SetupWithManager(mgr ctrl.Manager) error
- type TenantReconciler
Constants ¶
const ServiceAccountName = "keydb-manager"
Variables ¶
This section is empty.
Functions ¶
func MutateOIDCClientRepresentation ¶
func MutateOIDCClientRepresentation(oidcClient lshcore.OIDCClient, state state.ClientState, clientRepresentation *gocloak.Client) error
func SAMLProcotolMappers ¶
func SAMLProcotolMappers() []gocloak.ProtocolMapperRepresentation
Types ¶
type BucketReconciler ¶
type BucketReconciler struct { client.Client Config *configv1alpha1.ObjectStorageConfig }
BucketReconciler reconciles a Bucket object
func (*BucketReconciler) Name ¶
func (r *BucketReconciler) Name() string
func (*BucketReconciler) OwnedConditions ¶
func (r *BucketReconciler) OwnedConditions() []string
func (*BucketReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Bucket object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*BucketReconciler) SetupWithManager ¶
func (r *BucketReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MailboxReconciler ¶
type MailboxReconciler struct { client.Client Config configv1alpha1.MailboxConfig }
MailboxReconciler reconciles a Mailbox object
func (*MailboxReconciler) Name ¶
func (r *MailboxReconciler) Name() string
func (*MailboxReconciler) OwnedConditions ¶
func (r *MailboxReconciler) OwnedConditions() []string
func (*MailboxReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Mailbox object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*MailboxReconciler) SetupWithManager ¶
func (r *MailboxReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OIDCClientReconciler ¶
OIDCClientReconciler reconciles a OIDCClient object
func (*OIDCClientReconciler) Name ¶
func (r *OIDCClientReconciler) Name() string
func (*OIDCClientReconciler) OwnedConditions ¶
func (r *OIDCClientReconciler) OwnedConditions() []string
func (*OIDCClientReconciler) Reconcile ¶
func (r *OIDCClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the OIDCClient object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*OIDCClientReconciler) SetupWithManager ¶
func (r *OIDCClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PostgresReconciler ¶
PostgresReconciler reconciles a Postgres object
func (*PostgresReconciler) Name ¶
func (r *PostgresReconciler) Name() string
func (*PostgresReconciler) OwnedConditions ¶
func (r *PostgresReconciler) OwnedConditions() []string
func (*PostgresReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Postgres object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*PostgresReconciler) SetupWithManager ¶
func (r *PostgresReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RedisEndpointsReconciler ¶
func (*RedisEndpointsReconciler) Name ¶
func (r *RedisEndpointsReconciler) Name() string
func (*RedisEndpointsReconciler) OwnedConditions ¶
func (r *RedisEndpointsReconciler) OwnedConditions() []string
func (*RedisEndpointsReconciler) SetupWithManager ¶
func (r *RedisEndpointsReconciler) SetupWithManager(mgr ctrl.Manager) error
type RedisReconciler ¶
RedisReconciler reconciles a Redis object
func (*RedisReconciler) CleanupPVCs ¶
func (*RedisReconciler) Name ¶
func (r *RedisReconciler) Name() string
func (*RedisReconciler) OwnedConditions ¶
func (r *RedisReconciler) OwnedConditions() []string
func (*RedisReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Redis object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*RedisReconciler) ReconcilePodDisruptionBudget ¶
func (*RedisReconciler) ReconcilePodMonitor ¶
func (r *RedisReconciler) ReconcilePodMonitor(ctx context.Context, redis *lshcore.Redis) (*monitoringv1.PodMonitor, error)
func (*RedisReconciler) ReconcileRole ¶
func (*RedisReconciler) ReconcileRoleBinding ¶
func (r *RedisReconciler) ReconcileRoleBinding(ctx context.Context, namespace string, role *rbacv1.Role, serviceAccount *corev1.ServiceAccount) (*rbacv1.RoleBinding, error)
func (*RedisReconciler) ReconcileSecret ¶
func (*RedisReconciler) ReconcileService ¶
func (*RedisReconciler) ReconcileServiceAccount ¶
func (r *RedisReconciler) ReconcileServiceAccount(ctx context.Context, namespace string) (*corev1.ServiceAccount, error)
func (*RedisReconciler) ReconcileStatefulSet ¶
func (*RedisReconciler) SetupWithManager ¶
func (r *RedisReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SAMLClientReconciler ¶
SAMLClientReconciler reconciles a SAMLClient object
func (*SAMLClientReconciler) CreateOrPatchCertificate ¶
func (r *SAMLClientReconciler) CreateOrPatchCertificate(ctx context.Context, samlclient lshcore.SAMLClient) (*certmanager.Certificate, error)
func (*SAMLClientReconciler) Name ¶
func (r *SAMLClientReconciler) Name() string
func (*SAMLClientReconciler) OwnedConditions ¶
func (r *SAMLClientReconciler) OwnedConditions() []string
func (*SAMLClientReconciler) Reconcile ¶
func (r *SAMLClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SAMLClient object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile
func (*SAMLClientReconciler) SetupWithManager ¶
func (r *SAMLClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TenantReconciler ¶
TenantReconciler reconciles a Tenant object
func (*TenantReconciler) Name ¶
func (r *TenantReconciler) Name() string
func (*TenantReconciler) OwnedConditions ¶
func (r *TenantReconciler) OwnedConditions() []string
func (*TenantReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Tenant object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*TenantReconciler) SetupWithManager ¶
func (r *TenantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- bucket_controller.go
- mailbox_controller.go
- oidcclient_controller.go
- postgres_controller-services.go
- postgres_controller.go
- redis_controller.go
- redis_controller_pdb.go
- redis_controller_pod_monitor.go
- redis_controller_pvc.go
- redis_controller_secret.go
- redis_controller_service.go
- redis_controller_service_account.go
- redis_controller_statefulset.go
- redis_endpoints_controller.go
- samlclient_controller.go
- tenant_controller.go
- tenant_controller_mailbox.go
- tenant_controller_ns.go
- tenant_controller_realm.go
- tenant_controller_teapot.go