Documentation ¶
Index ¶
- Constants
- func HasFinalizer(obj client.Object, finalizer string) bool
- type BaseReconciler
- func (r *BaseReconciler) DeleteResource(ctx context.Context, obj client.Object, req ctrl.Request) (bool, error)
- func (r *BaseReconciler) GetStatus(obj client.Object) (*v1beta1.OSOKStatus, error)
- func (r *BaseReconciler) Reconcile(ctx context.Context, req ctrl.Request, obj client.Object) (result ctrl.Result, err error)
- func (r *BaseReconciler) ReconcileResource(ctx context.Context, obj client.Object, req ctrl.Request) (ctrl.Result, error)
- type Finalizer
Constants ¶
View Source
const (
OSOKFinalizerName = "finalizers.oci.oracle.com/oci-resources"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseReconciler ¶
type BaseReconciler struct { client.Client OSOKServiceManager servicemanager.OSOKServiceManager Finalizer Finalizer Log loggerutil.OSOKLogger Metrics *metrics.Metrics Recorder record.EventRecorder Scheme *runtime.Scheme AdditionalFinalizers []string }
func (*BaseReconciler) DeleteResource ¶
func (*BaseReconciler) GetStatus ¶
func (r *BaseReconciler) GetStatus(obj client.Object) (*v1beta1.OSOKStatus, error)
Click to show internal directories.
Click to hide internal directories.