subscriber

package
v0.0.0-...-52300d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

type SubscriberReconcilerFactory struct {
	K8sUtils *common.K8sUtils
	Client   client.Client
}

SubscriberReconcilerFactory factory class to get SmfReconciler for required installation version

func (SubscriberReconcilerFactory) Reconciler

Reconciler get a SubscriberReconciler to reconcile the required version of Subscriber

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL