Documentation
¶
Index ¶
- func GetMergedConfig(tenant *capsulev1beta2.Tenant, ...) (cfg *configv1alpha1.ArgocdProjectStructuredProperties, err error)
- func RemoveTranslatorForTenant(translator *configv1alpha1.ArgoTranslator, tenant *capsulev1beta2.Tenant, ...) (err error)
- func SubstractTranslatorSpec(translator *configv1alpha1.ArgoTranslator, tenant *capsulev1beta2.Tenant, ...) (err error)
- type Reconciler
- func (i *Reconciler) DecoupleTenant(obj client.Object, tenant *capsulev1beta2.Tenant) (err error)
- func (i *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (i *Reconciler) RetrieveAPIServerURL() string
- func (i *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- func (i *Reconciler) TenantRequeueHandler() handler.EventHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMergedConfig ¶ added in v0.4.0
func GetMergedConfig( tenant *capsulev1beta2.Tenant, translator *configv1alpha1.ArgocdProjectProperties, settings *stores.ConfigStore, ) (cfg *configv1alpha1.ArgocdProjectStructuredProperties, err error)
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) 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 (*Reconciler) TenantRequeueHandler ¶ added in v0.4.0
func (i *Reconciler) TenantRequeueHandler() handler.EventHandler
Handler to reconcile all Tenants.
Click to show internal directories.
Click to hide internal directories.