Documentation ¶
Index ¶
- func CheckSingletonServices(operator string) bool
- type Reconciler
- func (r *Reconciler) ExecuteOptionalFields(ctx context.Context, resTemplate *unstructured.Unstructured, ...) error
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reconcileErr error)
- func (r *Reconciler) ResourceForKind(gvk schema.GroupVersionKind, namespace string) (*schema.GroupVersionResource, error)
- func (r *Reconciler) ServiceStatusIsReady(ctx context.Context, requestInstance *operatorv1alpha1.OperandRequest) (bool, error)
- func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSingletonServices ¶
Types ¶
type Reconciler ¶
type Reconciler struct { *deploy.ODLMOperator StepSize int Mutex sync.Mutex }
Reconciler reconciles a OperandRequest object
func (*Reconciler) ExecuteOptionalFields ¶ added in v4.3.6
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 ¶ added in v4.3.2
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.
Click to show internal directories.
Click to hide internal directories.