webconsole

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 Webconsole

type Webconsole struct {
	*common.EntityHandlerImpl

	client.Client
	// contains filtered or unexported fields
}

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

func NewWebconsole

func NewWebconsole(operationRunner common.OperationRunner, k8sUtils *common.K8sUtils, client client.Client) *Webconsole

func (Webconsole) CheckReady

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

func (Webconsole) Create

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

func (Webconsole) Finalize

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

Finalize method for Webconsole. Executed on uninstall

func (Webconsole) GetCR

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

func (Webconsole) IsReconciled

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

func (Webconsole) Start

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

func (Webconsole) Stop

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

func (Webconsole) UpdateStatus

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

UpdateStatus called to update CR status

type WebconsoleReconcilerFactory

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

WebconsoleReconcilerFactory factory class to get WebconsoleReconciler for required installation version

func (WebconsoleReconcilerFactory) Reconciler

Reconciler get a FiveGReconciler to reconcile the required version of Webconsole

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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