controller

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 34 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CleanupFinalizer = "rig.dev/capsule-cleanup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CapsuleReconciler

type CapsuleReconciler struct {
	client.Client
	Scheme              *runtime.Scheme
	Config              *configv1alpha1.OperatorConfig
	CapabilitiesService capabilities.Service
	PipelineService     svc_pipeline.Service
	ObjectStatusService objectstatus.Service
	Lifecycle           fx.Lifecycle
	// contains filtered or unexported fields
}

CapsuleReconciler reconciles a Capsule object

func (*CapsuleReconciler) Reconcile

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

Reconcile compares the state specified by the Capsule object against the actual cluster state, and then performs operations to make the cluster state reflect the state specified by the Capsule.

func (*CapsuleReconciler) SetupWithManager

func (r *CapsuleReconciler) SetupWithManager(mgr ctrl.Manager, name string) error

SetupWithManager sets up the controller with the Manager.

type ProjectEnvironmentController added in v1.8.15

type ProjectEnvironmentController struct {
	client.Client
	Scheme    *runtime.Scheme
	Config    *configv1alpha1.OperatorConfig
	ClientSet clientset.Interface
	Logger    logr.Logger
}

ProjectEnvironmentController reconciles a Project object

func NewProjectEnvironmentController added in v1.8.15

func NewProjectEnvironmentController(
	c client.Client,
	scheme *runtime.Scheme,
	config *configv1alpha1.OperatorConfig,
	clientSet clientset.Interface,
	logger logr.Logger,
) *ProjectEnvironmentController

func (*ProjectEnvironmentController) Reconcile added in v1.8.15

func (*ProjectEnvironmentController) SetupWithManager added in v1.8.15

func (p *ProjectEnvironmentController) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

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