upf

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Upf

type Upf struct {
	*common.EntityHandlerImpl

	client.Client
	// contains filtered or unexported fields
}

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

func NewUpf

func NewUpf(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Upf

func (Upf) CheckReady

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

func (Upf) Create

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

func (Upf) Finalize

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

Finalize method for Upf. Executed on uninstall

func (Upf) GetCR

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

func (Upf) IsReconciled

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

func (Upf) Start

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

func (Upf) Stop

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

func (Upf) UpdateStatus

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

UpdateStatus called to update CR status

type UpfReconcilerFactory

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

UpfReconcilerFactory factory class to get UpfReconciler for required installation version

func (UpfReconcilerFactory) Reconciler

Reconciler get a FiveGReconciler to reconcile the required version of Upf

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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