scalityui

package
v0.0.0-...-6aa9927 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployedUIApp

type DeployedUIApp struct {
	AppHistoryBasePath string `json:"appHistoryBasePath"`
	Kind               string `json:"kind"`
	Name               string `json:"name"`
	URL                string `json:"url"`
	Version            string `json:"version"`
}

DeployedUIApp represents a deployed UI application entry

type ScalityUI

type ScalityUI = *uiv1alpha1.ScalityUI

Type aliases for better readability

type ScalityUIReconciler

type ScalityUIReconciler struct {
	reconciler.BaseReconciler[ScalityUI, State]
	// contains filtered or unexported fields
}

func NewScalityUIReconciler

func NewScalityUIReconciler(client client.Client, scheme *runtime.Scheme) *ScalityUIReconciler

func NewScalityUIReconcilerForTest

func NewScalityUIReconcilerForTest(client client.Client, scheme *runtime.Scheme) *ScalityUIReconciler

NewScalityUIReconcilerForTest creates a ScalityUIReconciler configured for testing environments

func (*ScalityUIReconciler) Reconcile

func (r *ScalityUIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ScalityUI object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile

func (*ScalityUIReconciler) SetupWithManager

func (r *ScalityUIReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type State

type State = reconciler.State

type StateReducer

type StateReducer struct {
	N string                                                        // Name of the reducer
	F func(ScalityUI, State, logr.Logger) (reconcile.Result, error) // Function to execute
}

StateReducer represents a step in the reconciliation process

Jump to

Keyboard shortcuts

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