Documentation
¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- func CreatePresetRAG(ctx context.Context, ragEngineObj *kaitov1alpha1.RAGEngine, revisionNum string, ...) (client.Object, error)
- type RAGEngineReconciler
- func (c *RAGEngineReconciler) CreateMachine(ctx context.Context, ragEngineObj *kaitov1alpha1.RAGEngine, ...) (*corev1.Node, error)
- func (c *RAGEngineReconciler) CreateNodeClaim(ctx context.Context, ragEngineObj *kaitov1alpha1.RAGEngine, ...) (*corev1.Node, error)
- func (c *RAGEngineReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (c *RAGEngineReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( ProbePath = "/health" Port5000 = 5000 )
View Source
const ( RAGEngineHashAnnotation = "ragengine.kaito.io/hash" RAGEngineNameLabel = "ragengine.kaito.io/name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RAGEngineReconciler ¶
type RAGEngineReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
}
func NewRAGEngineReconciler ¶
func NewRAGEngineReconciler(client client.Client, scheme *runtime.Scheme, log logr.Logger, Recorder record.EventRecorder) *RAGEngineReconciler
func (*RAGEngineReconciler) CreateMachine ¶
func (c *RAGEngineReconciler) CreateMachine(ctx context.Context, ragEngineObj *kaitov1alpha1.RAGEngine, nodeOSDiskSize string) (*corev1.Node, error)
func (*RAGEngineReconciler) CreateNodeClaim ¶
func (c *RAGEngineReconciler) CreateNodeClaim(ctx context.Context, ragEngineObj *kaitov1alpha1.RAGEngine, nodeOSDiskSize string) (*corev1.Node, error)
func (*RAGEngineReconciler) SetupWithManager ¶
func (c *RAGEngineReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.