core

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: EUPL-1.2 Imports: 66 Imported by: 0

Documentation

Index

Constants

View Source
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 MutateSAMLClientRepresentation

func MutateSAMLClientRepresentation(ctx context.Context, client client.Client, samlClient lshcore.SAMLClient, 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

func (r *BucketReconciler) 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 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

func (r *MailboxReconciler) 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 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

type OIDCClientReconciler struct {
	client.Client
}

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

type PostgresReconciler struct {
	client.Client
}

PostgresReconciler reconciles a Postgres object

func (*PostgresReconciler) Name

func (r *PostgresReconciler) Name() string

func (*PostgresReconciler) OwnedConditions

func (r *PostgresReconciler) OwnedConditions() []string

func (*PostgresReconciler) Reconcile

func (r *PostgresReconciler) 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 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

type RedisEndpointsReconciler struct {
	client.Client
}

func (*RedisEndpointsReconciler) Name

func (r *RedisEndpointsReconciler) Name() string

func (*RedisEndpointsReconciler) OwnedConditions

func (r *RedisEndpointsReconciler) OwnedConditions() []string

func (*RedisEndpointsReconciler) Reconcile

func (*RedisEndpointsReconciler) SetupWithManager

func (r *RedisEndpointsReconciler) SetupWithManager(mgr ctrl.Manager) error

type RedisReconciler

type RedisReconciler struct {
	client.Client
	PodMonitorEnabled bool
}

RedisReconciler reconciles a Redis object

func (*RedisReconciler) CleanupPVCs

func (r *RedisReconciler) CleanupPVCs(ctx context.Context, redis *lshcore.Redis) error

func (*RedisReconciler) Name

func (r *RedisReconciler) Name() string

func (*RedisReconciler) OwnedConditions

func (r *RedisReconciler) OwnedConditions() []string

func (*RedisReconciler) Reconcile

func (r *RedisReconciler) 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 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 (r *RedisReconciler) ReconcilePodDisruptionBudget(ctx context.Context, redis *lshcore.Redis) error

func (*RedisReconciler) ReconcilePodMonitor

func (r *RedisReconciler) ReconcilePodMonitor(ctx context.Context, redis *lshcore.Redis) (*monitoringv1.PodMonitor, error)

func (*RedisReconciler) ReconcileRole

func (r *RedisReconciler) ReconcileRole(ctx context.Context, namespace string) (*rbacv1.Role, error)

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 (r *RedisReconciler) ReconcileSecret(ctx context.Context, redis *lshcore.Redis, service *corev1.Service) (*corev1.Secret, error)

func (*RedisReconciler) ReconcileService

func (r *RedisReconciler) ReconcileService(ctx context.Context, redis *lshcore.Redis) (*corev1.Service, error)

func (*RedisReconciler) ReconcileServiceAccount

func (r *RedisReconciler) ReconcileServiceAccount(ctx context.Context, namespace string) (*corev1.ServiceAccount, error)

func (*RedisReconciler) ReconcileStatefulSet

func (r *RedisReconciler) ReconcileStatefulSet(ctx context.Context, redis *lshcore.Redis, service *corev1.Service, secret *corev1.Secret) (*appv1.StatefulSet, error)

func (*RedisReconciler) SetupWithManager

func (r *RedisReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SAMLClientReconciler

type SAMLClientReconciler struct {
	client.Client
}

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

type TenantReconciler struct {
	client.Client
}

TenantReconciler reconciles a Tenant object

func (*TenantReconciler) Name

func (r *TenantReconciler) Name() string

func (*TenantReconciler) OwnedConditions

func (r *TenantReconciler) OwnedConditions() []string

func (*TenantReconciler) Reconcile

func (r *TenantReconciler) 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 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.

Jump to

Keyboard shortcuts

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