smf

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Smf

type Smf struct {
	*common.EntityHandlerImpl

	client.Client
	// contains filtered or unexported fields
}

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

func NewSmf

func NewSmf(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Smf
func (a Smf) AddLink(transition *v1alpha1.Transition) (string, error)

func (Smf) AddNode

func (a Smf) AddNode(transition *v1alpha1.Transition) (string, error)

func (Smf) AddUERoute

func (a Smf) AddUERoute(transition *v1alpha1.Transition) (string, error)

func (Smf) CheckReady

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

func (Smf) Create

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

func (Smf) Finalize

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

Finalize method for Smf. Executed on uninstall

func (Smf) GetCR

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

func (Smf) IsReconciled

func (a Smf) IsReconciled(transitionCR *fivegv1alpha1.Transition) (bool, error)
func (a Smf) RmLink(transition *v1alpha1.Transition) (string, error)

func (Smf) RmNode

func (a Smf) RmNode(transition *v1alpha1.Transition) (string, error)

func (Smf) Start

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

func (Smf) Stop

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

func (Smf) UpdateStatus

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

UpdateStatus called to update CR status

type SmfReconcilerFactory

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

SmfReconcilerFactory factory class to get SmfReconciler for required installation version

func (SmfReconcilerFactory) Reconciler

Reconciler get a FiveGReconciler to reconcile the required version of Smf

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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