SYMBOL INDEX (156 symbols across 19 files) FILE: api/ollama/v1/model_types.go type ModelPersistentVolumeSpec (line 24) | type ModelPersistentVolumeSpec struct type ModelSpec (line 35) | type ModelSpec struct type ConditionType (line 107) | type ConditionType constant ModelUnknown (line 114) | ModelUnknown ConditionType = "Unknown" constant ModelAvailable (line 117) | ModelAvailable ConditionType = "Available" constant ModelProgressing (line 122) | ModelProgressing ConditionType = "Progressing" constant ModelReplicaFailure (line 125) | ModelReplicaFailure ConditionType = "ReplicaFailure" type ModelStatusCondition (line 128) | type ModelStatusCondition struct type ModelStatus (line 144) | type ModelStatus struct type Model (line 176) | type Model struct type ModelList (line 187) | type ModelList struct function init (line 193) | func init() { FILE: api/ollama/v1/zz_generated.deepcopy.go method DeepCopyInto (line 29) | func (in *Model) DeepCopyInto(out *Model) { method DeepCopy (line 38) | func (in *Model) DeepCopy() *Model { method DeepCopyObject (line 48) | func (in *Model) DeepCopyObject() runtime.Object { method DeepCopyInto (line 56) | func (in *ModelList) DeepCopyInto(out *ModelList) { method DeepCopy (line 70) | func (in *ModelList) DeepCopy() *ModelList { method DeepCopyObject (line 80) | func (in *ModelList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 88) | func (in *ModelPersistentVolumeSpec) DeepCopyInto(out *ModelPersistentVo... method DeepCopy (line 98) | func (in *ModelPersistentVolumeSpec) DeepCopy() *ModelPersistentVolumeSp... method DeepCopyInto (line 108) | func (in *ModelSpec) DeepCopyInto(out *ModelSpec) { method DeepCopy (line 163) | func (in *ModelSpec) DeepCopy() *ModelSpec { method DeepCopyInto (line 173) | func (in *ModelStatus) DeepCopyInto(out *ModelStatus) { method DeepCopy (line 185) | func (in *ModelStatus) DeepCopy() *ModelStatus { method DeepCopyInto (line 195) | func (in *ModelStatusCondition) DeepCopyInto(out *ModelStatusCondition) { method DeepCopy (line 202) | func (in *ModelStatusCondition) DeepCopy() *ModelStatusCondition { FILE: cmd/kollama/main.go function main (line 34) | func main() { FILE: cmd/ollama-operator/main.go function init (line 47) | func init() { function main (line 54) | func main() { FILE: docs/shim.d.ts type PlayerCreateOptions (line 2) | interface PlayerCreateOptions { type Player (line 24) | interface Player { FILE: internal/cli/kollama/cmd.go function NewCmd (line 35) | func NewCmd(streams genericiooptions.IOStreams) *cobra.Command { FILE: internal/cli/kollama/cmd_deploy.go constant deployExample (line 31) | deployExample = ` constant deployedNonExposedMessage (line 45) | deployedNonExposedMessage = `🎉 Successfully deployed %s. constant deployedExposedMessage (line 61) | deployedExposedMessage = `🎉 Successfully deployed %s. type CmdDeployOptions (line 83) | type CmdDeployOptions struct method AddFlags (line 112) | func (o *CmdDeployOptions) AddFlags(flags *pflag.FlagSet) { method runE (line 195) | func (o *CmdDeployOptions) runE(cmd *cobra.Command, args []string) err... function NewCmdDeployOptions (line 105) | func NewCmdDeployOptions(streams genericiooptions.IOStreams) *CmdDeployO... function NewCmdDeploy (line 161) | func NewCmdDeploy(streams genericiooptions.IOStreams) *cobra.Command { FILE: internal/cli/kollama/cmd_expose.go constant exposedMessage (line 27) | exposedMessage = `🎉 The model has been exposed through a service over %s. type CmdExposeOptions (line 48) | type CmdExposeOptions struct method AddFlags (line 71) | func (o *CmdExposeOptions) AddFlags(flags *pflag.FlagSet) { method runE (line 121) | func (o *CmdExposeOptions) runE(cmd *cobra.Command, args []string) err... function NewCmdExposeOptions (line 64) | func NewCmdExposeOptions(streams genericiooptions.IOStreams) *CmdExposeO... function NewCmdExpose (line 87) | func NewCmdExpose(streams genericiooptions.IOStreams) *cobra.Command { FILE: internal/cli/kollama/cmd_undeploy.go constant unDeployExample (line 23) | unDeployExample = ` type CmdUndeployOptions (line 37) | type CmdUndeployOptions struct method runE (line 87) | func (o *CmdUndeployOptions) runE(cmd *cobra.Command, args []string) e... function NewCmdUndeployOptions (line 47) | func NewCmdUndeployOptions(streams genericiooptions.IOStreams) *CmdUndep... function NewCmdUndeploy (line 54) | func NewCmdUndeploy(streams genericiooptions.IOStreams) *cobra.Command { FILE: internal/cli/kollama/common.go function isKubectlPlugin (line 34) | func isKubectlPlugin() (bool, error) { function command (line 48) | func command() string { function IsOllamaOperatorCRDSupported (line 57) | func IsOllamaOperatorCRDSupported(discoveryClient discovery.DiscoveryInt... function FromUnstructured (line 79) | func FromUnstructured[T any](obj *unstructured.Unstructured) (*T, error) { function Unstructured (line 90) | func Unstructured[T runtime.Object](obj T) (*unstructured.Unstructured, ... function getOllama (line 105) | func getOllama(ctx context.Context, dynamicClient dynamic.Interface, nam... function getNamespace (line 126) | func getNamespace(clientConfig clientcmd.ClientConfig, cmd *cobra.Comman... function getImage (line 148) | func getImage(cmd *cobra.Command, args []string) (string, error) { function createOllamaModel (line 163) | func createOllamaModel( function exposeOllamaModel (line 215) | func exposeOllamaModel( FILE: internal/cli/kollama/wait_until.go constant isReadyString (line 20) | isReadyString = " is ready" function waitUntilImageStoreReady (line 23) | func waitUntilImageStoreReady(ctx context.Context, kubeClient client.Cli... function waitUntilImageStoreServiceReady (line 39) | func waitUntilImageStoreServiceReady(ctx context.Context, kubeClient cli... function waitUntilOllamaModelDeploymentPullImageDone (line 55) | func waitUntilOllamaModelDeploymentPullImageDone(ctx context.Context, ku... function waitUntilOllamaModelDeploymentReady (line 78) | func waitUntilOllamaModelDeploymentReady(ctx context.Context, kubeClient... function waitUntilOllamaModelServiceReady (line 99) | func waitUntilOllamaModelServiceReady(ctx context.Context, kubeClient cl... function waitUntilModelAvailable (line 115) | func waitUntilModelAvailable(kubeClient client.Client, namespace string,... FILE: internal/controller/model_controller.go type ModelReconciler (line 35) | type ModelReconciler struct method Reconcile (line 60) | func (r *ModelReconciler) Reconcile(ctx context.Context, req ctrl.Requ... method SetupWithManager (line 77) | func (r *ModelReconciler) SetupWithManager(mgr ctrl.Manager) error { method reconcile (line 83) | func (r *ModelReconciler) reconcile(ctx context.Context, req ctrl.Requ... method reconcilePVC (line 108) | func (r *ModelReconciler) reconcilePVC(ctx context.Context, ns string,... method reconcileStatefulSet (line 121) | func (r *ModelReconciler) reconcileStatefulSet(ctx context.Context, ns... method reconcileService (line 139) | func (r *ModelReconciler) reconcileService(ctx context.Context, ns str... method reconcileDeployment (line 162) | func (r *ModelReconciler) reconcileDeployment(ctx context.Context, ns ... method reconcileModelService (line 189) | func (r *ModelReconciler) reconcileModelService(ctx context.Context, n... FILE: pkg/model/image_store.go constant ImageStorePVCName (line 21) | ImageStorePVCName = "ollama-models-store-pvc" constant ImageStoreStatefulSetName (line 22) | ImageStoreStatefulSetName = "ollama-models-store" function getImageStorePVC (line 25) | func getImageStorePVC(ctx context.Context, client client.Client, namespa... function EnsureImageStorePVCCreated (line 40) | func EnsureImageStorePVCCreated( function GetImageStorePVByPVC (line 96) | func GetImageStorePVByPVC(ctx context.Context, c client.Client, pvc *cor... function getImageStoreStatefulSet (line 111) | func getImageStoreStatefulSet(ctx context.Context, client client.Client,... function EnsureImageStoreStatefulSetCreated (line 126) | func EnsureImageStoreStatefulSetCreated( function IsImageStoreStatefulSetReady (line 195) | func IsImageStoreStatefulSetReady( function getImageStoreService (line 222) | func getImageStoreService(ctx context.Context, client client.Client, nam... function EnsureImageStoreServiceCreated (line 237) | func EnsureImageStoreServiceCreated( function IsImageStoreServiceReady (line 296) | func IsImageStoreServiceReady( FILE: pkg/model/model.go function getServiceByLabels (line 22) | func getServiceByLabels(ctx context.Context, c client.Client, namespace ... function ModelServiceName (line 40) | func ModelServiceName(name string) string { function ModelAppName (line 44) | func ModelAppName(name string) string { function ModelLabels (line 48) | func ModelLabels(name string) map[string]string { function OllamaModelNameFromNameReference (line 57) | func OllamaModelNameFromNameReference(ref namepkg.Reference) string { function ImageStoreLabels (line 66) | func ImageStoreLabels() map[string]string { function ModelAnnotations (line 73) | func ModelAnnotations(name string, imageStore bool) map[string]string { function getDeployment (line 77) | func getDeployment(ctx context.Context, c client.Client, namespace strin... function EnsureDeploymentCreated (line 92) | func EnsureDeploymentCreated( function MergePodTemplate (line 155) | func MergePodTemplate( function AssignOrAppend (line 211) | func AssignOrAppend[T any](source []T, predicate func(item T) bool, modi... function AppendIfNotFound (line 224) | func AppendIfNotFound[T any](source []T, predicate func(item T) bool, ne... function IsDeploymentReady (line 233) | func IsDeploymentReady( function UpdateDeployment (line 267) | func UpdateDeployment( function NewServiceForModel (line 309) | func NewServiceForModel(namespace, name string, deployment *appsv1.Deplo... function EnsureServiceCreated (line 338) | func EnsureServiceCreated( function IsServiceReady (line 368) | func IsServiceReady( function IsProgressing (line 398) | func IsProgressing(ctx context.Context, ollamaModelResource ollamav1.Mod... function SetProgressing (line 404) | func SetProgressing( function IsAvailable (line 433) | func IsAvailable(ctx context.Context, ollamaModelResource ollamav1.Model... function SetAvailable (line 439) | func SetAvailable( function ShouldSetReplicas (line 469) | func ShouldSetReplicas( function SetReplicas (line 483) | func SetReplicas( FILE: pkg/model/model_test.go function TestModelNameFromImage (line 12) | func TestModelNameFromImage(t *testing.T) { FILE: pkg/model/pod.go constant OllamaBaseImage (line 17) | OllamaBaseImage = "ollama/ollama" function FindOllamaServerContainer (line 20) | func FindOllamaServerContainer(container corev1.Container) bool { function UniqEnvVar (line 24) | func UniqEnvVar(env []corev1.EnvVar) []corev1.EnvVar { function AssignOllamaServerContainer (line 30) | func AssignOllamaServerContainer(readOnly bool, resources corev1.Resourc... function NewOllamaServerContainer (line 111) | func NewOllamaServerContainer(readOnly bool, resources corev1.ResourceRe... function FindOllamaPullerContainer (line 173) | func FindOllamaPullerContainer(container corev1.Container) bool { function ioReaderOfJsonBody (line 177) | func ioReaderOfJsonBody(body map[string]any) (io.Reader, error) { function ollamaPull (line 188) | func ollamaPull(image string) string { function ollamaGenerate (line 197) | func ollamaGenerate(image string) string { function AssignOllamaPullerContainer (line 206) | func AssignOllamaPullerContainer(name string, image string, parsedModelN... function NewOllamaPullerContainer (line 231) | func NewOllamaPullerContainer(name string, image string, parsedModelName... FILE: pkg/model/pod_test.go function TestOllamaPull (line 9) | func TestOllamaPull(t *testing.T) { function TestOllamaGenerate (line 14) | func TestOllamaGenerate(t *testing.T) { FILE: pkg/model/recorder.go type WrappedRecorder (line 11) | type WrappedRecorder struct function NewWrappedRecorder (line 16) | func NewWrappedRecorder[T runtime.Object](recorder record.EventRecorder,... method Event (line 23) | func (r *WrappedRecorder[T]) Event(eventType, reason, message string) { method Eventf (line 28) | func (r *WrappedRecorder[T]) Eventf(eventType, reason, messageFmt string... method AnnotatedEventf (line 33) | func (r *WrappedRecorder[T]) AnnotatedEventf(annotations map[string]stri... type baseWrapperRecorderContextKey (line 37) | type baseWrapperRecorderContextKey function NewWrappedRecorderContextKey (line 39) | func NewWrappedRecorderContextKey(key string) baseWrapperRecorderContext... constant defaultBaseWrapperRecorderContextKey (line 44) | defaultBaseWrapperRecorderContextKey baseWrapperRecorderContextKey = "de... function WithWrappedRecorder (line 47) | func WithWrappedRecorder[T runtime.Object](ctx context.Context, recorder... function WrappedRecorderFromContext (line 55) | func WrappedRecorderFromContext[T runtime.Object](ctx context.Context, k... type baseClientContextKey (line 66) | type baseClientContextKey constant defaultBaseClientContextKey (line 69) | defaultBaseClientContextKey baseClientContextKey = "default" function NewClientContextKey (line 72) | func NewClientContextKey(key string) baseClientContextKey { function WithClient (line 76) | func WithClient(ctx context.Context, client client.Client, key ...baseCl... function ClientFromContext (line 84) | func ClientFromContext(ctx context.Context, key ...baseClientContextKey)... FILE: pkg/operator/reconcile.go function ResultFromError (line 17) | func ResultFromError(err error) (*ctrl.Result, error) { function HandleError (line 30) | func HandleError(ctx context.Context, result *ctrl.Result, err error) (c... type SubReconciler (line 45) | type SubReconciler struct type SubReconcilers (line 52) | type SubReconcilers method Reconcile (line 54) | func (s SubReconcilers[T]) Reconcile(ctx context.Context, req ctrl.Reque... function NewSubReconcilers (line 69) | func NewSubReconcilers[T runtime.Object](reconcilers ...SubReconciler[T]... type ReconcileHandler (line 73) | type ReconcileHandler function NewPVCReconciler (line 75) | func NewPVCReconciler[T runtime.Object](fn ReconcileHandler[T]) SubRecon... function NewStatefulSetReconciler (line 84) | func NewStatefulSetReconciler[T runtime.Object](fn ReconcileHandler[T]) ... function NewServiceReconciler (line 93) | func NewServiceReconciler[T runtime.Object](fn ReconcileHandler[T]) SubR... function NewDeploymentReconciler (line 102) | func NewDeploymentReconciler[T runtime.Object](fn ReconcileHandler[T]) S... function RequeueAfter (line 111) | func RequeueAfter(d time.Duration) error { function RequeueAfterWithError (line 115) | func RequeueAfterWithError(d time.Duration, err error) error { type RequeueError (line 119) | type RequeueError struct method Error (line 124) | func (r *RequeueError) Error() string { method Result (line 132) | func (r *RequeueError) Result() reconcile.Result {