infra

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColonyReconciler

type ColonyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ColonyReconciler reconciles a Colony object

func (*ColonyReconciler) Reconcile

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

+kubebuilder:rbac:groups=infra.exalsius.ai,resources=colonies,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=infra.exalsius.ai,resources=colonies/status,verbs=get;update;patch +kubebuilder:rbac:groups=infra.exalsius.ai,resources=colonies/finalizers,verbs=update +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;delete +kubebuilder:rbac:groups=apps,resources=deployments,verbs=create;delete;get;list;patch;update;watch +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch Note: Child cluster access (for Cilium ConfigMap creation) is done via kubeconfig secrets, which requires the secrets RBAC permission above. No additional RBAC is needed for child cluster resources.

func (*ColonyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UserReconciler added in v0.3.4

type UserReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

UserReconciler reconciles a User object

func (*UserReconciler) Reconcile added in v0.3.4

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*UserReconciler) SetupWithManager added in v0.3.4

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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