tenantcluster

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ButlerConfigSingletonName = "butler"

	// LabelAllocationRole distinguishes initial vs growth IPAllocations.
	// The butler-api does not define this label yet, so it lives here until
	// the next API release.
	LabelAllocationRole = "butler.butlerlabs.dev/allocation-role"

	// AllocationRoleInitial marks the first IPAllocation created during
	// reconcileIPAllocation (the "seed" allocation for a new tenant).
	AllocationRoleInitial = "initial"

	// AllocationRoleGrowth marks IPAllocations created by the elastic IPAM
	// growth path inside reconcileElasticIPAM.
	AllocationRoleGrowth = "growth"

	ReasonValidating             = "Validating"
	ReasonValidationFailed       = "ValidationFailed"
	ReasonTeamNotFound           = "TeamNotFound"
	ReasonTeamRequired           = "TeamRequired"
	ReasonNamespaceMismatch      = "NamespaceMismatch"
	ReasonProvisioningNS         = "ProvisioningNamespace"
	ReasonNamespaceReady         = "NamespaceReady"
	ReasonInfraProvisioning      = "InfrastructureProvisioning"
	ReasonControlPlaneReady      = "ControlPlaneReady"
	ReasonWorkersProvisioning    = "WorkersProvisioning"
	ReasonWorkersReady           = "WorkersReady"
	ReasonProviderConfigNotFound = "ProviderConfigNotFound"
	ReasonCAPIResourceError      = "CAPIResourceError"
	ReasonReady                  = "Ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme                  *runtime.Scheme
	Installer               *addons.Installer
	ClientManager           *tenant.ClientManager
	Recorder                record.EventRecorder
	MaxConcurrentReconciles int
}

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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