Documentation
¶
Index ¶
- type ModelReconciler
- func (r *ModelReconciler) IsAvailable(ctx context.Context, ollamaModelResource ollamav1.Model) bool
- func (r *ModelReconciler) IsProgressing(ctx context.Context, ollamaModelResource ollamav1.Model) bool
- func (r *ModelReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ModelReconciler) SetAvailable(ctx context.Context, ollamaModelResource ollamav1.Model) (bool, error)
- func (r *ModelReconciler) SetProgressing(ctx context.Context, ollamaModelResource ollamav1.Model) (bool, error)
- func (r *ModelReconciler) SetReplicas(ctx context.Context, ollamaModelResource ollamav1.Model, replicas int32, ...) (bool, error)
- func (r *ModelReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ModelReconciler) ShouldSetReplicas(ctx context.Context, ollamaModelResource ollamav1.Model, replicas int32, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelReconciler ¶
ModelReconciler reconciles a Model object
func (*ModelReconciler) IsAvailable ¶
func (*ModelReconciler) IsProgressing ¶
func (*ModelReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/reconcile
func (*ModelReconciler) SetAvailable ¶
func (*ModelReconciler) SetProgressing ¶
func (*ModelReconciler) SetReplicas ¶
func (*ModelReconciler) SetupWithManager ¶
func (r *ModelReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.