controller

package
v1.9.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

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) 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