Documentation ¶
Index ¶
- type Mongo
- func (a Mongo) CheckReady(transitionCR *fivegv1alpha1.Transition, entity common.Entity) (bool, error)
- func (a Mongo) Create(transition *v1alpha1.Transition) (common.Entity, error)
- func (a Mongo) Finalize(request reconcile.Request, instance interface{})
- func (a Mongo) GetCR(transitionCR *fivegv1alpha1.Transition) (common.Entity, error)
- func (a Mongo) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)
- func (a Mongo) Start(transition *v1alpha1.Transition) (string, error)
- func (a Mongo) Stop(transition *v1alpha1.Transition) (string, error)
- func (a Mongo) UpdateStatus(opResult controllerutil.OperationResult, instance common.Entity, ...)
- type MongoReconcilerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct { *common.EntityHandlerImpl client.Client // contains filtered or unexported fields }
Mongo is a type to manage k8s objects for Mongo 5G
func (Mongo) CheckReady ¶
func (a Mongo) CheckReady(transitionCR *fivegv1alpha1.Transition, entity common.Entity) (bool, error)
func (Mongo) GetCR ¶
func (a Mongo) GetCR(transitionCR *fivegv1alpha1.Transition) (common.Entity, error)
func (Mongo) IsReconciled ¶
func (a Mongo) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)
func (Mongo) UpdateStatus ¶
func (a Mongo) UpdateStatus(opResult controllerutil.OperationResult, instance common.Entity, reconcileErr error)
UpdateStatus called to update CR status
type MongoReconcilerFactory ¶
MongoReconcilerFactory factory class to get MongoReconciler for required installation version
func (MongoReconcilerFactory) Reconciler ¶
func (f MongoReconcilerFactory) Reconciler() common.FiveGReconciler
Reconciler get a FiveGReconciler to reconcile the required version of Mongo
Click to show internal directories.
Click to hide internal directories.