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 ¶
- func GenerateConsoleUIConfigMap(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*corev1.ConfigMap, error)
- func GenerateConsoleUIDeployment(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*appsv1.Deployment, error)
- func GenerateConsoleUILabels() map[string]string
- func GenerateConsoleUINetworkPolicy(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*networkingv1.NetworkPolicy, error)
- func GenerateConsoleUIPlugin(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*consolev1.ConsolePlugin, error)
- func GenerateConsoleUIService(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*corev1.Service, error)
- func ReconcileConsoleUI(r reconciler.Reconciler, ctx context.Context, olsconfig *olsv1alpha1.OLSConfig) error
- func ReconcileConsoleUIDeployment(r reconciler.Reconciler, ctx context.Context, cr *olsv1alpha1.OLSConfig) error
- func RemoveConsoleUI(r reconciler.Reconciler, ctx context.Context) error
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 GenerateConsoleUINetworkPolicy ¶
func GenerateConsoleUINetworkPolicy(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*networkingv1.NetworkPolicy, error)
func GenerateConsoleUIPlugin ¶
func GenerateConsoleUIPlugin(r reconciler.Reconciler, cr *olsv1alpha1.OLSConfig) (*consolev1.ConsolePlugin, error)
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.
Click to show internal directories.
Click to hide internal directories.