tenant

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TenancyController

type TenancyController 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 (*TenancyController) DecoupleTenant

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

Decouple a Tenant from an Object

func (*TenancyController) ForceTenant

func (i *TenancyController) ForceTenant(tenant *capsulev1beta2.Tenant) bool

Determines if the proxy service should be registered

func (*TenancyController) GetClusterDestination

func (i *TenancyController) GetClusterDestination(tenant *capsulev1beta2.Tenant) (dest string)

Get Destination String

func (*TenancyController) Reconcile

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

func (*TenancyController) RetrieveAPIServerURL

func (i *TenancyController) RetrieveAPIServerURL() string

Gets the API Server given via Rest-Config

func (*TenancyController) SetupWithManager

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

func (*TenancyController) TenantRequeueHandler

func (i *TenancyController) 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