Documentation ¶
Index ¶
- type Subscriber
- func (a Subscriber) CheckReady(transitionCR *fivegv1alpha1.Transition, entity common.Entity) (bool, error)
- func (a Subscriber) Finalize(request reconcile.Request, instance interface{})
- func (a Subscriber) GetCR(transitionCR *fivegv1alpha1.Transition) (common.Entity, error)
- func (a Subscriber) IsReady(instance interface{}) bool
- func (a Subscriber) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)
- func (a Subscriber) Start(transition *v1alpha1.Transition) (string, error)
- func (a Subscriber) UpdateStatus(opResult controllerutil.OperationResult, instance common.Entity, ...)
- type SubscriberReconcilerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
type Subscriber struct { *common.EntityHandlerImpl // contains filtered or unexported fields }
Subscriber is a type to manage k8s objects for Subscriber 5G
func NewSubscriber ¶
func NewSubscriber(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Subscriber
func (Subscriber) CheckReady ¶
func (a Subscriber) CheckReady(transitionCR *fivegv1alpha1.Transition, entity common.Entity) (bool, error)
func (Subscriber) Finalize ¶
func (a Subscriber) Finalize(request reconcile.Request, instance interface{})
Finalize method for Subscriber. Executed on uninstall
func (Subscriber) GetCR ¶
func (a Subscriber) GetCR(transitionCR *fivegv1alpha1.Transition) (common.Entity, error)
func (Subscriber) IsReady ¶
func (a Subscriber) IsReady(instance interface{}) bool
IsReady check if ready
func (Subscriber) IsReconciled ¶
func (a Subscriber) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)
func (Subscriber) Start ¶
func (a Subscriber) Start(transition *v1alpha1.Transition) (string, error)
func (Subscriber) UpdateStatus ¶
func (a Subscriber) UpdateStatus(opResult controllerutil.OperationResult, instance common.Entity, reconcileErr error)
UpdateStatus called to update CR status
type SubscriberReconcilerFactory ¶
SubscriberReconcilerFactory factory class to get SmfReconciler for required installation version
func (SubscriberReconcilerFactory) Reconciler ¶
func (f SubscriberReconcilerFactory) Reconciler() common.FiveGReconciler
Reconciler get a SubscriberReconciler to reconcile the required version of Subscriber
Click to show internal directories.
Click to hide internal directories.