console

package
v0.0.0-...-0281a43 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package console provides reconciliation logic for the OpenShift Console UI plugin that integrates OpenShift Lightspeed into the OpenShift web console.

This package manages:

  • ConsolePlugin custom resource for UI integration
  • Console UI deployment and pod lifecycle
  • Service configuration for plugin serving
  • ConfigMap for Nginx configuration
  • TLS certificate management for secure connections
  • Network policies for console security
  • Integration with OpenShift Console operator

The console plugin provides users with a chat interface directly in the OpenShift web console to interact with the Lightspeed AI assistant. The main entry points are ReconcileConsoleUI for setup and RemoveConsoleUI for cleanup.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConsoleUIConfigMap

func GenerateConsoleUIConfigMap(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*corev1.ConfigMap, error)

func GenerateConsoleUIDeployment

func GenerateConsoleUIDeployment(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*appsv1.Deployment, error)

func GenerateConsoleUILabels

func GenerateConsoleUILabels() map[string]string

func GenerateConsoleUIService

func GenerateConsoleUIService(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*corev1.Service, error)

func ReconcileConsoleUI

func ReconcileConsoleUI(r reconciler.Reconciler, ctx context.Context, olsconfig *olsv1alpha1.OLSConfig) error

func ReconcileConsoleUIDeployment

func ReconcileConsoleUIDeployment(r reconciler.Reconciler, ctx context.Context, cr *olsv1alpha1.OLSConfig) error

func RemoveConsoleUI

func RemoveConsoleUI(r reconciler.Reconciler, ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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