tenantcontroller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package tenantcontroller contains the controller to manage Tenant resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TenantReconciler

type TenantReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config *rest.Config

	EventRecorder    record.EventRecorder
	IdentityProvider identitymanager.IdentityProvider
	NamespaceManager tenantnamespace.Manager

	APIServerAddressOverride string
	CAOverride               []byte
	TrustedCA                bool
	// contains filtered or unexported fields
}

TenantReconciler manages the lifecycle of a Tenant.

func NewTenantReconciler

func NewTenantReconciler(cl client.Client, scheme *runtime.Scheme, config *rest.Config,
	eventRecorder record.EventRecorder, identityProvider identitymanager.IdentityProvider,
	namespaceManager tenantnamespace.Manager,
	apiServerAddressOverride string, caOverride []byte, trustedCA bool) *TenantReconciler

NewTenantReconciler creates a new TenantReconciler.

func (*TenantReconciler) Reconcile

func (r *TenantReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile manages the lifecycle of a Tenant.

func (*TenantReconciler) SetupWithManager

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

SetupWithManager sets up the TenantReconciler with the Manager.

Jump to

Keyboard shortcuts

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