tenant

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMergedConfig added in v0.4.0

Decouple a Tenant from an Object.

func RemoveTranslatorForTenant added in v0.4.0

func RemoveTranslatorForTenant(
	translator *configv1alpha1.ArgoTranslator,
	tenant *capsulev1beta2.Tenant,
	appproject *argocdapi.AppProject,
	settings *stores.ConfigStore,
) (err error)

Remove Translator for tenant.

func SubstractTranslatorSpec added in v0.4.0

func SubstractTranslatorSpec(
	translator *configv1alpha1.ArgoTranslator,
	tenant *capsulev1beta2.Tenant,
	appproject *argocdapi.AppProject,
	settings *stores.ConfigStore,
) (err error)

Remove Translator for tenant.

Types

type Reconciler added in v0.4.0

type Reconciler struct {
	client.Client
	Metrics  *metrics.Recorder
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Log      logr.Logger
	Settings *stores.ConfigStore

	Rest *rest.Config
	// contains filtered or unexported fields
}

func (*Reconciler) DecoupleTenant added in v0.4.0

func (i *Reconciler) DecoupleTenant(obj client.Object, tenant *capsulev1beta2.Tenant) (err error)

Decouple a Tenant from an Object.

func (*Reconciler) Reconcile added in v0.4.0

func (i *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*Reconciler) RetrieveAPIServerURL added in v0.4.0

func (i *Reconciler) RetrieveAPIServerURL() string

Gets the API Server given via Rest-Config.

func (*Reconciler) SetupWithManager added in v0.4.0

func (i *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

func (*Reconciler) TenantRequeueHandler added in v0.4.0

func (i *Reconciler) TenantRequeueHandler() handler.EventHandler

Handler to reconcile all Tenants.

Jump to

Keyboard shortcuts

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