operandrequestnoolm

package
v4.5.9 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSingletonServices

func CheckSingletonServices(operator string) bool

func NewReferencePredicates added in v4.5.9

func NewReferencePredicates() predicate.Funcs

NewReferencePredicates creates predicates for filtering reference resources. Only watches ConfigMaps and Secrets that have the ODLM watched label set to "true" and do not have the OpbiTypeLabel set to "copy". This prevents caching all ConfigMaps/Secrets in watched namespaces.

Types

type Reconciler

type Reconciler struct {
	*deploy.ODLMOperator
	StepSize int
	Mutex    sync.Mutex
}

Reconciler reconciles a OperandRequest object

func (*Reconciler) ExecuteOptionalFields

func (r *Reconciler) ExecuteOptionalFields(ctx context.Context, resTemplate *unstructured.Unstructured, optionalFields *[]operatorv1alpha1.OptionalField) error

func (*Reconciler) Reconcile

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

Reconcile reads that state of the cluster for a OperandRequest object and makes changes based on the state read and what is in the OperandRequest.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*Reconciler) ResourceForKind

func (r *Reconciler) ResourceForKind(gvk schema.GroupVersionKind, namespace string) (*schema.GroupVersionResource, error)

func (*Reconciler) ServiceStatusIsReady

func (r *Reconciler) ServiceStatusIsReady(ctx context.Context, requestInstance *operatorv1alpha1.OperandRequest) (bool, error)

func (*Reconciler) SetupWithManager

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

SetupWithManager adds OperandRequest controller to the manager.

Jump to

Keyboard shortcuts

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