nrf

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 Nrf

type Nrf struct {
	*common.EntityHandlerImpl

	client.Client
	// contains filtered or unexported fields
}

Nrf is a type to manage k8s objects for Nrf 5G

func NewNrf

func NewNrf(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Nrf

func (Nrf) CheckReady

func (a Nrf) CheckReady(transitionCR *fivegv1alpha1.Transition, entity common.Entity) (bool, error)

func (Nrf) Create

func (a Nrf) Create(transition *v1alpha1.Transition) (common.Entity, error)

func (Nrf) Finalize

func (a Nrf) Finalize(request reconcile.Request, instance interface{})

Finalize method for Nrf. Executed on uninstall

func (Nrf) GetCR

func (a Nrf) GetCR(transitionCR *fivegv1alpha1.Transition) (common.Entity, error)

func (Nrf) IsReconciled

func (a Nrf) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)

func (Nrf) Start

func (a Nrf) Start(transition *v1alpha1.Transition) (string, error)

func (Nrf) Stop

func (a Nrf) Stop(transition *v1alpha1.Transition) (string, error)

func (Nrf) UpdateStatus

func (a Nrf) UpdateStatus(opResult controllerutil.OperationResult, instance common.Entity,
	reconcileErr error)

UpdateStatus called to update CR status

type NrfReconcilerFactory

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

NrfReconcilerFactory factory class to get NrfReconciler for required installation version

func (NrfReconcilerFactory) Reconciler

Reconciler get a FiveGReconciler to reconcile the required version of Nrf

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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