plugin

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitPluginStatus added in v0.6.0

func InitPluginStatus(plugin *greenhousev1alpha1.Plugin) greenhousev1alpha1.PluginStatus

InitPluginStatus initializes all empty Plugin Conditions to "unknown" and removes deprecated conditions.

func ListPluginsAsReconcileRequests added in v0.6.0

func ListPluginsAsReconcileRequests(ctx context.Context, c client.Client, listOpts ...client.ListOption) []ctrl.Request

func ResolveValueFromRef added in v0.9.0

ResolveValueFromRef resolves a PluginOptionValue which references other Greenhouse resources currently references to Plugin, PluginPreset are supported. The validation is done at CRD level.

func UpdatePluginReadyMetric added in v0.6.0

func UpdatePluginReadyMetric(plugin *greenhousev1alpha1.Plugin, ready bool)

Types

type PluginPresetReconciler

type PluginPresetReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

PluginPresetReconciler reconciles a PluginPreset object

func (*PluginPresetReconciler) EnsureCreated

func (*PluginPresetReconciler) EnsureDeleted

func (*PluginPresetReconciler) EnsureSuspended added in v0.7.0

func (r *PluginPresetReconciler) EnsureSuspended(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, error)

func (*PluginPresetReconciler) Reconcile

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

func (*PluginPresetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PluginReconciler

type PluginReconciler struct {
	client.Client
	KubeRuntimeOpts clientutil.RuntimeOptions

	ExpressionEvaluationEnabled bool
	IntegrationEnabled          bool
	OCIMirroringEnabled         bool
	// contains filtered or unexported fields
}

PluginReconciler reconciles a Plugin object.

func (*PluginReconciler) EnsureCreated

func (*PluginReconciler) EnsureDeleted

func (*PluginReconciler) EnsureFluxCreated added in v0.6.0

func (*PluginReconciler) EnsureFluxDeleted added in v0.6.0

func (*PluginReconciler) EnsureFluxSuspended added in v0.7.0

func (r *PluginReconciler) EnsureFluxSuspended(ctx context.Context, plugin *greenhousev1alpha1.Plugin) (ctrl.Result, error)

func (*PluginReconciler) EnsureSuspended added in v0.7.0

func (r *PluginReconciler) EnsureSuspended(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, error)

func (*PluginReconciler) Reconcile

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

func (*PluginReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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