pcf

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSHA256

func NewSHA256(data []byte) string

Types

type Pcf

type Pcf struct {
	*common.EntityHandlerImpl

	client.Client
	// contains filtered or unexported fields
}

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

func NewPcf

func NewPcf(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Pcf

func (Pcf) CheckReady

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

func (Pcf) Create

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

func (Pcf) Finalize

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

Finalize method for Pcf. Executed on uninstall

func (Pcf) GetCR

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

func (Pcf) IsReconciled

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

func (Pcf) Start

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

func (Pcf) Stop

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

func (Pcf) UpdateStatus

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

UpdateStatus called to update CR status

type PcfReconcilerFactory

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

PcfReconcilerFactory factory class to get PcfReconciler for required installation version

func (PcfReconcilerFactory) Reconciler

Reconciler get a FiveGReconciler to reconcile the required version of Pcf

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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