Documentation ¶
Index ¶
- Constants
- func UnmarshalHugePages(hugespages interface{}) (*apiv3.HugePages, error)
- type CommonServiceReconciler
- func (r *CommonServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CommonServiceReconciler) ReconcileGeneralCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
- func (r *CommonServiceReconciler) ReconcileMasterCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
- func (r *CommonServiceReconciler) ReconcileNonConfigurableCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
- func (r *CommonServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
- type Extreme
Constants ¶
View Source
const ( CRInitializing string = "Initializing" CRUpdating string = "Updating" CRPending string = "Pending" CRSucceeded string = "Succeeded" CRFailed string = "Failed" )
View Source
const ( PauseRequestAnnoKey = "commonservices.operator.ibm.com/pause" SelfPauseRequestAnnoKey = "commonservices.operator.ibm.com/self-pause" PauseRequestValue = "true" )
Variables ¶
This section is empty.
Functions ¶
func UnmarshalHugePages ¶
UnmarshalHugePages unmarshals the hugepages map to HugePages struct
Types ¶
type CommonServiceReconciler ¶
type CommonServiceReconciler struct { *bootstrap.Bootstrap Scheme *runtime.Scheme Recorder record.EventRecorder }
CommonServiceReconciler reconciles a CommonService object
func (*CommonServiceReconciler) ReconcileGeneralCR ¶
func (r *CommonServiceReconciler) ReconcileGeneralCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
ReconcileGeneralCR is for setting the OperandConfig
func (*CommonServiceReconciler) ReconcileMasterCR ¶
func (r *CommonServiceReconciler) ReconcileMasterCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
func (*CommonServiceReconciler) ReconcileNonConfigurableCR ¶
func (r *CommonServiceReconciler) ReconcileNonConfigurableCR(ctx context.Context, instance *apiv3.CommonService) (ctrl.Result, error)
ReconileNonConfigurableCR is for setting the cloned Master CR status for advanced topologies
func (*CommonServiceReconciler) SetupWithManager ¶
func (r *CommonServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.