controller

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelReconciler

type ModelReconciler struct {
	client.Client
	Scheme               *runtime.Scheme
	OllamaContainerImage string
}

ModelReconciler reconciles a Model object

func (*ModelReconciler) Reconcile

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

+kubebuilder:rbac:groups=ollama.sivchari.io,resources=models,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=ollama.sivchari.io,resources=models/status,verbs=get;update;patch +kubebuilder:rbac:groups=ollama.sivchari.io,resources=models/finalizers,verbs=update

func (*ModelReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PostStartInput

type PostStartInput struct {
	Images []string
}

Jump to

Keyboard shortcuts

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